Class CalendarBookingUtil
com.liferay.calendar.service.persistence.impl.CalendarBookingPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(CalendarBooking calendarBooking) Caches the calendar booking in the entity cache if it is enabled.static voidcacheResult(List<CalendarBooking> calendarBookings) Caches the calendar bookings in the entity cache if it is enabled.static voidstatic voidclearCache(CalendarBooking calendarBooking) static intcountAll()Returns the number of calendar bookings.static intcountByC_P(long calendarId, long parentCalendarBookingId) Returns the number of calendar bookings where calendarId = ? and parentCalendarBookingId = ?.static intcountByC_S(long calendarId, int status) Returns the number of calendar bookings where calendarId = ? and status = ?.static intcountByC_S(long calendarId, int[] statuses) Returns the number of calendar bookings where calendarId = ? and status = any ?.static intcountByC_V(long calendarId, String vEventUid) Returns the number of calendar bookings where calendarId = ? and vEventUid = ?.static intcountByCalendarId(long calendarId) Returns the number of calendar bookings where calendarId = ?.static intcountByCalendarResourceId(long calendarResourceId) Returns the number of calendar bookings where calendarResourceId = ?.static intcountByP_S(long parentCalendarBookingId, int status) Returns the number of calendar bookings where parentCalendarBookingId = ? and status = ?.static intcountByParentCalendarBookingId(long parentCalendarBookingId) Returns the number of calendar bookings where parentCalendarBookingId = ?.static intcountByRecurringCalendarBookingId(long recurringCalendarBookingId) Returns the number of calendar bookings where recurringCalendarBookingId = ?.static intcountByUuid(String uuid) Returns the number of calendar bookings where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of calendar bookings where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of calendar bookings where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CalendarBookingcreate(long calendarBookingId) Creates a new calendar booking with the primary key.static CalendarBookingfetchByC_P(long calendarId, long parentCalendarBookingId) Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or returnsnullif it could not be found.static CalendarBookingfetchByC_P(long calendarId, long parentCalendarBookingId, boolean useFinderCache) Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or returnsnullif it could not be found, optionally using the finder cache.static CalendarBookingfetchByC_S_First(long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where calendarId = ? and status = ?.static CalendarBookingfetchByC_S_Last(long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where calendarId = ? and status = ?.static CalendarBookingfetchByC_V(long calendarId, String vEventUid) Returns the calendar booking where calendarId = ? and vEventUid = ? or returnsnullif it could not be found.static CalendarBookingfetchByC_V(long calendarId, String vEventUid, boolean useFinderCache) Returns the calendar booking where calendarId = ? and vEventUid = ? or returnsnullif it could not be found, optionally using the finder cache.static CalendarBookingfetchByCalendarId_First(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where calendarId = ?.static CalendarBookingfetchByCalendarId_Last(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where calendarId = ?.static CalendarBookingfetchByCalendarResourceId_First(long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where calendarResourceId = ?.static CalendarBookingfetchByCalendarResourceId_Last(long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where calendarResourceId = ?.static CalendarBookingfetchByP_S_First(long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where parentCalendarBookingId = ? and status = ?.static CalendarBookingfetchByP_S_Last(long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where parentCalendarBookingId = ? and status = ?.static CalendarBookingfetchByParentCalendarBookingId_First(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where parentCalendarBookingId = ?.static CalendarBookingfetchByParentCalendarBookingId_Last(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where parentCalendarBookingId = ?.static CalendarBookingfetchByPrimaryKey(long calendarBookingId) Returns the calendar booking with the primary key or returnsnullif it could not be found.static Map<Serializable,CalendarBooking> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CalendarBookingfetchByRecurringCalendarBookingId_First(long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where recurringCalendarBookingId = ?.static CalendarBookingfetchByRecurringCalendarBookingId_Last(long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where recurringCalendarBookingId = ?.static CalendarBookingfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where uuid = ? and companyId = ?.static CalendarBookingfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where uuid = ? and companyId = ?.static CalendarBookingfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where uuid = ?.static CalendarBookingfetchByUUID_G(String uuid, long groupId) Returns the calendar booking where uuid = ? and groupId = ? or returnsnullif it could not be found.static CalendarBookingfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the calendar booking where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static CalendarBookingfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where uuid = ?.static List<CalendarBooking>findAll()Returns all the calendar bookings.static List<CalendarBooking>findAll(int start, int end) Returns a range of all the calendar bookings.static List<CalendarBooking>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings.static List<CalendarBooking>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings.static CalendarBookingfindByC_P(long calendarId, long parentCalendarBookingId) Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or throws aNoSuchBookingExceptionif it could not be found.static List<CalendarBooking>findByC_S(long calendarId, int status) Returns all the calendar bookings where calendarId = ? and status = ?.static List<CalendarBooking>findByC_S(long calendarId, int[] statuses) Returns all the calendar bookings where calendarId = ? and status = any ?.static List<CalendarBooking>findByC_S(long calendarId, int[] statuses, int start, int end) Returns a range of all the calendar bookings where calendarId = ? and status = any ?.static List<CalendarBooking>findByC_S(long calendarId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where calendarId = ? and status = any ?.static List<CalendarBooking>findByC_S(long calendarId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where calendarId = ? and status = ?, optionally using the finder cache.static List<CalendarBooking>findByC_S(long calendarId, int status, int start, int end) Returns a range of all the calendar bookings where calendarId = ? and status = ?.static List<CalendarBooking>findByC_S(long calendarId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where calendarId = ? and status = ?.static List<CalendarBooking>findByC_S(long calendarId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where calendarId = ? and status = ?.static CalendarBookingfindByC_S_First(long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where calendarId = ? and status = ?.static CalendarBookingfindByC_S_Last(long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where calendarId = ? and status = ?.static CalendarBooking[]findByC_S_PrevAndNext(long calendarBookingId, long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the calendar bookings before and after the current calendar booking in the ordered set where calendarId = ? and status = ?.static CalendarBookingReturns the calendar booking where calendarId = ? and vEventUid = ? or throws aNoSuchBookingExceptionif it could not be found.static List<CalendarBooking>findByCalendarId(long calendarId) Returns all the calendar bookings where calendarId = ?.static List<CalendarBooking>findByCalendarId(long calendarId, int start, int end) Returns a range of all the calendar bookings where calendarId = ?.static List<CalendarBooking>findByCalendarId(long calendarId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where calendarId = ?.static List<CalendarBooking>findByCalendarId(long calendarId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where calendarId = ?.static CalendarBookingfindByCalendarId_First(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where calendarId = ?.static CalendarBookingfindByCalendarId_Last(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where calendarId = ?.static CalendarBooking[]findByCalendarId_PrevAndNext(long calendarBookingId, long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the calendar bookings before and after the current calendar booking in the ordered set where calendarId = ?.static List<CalendarBooking>findByCalendarResourceId(long calendarResourceId) Returns all the calendar bookings where calendarResourceId = ?.static List<CalendarBooking>findByCalendarResourceId(long calendarResourceId, int start, int end) Returns a range of all the calendar bookings where calendarResourceId = ?.static List<CalendarBooking>findByCalendarResourceId(long calendarResourceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where calendarResourceId = ?.static List<CalendarBooking>findByCalendarResourceId(long calendarResourceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where calendarResourceId = ?.static CalendarBookingfindByCalendarResourceId_First(long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where calendarResourceId = ?.static CalendarBookingfindByCalendarResourceId_Last(long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where calendarResourceId = ?.static CalendarBooking[]findByCalendarResourceId_PrevAndNext(long calendarBookingId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the calendar bookings before and after the current calendar booking in the ordered set where calendarResourceId = ?.static List<CalendarBooking>findByP_S(long parentCalendarBookingId, int status) Returns all the calendar bookings where parentCalendarBookingId = ? and status = ?.static List<CalendarBooking>findByP_S(long parentCalendarBookingId, int status, int start, int end) Returns a range of all the calendar bookings where parentCalendarBookingId = ? and status = ?.static List<CalendarBooking>findByP_S(long parentCalendarBookingId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where parentCalendarBookingId = ? and status = ?.static List<CalendarBooking>findByP_S(long parentCalendarBookingId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where parentCalendarBookingId = ? and status = ?.static CalendarBookingfindByP_S_First(long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where parentCalendarBookingId = ? and status = ?.static CalendarBookingfindByP_S_Last(long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where parentCalendarBookingId = ? and status = ?.static CalendarBooking[]findByP_S_PrevAndNext(long calendarBookingId, long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the calendar bookings before and after the current calendar booking in the ordered set where parentCalendarBookingId = ? and status = ?.static List<CalendarBooking>findByParentCalendarBookingId(long parentCalendarBookingId) Returns all the calendar bookings where parentCalendarBookingId = ?.static List<CalendarBooking>findByParentCalendarBookingId(long parentCalendarBookingId, int start, int end) Returns a range of all the calendar bookings where parentCalendarBookingId = ?.static List<CalendarBooking>findByParentCalendarBookingId(long parentCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where parentCalendarBookingId = ?.static List<CalendarBooking>findByParentCalendarBookingId(long parentCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where parentCalendarBookingId = ?.static CalendarBookingfindByParentCalendarBookingId_First(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where parentCalendarBookingId = ?.static CalendarBookingfindByParentCalendarBookingId_Last(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where parentCalendarBookingId = ?.static CalendarBooking[]findByParentCalendarBookingId_PrevAndNext(long calendarBookingId, long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the calendar bookings before and after the current calendar booking in the ordered set where parentCalendarBookingId = ?.static CalendarBookingfindByPrimaryKey(long calendarBookingId) Returns the calendar booking with the primary key or throws aNoSuchBookingExceptionif it could not be found.static List<CalendarBooking>findByRecurringCalendarBookingId(long recurringCalendarBookingId) Returns all the calendar bookings where recurringCalendarBookingId = ?.static List<CalendarBooking>findByRecurringCalendarBookingId(long recurringCalendarBookingId, int start, int end) Returns a range of all the calendar bookings where recurringCalendarBookingId = ?.static List<CalendarBooking>findByRecurringCalendarBookingId(long recurringCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where recurringCalendarBookingId = ?.static List<CalendarBooking>findByRecurringCalendarBookingId(long recurringCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where recurringCalendarBookingId = ?.static CalendarBookingfindByRecurringCalendarBookingId_First(long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where recurringCalendarBookingId = ?.static CalendarBookingfindByRecurringCalendarBookingId_Last(long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where recurringCalendarBookingId = ?.static CalendarBooking[]findByRecurringCalendarBookingId_PrevAndNext(long calendarBookingId, long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the calendar bookings before and after the current calendar booking in the ordered set where recurringCalendarBookingId = ?.static List<CalendarBooking>findByUuid(String uuid) Returns all the calendar bookings where uuid = ?.static List<CalendarBooking>findByUuid(String uuid, int start, int end) Returns a range of all the calendar bookings where uuid = ?.static List<CalendarBooking>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where uuid = ?.static List<CalendarBooking>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where uuid = ?.static List<CalendarBooking>findByUuid_C(String uuid, long companyId) Returns all the calendar bookings where uuid = ? and companyId = ?.static List<CalendarBooking>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the calendar bookings where uuid = ? and companyId = ?.static List<CalendarBooking>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where uuid = ? and companyId = ?.static List<CalendarBooking>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where uuid = ? and companyId = ?.static CalendarBookingfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where uuid = ? and companyId = ?.static CalendarBookingfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where uuid = ? and companyId = ?.static CalendarBooking[]findByUuid_C_PrevAndNext(long calendarBookingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the calendar bookings before and after the current calendar booking in the ordered set where uuid = ? and companyId = ?.static CalendarBookingfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where uuid = ?.static CalendarBookingfindByUUID_G(String uuid, long groupId) Returns the calendar booking where uuid = ? and groupId = ? or throws aNoSuchBookingExceptionif it could not be found.static CalendarBookingfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where uuid = ?.static CalendarBooking[]findByUuid_PrevAndNext(long calendarBookingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the calendar bookings before and after the current calendar booking in the ordered set where uuid = ?.static List<CalendarBooking>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CalendarBooking>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CalendarBooking>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) static CalendarBookingPersistencestatic CalendarBookingremove(long calendarBookingId) Removes the calendar booking with the primary key from the database.static voidRemoves all the calendar bookings from the database.static CalendarBookingremoveByC_P(long calendarId, long parentCalendarBookingId) Removes the calendar booking where calendarId = ? and parentCalendarBookingId = ? from the database.static voidremoveByC_S(long calendarId, int status) Removes all the calendar bookings where calendarId = ? and status = ? from the database.static CalendarBookingremoveByC_V(long calendarId, String vEventUid) Removes the calendar booking where calendarId = ? and vEventUid = ? from the database.static voidremoveByCalendarId(long calendarId) Removes all the calendar bookings where calendarId = ? from the database.static voidremoveByCalendarResourceId(long calendarResourceId) Removes all the calendar bookings where calendarResourceId = ? from the database.static voidremoveByP_S(long parentCalendarBookingId, int status) Removes all the calendar bookings where parentCalendarBookingId = ? and status = ? from the database.static voidremoveByParentCalendarBookingId(long parentCalendarBookingId) Removes all the calendar bookings where parentCalendarBookingId = ? from the database.static voidremoveByRecurringCalendarBookingId(long recurringCalendarBookingId) Removes all the calendar bookings where recurringCalendarBookingId = ? from the database.static voidremoveByUuid(String uuid) Removes all the calendar bookings where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the calendar bookings where uuid = ? and companyId = ? from the database.static CalendarBookingremoveByUUID_G(String uuid, long groupId) Removes the calendar booking where uuid = ? and groupId = ? from the database.static voidsetPersistence(CalendarBookingPersistence persistence) static CalendarBookingupdate(CalendarBooking calendarBooking) static CalendarBookingupdate(CalendarBooking calendarBooking, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CalendarBookingupdateImpl(CalendarBooking calendarBooking)
-
Constructor Details
-
CalendarBookingUtil
public CalendarBookingUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CalendarBooking> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CalendarBooking> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CalendarBooking> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CalendarBooking update(CalendarBooking calendarBooking, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the calendar bookings where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching calendar bookings
-
findByUuid
Returns a range of all the calendar bookings where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)- Returns:
- the range of matching calendar bookings
-
findByUuid
public static List<CalendarBooking> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
uuid- the uuidstart- 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 (optionallynull)- Returns:
- the ordered range of matching calendar bookings
-
findByUuid
public static List<CalendarBooking> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
uuid- the uuidstart- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar bookings
-
findByUuid_First
public static CalendarBooking findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the first calendar booking in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be foundNoSuchBookingException
-
fetchByUuid_First
public static CalendarBooking fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking, or
nullif a matching calendar booking could not be found
-
findByUuid_Last
public static CalendarBooking findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the last calendar booking in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be foundNoSuchBookingException
-
fetchByUuid_Last
public static CalendarBooking fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching calendar booking, or
nullif a matching calendar booking could not be found
-
findByUuid_PrevAndNext
public static CalendarBooking[] findByUuid_PrevAndNext(long calendarBookingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the calendar bookings before and after the current calendar booking in the ordered set where uuid = ?.- Parameters:
calendarBookingId- the primary key of the current calendar bookinguuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next calendar booking
- Throws:
NoSuchBookingException- if a calendar booking with the primary key could not be foundNoSuchBookingException
-
removeByUuid
Removes all the calendar bookings where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of calendar bookings where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching calendar bookings
-
findByUUID_G
Returns the calendar booking where uuid = ? and groupId = ? or throws aNoSuchBookingExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be foundNoSuchBookingException
-
fetchByUUID_G
Returns the calendar booking where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching calendar booking, or
nullif a matching calendar booking could not be found
-
fetchByUUID_G
Returns the calendar booking where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching calendar booking, or
nullif a matching calendar booking could not be found
-
removeByUUID_G
public static CalendarBooking removeByUUID_G(String uuid, long groupId) throws NoSuchBookingException Removes the calendar booking where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the calendar booking that was removed
- Throws:
NoSuchBookingException
-
countByUUID_G
Returns the number of calendar bookings where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching calendar bookings
-
findByUuid_C
Returns all the calendar bookings where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching calendar bookings
-
findByUuid_C
Returns a range of all the calendar bookings where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)- Returns:
- the range of matching calendar bookings
-
findByUuid_C
public static List<CalendarBooking> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- 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 (optionallynull)- Returns:
- the ordered range of matching calendar bookings
-
findByUuid_C
public static List<CalendarBooking> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar bookings
-
findByUuid_C_First
public static CalendarBooking findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the first calendar booking in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be foundNoSuchBookingException
-
fetchByUuid_C_First
public static CalendarBooking fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking, or
nullif a matching calendar booking could not be found
-
findByUuid_C_Last
public static CalendarBooking findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the last calendar booking in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be foundNoSuchBookingException
-
fetchByUuid_C_Last
public static CalendarBooking fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching calendar booking, or
nullif a matching calendar booking could not be found
-
findByUuid_C_PrevAndNext
public static CalendarBooking[] findByUuid_C_PrevAndNext(long calendarBookingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the calendar bookings before and after the current calendar booking in the ordered set where uuid = ? and companyId = ?.- Parameters:
calendarBookingId- the primary key of the current calendar bookinguuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next calendar booking
- Throws:
NoSuchBookingException- if a calendar booking with the primary key could not be foundNoSuchBookingException
-
removeByUuid_C
Removes all the calendar bookings where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of calendar bookings where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching calendar bookings
-
findByCalendarId
Returns all the calendar bookings where calendarId = ?.- Parameters:
calendarId- the calendar ID- Returns:
- the matching calendar bookings
-
findByCalendarId
Returns a range of all the calendar bookings where calendarId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
calendarId- the calendar IDstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)- Returns:
- the range of matching calendar bookings
-
findByCalendarId
public static List<CalendarBooking> findByCalendarId(long calendarId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where calendarId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
calendarId- the calendar IDstart- 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 (optionallynull)- Returns:
- the ordered range of matching calendar bookings
-
findByCalendarId
public static List<CalendarBooking> findByCalendarId(long calendarId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where calendarId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
calendarId- the calendar IDstart- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar bookings
-
findByCalendarId_First
public static CalendarBooking findByCalendarId_First(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the first calendar booking in the ordered set where calendarId = ?.- Parameters:
calendarId- the calendar IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be foundNoSuchBookingException
-
fetchByCalendarId_First
public static CalendarBooking fetchByCalendarId_First(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where calendarId = ?.- Parameters:
calendarId- the calendar IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking, or
nullif a matching calendar booking could not be found
-
findByCalendarId_Last
public static CalendarBooking findByCalendarId_Last(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the last calendar booking in the ordered set where calendarId = ?.- Parameters:
calendarId- the calendar IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be foundNoSuchBookingException
-
fetchByCalendarId_Last
public static CalendarBooking fetchByCalendarId_Last(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where calendarId = ?.- Parameters:
calendarId- the calendar IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching calendar booking, or
nullif a matching calendar booking could not be found
-
findByCalendarId_PrevAndNext
public static CalendarBooking[] findByCalendarId_PrevAndNext(long calendarBookingId, long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the calendar bookings before and after the current calendar booking in the ordered set where calendarId = ?.- Parameters:
calendarBookingId- the primary key of the current calendar bookingcalendarId- the calendar IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next calendar booking
- Throws:
NoSuchBookingException- if a calendar booking with the primary key could not be foundNoSuchBookingException
-
removeByCalendarId
public static void removeByCalendarId(long calendarId) Removes all the calendar bookings where calendarId = ? from the database.- Parameters:
calendarId- the calendar ID
-
countByCalendarId
public static int countByCalendarId(long calendarId) Returns the number of calendar bookings where calendarId = ?.- Parameters:
calendarId- the calendar ID- Returns:
- the number of matching calendar bookings
-
findByCalendarResourceId
Returns all the calendar bookings where calendarResourceId = ?.- Parameters:
calendarResourceId- the calendar resource ID- Returns:
- the matching calendar bookings
-
findByCalendarResourceId
public static List<CalendarBooking> findByCalendarResourceId(long calendarResourceId, int start, int end) Returns a range of all the calendar bookings where calendarResourceId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
calendarResourceId- the calendar resource IDstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)- Returns:
- the range of matching calendar bookings
-
findByCalendarResourceId
public static List<CalendarBooking> findByCalendarResourceId(long calendarResourceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where calendarResourceId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
calendarResourceId- the calendar resource IDstart- 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 (optionallynull)- Returns:
- the ordered range of matching calendar bookings
-
findByCalendarResourceId
public static List<CalendarBooking> findByCalendarResourceId(long calendarResourceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where calendarResourceId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
calendarResourceId- the calendar resource IDstart- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar bookings
-
findByCalendarResourceId_First
public static CalendarBooking findByCalendarResourceId_First(long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the first calendar booking in the ordered set where calendarResourceId = ?.- Parameters:
calendarResourceId- the calendar resource IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be foundNoSuchBookingException
-
fetchByCalendarResourceId_First
public static CalendarBooking fetchByCalendarResourceId_First(long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where calendarResourceId = ?.- Parameters:
calendarResourceId- the calendar resource IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking, or
nullif a matching calendar booking could not be found
-
findByCalendarResourceId_Last
public static CalendarBooking findByCalendarResourceId_Last(long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the last calendar booking in the ordered set where calendarResourceId = ?.- Parameters:
calendarResourceId- the calendar resource IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be foundNoSuchBookingException
-
fetchByCalendarResourceId_Last
public static CalendarBooking fetchByCalendarResourceId_Last(long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where calendarResourceId = ?.- Parameters:
calendarResourceId- the calendar resource IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching calendar booking, or
nullif a matching calendar booking could not be found
-
findByCalendarResourceId_PrevAndNext
public static CalendarBooking[] findByCalendarResourceId_PrevAndNext(long calendarBookingId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the calendar bookings before and after the current calendar booking in the ordered set where calendarResourceId = ?.- Parameters:
calendarBookingId- the primary key of the current calendar bookingcalendarResourceId- the calendar resource IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next calendar booking
- Throws:
NoSuchBookingException- if a calendar booking with the primary key could not be foundNoSuchBookingException
-
removeByCalendarResourceId
public static void removeByCalendarResourceId(long calendarResourceId) Removes all the calendar bookings where calendarResourceId = ? from the database.- Parameters:
calendarResourceId- the calendar resource ID
-
countByCalendarResourceId
public static int countByCalendarResourceId(long calendarResourceId) Returns the number of calendar bookings where calendarResourceId = ?.- Parameters:
calendarResourceId- the calendar resource ID- Returns:
- the number of matching calendar bookings
-
findByParentCalendarBookingId
Returns all the calendar bookings where parentCalendarBookingId = ?.- Parameters:
parentCalendarBookingId- the parent calendar booking ID- Returns:
- the matching calendar bookings
-
findByParentCalendarBookingId
public static List<CalendarBooking> findByParentCalendarBookingId(long parentCalendarBookingId, int start, int end) Returns a range of all the calendar bookings where parentCalendarBookingId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)- Returns:
- the range of matching calendar bookings
-
findByParentCalendarBookingId
public static List<CalendarBooking> findByParentCalendarBookingId(long parentCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where parentCalendarBookingId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstart- 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 (optionallynull)- Returns:
- the ordered range of matching calendar bookings
-
findByParentCalendarBookingId
public static List<CalendarBooking> findByParentCalendarBookingId(long parentCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where parentCalendarBookingId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstart- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar bookings
-
findByParentCalendarBookingId_First
public static CalendarBooking findByParentCalendarBookingId_First(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the first calendar booking in the ordered set where parentCalendarBookingId = ?.- Parameters:
parentCalendarBookingId- the parent calendar booking IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be foundNoSuchBookingException
-
fetchByParentCalendarBookingId_First
public static CalendarBooking fetchByParentCalendarBookingId_First(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where parentCalendarBookingId = ?.- Parameters:
parentCalendarBookingId- the parent calendar booking IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking, or
nullif a matching calendar booking could not be found
-
findByParentCalendarBookingId_Last
public static CalendarBooking findByParentCalendarBookingId_Last(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the last calendar booking in the ordered set where parentCalendarBookingId = ?.- Parameters:
parentCalendarBookingId- the parent calendar booking IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be foundNoSuchBookingException
-
fetchByParentCalendarBookingId_Last
public static CalendarBooking fetchByParentCalendarBookingId_Last(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where parentCalendarBookingId = ?.- Parameters:
parentCalendarBookingId- the parent calendar booking IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching calendar booking, or
nullif a matching calendar booking could not be found
-
findByParentCalendarBookingId_PrevAndNext
public static CalendarBooking[] findByParentCalendarBookingId_PrevAndNext(long calendarBookingId, long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the calendar bookings before and after the current calendar booking in the ordered set where parentCalendarBookingId = ?.- Parameters:
calendarBookingId- the primary key of the current calendar bookingparentCalendarBookingId- the parent calendar booking IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next calendar booking
- Throws:
NoSuchBookingException- if a calendar booking with the primary key could not be foundNoSuchBookingException
-
removeByParentCalendarBookingId
public static void removeByParentCalendarBookingId(long parentCalendarBookingId) Removes all the calendar bookings where parentCalendarBookingId = ? from the database.- Parameters:
parentCalendarBookingId- the parent calendar booking ID
-
countByParentCalendarBookingId
public static int countByParentCalendarBookingId(long parentCalendarBookingId) Returns the number of calendar bookings where parentCalendarBookingId = ?.- Parameters:
parentCalendarBookingId- the parent calendar booking ID- Returns:
- the number of matching calendar bookings
-
findByRecurringCalendarBookingId
public static List<CalendarBooking> findByRecurringCalendarBookingId(long recurringCalendarBookingId) Returns all the calendar bookings where recurringCalendarBookingId = ?.- Parameters:
recurringCalendarBookingId- the recurring calendar booking ID- Returns:
- the matching calendar bookings
-
findByRecurringCalendarBookingId
public static List<CalendarBooking> findByRecurringCalendarBookingId(long recurringCalendarBookingId, int start, int end) Returns a range of all the calendar bookings where recurringCalendarBookingId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
recurringCalendarBookingId- the recurring calendar booking IDstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)- Returns:
- the range of matching calendar bookings
-
findByRecurringCalendarBookingId
public static List<CalendarBooking> findByRecurringCalendarBookingId(long recurringCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where recurringCalendarBookingId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
recurringCalendarBookingId- the recurring calendar booking IDstart- 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 (optionallynull)- Returns:
- the ordered range of matching calendar bookings
-
findByRecurringCalendarBookingId
public static List<CalendarBooking> findByRecurringCalendarBookingId(long recurringCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where recurringCalendarBookingId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
recurringCalendarBookingId- the recurring calendar booking IDstart- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar bookings
-
findByRecurringCalendarBookingId_First
public static CalendarBooking findByRecurringCalendarBookingId_First(long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the first calendar booking in the ordered set where recurringCalendarBookingId = ?.- Parameters:
recurringCalendarBookingId- the recurring calendar booking IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be foundNoSuchBookingException
-
fetchByRecurringCalendarBookingId_First
public static CalendarBooking fetchByRecurringCalendarBookingId_First(long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where recurringCalendarBookingId = ?.- Parameters:
recurringCalendarBookingId- the recurring calendar booking IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking, or
nullif a matching calendar booking could not be found
-
findByRecurringCalendarBookingId_Last
public static CalendarBooking findByRecurringCalendarBookingId_Last(long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the last calendar booking in the ordered set where recurringCalendarBookingId = ?.- Parameters:
recurringCalendarBookingId- the recurring calendar booking IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be foundNoSuchBookingException
-
fetchByRecurringCalendarBookingId_Last
public static CalendarBooking fetchByRecurringCalendarBookingId_Last(long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where recurringCalendarBookingId = ?.- Parameters:
recurringCalendarBookingId- the recurring calendar booking IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching calendar booking, or
nullif a matching calendar booking could not be found
-
findByRecurringCalendarBookingId_PrevAndNext
public static CalendarBooking[] findByRecurringCalendarBookingId_PrevAndNext(long calendarBookingId, long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the calendar bookings before and after the current calendar booking in the ordered set where recurringCalendarBookingId = ?.- Parameters:
calendarBookingId- the primary key of the current calendar bookingrecurringCalendarBookingId- the recurring calendar booking IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next calendar booking
- Throws:
NoSuchBookingException- if a calendar booking with the primary key could not be foundNoSuchBookingException
-
removeByRecurringCalendarBookingId
public static void removeByRecurringCalendarBookingId(long recurringCalendarBookingId) Removes all the calendar bookings where recurringCalendarBookingId = ? from the database.- Parameters:
recurringCalendarBookingId- the recurring calendar booking ID
-
countByRecurringCalendarBookingId
public static int countByRecurringCalendarBookingId(long recurringCalendarBookingId) Returns the number of calendar bookings where recurringCalendarBookingId = ?.- Parameters:
recurringCalendarBookingId- the recurring calendar booking ID- Returns:
- the number of matching calendar bookings
-
findByC_P
public static CalendarBooking findByC_P(long calendarId, long parentCalendarBookingId) throws NoSuchBookingException Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or throws aNoSuchBookingExceptionif it could not be found.- Parameters:
calendarId- the calendar IDparentCalendarBookingId- the parent calendar booking ID- Returns:
- the matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be foundNoSuchBookingException
-
fetchByC_P
Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
calendarId- the calendar IDparentCalendarBookingId- the parent calendar booking ID- Returns:
- the matching calendar booking, or
nullif a matching calendar booking could not be found
-
fetchByC_P
public static CalendarBooking fetchByC_P(long calendarId, long parentCalendarBookingId, boolean useFinderCache) Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
calendarId- the calendar IDparentCalendarBookingId- the parent calendar booking IDuseFinderCache- whether to use the finder cache- Returns:
- the matching calendar booking, or
nullif a matching calendar booking could not be found
-
removeByC_P
public static CalendarBooking removeByC_P(long calendarId, long parentCalendarBookingId) throws NoSuchBookingException Removes the calendar booking where calendarId = ? and parentCalendarBookingId = ? from the database.- Parameters:
calendarId- the calendar IDparentCalendarBookingId- the parent calendar booking ID- Returns:
- the calendar booking that was removed
- Throws:
NoSuchBookingException
-
countByC_P
public static int countByC_P(long calendarId, long parentCalendarBookingId) Returns the number of calendar bookings where calendarId = ? and parentCalendarBookingId = ?.- Parameters:
calendarId- the calendar IDparentCalendarBookingId- the parent calendar booking ID- Returns:
- the number of matching calendar bookings
-
findByC_V
public static CalendarBooking findByC_V(long calendarId, String vEventUid) throws NoSuchBookingException Returns the calendar booking where calendarId = ? and vEventUid = ? or throws aNoSuchBookingExceptionif it could not be found.- Parameters:
calendarId- the calendar IDvEventUid- the v event uid- Returns:
- the matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be foundNoSuchBookingException
-
fetchByC_V
Returns the calendar booking where calendarId = ? and vEventUid = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
calendarId- the calendar IDvEventUid- the v event uid- Returns:
- the matching calendar booking, or
nullif a matching calendar booking could not be found
-
fetchByC_V
Returns the calendar booking where calendarId = ? and vEventUid = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
calendarId- the calendar IDvEventUid- the v event uiduseFinderCache- whether to use the finder cache- Returns:
- the matching calendar booking, or
nullif a matching calendar booking could not be found
-
removeByC_V
public static CalendarBooking removeByC_V(long calendarId, String vEventUid) throws NoSuchBookingException Removes the calendar booking where calendarId = ? and vEventUid = ? from the database.- Parameters:
calendarId- the calendar IDvEventUid- the v event uid- Returns:
- the calendar booking that was removed
- Throws:
NoSuchBookingException
-
countByC_V
Returns the number of calendar bookings where calendarId = ? and vEventUid = ?.- Parameters:
calendarId- the calendar IDvEventUid- the v event uid- Returns:
- the number of matching calendar bookings
-
findByC_S
Returns all the calendar bookings where calendarId = ? and status = ?.- Parameters:
calendarId- the calendar IDstatus- the status- Returns:
- the matching calendar bookings
-
findByC_S
Returns a range of all the calendar bookings where calendarId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
calendarId- the calendar IDstatus- the statusstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)- Returns:
- the range of matching calendar bookings
-
findByC_S
public static List<CalendarBooking> findByC_S(long calendarId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where calendarId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
calendarId- the calendar IDstatus- the statusstart- 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 (optionallynull)- Returns:
- the ordered range of matching calendar bookings
-
findByC_S
public static List<CalendarBooking> findByC_S(long calendarId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where calendarId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
calendarId- the calendar IDstatus- the statusstart- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar bookings
-
findByC_S_First
public static CalendarBooking findByC_S_First(long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the first calendar booking in the ordered set where calendarId = ? and status = ?.- Parameters:
calendarId- the calendar IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be foundNoSuchBookingException
-
fetchByC_S_First
public static CalendarBooking fetchByC_S_First(long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where calendarId = ? and status = ?.- Parameters:
calendarId- the calendar IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking, or
nullif a matching calendar booking could not be found
-
findByC_S_Last
public static CalendarBooking findByC_S_Last(long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the last calendar booking in the ordered set where calendarId = ? and status = ?.- Parameters:
calendarId- the calendar IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be foundNoSuchBookingException
-
fetchByC_S_Last
public static CalendarBooking fetchByC_S_Last(long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where calendarId = ? and status = ?.- Parameters:
calendarId- the calendar IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching calendar booking, or
nullif a matching calendar booking could not be found
-
findByC_S_PrevAndNext
public static CalendarBooking[] findByC_S_PrevAndNext(long calendarBookingId, long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the calendar bookings before and after the current calendar booking in the ordered set where calendarId = ? and status = ?.- Parameters:
calendarBookingId- the primary key of the current calendar bookingcalendarId- the calendar IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next calendar booking
- Throws:
NoSuchBookingException- if a calendar booking with the primary key could not be foundNoSuchBookingException
-
findByC_S
Returns all the calendar bookings where calendarId = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
calendarId- the calendar IDstatuses- the statuses- Returns:
- the matching calendar bookings
-
findByC_S
Returns a range of all the calendar bookings where calendarId = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
calendarId- the calendar IDstatuses- the statusesstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)- Returns:
- the range of matching calendar bookings
-
findByC_S
public static List<CalendarBooking> findByC_S(long calendarId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where calendarId = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
calendarId- the calendar IDstatuses- the statusesstart- 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 (optionallynull)- Returns:
- the ordered range of matching calendar bookings
-
findByC_S
public static List<CalendarBooking> findByC_S(long calendarId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where calendarId = ? and status = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
calendarId- the calendar IDstatuses- the statusesstart- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar bookings
-
removeByC_S
public static void removeByC_S(long calendarId, int status) Removes all the calendar bookings where calendarId = ? and status = ? from the database.- Parameters:
calendarId- the calendar IDstatus- the status
-
countByC_S
public static int countByC_S(long calendarId, int status) Returns the number of calendar bookings where calendarId = ? and status = ?.- Parameters:
calendarId- the calendar IDstatus- the status- Returns:
- the number of matching calendar bookings
-
countByC_S
public static int countByC_S(long calendarId, int[] statuses) Returns the number of calendar bookings where calendarId = ? and status = any ?.- Parameters:
calendarId- the calendar IDstatuses- the statuses- Returns:
- the number of matching calendar bookings
-
findByP_S
Returns all the calendar bookings where parentCalendarBookingId = ? and status = ?.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstatus- the status- Returns:
- the matching calendar bookings
-
findByP_S
public static List<CalendarBooking> findByP_S(long parentCalendarBookingId, int status, int start, int end) Returns a range of all the calendar bookings where parentCalendarBookingId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstatus- the statusstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)- Returns:
- the range of matching calendar bookings
-
findByP_S
public static List<CalendarBooking> findByP_S(long parentCalendarBookingId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where parentCalendarBookingId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstatus- the statusstart- 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 (optionallynull)- Returns:
- the ordered range of matching calendar bookings
-
findByP_S
public static List<CalendarBooking> findByP_S(long parentCalendarBookingId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where parentCalendarBookingId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstatus- the statusstart- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar bookings
-
findByP_S_First
public static CalendarBooking findByP_S_First(long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the first calendar booking in the ordered set where parentCalendarBookingId = ? and status = ?.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be foundNoSuchBookingException
-
fetchByP_S_First
public static CalendarBooking fetchByP_S_First(long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where parentCalendarBookingId = ? and status = ?.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking, or
nullif a matching calendar booking could not be found
-
findByP_S_Last
public static CalendarBooking findByP_S_Last(long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the last calendar booking in the ordered set where parentCalendarBookingId = ? and status = ?.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be foundNoSuchBookingException
-
fetchByP_S_Last
public static CalendarBooking fetchByP_S_Last(long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the last calendar booking in the ordered set where parentCalendarBookingId = ? and status = ?.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching calendar booking, or
nullif a matching calendar booking could not be found
-
findByP_S_PrevAndNext
public static CalendarBooking[] findByP_S_PrevAndNext(long calendarBookingId, long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the calendar bookings before and after the current calendar booking in the ordered set where parentCalendarBookingId = ? and status = ?.- Parameters:
calendarBookingId- the primary key of the current calendar bookingparentCalendarBookingId- the parent calendar booking IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next calendar booking
- Throws:
NoSuchBookingException- if a calendar booking with the primary key could not be foundNoSuchBookingException
-
removeByP_S
public static void removeByP_S(long parentCalendarBookingId, int status) Removes all the calendar bookings where parentCalendarBookingId = ? and status = ? from the database.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstatus- the status
-
countByP_S
public static int countByP_S(long parentCalendarBookingId, int status) Returns the number of calendar bookings where parentCalendarBookingId = ? and status = ?.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstatus- the status- Returns:
- the number of matching calendar bookings
-
cacheResult
Caches the calendar booking in the entity cache if it is enabled.- Parameters:
calendarBooking- the calendar booking
-
cacheResult
Caches the calendar bookings in the entity cache if it is enabled.- Parameters:
calendarBookings- the calendar bookings
-
create
Creates a new calendar booking with the primary key. Does not add the calendar booking to the database.- Parameters:
calendarBookingId- the primary key for the new calendar booking- Returns:
- the new calendar booking
-
remove
Removes the calendar booking with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
calendarBookingId- the primary key of the calendar booking- Returns:
- the calendar booking that was removed
- Throws:
NoSuchBookingException- if a calendar booking with the primary key could not be foundNoSuchBookingException
-
updateImpl
-
findByPrimaryKey
public static CalendarBooking findByPrimaryKey(long calendarBookingId) throws NoSuchBookingException Returns the calendar booking with the primary key or throws aNoSuchBookingExceptionif it could not be found.- Parameters:
calendarBookingId- the primary key of the calendar booking- Returns:
- the calendar booking
- Throws:
NoSuchBookingException- if a calendar booking with the primary key could not be foundNoSuchBookingException
-
fetchByPrimaryKey
Returns the calendar booking with the primary key or returnsnullif it could not be found.- Parameters:
calendarBookingId- the primary key of the calendar booking- Returns:
- the calendar booking, or
nullif a calendar booking with the primary key could not be found
-
findAll
Returns all the calendar bookings.- Returns:
- the calendar bookings
-
findAll
Returns a range of all the calendar bookings.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
start- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)- Returns:
- the range of calendar bookings
-
findAll
public static List<CalendarBooking> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
start- 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 (optionallynull)- Returns:
- the ordered range of calendar bookings
-
findAll
public static List<CalendarBooking> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCalendarBookingModelImpl.- Parameters:
start- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of calendar bookings
-
removeAll
public static void removeAll()Removes all the calendar bookings from the database. -
countAll
public static int countAll()Returns the number of calendar bookings.- Returns:
- the number of calendar bookings
-
getPersistence
-
setPersistence
-