Package com.liferay.calendar.service
Class CalendarResourceServiceUtil
java.lang.Object
com.liferay.calendar.service.CalendarResourceServiceUtil
Provides the remote service utility for CalendarResource. This utility wraps
com.liferay.calendar.service.impl.CalendarResourceServiceImpl and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CalendarResourceaddCalendarResource(long groupId, long classNameId, long classPK, String classUuid, String code, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CalendarResourcedeleteCalendarResource(long calendarResourceId) static CalendarResourcefetchCalendarResource(long classNameId, long classPK) static CalendarResourcegetCalendarResource(long calendarResourceId) static StringReturns the OSGi service identifier.static CalendarResourceServicestatic List<CalendarResource>search(long companyId, long[] groupIds, long[] classNameIds, String keywords, boolean active, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) static List<CalendarResource>search(long companyId, long[] groupIds, long[] classNameIds, String code, String name, String description, boolean active, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) static intsearchCount(long companyId, long[] groupIds, long[] classNameIds, String keywords, boolean active) static intsearchCount(long companyId, long[] groupIds, long[] classNameIds, String code, String name, String description, boolean active, boolean andOperator) static CalendarResourceupdateCalendarResource(long calendarResourceId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
CalendarResourceServiceUtil
public CalendarResourceServiceUtil()
-
-
Method Details
-
addCalendarResource
public static CalendarResource addCalendarResource(long groupId, long classNameId, long classPK, String classUuid, String code, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCalendarResource
public static CalendarResource deleteCalendarResource(long calendarResourceId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCalendarResource
public static CalendarResource fetchCalendarResource(long classNameId, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCalendarResource
public static CalendarResource getCalendarResource(long calendarResourceId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
search
public static List<CalendarResource> search(long companyId, long[] groupIds, long[] classNameIds, String keywords, boolean active, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) -
search
public static List<CalendarResource> search(long companyId, long[] groupIds, long[] classNameIds, String code, String name, String description, boolean active, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) -
searchCount
public static int searchCount(long companyId, long[] groupIds, long[] classNameIds, String keywords, boolean active) -
searchCount
-
updateCalendarResource
public static CalendarResource updateCalendarResource(long calendarResourceId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-