@ProviderType
public class CalendarBookingUtil
extends java.lang.Object
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
CalendarBookingPersistence
,
com.liferay.calendar.service.persistence.impl.CalendarBookingPersistenceImpl
Constructor and Description |
---|
CalendarBookingUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CalendarBooking calendarBooking)
Caches the calendar booking in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CalendarBooking> calendarBookings)
Caches the calendar bookings in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CalendarBooking calendarBooking) |
static int |
countAll()
Returns the number of calendar bookings.
|
static int |
countByC_P(long calendarId,
long parentCalendarBookingId)
Returns the number of calendar bookings where calendarId = ? and parentCalendarBookingId = ?.
|
static int |
countByC_S(long calendarId,
int status)
Returns the number of calendar bookings where calendarId = ? and status = ?.
|
static int |
countByC_S(long calendarId,
int[] statuses)
Returns the number of calendar bookings where calendarId = ? and status = any ?.
|
static int |
countByC_V(long calendarId,
java.lang.String vEventUid)
Returns the number of calendar bookings where calendarId = ? and vEventUid = ?.
|
static int |
countByCalendarId(long calendarId)
Returns the number of calendar bookings where calendarId = ?.
|
static int |
countByCalendarResourceId(long calendarResourceId)
Returns the number of calendar bookings where calendarResourceId = ?.
|
static int |
countByP_S(long parentCalendarBookingId,
int status)
Returns the number of calendar bookings where parentCalendarBookingId = ? and status = ?.
|
static int |
countByParentCalendarBookingId(long parentCalendarBookingId)
Returns the number of calendar bookings where parentCalendarBookingId = ?.
|
static int |
countByResourceBlockId(long resourceBlockId)
Returns the number of calendar bookings where resourceBlockId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of calendar bookings where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of calendar bookings where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of calendar bookings where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CalendarBooking |
create(long calendarBookingId)
Creates a new calendar booking with the primary key.
|
static CalendarBooking |
fetchByC_P(long calendarId,
long parentCalendarBookingId)
Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or returns
null if it could not be found. |
static CalendarBooking |
fetchByC_P(long calendarId,
long parentCalendarBookingId,
boolean retrieveFromCache)
Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
static CalendarBooking |
fetchByC_V(long calendarId,
java.lang.String vEventUid)
Returns the calendar booking where calendarId = ? and vEventUid = ? or returns
null if it could not be found. |
static CalendarBooking |
fetchByC_V(long calendarId,
java.lang.String vEventUid,
boolean retrieveFromCache)
Returns the calendar booking where calendarId = ? and vEventUid = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
static CalendarBooking |
fetchByPrimaryKey(long calendarBookingId)
Returns the calendar booking with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CalendarBooking> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static CalendarBooking |
fetchByResourceBlockId_First(long resourceBlockId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the first calendar booking in the ordered set where resourceBlockId = ?.
|
static CalendarBooking |
fetchByResourceBlockId_Last(long resourceBlockId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the last calendar booking in the ordered set where resourceBlockId = ?.
|
static CalendarBooking |
fetchByUuid_C_First(java.lang.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 CalendarBooking |
fetchByUuid_C_Last(java.lang.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 |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the first calendar booking in the ordered set where uuid = ?.
|
static CalendarBooking |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the calendar booking where uuid = ? and groupId = ? or returns
null if it could not be found. |
static CalendarBooking |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the calendar booking where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CalendarBooking |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the last calendar booking in the ordered set where uuid = ?.
|
static java.util.List<CalendarBooking> |
findAll()
Returns all the calendar bookings.
|
static java.util.List<CalendarBooking> |
findAll(int start,
int end)
Returns a range of all the calendar bookings.
|
static java.util.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 java.util.List<CalendarBooking> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar bookings.
|
static CalendarBooking |
findByC_P(long calendarId,
long parentCalendarBookingId)
Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or throws a
NoSuchBookingException if it could not be found. |
static CalendarBooking |
findByC_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 CalendarBooking |
findByC_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 java.util.List<CalendarBooking> |
findByC_S(long calendarId,
int status)
Returns all the calendar bookings where calendarId = ? and status = ?.
|
static java.util.List<CalendarBooking> |
findByC_S(long calendarId,
int[] statuses)
Returns all the calendar bookings where calendarId = ? and status = any ?.
|
static java.util.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 java.util.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 java.util.List<CalendarBooking> |
findByC_S(long calendarId,
int[] statuses,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar bookings where calendarId = ? and status = ?, optionally using the finder cache.
|
static java.util.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 java.util.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 java.util.List<CalendarBooking> |
findByC_S(long calendarId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar bookings where calendarId = ? and status = ?.
|
static CalendarBooking |
findByC_V(long calendarId,
java.lang.String vEventUid)
Returns the calendar booking where calendarId = ? and vEventUid = ? or throws a
NoSuchBookingException if it could not be found. |
static CalendarBooking |
findByCalendarId_First(long calendarId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the first calendar booking in the ordered set where calendarId = ?.
|
static CalendarBooking |
findByCalendarId_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 java.util.List<CalendarBooking> |
findByCalendarId(long calendarId)
Returns all the calendar bookings where calendarId = ?.
|
static java.util.List<CalendarBooking> |
findByCalendarId(long calendarId,
int start,
int end)
Returns a range of all the calendar bookings where calendarId = ?.
|
static java.util.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 java.util.List<CalendarBooking> |
findByCalendarId(long calendarId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar bookings where calendarId = ?.
|
static CalendarBooking |
findByCalendarResourceId_First(long calendarResourceId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the first calendar booking in the ordered set where calendarResourceId = ?.
|
static CalendarBooking |
findByCalendarResourceId_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 java.util.List<CalendarBooking> |
findByCalendarResourceId(long calendarResourceId)
Returns all the calendar bookings where calendarResourceId = ?.
|
static java.util.List<CalendarBooking> |
findByCalendarResourceId(long calendarResourceId,
int start,
int end)
Returns a range of all the calendar bookings where calendarResourceId = ?.
|
static java.util.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 java.util.List<CalendarBooking> |
findByCalendarResourceId(long calendarResourceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar bookings where calendarResourceId = ?.
|
static CalendarBooking |
findByP_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 CalendarBooking |
findByP_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 java.util.List<CalendarBooking> |
findByP_S(long parentCalendarBookingId,
int status)
Returns all the calendar bookings where parentCalendarBookingId = ? and status = ?.
|
static java.util.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 java.util.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 java.util.List<CalendarBooking> |
findByP_S(long parentCalendarBookingId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar bookings where parentCalendarBookingId = ? and status = ?.
|
static CalendarBooking |
findByParentCalendarBookingId_First(long parentCalendarBookingId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the first calendar booking in the ordered set where parentCalendarBookingId = ?.
|
static CalendarBooking |
findByParentCalendarBookingId_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 java.util.List<CalendarBooking> |
findByParentCalendarBookingId(long parentCalendarBookingId)
Returns all the calendar bookings where parentCalendarBookingId = ?.
|
static java.util.List<CalendarBooking> |
findByParentCalendarBookingId(long parentCalendarBookingId,
int start,
int end)
Returns a range of all the calendar bookings where parentCalendarBookingId = ?.
|
static java.util.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 java.util.List<CalendarBooking> |
findByParentCalendarBookingId(long parentCalendarBookingId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar bookings where parentCalendarBookingId = ?.
|
static CalendarBooking |
findByPrimaryKey(long calendarBookingId)
Returns the calendar booking with the primary key or throws a
NoSuchBookingException if it could not be found. |
static CalendarBooking |
findByResourceBlockId_First(long resourceBlockId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the first calendar booking in the ordered set where resourceBlockId = ?.
|
static CalendarBooking |
findByResourceBlockId_Last(long resourceBlockId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the last calendar booking in the ordered set where resourceBlockId = ?.
|
static CalendarBooking[] |
findByResourceBlockId_PrevAndNext(long calendarBookingId,
long resourceBlockId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the calendar bookings before and after the current calendar booking in the ordered set where resourceBlockId = ?.
|
static java.util.List<CalendarBooking> |
findByResourceBlockId(long resourceBlockId)
Returns all the calendar bookings where resourceBlockId = ?.
|
static java.util.List<CalendarBooking> |
findByResourceBlockId(long resourceBlockId,
int start,
int end)
Returns a range of all the calendar bookings where resourceBlockId = ?.
|
static java.util.List<CalendarBooking> |
findByResourceBlockId(long resourceBlockId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns an ordered range of all the calendar bookings where resourceBlockId = ?.
|
static java.util.List<CalendarBooking> |
findByResourceBlockId(long resourceBlockId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar bookings where resourceBlockId = ?.
|
static CalendarBooking |
findByUuid_C_First(java.lang.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 CalendarBooking |
findByUuid_C_Last(java.lang.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,
java.lang.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 java.util.List<CalendarBooking> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the calendar bookings where uuid = ? and companyId = ?.
|
static java.util.List<CalendarBooking> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the calendar bookings where uuid = ? and companyId = ?.
|
static java.util.List<CalendarBooking> |
findByUuid_C(java.lang.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 java.util.List<CalendarBooking> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar bookings where uuid = ? and companyId = ?.
|
static CalendarBooking |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the first calendar booking in the ordered set where uuid = ?.
|
static CalendarBooking |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the calendar booking where uuid = ? and groupId = ? or throws a
NoSuchBookingException if it could not be found. |
static CalendarBooking |
findByUuid_Last(java.lang.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,
java.lang.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 java.util.List<CalendarBooking> |
findByUuid(java.lang.String uuid)
Returns all the calendar bookings where uuid = ?.
|
static java.util.List<CalendarBooking> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the calendar bookings where uuid = ?.
|
static java.util.List<CalendarBooking> |
findByUuid(java.lang.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 java.util.List<CalendarBooking> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar bookings where uuid = ?.
|
static java.util.List<CalendarBooking> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CalendarBooking> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CalendarBooking> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) |
static java.util.Set<java.lang.String> |
getBadColumnNames() |
static CalendarBookingPersistence |
getPersistence() |
static CalendarBooking |
remove(long calendarBookingId)
Removes the calendar booking with the primary key from the database.
|
static void |
removeAll()
Removes all the calendar bookings from the database.
|
static CalendarBooking |
removeByC_P(long calendarId,
long parentCalendarBookingId)
Removes the calendar booking where calendarId = ? and parentCalendarBookingId = ? from the database.
|
static void |
removeByC_S(long calendarId,
int status)
Removes all the calendar bookings where calendarId = ? and status = ? from the database.
|
static CalendarBooking |
removeByC_V(long calendarId,
java.lang.String vEventUid)
Removes the calendar booking where calendarId = ? and vEventUid = ? from the database.
|
static void |
removeByCalendarId(long calendarId)
Removes all the calendar bookings where calendarId = ? from the database.
|
static void |
removeByCalendarResourceId(long calendarResourceId)
Removes all the calendar bookings where calendarResourceId = ? from the database.
|
static void |
removeByP_S(long parentCalendarBookingId,
int status)
Removes all the calendar bookings where parentCalendarBookingId = ? and status = ? from the database.
|
static void |
removeByParentCalendarBookingId(long parentCalendarBookingId)
Removes all the calendar bookings where parentCalendarBookingId = ? from the database.
|
static void |
removeByResourceBlockId(long resourceBlockId)
Removes all the calendar bookings where resourceBlockId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the calendar bookings where uuid = ? and companyId = ? from the database.
|
static CalendarBooking |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the calendar booking where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the calendar bookings where uuid = ? from the database.
|
static CalendarBooking |
update(CalendarBooking calendarBooking) |
static CalendarBooking |
update(CalendarBooking calendarBooking,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CalendarBooking |
updateImpl(CalendarBooking calendarBooking) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CalendarBooking calendarBooking)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.List<CalendarBooking> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CalendarBooking> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CalendarBooking> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CalendarBooking update(CalendarBooking calendarBooking)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CalendarBooking update(CalendarBooking calendarBooking, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CalendarBooking> findByResourceBlockId(long resourceBlockId)
resourceBlockId
- the resource block IDpublic static java.util.List<CalendarBooking> findByResourceBlockId(long resourceBlockId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
resourceBlockId
- the resource block IDstart
- the lower bound of the range of calendar bookingsend
- the upper bound of the range of calendar bookings (not inclusive)public static java.util.List<CalendarBooking> findByResourceBlockId(long resourceBlockId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
resourceBlockId
- the resource block 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 (optionally null
)public static java.util.List<CalendarBooking> findByResourceBlockId(long resourceBlockId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
resourceBlockId
- the resource block 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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static CalendarBooking findByResourceBlockId_First(long resourceBlockId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
resourceBlockId
- the resource block IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a matching calendar booking could not be foundpublic static CalendarBooking fetchByResourceBlockId_First(long resourceBlockId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
resourceBlockId
- the resource block IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar booking could not be foundpublic static CalendarBooking findByResourceBlockId_Last(long resourceBlockId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
resourceBlockId
- the resource block IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a matching calendar booking could not be foundpublic static CalendarBooking fetchByResourceBlockId_Last(long resourceBlockId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
resourceBlockId
- the resource block IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar booking could not be foundpublic static CalendarBooking[] findByResourceBlockId_PrevAndNext(long calendarBookingId, long resourceBlockId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
calendarBookingId
- the primary key of the current calendar bookingresourceBlockId
- the resource block IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a calendar booking with the primary key could not be foundpublic static void removeByResourceBlockId(long resourceBlockId)
resourceBlockId
- the resource block IDpublic static int countByResourceBlockId(long resourceBlockId)
resourceBlockId
- the resource block IDpublic static java.util.List<CalendarBooking> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CalendarBooking> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of calendar bookingsend
- the upper bound of the range of calendar bookings (not inclusive)public static java.util.List<CalendarBooking> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<CalendarBooking> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static CalendarBooking findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a matching calendar booking could not be foundpublic static CalendarBooking fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar booking could not be foundpublic static CalendarBooking findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a matching calendar booking could not be foundpublic static CalendarBooking fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar booking could not be foundpublic static CalendarBooking[] findByUuid_PrevAndNext(long calendarBookingId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
calendarBookingId
- the primary key of the current calendar bookinguuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a calendar booking with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static CalendarBooking findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchBookingException
NoSuchBookingException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchBookingException
- if a matching calendar booking could not be foundpublic static CalendarBooking fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching calendar booking could not be foundpublic static CalendarBooking fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching calendar booking could not be foundpublic static CalendarBooking removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchBookingException
uuid
- the uuidgroupId
- the group IDNoSuchBookingException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<CalendarBooking> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CalendarBooking> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<CalendarBooking> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<CalendarBooking> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static CalendarBooking findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a matching calendar booking could not be foundpublic static CalendarBooking fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar booking could not be foundpublic static CalendarBooking findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a matching calendar booking could not be foundpublic static CalendarBooking fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar booking could not be foundpublic static CalendarBooking[] findByUuid_C_PrevAndNext(long calendarBookingId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
calendarBookingId
- the primary key of the current calendar bookinguuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a calendar booking with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CalendarBooking> findByCalendarId(long calendarId)
calendarId
- the calendar IDpublic static java.util.List<CalendarBooking> findByCalendarId(long calendarId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
calendarId
- the calendar IDstart
- the lower bound of the range of calendar bookingsend
- the upper bound of the range of calendar bookings (not inclusive)public static java.util.List<CalendarBooking> findByCalendarId(long calendarId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<CalendarBooking> findByCalendarId(long calendarId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static CalendarBooking findByCalendarId_First(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
calendarId
- the calendar IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a matching calendar booking could not be foundpublic static CalendarBooking fetchByCalendarId_First(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
calendarId
- the calendar IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar booking could not be foundpublic static CalendarBooking findByCalendarId_Last(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
calendarId
- the calendar IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a matching calendar booking could not be foundpublic static CalendarBooking fetchByCalendarId_Last(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
calendarId
- the calendar IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar booking could not be foundpublic static CalendarBooking[] findByCalendarId_PrevAndNext(long calendarBookingId, long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
calendarBookingId
- the primary key of the current calendar bookingcalendarId
- the calendar IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a calendar booking with the primary key could not be foundpublic static void removeByCalendarId(long calendarId)
calendarId
- the calendar IDpublic static int countByCalendarId(long calendarId)
calendarId
- the calendar IDpublic static java.util.List<CalendarBooking> findByCalendarResourceId(long calendarResourceId)
calendarResourceId
- the calendar resource IDpublic static java.util.List<CalendarBooking> findByCalendarResourceId(long calendarResourceId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<CalendarBooking> findByCalendarResourceId(long calendarResourceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<CalendarBooking> findByCalendarResourceId(long calendarResourceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static CalendarBooking findByCalendarResourceId_First(long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
calendarResourceId
- the calendar resource IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a matching calendar booking could not be foundpublic static CalendarBooking fetchByCalendarResourceId_First(long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
calendarResourceId
- the calendar resource IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar booking could not be foundpublic static CalendarBooking findByCalendarResourceId_Last(long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
calendarResourceId
- the calendar resource IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a matching calendar booking could not be foundpublic static CalendarBooking fetchByCalendarResourceId_Last(long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
calendarResourceId
- the calendar resource IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar booking could not be foundpublic static CalendarBooking[] findByCalendarResourceId_PrevAndNext(long calendarBookingId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
calendarBookingId
- the primary key of the current calendar bookingcalendarResourceId
- the calendar resource IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a calendar booking with the primary key could not be foundpublic static void removeByCalendarResourceId(long calendarResourceId)
calendarResourceId
- the calendar resource IDpublic static int countByCalendarResourceId(long calendarResourceId)
calendarResourceId
- the calendar resource IDpublic static java.util.List<CalendarBooking> findByParentCalendarBookingId(long parentCalendarBookingId)
parentCalendarBookingId
- the parent calendar booking IDpublic static java.util.List<CalendarBooking> findByParentCalendarBookingId(long parentCalendarBookingId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<CalendarBooking> findByParentCalendarBookingId(long parentCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<CalendarBooking> findByParentCalendarBookingId(long parentCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static CalendarBooking findByParentCalendarBookingId_First(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
parentCalendarBookingId
- the parent calendar booking IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a matching calendar booking could not be foundpublic static CalendarBooking fetchByParentCalendarBookingId_First(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
parentCalendarBookingId
- the parent calendar booking IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar booking could not be foundpublic static CalendarBooking findByParentCalendarBookingId_Last(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
parentCalendarBookingId
- the parent calendar booking IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a matching calendar booking could not be foundpublic static CalendarBooking fetchByParentCalendarBookingId_Last(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
parentCalendarBookingId
- the parent calendar booking IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar booking could not be foundpublic static CalendarBooking[] findByParentCalendarBookingId_PrevAndNext(long calendarBookingId, long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
calendarBookingId
- the primary key of the current calendar bookingparentCalendarBookingId
- the parent calendar booking IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a calendar booking with the primary key could not be foundpublic static void removeByParentCalendarBookingId(long parentCalendarBookingId)
parentCalendarBookingId
- the parent calendar booking IDpublic static int countByParentCalendarBookingId(long parentCalendarBookingId)
parentCalendarBookingId
- the parent calendar booking IDpublic static CalendarBooking findByC_P(long calendarId, long parentCalendarBookingId) throws NoSuchBookingException
NoSuchBookingException
if it could not be found.calendarId
- the calendar IDparentCalendarBookingId
- the parent calendar booking IDNoSuchBookingException
- if a matching calendar booking could not be foundpublic static CalendarBooking fetchByC_P(long calendarId, long parentCalendarBookingId)
null
if it could not be found. Uses the finder cache.calendarId
- the calendar IDparentCalendarBookingId
- the parent calendar booking IDnull
if a matching calendar booking could not be foundpublic static CalendarBooking fetchByC_P(long calendarId, long parentCalendarBookingId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.calendarId
- the calendar IDparentCalendarBookingId
- the parent calendar booking IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching calendar booking could not be foundpublic static CalendarBooking removeByC_P(long calendarId, long parentCalendarBookingId) throws NoSuchBookingException
calendarId
- the calendar IDparentCalendarBookingId
- the parent calendar booking IDNoSuchBookingException
public static int countByC_P(long calendarId, long parentCalendarBookingId)
calendarId
- the calendar IDparentCalendarBookingId
- the parent calendar booking IDpublic static CalendarBooking findByC_V(long calendarId, java.lang.String vEventUid) throws NoSuchBookingException
NoSuchBookingException
if it could not be found.calendarId
- the calendar IDvEventUid
- the v event uidNoSuchBookingException
- if a matching calendar booking could not be foundpublic static CalendarBooking fetchByC_V(long calendarId, java.lang.String vEventUid)
null
if it could not be found. Uses the finder cache.calendarId
- the calendar IDvEventUid
- the v event uidnull
if a matching calendar booking could not be foundpublic static CalendarBooking fetchByC_V(long calendarId, java.lang.String vEventUid, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.calendarId
- the calendar IDvEventUid
- the v event uidretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching calendar booking could not be foundpublic static CalendarBooking removeByC_V(long calendarId, java.lang.String vEventUid) throws NoSuchBookingException
calendarId
- the calendar IDvEventUid
- the v event uidNoSuchBookingException
public static int countByC_V(long calendarId, java.lang.String vEventUid)
calendarId
- the calendar IDvEventUid
- the v event uidpublic static java.util.List<CalendarBooking> findByC_S(long calendarId, int status)
calendarId
- the calendar IDstatus
- the statuspublic static java.util.List<CalendarBooking> findByC_S(long calendarId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<CalendarBooking> findByC_S(long calendarId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<CalendarBooking> findByC_S(long calendarId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static CalendarBooking findByC_S_First(long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
calendarId
- the calendar IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a matching calendar booking could not be foundpublic static CalendarBooking fetchByC_S_First(long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
calendarId
- the calendar IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar booking could not be foundpublic static CalendarBooking findByC_S_Last(long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
calendarId
- the calendar IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a matching calendar booking could not be foundpublic static CalendarBooking fetchByC_S_Last(long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
calendarId
- the calendar IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar booking could not be foundpublic static CalendarBooking[] findByC_S_PrevAndNext(long calendarBookingId, long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
calendarBookingId
- the primary key of the current calendar bookingcalendarId
- the calendar IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a calendar booking with the primary key could not be foundpublic static java.util.List<CalendarBooking> findByC_S(long calendarId, int[] statuses)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
calendarId
- the calendar IDstatuses
- the statusespublic static java.util.List<CalendarBooking> findByC_S(long calendarId, int[] statuses, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<CalendarBooking> findByC_S(long calendarId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<CalendarBooking> findByC_S(long calendarId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeByC_S(long calendarId, int status)
calendarId
- the calendar IDstatus
- the statuspublic static int countByC_S(long calendarId, int status)
calendarId
- the calendar IDstatus
- the statuspublic static int countByC_S(long calendarId, int[] statuses)
calendarId
- the calendar IDstatuses
- the statusespublic static java.util.List<CalendarBooking> findByP_S(long parentCalendarBookingId, int status)
parentCalendarBookingId
- the parent calendar booking IDstatus
- the statuspublic static java.util.List<CalendarBooking> findByP_S(long parentCalendarBookingId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<CalendarBooking> findByP_S(long parentCalendarBookingId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<CalendarBooking> findByP_S(long parentCalendarBookingId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static CalendarBooking findByP_S_First(long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
parentCalendarBookingId
- the parent calendar booking IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a matching calendar booking could not be foundpublic static CalendarBooking fetchByP_S_First(long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
parentCalendarBookingId
- the parent calendar booking IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar booking could not be foundpublic static CalendarBooking findByP_S_Last(long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
parentCalendarBookingId
- the parent calendar booking IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a matching calendar booking could not be foundpublic static CalendarBooking fetchByP_S_Last(long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
parentCalendarBookingId
- the parent calendar booking IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar booking could not be foundpublic static CalendarBooking[] findByP_S_PrevAndNext(long calendarBookingId, long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
calendarBookingId
- the primary key of the current calendar bookingparentCalendarBookingId
- the parent calendar booking IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBookingException
- if a calendar booking with the primary key could not be foundpublic static void removeByP_S(long parentCalendarBookingId, int status)
parentCalendarBookingId
- the parent calendar booking IDstatus
- the statuspublic static int countByP_S(long parentCalendarBookingId, int status)
parentCalendarBookingId
- the parent calendar booking IDstatus
- the statuspublic static void cacheResult(CalendarBooking calendarBooking)
calendarBooking
- the calendar bookingpublic static void cacheResult(java.util.List<CalendarBooking> calendarBookings)
calendarBookings
- the calendar bookingspublic static CalendarBooking create(long calendarBookingId)
calendarBookingId
- the primary key for the new calendar bookingpublic static CalendarBooking remove(long calendarBookingId) throws NoSuchBookingException
calendarBookingId
- the primary key of the calendar bookingNoSuchBookingException
- if a calendar booking with the primary key could not be foundpublic static CalendarBooking updateImpl(CalendarBooking calendarBooking)
public static CalendarBooking findByPrimaryKey(long calendarBookingId) throws NoSuchBookingException
NoSuchBookingException
if it could not be found.calendarBookingId
- the primary key of the calendar bookingNoSuchBookingException
- if a calendar booking with the primary key could not be foundpublic static CalendarBooking fetchByPrimaryKey(long calendarBookingId)
null
if it could not be found.calendarBookingId
- the primary key of the calendar bookingnull
if a calendar booking with the primary key could not be foundpublic static java.util.Map<java.io.Serializable,CalendarBooking> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
public static java.util.List<CalendarBooking> findAll()
public static java.util.List<CalendarBooking> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of calendar bookingsend
- the upper bound of the range of calendar bookings (not inclusive)public static java.util.List<CalendarBooking> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<CalendarBooking> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarBookingModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of calendar bookingsend
- the upper bound of the range of calendar bookings (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static java.util.Set<java.lang.String> getBadColumnNames()
public static CalendarBookingPersistence getPersistence()