@ProviderType public class CalendarBookingLocalServiceWrapper extends java.lang.Object implements CalendarBookingLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CalendarBookingLocalService>
CalendarBookingLocalService
.CalendarBookingLocalService
Constructor and Description |
---|
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,
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) |
CalendarBookingLocalService |
getWrappedService() |
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 |
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,
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) |
public CalendarBookingLocalServiceWrapper(CalendarBookingLocalService calendarBookingLocalService)
public CalendarBooking addCalendarBooking(CalendarBooking calendarBooking)
addCalendarBooking
in interface CalendarBookingLocalService
calendarBooking
- the calendar bookingpublic 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) throws com.liferay.portal.kernel.exception.PortalException
addCalendarBooking
in interface CalendarBookingLocalService
com.liferay.portal.kernel.exception.PortalException
public CalendarBooking createCalendarBooking(long calendarBookingId)
createCalendarBooking
in interface CalendarBookingLocalService
calendarBookingId
- the primary key for the new calendar bookingpublic CalendarBooking deleteCalendarBooking(CalendarBooking calendarBooking) throws com.liferay.portal.kernel.exception.PortalException
deleteCalendarBooking
in interface CalendarBookingLocalService
calendarBooking
- the calendar bookingPortalException
public CalendarBooking deleteCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
deleteCalendarBooking
in interface CalendarBookingLocalService
calendarBookingId
- the primary key of the calendar bookingPortalException
- if a calendar booking with the primary key could not be foundpublic CalendarBooking fetchCalendarBooking(java.lang.String uuid, long groupId)
fetchCalendarBooking
in interface CalendarBookingLocalService
public CalendarBooking fetchCalendarBooking(long calendarBookingId)
fetchCalendarBooking
in interface CalendarBookingLocalService
public CalendarBooking fetchCalendarBooking(long calendarId, java.lang.String vEventUid)
fetchCalendarBooking
in interface CalendarBookingLocalService
public CalendarBooking fetchCalendarBookingByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchCalendarBookingByUuidAndGroupId
in interface CalendarBookingLocalService
uuid
- the calendar booking's UUIDgroupId
- the primary key of the groupnull
if a matching calendar booking could not be foundpublic CalendarBooking getCalendarBooking(long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
getCalendarBooking
in interface CalendarBookingLocalService
calendarBookingId
- 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 CalendarBookingLocalService
com.liferay.portal.kernel.exception.PortalException
public CalendarBooking getCalendarBookingByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCalendarBookingByUuidAndGroupId
in interface CalendarBookingLocalService
uuid
- 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 CalendarBookingLocalService
com.liferay.portal.kernel.exception.PortalException
public CalendarBooking moveCalendarBookingToTrash(long userId, CalendarBooking calendarBooking) throws com.liferay.portal.kernel.exception.PortalException
moveCalendarBookingToTrash
in interface CalendarBookingLocalService
com.liferay.portal.kernel.exception.PortalException
public CalendarBooking moveCalendarBookingToTrash(long userId, long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
moveCalendarBookingToTrash
in interface CalendarBookingLocalService
com.liferay.portal.kernel.exception.PortalException
public CalendarBooking restoreCalendarBookingFromTrash(long userId, long calendarBookingId) throws com.liferay.portal.kernel.exception.PortalException
restoreCalendarBookingFromTrash
in interface CalendarBookingLocalService
com.liferay.portal.kernel.exception.PortalException
public CalendarBooking updateCalendarBooking(CalendarBooking calendarBooking)
updateCalendarBooking
in interface CalendarBookingLocalService
calendarBooking
- the calendar bookingpublic 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 CalendarBookingLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CalendarBookingLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CalendarBookingLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CalendarBookingLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CalendarBookingLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CalendarBookingLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface CalendarBookingLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface CalendarBookingLocalService
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface CalendarBookingLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface CalendarBookingLocalService
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface CalendarBookingLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface CalendarBookingLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
public int getCalendarBookingsCount()
getCalendarBookingsCount
in interface CalendarBookingLocalService
public int getCalendarBookingsCount(long calendarId, long parentCalendarBookingId)
getCalendarBookingsCount
in interface CalendarBookingLocalService
public 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 CalendarBookingLocalService
public 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 CalendarBookingLocalService
public java.lang.String exportCalendarBooking(long calendarBookingId, java.lang.String type) throws java.lang.Exception
exportCalendarBooking
in interface CalendarBookingLocalService
java.lang.Exception
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CalendarBookingLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface CalendarBookingLocalService
dynamicQuery
- 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 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
in interface CalendarBookingLocalService
dynamicQuery
- 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 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
in interface CalendarBookingLocalService
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
)public 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.
getCalendarBookings
in interface CalendarBookingLocalService
start
- 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 CalendarBookingLocalService
public java.util.List<CalendarBooking> getCalendarBookings(long calendarId, int[] statuses)
getCalendarBookings
in interface CalendarBookingLocalService
public java.util.List<CalendarBooking> getCalendarBookings(long calendarId, long startTime, long endTime)
getCalendarBookings
in interface CalendarBookingLocalService
public java.util.List<CalendarBooking> getCalendarBookings(long calendarId, long startTime, long endTime, int max)
getCalendarBookings
in interface CalendarBookingLocalService
public java.util.List<CalendarBooking> getCalendarBookingsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getCalendarBookingsByUuidAndCompanyId
in interface CalendarBookingLocalService
uuid
- 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 CalendarBookingLocalService
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
)public java.util.List<CalendarBooking> getChildCalendarBookings(long calendarBookingId)
getChildCalendarBookings
in interface CalendarBookingLocalService
public java.util.List<CalendarBooking> getChildCalendarBookings(long parentCalendarBookingId, int status)
getChildCalendarBookings
in interface CalendarBookingLocalService
public 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)
search
in interface CalendarBookingLocalService
public 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 CalendarBookingLocalService
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface CalendarBookingLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface CalendarBookingLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic long[] getChildCalendarIds(long calendarBookingId, long calendarId) throws com.liferay.portal.kernel.exception.PortalException
getChildCalendarIds
in interface CalendarBookingLocalService
com.liferay.portal.kernel.exception.PortalException
public void checkCalendarBookings() throws com.liferay.portal.kernel.exception.PortalException
checkCalendarBookings
in interface CalendarBookingLocalService
com.liferay.portal.kernel.exception.PortalException
public void deleteCalendarBookingInstance(CalendarBooking calendarBooking, int instanceIndex, boolean allFollowing) throws com.liferay.portal.kernel.exception.PortalException
deleteCalendarBookingInstance
in interface CalendarBookingLocalService
com.liferay.portal.kernel.exception.PortalException
public void deleteCalendarBookingInstance(CalendarBooking calendarBooking, long startTime, boolean allFollowing) throws com.liferay.portal.kernel.exception.PortalException
deleteCalendarBookingInstance
in interface CalendarBookingLocalService
com.liferay.portal.kernel.exception.PortalException
public void deleteCalendarBookingInstance(long calendarBookingId, long startTime, boolean allFollowing) throws com.liferay.portal.kernel.exception.PortalException
deleteCalendarBookingInstance
in interface CalendarBookingLocalService
com.liferay.portal.kernel.exception.PortalException
public void deleteCalendarBookings(long calendarId) throws com.liferay.portal.kernel.exception.PortalException
deleteCalendarBookings
in interface CalendarBookingLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CalendarBookingLocalService
com.liferay.portal.kernel.exception.PortalException
public 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>