Class CalendarResourceServiceUtil

java.lang.Object
com.liferay.calendar.service.CalendarResourceServiceUtil

public class CalendarResourceServiceUtil extends Object
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 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,String> descriptionMap, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      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

      public static String 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

      public static int searchCount(long companyId, long[] groupIds, long[] classNameIds, String code, String name, String description, boolean active, boolean andOperator)
    • updateCalendarResource

      public static CalendarResource updateCalendarResource(long calendarResourceId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static CalendarResourceService getService()