public class CalendarBookingLocalServiceWrapper extends java.lang.Object implements CalendarBookingLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CalendarBookingLocalService>
CalendarBookingLocalService.CalendarBookingLocalService| Constructor and Description |
|---|
CalendarBookingLocalServiceWrapper() |
CalendarBookingLocalServiceWrapper(CalendarBookingLocalService calendarBookingLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CalendarBooking |
addCalendarBooking(CalendarBooking calendarBooking)
Adds the calendar booking to the database.
|
CalendarBooking |
addCalendarBooking(long userId,
long calendarId,
long[] childCalendarIds,
long parentCalendarBookingId,
long recurringCalendarBookingId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String location,
long startTime,
long endTime,
boolean allDay,
java.lang.String recurrence,
long firstReminder,
java.lang.String firstReminderType,
long secondReminder,
java.lang.String secondReminderType,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
checkCalendarBookings() |
CalendarBooking |
createCalendarBooking(long calendarBookingId)
Creates a new calendar booking with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CalendarBooking |
deleteCalendarBooking(CalendarBooking calendarBooking)
Deletes the calendar booking from the database.
|
CalendarBooking |
deleteCalendarBooking(CalendarBooking calendarBooking,
boolean allRecurringInstances) |
CalendarBooking |
deleteCalendarBooking(long calendarBookingId)
Deletes the calendar booking with the primary key from the database.
|
CalendarBooking |
deleteCalendarBooking(long calendarBookingId,
boolean allRecurringInstances) |
void |
deleteCalendarBookingInstance(long userId,
CalendarBooking calendarBooking,
int instanceIndex,
boolean allFollowing) |
void |
deleteCalendarBookingInstance(long userId,
CalendarBooking calendarBooking,
int instanceIndex,
boolean allFollowing,
boolean deleteRecurringCalendarBookings) |
void |
deleteCalendarBookingInstance(long userId,
CalendarBooking calendarBooking,
long startTime,
boolean allFollowing) |
void |
deleteCalendarBookingInstance(long userId,
CalendarBooking calendarBooking,
long startTime,
boolean allFollowing,
boolean deleteRecurringCalendarBookings) |
void |
deleteCalendarBookingInstance(long userId,
long calendarBookingId,
long startTime,
boolean allFollowing) |
void |
deleteCalendarBookings(long calendarId) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
CalendarBooking |
deleteRecurringCalendarBooking(CalendarBooking calendarBooking) |
CalendarBooking |
deleteRecurringCalendarBooking(long calendarBookingId) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.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.
|
<T> java.util.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.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
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.
|
java.lang.String |
exportCalendarBooking(long calendarBookingId,
java.lang.String type) |
CalendarBooking |
fetchCalendarBooking(long calendarBookingId) |
CalendarBooking |
fetchCalendarBooking(long calendarId,
java.lang.String vEventUid) |
CalendarBooking |
fetchCalendarBooking(java.lang.String uuid,
long groupId) |
CalendarBooking |
fetchCalendarBookingByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the calendar booking matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
CalendarBooking |
getCalendarBooking(long calendarBookingId)
Returns the calendar booking with the primary key.
|
CalendarBooking |
getCalendarBooking(long calendarId,
long parentCalendarBookingId) |
CalendarBooking |
getCalendarBookingByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the calendar booking matching the UUID and group.
|
CalendarBooking |
getCalendarBookingInstance(long calendarBookingId,
int instanceIndex) |
java.util.List<CalendarBooking> |
getCalendarBookings(int start,
int end)
Returns a range of all the calendar bookings.
|
java.util.List<CalendarBooking> |
getCalendarBookings(long calendarId) |
java.util.List<CalendarBooking> |
getCalendarBookings(long calendarId,
int[] statuses) |
java.util.List<CalendarBooking> |
getCalendarBookings(long calendarId,
long startTime,
long endTime) |
java.util.List<CalendarBooking> |
getCalendarBookings(long calendarId,
long startTime,
long endTime,
int max) |
java.util.List<CalendarBooking> |
getCalendarBookingsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the calendar bookings matching the UUID and company.
|
java.util.List<CalendarBooking> |
getCalendarBookingsByUuidAndCompanyId(java.lang.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.
|
int |
getCalendarBookingsCount()
Returns the number of calendar bookings.
|
int |
getCalendarBookingsCount(long calendarId,
long parentCalendarBookingId) |
java.util.List<CalendarBooking> |
getChildCalendarBookings(long calendarBookingId) |
java.util.List<CalendarBooking> |
getChildCalendarBookings(long parentCalendarBookingId,
int status) |
long[] |
getChildCalendarIds(long calendarBookingId,
long calendarId) |
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CalendarBooking> |
getCTPersistence() |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
CalendarBooking |
getLastInstanceCalendarBooking(CalendarBooking calendarBooking) |
java.lang.Class<CalendarBooking> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.util.List<CalendarBooking> |
getRecurringCalendarBookings(CalendarBooking calendarBooking) |
java.util.List<CalendarBooking> |
getRecurringCalendarBookings(CalendarBooking calendarBooking,
long startTime) |
CalendarBookingLocalService |
getWrappedService() |
boolean |
hasExclusiveCalendarBooking(Calendar calendar,
long startTime,
long endTime) |
CalendarBooking |
invokeTransition(long userId,
CalendarBooking calendarBooking,
long startTime,
int status,
boolean updateInstance,
boolean allFollowing,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
boolean |
isStagingCalendarBooking(CalendarBooking calendarBooking) |
CalendarBooking |
moveCalendarBookingToTrash(long userId,
CalendarBooking calendarBooking) |
CalendarBooking |
moveCalendarBookingToTrash(long userId,
long calendarBookingId) |
CalendarBooking |
restoreCalendarBookingFromTrash(long userId,
long calendarBookingId) |
java.util.List<CalendarBooking> |
search(long companyId,
long[] groupIds,
long[] calendarIds,
long[] calendarResourceIds,
long parentCalendarBookingId,
java.lang.String keywords,
long startTime,
long endTime,
java.util.TimeZone displayTimeZone,
boolean recurring,
int[] statuses,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) |
java.util.List<CalendarBooking> |
search(long companyId,
long[] groupIds,
long[] calendarIds,
long[] calendarResourceIds,
long parentCalendarBookingId,
java.lang.String title,
java.lang.String description,
java.lang.String location,
long startTime,
long endTime,
boolean recurring,
int[] statuses,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) |
int |
searchCount(long companyId,
long[] groupIds,
long[] calendarIds,
long[] calendarResourceIds,
long parentCalendarBookingId,
java.lang.String keywords,
long startTime,
long endTime,
int[] statuses) |
int |
searchCount(long companyId,
long[] groupIds,
long[] calendarIds,
long[] calendarResourceIds,
long parentCalendarBookingId,
java.lang.String title,
java.lang.String description,
java.lang.String location,
long startTime,
long endTime,
int[] statuses,
boolean andOperator) |
void |
setWrappedService(CalendarBookingLocalService calendarBookingLocalService) |
void |
updateAsset(long userId,
CalendarBooking calendarBooking,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds,
java.lang.Double priority) |
CalendarBooking |
updateCalendarBooking(CalendarBooking calendarBooking)
Updates the calendar booking in the database or adds it if it does not yet exist.
|
CalendarBooking |
updateCalendarBooking(long userId,
long calendarBookingId,
long calendarId,
long[] childCalendarIds,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String location,
long startTime,
long endTime,
boolean allDay,
java.lang.String recurrence,
long firstReminder,
java.lang.String firstReminderType,
long secondReminder,
java.lang.String secondReminderType,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CalendarBooking |
updateCalendarBooking(long userId,
long calendarBookingId,
long calendarId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String location,
long startTime,
long endTime,
boolean allDay,
java.lang.String recurrence,
long firstReminder,
java.lang.String firstReminderType,
long secondReminder,
java.lang.String secondReminderType,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CalendarBooking |
updateCalendarBookingInstance(long userId,
long calendarBookingId,
int instanceIndex,
long calendarId,
long[] childCalendarIds,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String location,
long startTime,
long endTime,
boolean allDay,
boolean allFollowing,
long firstReminder,
java.lang.String firstReminderType,
long secondReminder,
java.lang.String secondReminderType,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CalendarBooking |
updateCalendarBookingInstance(long userId,
long calendarBookingId,
int instanceIndex,
long calendarId,
long[] childCalendarIds,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String location,
long startTime,
long endTime,
boolean allDay,
java.lang.String recurrence,
boolean allFollowing,
long firstReminder,
java.lang.String firstReminderType,
long secondReminder,
java.lang.String secondReminderType,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CalendarBooking |
updateCalendarBookingInstance(long userId,
long calendarBookingId,
int instanceIndex,
long calendarId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String location,
long startTime,
long endTime,
boolean allDay,
java.lang.String recurrence,
boolean allFollowing,
long firstReminder,
java.lang.String firstReminderType,
long secondReminder,
java.lang.String secondReminderType,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
updateLastInstanceCalendarBookingRecurrence(CalendarBooking calendarBooking,
java.lang.String recurrence) |
CalendarBooking |
updateRecurringCalendarBooking(long userId,
long calendarBookingId,
long calendarId,
long[] childCalendarIds,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String location,
long startTime,
long endTime,
boolean allDay,
long firstReminder,
java.lang.String firstReminderType,
long secondReminder,
java.lang.String secondReminderType,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CalendarBooking |
updateStatus(long userId,
CalendarBooking calendarBooking,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CalendarBooking |
updateStatus(long userId,
long calendarBookingId,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CalendarBooking>,R,E> updateUnsafeFunction) |
public CalendarBookingLocalServiceWrapper()
public CalendarBookingLocalServiceWrapper(CalendarBookingLocalService calendarBookingLocalService)
public CalendarBooking addCalendarBooking(CalendarBooking calendarBooking)
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.
addCalendarBooking in interface CalendarBookingLocalServicecalendarBooking - the calendar bookingpublic CalendarBooking addCalendarBooking(long userId, long calendarId, long[] childCalendarIds, long parentCalendarBookingId, long recurringCalendarBookingId, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String location, long startTime, long endTime, boolean allDay, java.lang.String recurrence, long firstReminder, java.lang.String firstReminderType, long secondReminder, java.lang.String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCalendarBooking in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void checkCalendarBookings()
throws com.liferay.portal.kernel.exception.PortalException
checkCalendarBookings in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CalendarBooking createCalendarBooking(long calendarBookingId)
createCalendarBooking in interface CalendarBookingLocalServicecalendarBookingId - the primary key for the new calendar bookingpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface CalendarBookingLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CalendarBooking deleteCalendarBooking(CalendarBooking calendarBooking) throws com.liferay.portal.kernel.exception.PortalException
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.
deleteCalendarBooking in interface CalendarBookingLocalServicecalendarBooking - the calendar bookingPortalExceptionpublic CalendarBooking deleteCalendarBooking(CalendarBooking calendarBooking, boolean allRecurringInstances) throws com.liferay.portal.kernel.exception.PortalException
deleteCalendarBooking in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CalendarBooking deleteCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
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.
deleteCalendarBooking in interface CalendarBookingLocalServicecalendarBookingId - the primary key of the calendar bookingPortalException - if a calendar booking with the primary key could not be foundpublic CalendarBooking deleteCalendarBooking(long calendarBookingId, boolean allRecurringInstances) throws com.liferay.portal.kernel.exception.PortalException
deleteCalendarBooking in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCalendarBookingInstance(long userId,
CalendarBooking calendarBooking,
int instanceIndex,
boolean allFollowing)
throws com.liferay.portal.kernel.exception.PortalException
deleteCalendarBookingInstance in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCalendarBookingInstance(long userId,
CalendarBooking calendarBooking,
int instanceIndex,
boolean allFollowing,
boolean deleteRecurringCalendarBookings)
throws com.liferay.portal.kernel.exception.PortalException
deleteCalendarBookingInstance in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCalendarBookingInstance(long userId,
CalendarBooking calendarBooking,
long startTime,
boolean allFollowing)
throws com.liferay.portal.kernel.exception.PortalException
deleteCalendarBookingInstance in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCalendarBookingInstance(long userId,
CalendarBooking calendarBooking,
long startTime,
boolean allFollowing,
boolean deleteRecurringCalendarBookings)
throws com.liferay.portal.kernel.exception.PortalException
deleteCalendarBookingInstance in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCalendarBookingInstance(long userId,
long calendarBookingId,
long startTime,
boolean allFollowing)
throws com.liferay.portal.kernel.exception.PortalException
deleteCalendarBookingInstance in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCalendarBookings(long calendarId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCalendarBookings in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface CalendarBookingLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CalendarBooking deleteRecurringCalendarBooking(CalendarBooking calendarBooking) throws com.liferay.portal.kernel.exception.PortalException
deleteRecurringCalendarBooking in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CalendarBooking deleteRecurringCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
deleteRecurringCalendarBooking in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CalendarBookingLocalServicedslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CalendarBookingLocalServicedslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CalendarBookingLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CalendarBookingLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
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.
dynamicQuery in interface CalendarBookingLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
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.
dynamicQuery in interface CalendarBookingLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount in interface CalendarBookingLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CalendarBookingLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic java.lang.String exportCalendarBooking(long calendarBookingId,
java.lang.String type)
throws java.lang.Exception
exportCalendarBooking in interface CalendarBookingLocalServicejava.lang.Exceptionpublic CalendarBooking fetchCalendarBooking(long calendarBookingId)
fetchCalendarBooking in interface CalendarBookingLocalServicepublic CalendarBooking fetchCalendarBooking(long calendarId, java.lang.String vEventUid)
fetchCalendarBooking in interface CalendarBookingLocalServicepublic CalendarBooking fetchCalendarBooking(java.lang.String uuid, long groupId)
fetchCalendarBooking in interface CalendarBookingLocalServicepublic CalendarBooking fetchCalendarBookingByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchCalendarBookingByUuidAndGroupId in interface CalendarBookingLocalServiceuuid - the calendar booking's UUIDgroupId - the primary key of the groupnull if a matching calendar booking could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CalendarBookingLocalServicepublic CalendarBooking getCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
getCalendarBooking in interface CalendarBookingLocalServicecalendarBookingId - the primary key of the calendar bookingPortalException - if a calendar booking with the primary key could not be foundpublic CalendarBooking getCalendarBooking(long calendarId, long parentCalendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
getCalendarBooking in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CalendarBooking getCalendarBookingByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCalendarBookingByUuidAndGroupId in interface CalendarBookingLocalServiceuuid - the calendar booking's UUIDgroupId - the primary key of the groupPortalException - if a matching calendar booking could not be foundpublic CalendarBooking getCalendarBookingInstance(long calendarBookingId, int instanceIndex) throws com.liferay.portal.kernel.exception.PortalException
getCalendarBookingInstance in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CalendarBooking> getCalendarBookings(int start, int end)
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.
getCalendarBookings in interface CalendarBookingLocalServicestart - the lower bound of the range of calendar bookingsend - the upper bound of the range of calendar bookings (not inclusive)public java.util.List<CalendarBooking> getCalendarBookings(long calendarId)
getCalendarBookings in interface CalendarBookingLocalServicepublic java.util.List<CalendarBooking> getCalendarBookings(long calendarId, int[] statuses)
getCalendarBookings in interface CalendarBookingLocalServicepublic java.util.List<CalendarBooking> getCalendarBookings(long calendarId, long startTime, long endTime)
getCalendarBookings in interface CalendarBookingLocalServicepublic java.util.List<CalendarBooking> getCalendarBookings(long calendarId, long startTime, long endTime, int max)
getCalendarBookings in interface CalendarBookingLocalServicepublic java.util.List<CalendarBooking> getCalendarBookingsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getCalendarBookingsByUuidAndCompanyId in interface CalendarBookingLocalServiceuuid - the UUID of the calendar bookingscompanyId - the primary key of the companypublic java.util.List<CalendarBooking> getCalendarBookingsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
getCalendarBookingsByUuidAndCompanyId in interface CalendarBookingLocalServiceuuid - the UUID of the calendar bookingscompanyId - the primary key of the companystart - the lower bound of the range of calendar bookingsend - the upper bound of the range of calendar bookings (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getCalendarBookingsCount()
getCalendarBookingsCount in interface CalendarBookingLocalServicepublic int getCalendarBookingsCount(long calendarId,
long parentCalendarBookingId)
getCalendarBookingsCount in interface CalendarBookingLocalServicepublic java.util.List<CalendarBooking> getChildCalendarBookings(long calendarBookingId)
getChildCalendarBookings in interface CalendarBookingLocalServicepublic java.util.List<CalendarBooking> getChildCalendarBookings(long parentCalendarBookingId, int status)
getChildCalendarBookings in interface CalendarBookingLocalServicepublic long[] getChildCalendarIds(long calendarBookingId,
long calendarId)
throws com.liferay.portal.kernel.exception.PortalException
getChildCalendarIds in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface CalendarBookingLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CalendarBookingLocalServicepublic CalendarBooking getLastInstanceCalendarBooking(CalendarBooking calendarBooking)
getLastInstanceCalendarBooking in interface CalendarBookingLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CalendarBookingLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CalendarBookingLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic java.util.List<CalendarBooking> getRecurringCalendarBookings(CalendarBooking calendarBooking)
getRecurringCalendarBookings in interface CalendarBookingLocalServicepublic java.util.List<CalendarBooking> getRecurringCalendarBookings(CalendarBooking calendarBooking, long startTime)
getRecurringCalendarBookings in interface CalendarBookingLocalServicepublic boolean hasExclusiveCalendarBooking(Calendar calendar, long startTime, long endTime) throws com.liferay.portal.kernel.exception.PortalException
hasExclusiveCalendarBooking in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
invokeTransition in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic boolean isStagingCalendarBooking(CalendarBooking calendarBooking) throws com.liferay.portal.kernel.exception.PortalException
isStagingCalendarBooking in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CalendarBooking moveCalendarBookingToTrash(long userId, CalendarBooking calendarBooking) throws com.liferay.portal.kernel.exception.PortalException
moveCalendarBookingToTrash in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CalendarBooking moveCalendarBookingToTrash(long userId, long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
moveCalendarBookingToTrash in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CalendarBooking restoreCalendarBookingFromTrash(long userId, long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
restoreCalendarBookingFromTrash in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CalendarBooking> search(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, java.lang.String keywords, long startTime, long endTime, java.util.TimeZone displayTimeZone, boolean recurring, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
search in interface CalendarBookingLocalServicepublic java.util.List<CalendarBooking> search(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, java.lang.String title, java.lang.String description, java.lang.String location, long startTime, long endTime, boolean recurring, int[] statuses, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
search in interface CalendarBookingLocalServicepublic int searchCount(long companyId,
long[] groupIds,
long[] calendarIds,
long[] calendarResourceIds,
long parentCalendarBookingId,
java.lang.String keywords,
long startTime,
long endTime,
int[] statuses)
searchCount in interface CalendarBookingLocalServicepublic int searchCount(long companyId,
long[] groupIds,
long[] calendarIds,
long[] calendarResourceIds,
long parentCalendarBookingId,
java.lang.String title,
java.lang.String description,
java.lang.String location,
long startTime,
long endTime,
int[] statuses,
boolean andOperator)
searchCount in interface CalendarBookingLocalServicepublic void updateAsset(long userId,
CalendarBooking calendarBooking,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds,
java.lang.Double priority)
throws com.liferay.portal.kernel.exception.PortalException
updateAsset in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CalendarBooking updateCalendarBooking(CalendarBooking calendarBooking)
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.
updateCalendarBooking in interface CalendarBookingLocalServicecalendarBooking - the calendar bookingpublic CalendarBooking updateCalendarBooking(long userId, long calendarBookingId, long calendarId, long[] childCalendarIds, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String location, long startTime, long endTime, boolean allDay, java.lang.String recurrence, long firstReminder, java.lang.String firstReminderType, long secondReminder, java.lang.String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCalendarBooking in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CalendarBooking updateCalendarBooking(long userId, long calendarBookingId, long calendarId, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String location, long startTime, long endTime, boolean allDay, java.lang.String recurrence, long firstReminder, java.lang.String firstReminderType, long secondReminder, java.lang.String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCalendarBooking in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CalendarBooking updateCalendarBookingInstance(long userId, long calendarBookingId, int instanceIndex, long calendarId, long[] childCalendarIds, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String location, long startTime, long endTime, boolean allDay, boolean allFollowing, long firstReminder, java.lang.String firstReminderType, long secondReminder, java.lang.String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCalendarBookingInstance in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CalendarBooking updateCalendarBookingInstance(long userId, long calendarBookingId, int instanceIndex, long calendarId, long[] childCalendarIds, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String location, long startTime, long endTime, boolean allDay, java.lang.String recurrence, boolean allFollowing, long firstReminder, java.lang.String firstReminderType, long secondReminder, java.lang.String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCalendarBookingInstance in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CalendarBooking updateCalendarBookingInstance(long userId, long calendarBookingId, int instanceIndex, long calendarId, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String location, long startTime, long endTime, boolean allDay, java.lang.String recurrence, boolean allFollowing, long firstReminder, java.lang.String firstReminderType, long secondReminder, java.lang.String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCalendarBookingInstance in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void updateLastInstanceCalendarBookingRecurrence(CalendarBooking calendarBooking, java.lang.String recurrence)
updateLastInstanceCalendarBookingRecurrence in interface CalendarBookingLocalServicepublic CalendarBooking updateRecurringCalendarBooking(long userId, long calendarBookingId, long calendarId, long[] childCalendarIds, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String location, long startTime, long endTime, boolean allDay, long firstReminder, java.lang.String firstReminderType, long secondReminder, java.lang.String secondReminderType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateRecurringCalendarBooking in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CalendarBooking updateStatus(long userId, CalendarBooking calendarBooking, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateStatus in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CalendarBooking updateStatus(long userId, long calendarBookingId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateStatus in interface CalendarBookingLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CalendarBooking> getCTPersistence()
getCTPersistence in interface CalendarBookingLocalServicegetCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<CalendarBooking>public java.lang.Class<CalendarBooking> getModelClass()
getModelClass in interface CalendarBookingLocalServicegetModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<CalendarBooking>public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CalendarBooking>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction in interface CalendarBookingLocalServiceupdateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<CalendarBooking>E extends java.lang.Throwablepublic CalendarBookingLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CalendarBookingLocalService>public void setWrappedService(CalendarBookingLocalService calendarBookingLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CalendarBookingLocalService>