Permalink
Browse files

LPS-13554 Regenerate

  • Loading branch information...
fabiopezzutto authored and brianchandotcom committed Jun 6, 2012
1 parent 676c5b5 commit edba6c66fc17169987dd059b01386d55495ef95a
@@ -269,6 +269,11 @@ public int getCalendarsCount()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
+ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
+ public java.util.List<com.liferay.portal.model.Role> getCalendarPermissionRoles(
+ long companyId, long resourceBlockId, java.lang.String actionId)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.util.List<com.liferay.calendar.model.Calendar> getCalendarResourceCalendars(
long groupId, long calendarResourceId)
@@ -123,61 +123,67 @@ public CalendarLocalServiceClp(InvokableLocalService invokableLocalService) {
"boolean", "com.liferay.portal.service.ServiceContext"
};
- _methodName21 = "getCalendarResourceCalendars";
+ _methodName21 = "getCalendarPermissionRoles";
- _methodParameterTypes21 = new String[] { "long", "long" };
+ _methodParameterTypes21 = new String[] {
+ "long", "long", "java.lang.String"
+ };
+
+ _methodName22 = "getCalendarResourceCalendars";
+
+ _methodParameterTypes22 = new String[] { "long", "long" };
- _methodName22 = "search";
+ _methodName23 = "search";
- _methodParameterTypes22 = new String[] {
+ _methodParameterTypes23 = new String[] {
"long", "long[][]", "long[][]", "java.lang.String", "boolean",
"int", "int", "com.liferay.portal.kernel.util.OrderByComparator"
};
- _methodName23 = "search";
+ _methodName24 = "search";
- _methodParameterTypes23 = new String[] {
+ _methodParameterTypes24 = new String[] {
"long", "long[][]", "long[][]", "java.lang.String",
"java.lang.String", "boolean", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
- _methodName24 = "searchCount";
+ _methodName25 = "searchCount";
- _methodParameterTypes24 = new String[] {
+ _methodParameterTypes25 = new String[] {
"long", "long[][]", "long[][]", "java.lang.String", "boolean"
};
- _methodName25 = "searchCount";
+ _methodName26 = "searchCount";
- _methodParameterTypes25 = new String[] {
+ _methodParameterTypes26 = new String[] {
"long", "long[][]", "long[][]", "java.lang.String",
"java.lang.String", "boolean"
};
- _methodName26 = "updateCalendar";
+ _methodName27 = "updateCalendar";
- _methodParameterTypes26 = new String[] {
+ _methodParameterTypes27 = new String[] {
"long", "java.util.Map", "java.util.Map", "int", "boolean",
"com.liferay.portal.service.ServiceContext"
};
- _methodName27 = "updateCalendar";
+ _methodName28 = "updateCalendar";
- _methodParameterTypes27 = new String[] {
+ _methodParameterTypes28 = new String[] {
"long", "java.util.Map", "java.util.Map", "int",
"com.liferay.portal.service.ServiceContext"
};
- _methodName28 = "updateColor";
+ _methodName29 = "updateColor";
- _methodParameterTypes28 = new String[] {
+ _methodParameterTypes29 = new String[] {
"long", "int", "com.liferay.portal.service.ServiceContext"
};
- _methodName29 = "updateDefaultCalendar";
+ _methodName30 = "updateDefaultCalendar";
- _methodParameterTypes29 = new String[] {
+ _methodParameterTypes30 = new String[] {
"com.liferay.calendar.model.Calendar", "boolean"
};
}
@@ -797,14 +803,49 @@ public void setBeanIdentifier(java.lang.String beanIdentifier) {
return (com.liferay.calendar.model.Calendar)ClpSerializer.translateOutput(returnObj);
}
- public java.util.List<com.liferay.calendar.model.Calendar> getCalendarResourceCalendars(
- long groupId, long calendarResourceId)
+ public java.util.List<com.liferay.portal.model.Role> getCalendarPermissionRoles(
+ long companyId, long resourceBlockId, java.lang.String actionId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName21,
_methodParameterTypes21,
+ new Object[] {
+ companyId,
+
+ resourceBlockId,
+
+ ClpSerializer.translateInput(actionId)
+ });
+ }
+ catch (Throwable t) {
+ t = ClpSerializer.translateThrowable(t);
+
+ if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
+ throw (com.liferay.portal.kernel.exception.SystemException)t;
+ }
+
+ if (t instanceof RuntimeException) {
+ throw (RuntimeException)t;
+ }
+ else {
+ throw new RuntimeException(t.getClass().getName() +
+ " is not a valid exception");
+ }
+ }
+
+ return (java.util.List<com.liferay.portal.model.Role>)ClpSerializer.translateOutput(returnObj);
+ }
+
+ public java.util.List<com.liferay.calendar.model.Calendar> getCalendarResourceCalendars(
+ long groupId, long calendarResourceId)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ Object returnObj = null;
+
+ try {
+ returnObj = _invokableLocalService.invokeMethod(_methodName22,
+ _methodParameterTypes22,
new Object[] { groupId, calendarResourceId });
}
catch (Throwable t) {
@@ -834,8 +875,8 @@ public void setBeanIdentifier(java.lang.String beanIdentifier) {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName22,
- _methodParameterTypes22,
+ returnObj = _invokableLocalService.invokeMethod(_methodName23,
+ _methodParameterTypes23,
new Object[] {
companyId,
@@ -882,8 +923,8 @@ public void setBeanIdentifier(java.lang.String beanIdentifier) {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName23,
- _methodParameterTypes23,
+ returnObj = _invokableLocalService.invokeMethod(_methodName24,
+ _methodParameterTypes24,
new Object[] {
companyId,
@@ -930,8 +971,8 @@ public int searchCount(long companyId, long[] groupIds,
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName24,
- _methodParameterTypes24,
+ returnObj = _invokableLocalService.invokeMethod(_methodName25,
+ _methodParameterTypes25,
new Object[] {
companyId,
@@ -970,8 +1011,8 @@ public int searchCount(long companyId, long[] groupIds,
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName25,
- _methodParameterTypes25,
+ returnObj = _invokableLocalService.invokeMethod(_methodName26,
+ _methodParameterTypes26,
new Object[] {
companyId,
@@ -1015,8 +1056,8 @@ public int searchCount(long companyId, long[] groupIds,
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName26,
- _methodParameterTypes26,
+ returnObj = _invokableLocalService.invokeMethod(_methodName27,
+ _methodParameterTypes27,
new Object[] {
calendarId,
@@ -1063,8 +1104,8 @@ public int searchCount(long companyId, long[] groupIds,
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName27,
- _methodParameterTypes27,
+ returnObj = _invokableLocalService.invokeMethod(_methodName28,
+ _methodParameterTypes28,
new Object[] {
calendarId,
@@ -1107,8 +1148,8 @@ public int searchCount(long companyId, long[] groupIds,
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName28,
- _methodParameterTypes28,
+ returnObj = _invokableLocalService.invokeMethod(_methodName29,
+ _methodParameterTypes29,
new Object[] {
calendarId,
@@ -1144,8 +1185,8 @@ public void updateDefaultCalendar(
com.liferay.calendar.model.Calendar calendar, boolean defaultCalendar)
throws com.liferay.portal.kernel.exception.SystemException {
try {
- _invokableLocalService.invokeMethod(_methodName29,
- _methodParameterTypes29,
+ _invokableLocalService.invokeMethod(_methodName30,
+ _methodParameterTypes30,
new Object[] {
ClpSerializer.translateInput(calendar),
@@ -1228,4 +1269,6 @@ public void updateDefaultCalendar(
private String[] _methodParameterTypes28;
private String _methodName29;
private String[] _methodParameterTypes29;
+ private String _methodName30;
+ private String[] _methodParameterTypes30;
}
@@ -304,6 +304,14 @@ public static void setBeanIdentifier(java.lang.String beanIdentifier) {
descriptionMap, color, defaultCalendar, serviceContext);
}
+ public static java.util.List<com.liferay.portal.model.Role> getCalendarPermissionRoles(
+ long companyId, long resourceBlockId, java.lang.String actionId)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getService()
+ .getCalendarPermissionRoles(companyId, resourceBlockId,
+ actionId);
+ }
+
public static java.util.List<com.liferay.calendar.model.Calendar> getCalendarResourceCalendars(
long groupId, long calendarResourceId)
throws com.liferay.portal.kernel.exception.SystemException {
@@ -295,6 +295,13 @@ public void setBeanIdentifier(java.lang.String beanIdentifier) {
defaultCalendar, serviceContext);
}
+ public java.util.List<com.liferay.portal.model.Role> getCalendarPermissionRoles(
+ long companyId, long resourceBlockId, java.lang.String actionId)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _calendarLocalService.getCalendarPermissionRoles(companyId,
+ resourceBlockId, actionId);
+ }
+
public java.util.List<com.liferay.calendar.model.Calendar> getCalendarResourceCalendars(
long groupId, long calendarResourceId)
throws com.liferay.portal.kernel.exception.SystemException {
@@ -85,4 +85,8 @@ public int filterCountByC_G_C_N_D(long companyId, long[] groupIds,
boolean andOperator, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
+
+ public java.util.List<com.liferay.portal.model.Role> findPermissionRoles(
+ long companyId, long resourceBlockId, java.lang.String actionId)
+ throws com.liferay.portal.kernel.exception.SystemException;
}
@@ -139,6 +139,13 @@ public static int filterCountByC_G_C_N_D(long companyId, long[] groupIds,
names, descriptions, andOperator, start, end, orderByComparator);
}
+ public static java.util.List<com.liferay.portal.model.Role> findPermissionRoles(
+ long companyId, long resourceBlockId, java.lang.String actionId)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getFinder()
+ .findPermissionRoles(companyId, resourceBlockId, actionId);
+ }
+
public static CalendarFinder getFinder() {
if (_finder == null) {
_finder = (CalendarFinder)PortletBeanLocatorUtil.locate(com.liferay.calendar.service.ClpSerializer.getServletContextName(),
Oops, something went wrong.

0 comments on commit edba6c6

Please sign in to comment.