Class CalendarServiceWrapper

java.lang.Object
com.liferay.calendar.service.CalendarServiceWrapper
All Implemented Interfaces:
CalendarService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.ServiceWrapper<CalendarService>

public class CalendarServiceWrapper extends Object implements CalendarService, com.liferay.portal.kernel.service.ServiceWrapper<CalendarService>
Provides a wrapper for CalendarService.
See Also:
Generated:
  • Constructor Details

    • CalendarServiceWrapper

      public CalendarServiceWrapper()
    • CalendarServiceWrapper

      public CalendarServiceWrapper(CalendarService calendarService)
  • Method Details

    • addCalendar

      public Calendar addCalendar(long groupId, long calendarResourceId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String timeZoneId, int color, boolean defaultCalendar, boolean enableComments, boolean enableRatings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCalendar in interface CalendarService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCalendar

      public Calendar deleteCalendar(long calendarId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCalendar in interface CalendarService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • exportCalendar

      public String exportCalendar(long calendarId, String type) throws Exception
      Specified by:
      exportCalendar in interface CalendarService
      Throws:
      Exception
    • fetchCalendar

      public Calendar fetchCalendar(long calendarId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      fetchCalendar in interface CalendarService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCalendar

      public Calendar getCalendar(long calendarId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCalendar in interface CalendarService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCalendarResourceCalendars

      public List<Calendar> getCalendarResourceCalendars(long groupId, long calendarResourceId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCalendarResourceCalendars in interface CalendarService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCalendarResourceCalendars

      public List<Calendar> getCalendarResourceCalendars(long groupId, long calendarResourceId, boolean defaultCalendar) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCalendarResourceCalendars in interface CalendarService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface CalendarService
      Returns:
      the OSGi service identifier
    • importCalendar

      public void importCalendar(long calendarId, String data, String type) throws Exception
      Specified by:
      importCalendar in interface CalendarService
      Throws:
      Exception
    • isManageableFromGroup

      public boolean isManageableFromGroup(long calendarId, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      isManageableFromGroup in interface CalendarService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      public List<Calendar> search(long companyId, long[] groupIds, long[] calendarResourceIds, String keywords, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      search in interface CalendarService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      public List<Calendar> search(long companyId, long[] groupIds, long[] calendarResourceIds, String keywords, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator, String actionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      search in interface CalendarService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      public List<Calendar> search(long companyId, long[] groupIds, long[] calendarResourceIds, String name, String description, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      search in interface CalendarService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      public List<Calendar> search(long companyId, long[] groupIds, long[] calendarResourceIds, String name, String description, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator, String actionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      search in interface CalendarService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCount

      public int searchCount(long companyId, long[] groupIds, long[] calendarResourceIds, String keywords, boolean andOperator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchCount in interface CalendarService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCount

      public int searchCount(long companyId, long[] groupIds, long[] calendarResourceIds, String keywords, boolean andOperator, String actionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchCount in interface CalendarService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCount

      public int searchCount(long companyId, long[] groupIds, long[] calendarResourceIds, String name, String description, boolean andOperator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchCount in interface CalendarService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCount

      public int searchCount(long companyId, long[] groupIds, long[] calendarResourceIds, String name, String description, boolean andOperator, String actionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchCount in interface CalendarService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCalendar

      public Calendar updateCalendar(long calendarId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, int color, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCalendar in interface CalendarService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCalendar

      public Calendar updateCalendar(long calendarId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String timeZoneId, int color, boolean defaultCalendar, boolean enableComments, boolean enableRatings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCalendar in interface CalendarService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateColor

      public Calendar updateColor(long calendarId, int color, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateColor in interface CalendarService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWrappedService

      public CalendarService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CalendarService>
    • setWrappedService

      public void setWrappedService(CalendarService calendarService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CalendarService>