Class CalendarBookingServiceWrapper

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

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

    • CalendarBookingServiceWrapper

      public CalendarBookingServiceWrapper()
    • CalendarBookingServiceWrapper

      public CalendarBookingServiceWrapper(CalendarBookingService calendarBookingService)
  • Method Details

    • addCalendarBooking

      public CalendarBooking addCalendarBooking(long calendarId, long[] childCalendarIds, long parentCalendarBookingId, long recurringCalendarBookingId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String location, int startTimeYear, int startTimeMonth, int startTimeDay, int startTimeHour, int startTimeMinute, int endTimeYear, int endTimeMonth, int endTimeDay, int endTimeHour, int endTimeMinute, String timeZoneId, boolean allDay, String recurrence, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCalendarBooking in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCalendarBooking

      public CalendarBooking addCalendarBooking(long calendarId, long[] childCalendarIds, long parentCalendarBookingId, long recurringCalendarBookingId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String location, long startTime, long endTime, boolean allDay, String recurrence, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCalendarBooking in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCalendarBooking

      public CalendarBooking deleteCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCalendarBooking in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCalendarBookingInstance

      public void deleteCalendarBookingInstance(long calendarBookingId, int instanceIndex, boolean allFollowing) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCalendarBookingInstance in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCalendarBookingInstance

      public void deleteCalendarBookingInstance(long calendarBookingId, int instanceIndex, boolean allFollowing, boolean deleteRecurringCalendarBookings) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCalendarBookingInstance in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCalendarBookingInstance

      public void deleteCalendarBookingInstance(long calendarBookingId, long startTime, boolean allFollowing) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCalendarBookingInstance in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • exportCalendarBooking

      public String exportCalendarBooking(long calendarBookingId, String type) throws Exception
      Specified by:
      exportCalendarBooking in interface CalendarBookingService
      Throws:
      Exception
    • fetchCalendarBooking

      public CalendarBooking fetchCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      fetchCalendarBooking in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCalendarBooking

      public CalendarBooking getCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCalendarBooking in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCalendarBooking

      public CalendarBooking getCalendarBooking(long calendarId, long parentCalendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCalendarBooking in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCalendarBookingInstance

      public CalendarBooking getCalendarBookingInstance(long calendarBookingId, int instanceIndex) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCalendarBookingInstance in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCalendarBookings

      public List<CalendarBooking> getCalendarBookings(long calendarId, int[] statuses) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCalendarBookings in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCalendarBookings

      public List<CalendarBooking> getCalendarBookings(long calendarId, long startTime, long endTime) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCalendarBookings in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCalendarBookings

      public List<CalendarBooking> getCalendarBookings(long calendarId, long startTime, long endTime, int max) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCalendarBookings in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCalendarBookingsRSS

      public String getCalendarBookingsRSS(long calendarId, long startTime, long endTime, int max, String type, double version, String displayStyle, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCalendarBookingsRSS in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getChildCalendarBookings

      public List<CalendarBooking> getChildCalendarBookings(long parentCalendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getChildCalendarBookings in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getChildCalendarBookings

      public List<CalendarBooking> getChildCalendarBookings(long parentCalendarBookingId, boolean includeStagingCalendarBookings) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getChildCalendarBookings in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getChildCalendarBookings

      public List<CalendarBooking> getChildCalendarBookings(long parentCalendarBookingId, int status) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getChildCalendarBookings in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLastInstanceCalendarBooking

      public CalendarBooking getLastInstanceCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLastInstanceCalendarBooking in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getNewStartTimeAndDurationCalendarBooking

      public CalendarBooking getNewStartTimeAndDurationCalendarBooking(long calendarBookingId, long offset, long duration) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getNewStartTimeAndDurationCalendarBooking in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

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

      public boolean hasChildCalendarBookings(long parentCalendarBookingId)
      Specified by:
      hasChildCalendarBookings in interface CalendarBookingService
    • invokeTransition

      public CalendarBooking invokeTransition(long calendarBookingId, int instanceIndex, int status, boolean updateInstance, boolean allFollowing, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      invokeTransition in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • invokeTransition

      public CalendarBooking invokeTransition(long calendarBookingId, long startTime, int status, boolean updateInstance, boolean allFollowing, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      invokeTransition in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveCalendarBookingToTrash

      public CalendarBooking moveCalendarBookingToTrash(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      moveCalendarBookingToTrash in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • restoreCalendarBookingFromTrash

      public CalendarBooking restoreCalendarBookingFromTrash(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      restoreCalendarBookingFromTrash in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      public List<CalendarBooking> search(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, String keywords, long startTime, long endTime, TimeZone displayTimeZone, boolean recurring, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      search in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      public List<CalendarBooking> search(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, String title, String description, String location, long startTime, long endTime, boolean recurring, int[] statuses, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      search in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCount

      public int searchCount(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, String keywords, long startTime, long endTime, boolean recurring, int[] statuses) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchCount in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCount

      public int searchCount(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, String title, String description, String location, long startTime, long endTime, boolean recurring, int[] statuses, boolean andOperator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchCount in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCalendarBooking

      public CalendarBooking updateCalendarBooking(long calendarBookingId, long calendarId, long[] childCalendarIds, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String location, long startTime, long endTime, boolean allDay, String recurrence, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCalendarBooking in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCalendarBooking

      public CalendarBooking updateCalendarBooking(long calendarBookingId, long calendarId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String location, long startTime, long endTime, boolean allDay, String recurrence, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCalendarBooking in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCalendarBookingInstance

      public CalendarBooking updateCalendarBookingInstance(long calendarBookingId, int instanceIndex, long calendarId, long[] childCalendarIds, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String location, long startTime, long endTime, boolean allDay, boolean allFollowing, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCalendarBookingInstance in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCalendarBookingInstance

      public CalendarBooking updateCalendarBookingInstance(long calendarBookingId, int instanceIndex, long calendarId, long[] childCalendarIds, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String location, long startTime, long endTime, boolean allDay, String recurrence, boolean allFollowing, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCalendarBookingInstance in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCalendarBookingInstance

      public CalendarBooking updateCalendarBookingInstance(long calendarBookingId, int instanceIndex, long calendarId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String location, int startTimeYear, int startTimeMonth, int startTimeDay, int startTimeHour, int startTimeMinute, int endTimeYear, int endTimeMonth, int endTimeDay, int endTimeHour, int endTimeMinute, String timeZoneId, boolean allDay, String recurrence, boolean allFollowing, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCalendarBookingInstance in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCalendarBookingInstance

      public CalendarBooking updateCalendarBookingInstance(long calendarBookingId, int instanceIndex, long calendarId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String location, long startTime, long endTime, boolean allDay, String recurrence, boolean allFollowing, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCalendarBookingInstance in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateLastInstanceCalendarBookingRecurrence

      public void updateLastInstanceCalendarBookingRecurrence(long calendarBookingId, String recurrence) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateLastInstanceCalendarBookingRecurrence in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateOffsetAndDuration

      public CalendarBooking updateOffsetAndDuration(long calendarBookingId, long calendarId, long[] childCalendarIds, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String location, long offset, long duration, boolean allDay, String recurrence, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateOffsetAndDuration in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateOffsetAndDuration

      public CalendarBooking updateOffsetAndDuration(long calendarBookingId, long calendarId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String location, long offset, long duration, boolean allDay, String recurrence, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateOffsetAndDuration in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateRecurringCalendarBooking

      public CalendarBooking updateRecurringCalendarBooking(long calendarBookingId, long calendarId, long[] childCalendarIds, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String location, long startTime, long endTime, boolean allDay, long firstReminder, String firstReminderType, long secondReminder, String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateRecurringCalendarBooking in interface CalendarBookingService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWrappedService

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

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