@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.PermissionedModelLocalService
CalendarBookingLocalServiceUtil
,
com.liferay.calendar.service.base.CalendarBookingLocalServiceBaseImpl
,
com.liferay.calendar.service.impl.CalendarBookingLocalServiceImpl
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,
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.
|
CalendarBooking |
deleteCalendarBooking(CalendarBooking calendarBooking)
Deletes the calendar booking from the database.
|
CalendarBooking |
deleteCalendarBooking(long calendarBookingId)
Deletes the calendar booking with the primary key from the database.
|
void |
deleteCalendarBookingInstance(CalendarBooking calendarBooking,
int instanceIndex,
boolean allFollowing) |
void |
deleteCalendarBookingInstance(CalendarBooking calendarBooking,
long startTime,
boolean allFollowing) |
void |
deleteCalendarBookingInstance(long calendarBookingId,
long startTime,
boolean allFollowing) |
void |
deleteCalendarBookings(long calendarId) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
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.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
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,
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 |
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,
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) |
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) |
@Indexable(type=REINDEX) CalendarBooking addCalendarBooking(CalendarBooking calendarBooking)
calendarBooking
- the calendar bookingCalendarBooking addCalendarBooking(long userId, long calendarId, long[] childCalendarIds, long parentCalendarBookingId, 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
com.liferay.portal.kernel.exception.PortalException
CalendarBooking createCalendarBooking(long calendarBookingId)
calendarBookingId
- the primary key for the new calendar booking@Indexable(type=DELETE) @SystemEvent(action=1, type=1) CalendarBooking deleteCalendarBooking(CalendarBooking calendarBooking) throws com.liferay.portal.kernel.exception.PortalException
calendarBooking
- the calendar bookingcom.liferay.portal.kernel.exception.PortalException
@Indexable(type=DELETE) CalendarBooking deleteCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
calendarBookingId
- the primary key of the calendar bookingcom.liferay.portal.kernel.exception.PortalException
- if a calendar booking with the primary key could not be found@Transactional(propagation=SUPPORTS, readOnly=true) CalendarBooking fetchCalendarBooking(java.lang.String uuid, long groupId)
@Transactional(propagation=SUPPORTS, readOnly=true) CalendarBooking fetchCalendarBooking(long calendarBookingId)
@Transactional(propagation=SUPPORTS, readOnly=true) CalendarBooking fetchCalendarBooking(long calendarId, java.lang.String vEventUid)
@Transactional(propagation=SUPPORTS, readOnly=true) CalendarBooking fetchCalendarBookingByUuidAndGroupId(java.lang.String uuid, long groupId)
uuid
- the calendar booking's UUIDgroupId
- the primary key of the groupnull
if a matching calendar booking could not be found@Transactional(propagation=SUPPORTS, readOnly=true) CalendarBooking getCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
calendarBookingId
- the primary key of the calendar bookingcom.liferay.portal.kernel.exception.PortalException
- if a calendar booking with the primary key could not be found@Transactional(propagation=SUPPORTS, readOnly=true) CalendarBooking getCalendarBooking(long calendarId, long parentCalendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) CalendarBooking getCalendarBookingByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
uuid
- the calendar booking's UUIDgroupId
- the primary key of the groupcom.liferay.portal.kernel.exception.PortalException
- if a matching calendar booking could not be found@Transactional(propagation=SUPPORTS, readOnly=true) CalendarBooking getCalendarBookingInstance(long calendarBookingId, int instanceIndex) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CalendarBooking moveCalendarBookingToTrash(long userId, CalendarBooking calendarBooking) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CalendarBooking moveCalendarBookingToTrash(long userId, long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CalendarBooking restoreCalendarBookingFromTrash(long userId, long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) CalendarBooking updateCalendarBooking(CalendarBooking calendarBooking)
calendarBooking
- the calendar bookingCalendarBooking 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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
@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
com.liferay.portal.kernel.exception.PortalException
CalendarBooking updateStatus(long userId, long calendarBookingId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCalendarBookingsCount()
@Transactional(propagation=SUPPORTS, readOnly=true) int getCalendarBookingsCount(long calendarId, long parentCalendarBookingId)
@Transactional(propagation=SUPPORTS, readOnly=true) int searchCount(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, java.lang.String keywords, long startTime, long endTime, int[] statuses)
@Transactional(propagation=SUPPORTS, readOnly=true) 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)
java.lang.String exportCalendarBooking(long calendarBookingId, java.lang.String type) throws java.lang.Exception
java.lang.Exception
java.lang.String getOSGiServiceIdentifier()
<T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic query<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 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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)<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 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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
- 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
)@Transactional(propagation=SUPPORTS, readOnly=true) 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 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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of calendar bookingsend
- the upper bound of the range of calendar bookings (not inclusive)@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CalendarBooking> getCalendarBookings(long calendarId)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CalendarBooking> getCalendarBookings(long calendarId, int[] statuses)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CalendarBooking> getCalendarBookings(long calendarId, long startTime, long endTime)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CalendarBooking> getCalendarBookings(long calendarId, long startTime, long endTime, int max)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CalendarBooking> getCalendarBookingsByUuidAndCompanyId(java.lang.String uuid, long companyId)
uuid
- the UUID of the calendar bookingscompanyId
- the primary key of the company@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CalendarBooking> getCalendarBookingsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
uuid
- 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
)@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CalendarBooking> getChildCalendarBookings(long calendarBookingId)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CalendarBooking> getChildCalendarBookings(long parentCalendarBookingId, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CalendarBooking> search(long companyId, long[] groupIds, long[] calendarIds, long[] calendarResourceIds, long parentCalendarBookingId, java.lang.String keywords, long startTime, long endTime, boolean recurring, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) 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)
long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic querylong dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query@Transactional(propagation=SUPPORTS, readOnly=true) long[] getChildCalendarIds(long calendarBookingId, long calendarId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void checkCalendarBookings() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deleteCalendarBookingInstance(CalendarBooking calendarBooking, int instanceIndex, boolean allFollowing) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deleteCalendarBookingInstance(CalendarBooking calendarBooking, long startTime, boolean allFollowing) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deleteCalendarBookingInstance(long calendarBookingId, long startTime, boolean allFollowing) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deleteCalendarBookings(long calendarId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException