Interface CalendarBookingLocalService

All Superinterfaces:
com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<CalendarBooking>, com.liferay.portal.kernel.service.PersistedModelLocalService
All Known Implementing Classes:
CalendarBookingLocalServiceWrapper

@CTAware @ProviderType @Transactional(isolation=PORTAL, rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class}) public interface CalendarBookingLocalService extends com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<CalendarBooking>, com.liferay.portal.kernel.service.PersistedModelLocalService
Provides the local service interface for CalendarBooking. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
See Also:
Generated:
  • Method Details

    • addCalendarBooking

      @Indexable(type=REINDEX) CalendarBooking addCalendarBooking(CalendarBooking calendarBooking)
      Adds the calendar booking to the database. Also notifies the appropriate model listeners.

      Important: Inspect CalendarBookingLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Parameters:
      calendarBooking - the calendar booking
      Returns:
      the calendar booking that was added
    • addCalendarBooking

      CalendarBooking addCalendarBooking(long userId, 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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • checkCalendarBookings

      void checkCalendarBookings() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createCalendarBooking

      @Transactional(enabled=false) CalendarBooking createCalendarBooking(long calendarBookingId)
      Creates a new calendar booking with the primary key. Does not add the calendar booking to the database.
      Parameters:
      calendarBookingId - the primary key for the new calendar booking
      Returns:
      the new calendar booking
    • createPersistedModel

      com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCalendarBooking

      @Indexable(type=DELETE) CalendarBooking deleteCalendarBooking(CalendarBooking calendarBooking) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the calendar booking from the database. Also notifies the appropriate model listeners.

      Important: Inspect CalendarBookingLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Parameters:
      calendarBooking - the calendar booking
      Returns:
      the calendar booking that was removed
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCalendarBooking

      @Indexable(type=DELETE) @SystemEvent(action=1, type=1) CalendarBooking deleteCalendarBooking(CalendarBooking calendarBooking, boolean allRecurringInstances) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCalendarBooking

      @Indexable(type=DELETE) CalendarBooking deleteCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the calendar booking with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect CalendarBookingLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Parameters:
      calendarBookingId - the primary key of the calendar booking
      Returns:
      the calendar booking that was removed
      Throws:
      com.liferay.portal.kernel.exception.PortalException - if a calendar booking with the primary key could not be found
    • deleteCalendarBooking

      CalendarBooking deleteCalendarBooking(long calendarBookingId, boolean allRecurringInstances) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCalendarBookingInstance

      void deleteCalendarBookingInstance(long userId, CalendarBooking calendarBooking, int instanceIndex, boolean allFollowing) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCalendarBookingInstance

      void deleteCalendarBookingInstance(long userId, CalendarBooking calendarBooking, int instanceIndex, boolean allFollowing, boolean deleteRecurringCalendarBookings) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCalendarBookingInstance

      void deleteCalendarBookingInstance(long userId, CalendarBooking calendarBooking, long startTime, boolean allFollowing) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCalendarBookingInstance

      void deleteCalendarBookingInstance(long userId, CalendarBooking calendarBooking, long startTime, boolean allFollowing, boolean deleteRecurringCalendarBookings) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCalendarBookingInstance

      void deleteCalendarBookingInstance(long userId, long calendarBookingId, long startTime, boolean allFollowing) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCalendarBookings

      void deleteCalendarBookings(long calendarId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deletePersistedModel

      com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteRecurringCalendarBooking

      CalendarBooking deleteRecurringCalendarBooking(CalendarBooking calendarBooking) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteRecurringCalendarBooking

      CalendarBooking deleteRecurringCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • dslQuery

      @Transactional(propagation=SUPPORTS, readOnly=true) <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dslQueryCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dynamicQuery

      @Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
    • dynamicQuery

      @Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Performs a dynamic query on the database and returns the matching rows.
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the matching rows
    • dynamicQuery

      @Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      Performs a dynamic query on the database and returns a range of the matching rows.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.calendar.model.impl.CalendarBookingModelImpl.

      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      Returns:
      the range of matching rows
    • dynamicQuery

      @Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
      Performs a dynamic query on the database and returns an ordered range of the matching rows.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.calendar.model.impl.CalendarBookingModelImpl.

      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching rows
    • dynamicQueryCount

      @Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Returns the number of rows matching the dynamic query.
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the number of rows matching the dynamic query
    • dynamicQueryCount

      @Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
      Returns the number of rows matching the dynamic query.
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • exportCalendarBooking

      String exportCalendarBooking(long calendarBookingId, String type) throws Exception
      Throws:
      Exception
    • fetchCalendarBooking

      @Transactional(propagation=SUPPORTS, readOnly=true) CalendarBooking fetchCalendarBooking(long calendarBookingId)
    • fetchCalendarBooking

      @Transactional(propagation=SUPPORTS, readOnly=true) CalendarBooking fetchCalendarBooking(long calendarId, String vEventUid)
    • fetchCalendarBooking

      @Transactional(propagation=SUPPORTS, readOnly=true) CalendarBooking fetchCalendarBooking(String uuid, long groupId)
    • fetchCalendarBookingByUuidAndGroupId

      @Transactional(propagation=SUPPORTS, readOnly=true) CalendarBooking fetchCalendarBookingByUuidAndGroupId(String uuid, long groupId)
      Returns the calendar booking matching the UUID and group.
      Parameters:
      uuid - the calendar booking's UUID
      groupId - the primary key of the group
      Returns:
      the matching calendar booking, or null if a matching calendar booking could not be found
    • getActionableDynamicQuery

      @Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
    • getCalendarBooking

      @Transactional(propagation=SUPPORTS, readOnly=true) CalendarBooking getCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the calendar booking with the primary key.
      Parameters:
      calendarBookingId - the primary key of the calendar booking
      Returns:
      the calendar booking
      Throws:
      com.liferay.portal.kernel.exception.PortalException - if a calendar booking with the primary key could not be found
    • getCalendarBooking

      @Transactional(propagation=SUPPORTS, readOnly=true) CalendarBooking getCalendarBooking(long calendarId, long parentCalendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCalendarBookingByUuidAndGroupId

      @Transactional(propagation=SUPPORTS, readOnly=true) CalendarBooking getCalendarBookingByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the calendar booking matching the UUID and group.
      Parameters:
      uuid - the calendar booking's UUID
      groupId - the primary key of the group
      Returns:
      the matching calendar booking
      Throws:
      com.liferay.portal.kernel.exception.PortalException - if a matching calendar booking could not be found
    • getCalendarBookingInstance

      @Transactional(propagation=SUPPORTS, readOnly=true) CalendarBooking getCalendarBookingInstance(long calendarBookingId, int instanceIndex) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCalendarBookings

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CalendarBooking> getCalendarBookings(int start, int end)
      Returns a range of all the calendar bookings.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.calendar.model.impl.CalendarBookingModelImpl.

      Parameters:
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      Returns:
      the range of calendar bookings
    • getCalendarBookings

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CalendarBooking> getCalendarBookings(long calendarId)
    • getCalendarBookings

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CalendarBooking> getCalendarBookings(long calendarId, int[] statuses)
    • getCalendarBookings

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CalendarBooking> getCalendarBookings(long calendarId, long startTime, long endTime)
    • getCalendarBookings

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CalendarBooking> getCalendarBookings(long calendarId, long startTime, long endTime, int max)
    • getCalendarBookingsByUuidAndCompanyId

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CalendarBooking> getCalendarBookingsByUuidAndCompanyId(String uuid, long companyId)
      Returns all the calendar bookings matching the UUID and company.
      Parameters:
      uuid - the UUID of the calendar bookings
      companyId - the primary key of the company
      Returns:
      the matching calendar bookings, or an empty list if no matches were found
    • getCalendarBookingsByUuidAndCompanyId

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CalendarBooking> getCalendarBookingsByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
      Returns a range of calendar bookings matching the UUID and company.
      Parameters:
      uuid - the UUID of the calendar bookings
      companyId - the primary key of the company
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the range of matching calendar bookings, or an empty list if no matches were found
    • getCalendarBookingsCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCalendarBookingsCount()
      Returns the number of calendar bookings.
      Returns:
      the number of calendar bookings
    • getCalendarBookingsCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCalendarBookingsCount(long calendarId, long parentCalendarBookingId)
    • getChildCalendarBookings

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CalendarBooking> getChildCalendarBookings(long calendarBookingId)
    • getChildCalendarBookings

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CalendarBooking> getChildCalendarBookings(long parentCalendarBookingId, int status)
    • getChildCalendarIds

      @Transactional(propagation=SUPPORTS, readOnly=true) long[] getChildCalendarIds(long calendarBookingId, long calendarId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getExportActionableDynamicQuery

      @Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
    • getIndexableActionableDynamicQuery

      @Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
    • getLastInstanceCalendarBooking

      @Transactional(propagation=SUPPORTS, readOnly=true) CalendarBooking getLastInstanceCalendarBooking(CalendarBooking calendarBooking)
    • getOSGiServiceIdentifier

      String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • getPersistedModel

      @Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getRecurringCalendarBookings

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CalendarBooking> getRecurringCalendarBookings(CalendarBooking calendarBooking)
    • getRecurringCalendarBookings

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CalendarBooking> getRecurringCalendarBookings(CalendarBooking calendarBooking, long startTime)
    • hasExclusiveCalendarBooking

      @Transactional(propagation=SUPPORTS, readOnly=true) boolean hasExclusiveCalendarBooking(Calendar calendar, long startTime, long endTime) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • invokeTransition

      CalendarBooking invokeTransition(long userId, CalendarBooking calendarBooking, long startTime, int status, boolean updateInstance, boolean allFollowing, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isStagingCalendarBooking

      @Transactional(propagation=SUPPORTS, readOnly=true) boolean isStagingCalendarBooking(CalendarBooking calendarBooking) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveCalendarBookingToTrash

      CalendarBooking moveCalendarBookingToTrash(long userId, CalendarBooking calendarBooking) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveCalendarBookingToTrash

      CalendarBooking moveCalendarBookingToTrash(long userId, long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • restoreCalendarBookingFromTrash

      CalendarBooking restoreCalendarBookingFromTrash(long userId, long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      @Transactional(propagation=SUPPORTS, readOnly=true) 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)
    • search

      @Transactional(propagation=SUPPORTS, readOnly=true) 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)
    • searchCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int searchCount(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, String keywords, long startTime, long endTime, int[] statuses)
    • searchCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int searchCount(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, String title, String description, String location, long startTime, long endTime, int[] statuses, boolean andOperator)
    • updateAsset

      void updateAsset(long userId, CalendarBooking calendarBooking, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds, Double priority) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCalendarBooking

      @Indexable(type=REINDEX) CalendarBooking updateCalendarBooking(CalendarBooking calendarBooking)
      Updates the calendar booking in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect CalendarBookingLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Parameters:
      calendarBooking - the calendar booking
      Returns:
      the calendar booking that was updated
    • updateCalendarBooking

      CalendarBooking updateCalendarBooking(long userId, 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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCalendarBooking

      CalendarBooking updateCalendarBooking(long userId, 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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCalendarBookingInstance

      CalendarBooking updateCalendarBookingInstance(long userId, 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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCalendarBookingInstance

      CalendarBooking updateCalendarBookingInstance(long userId, 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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCalendarBookingInstance

      CalendarBooking updateCalendarBookingInstance(long userId, 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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateLastInstanceCalendarBookingRecurrence

      void updateLastInstanceCalendarBookingRecurrence(CalendarBooking calendarBooking, String recurrence)
    • updateRecurringCalendarBooking

      CalendarBooking updateRecurringCalendarBooking(long userId, 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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateStatus

      @Indexable(type=REINDEX) CalendarBooking updateStatus(long userId, CalendarBooking calendarBooking, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateStatus

      CalendarBooking updateStatus(long userId, long calendarBookingId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCTPersistence

      @Transactional(enabled=false) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CalendarBooking> getCTPersistence()
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<CalendarBooking>
    • getModelClass

      @Transactional(enabled=false) Class<CalendarBooking> getModelClass()
      Specified by:
      getModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<CalendarBooking>
    • updateWithUnsafeFunction

      @Transactional(rollbackFor=java.lang.Throwable.class) <R, E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CalendarBooking>,R,E> updateUnsafeFunction) throws E
      Specified by:
      updateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<CalendarBooking>
      Throws:
      E extends Throwable