Skip to content

Commit

Permalink
LPS-13554 Regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiopezzutto authored and brianchandotcom committed Jun 28, 2012
1 parent 676c5b5 commit edba6c6
Show file tree
Hide file tree
Showing 9 changed files with 229 additions and 146 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,11 @@ public com.liferay.calendar.model.Calendar addCalendar(long userId,
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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
};
}
Expand Down Expand Up @@ -797,14 +803,49 @@ public com.liferay.calendar.model.Calendar addCalendar(long userId,
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) {
Expand Down Expand Up @@ -834,8 +875,8 @@ public java.util.List<com.liferay.calendar.model.Calendar> search(
Object returnObj = null;

try {
returnObj = _invokableLocalService.invokeMethod(_methodName22,
_methodParameterTypes22,
returnObj = _invokableLocalService.invokeMethod(_methodName23,
_methodParameterTypes23,
new Object[] {
companyId,

Expand Down Expand Up @@ -882,8 +923,8 @@ public java.util.List<com.liferay.calendar.model.Calendar> search(
Object returnObj = null;

try {
returnObj = _invokableLocalService.invokeMethod(_methodName23,
_methodParameterTypes23,
returnObj = _invokableLocalService.invokeMethod(_methodName24,
_methodParameterTypes24,
new Object[] {
companyId,

Expand Down Expand Up @@ -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,

Expand Down Expand Up @@ -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,

Expand Down Expand Up @@ -1015,8 +1056,8 @@ public com.liferay.calendar.model.Calendar updateCalendar(long calendarId,
Object returnObj = null;

try {
returnObj = _invokableLocalService.invokeMethod(_methodName26,
_methodParameterTypes26,
returnObj = _invokableLocalService.invokeMethod(_methodName27,
_methodParameterTypes27,
new Object[] {
calendarId,

Expand Down Expand Up @@ -1063,8 +1104,8 @@ public com.liferay.calendar.model.Calendar updateCalendar(long calendarId,
Object returnObj = null;

try {
returnObj = _invokableLocalService.invokeMethod(_methodName27,
_methodParameterTypes27,
returnObj = _invokableLocalService.invokeMethod(_methodName28,
_methodParameterTypes28,
new Object[] {
calendarId,

Expand Down Expand Up @@ -1107,8 +1148,8 @@ public com.liferay.calendar.model.Calendar updateColor(long calendarId,
Object returnObj = null;

try {
returnObj = _invokableLocalService.invokeMethod(_methodName28,
_methodParameterTypes28,
returnObj = _invokableLocalService.invokeMethod(_methodName29,
_methodParameterTypes29,
new Object[] {
calendarId,

Expand Down Expand Up @@ -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),

Expand Down Expand Up @@ -1228,4 +1269,6 @@ public void updateDefaultCalendar(
private String[] _methodParameterTypes28;
private String _methodName29;
private String[] _methodParameterTypes29;
private String _methodName30;
private String[] _methodParameterTypes30;
}
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,14 @@ public static com.liferay.calendar.model.Calendar addCalendar(long userId,
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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,13 @@ public com.liferay.calendar.model.Calendar addCalendar(long userId,
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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,8 @@ public java.util.List<com.liferay.calendar.model.Calendar> findByC_G_C_N_D(
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;
}
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,13 @@ public static java.util.List<com.liferay.calendar.model.Calendar> findByC_G_C_N_
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(),
Expand Down
Loading

0 comments on commit edba6c6

Please sign in to comment.