@ProviderType public interface CalendarBookingPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CalendarBooking>
Caching information and settings can be found in portal.properties
com.liferay.calendar.service.persistence.impl.CalendarBookingPersistenceImpl
,
CalendarBookingUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CalendarBooking calendarBooking)
Caches the calendar booking in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CalendarBooking> calendarBookings)
Caches the calendar bookings in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of calendar bookings.
|
int |
countByC_P(long calendarId,
long parentCalendarBookingId)
Returns the number of calendar bookings where calendarId = ? and parentCalendarBookingId = ?.
|
int |
countByC_S(long calendarId,
int status)
Returns the number of calendar bookings where calendarId = ? and status = ?.
|
int |
countByC_S(long calendarId,
int[] statuses)
Returns the number of calendar bookings where calendarId = ? and status = any ?.
|
int |
countByC_V(long calendarId,
java.lang.String vEventUid)
Returns the number of calendar bookings where calendarId = ? and vEventUid = ?.
|
int |
countByCalendarId(long calendarId)
Returns the number of calendar bookings where calendarId = ?.
|
int |
countByCalendarResourceId(long calendarResourceId)
Returns the number of calendar bookings where calendarResourceId = ?.
|
int |
countByP_S(long parentCalendarBookingId,
int status)
Returns the number of calendar bookings where parentCalendarBookingId = ? and status = ?.
|
int |
countByParentCalendarBookingId(long parentCalendarBookingId)
Returns the number of calendar bookings where parentCalendarBookingId = ?.
|
int |
countByResourceBlockId(long resourceBlockId)
Returns the number of calendar bookings where resourceBlockId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of calendar bookings where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of calendar bookings where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of calendar bookings where uuid = ?.
|
CalendarBooking |
create(long calendarBookingId)
Creates a new calendar booking with the primary key.
|
CalendarBooking |
fetchByC_P(long calendarId,
long parentCalendarBookingId)
Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or returns
null if it could not be found. |
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. |
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 = ?.
|
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 = ?.
|
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. |
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. |
CalendarBooking |
fetchByCalendarId_First(long calendarId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the first calendar booking in the ordered set where calendarId = ?.
|
CalendarBooking |
fetchByCalendarId_Last(long calendarId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the last calendar booking in the ordered set where calendarId = ?.
|
CalendarBooking |
fetchByCalendarResourceId_First(long calendarResourceId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the first calendar booking in the ordered set where calendarResourceId = ?.
|
CalendarBooking |
fetchByCalendarResourceId_Last(long calendarResourceId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the last calendar booking in the ordered set where calendarResourceId = ?.
|
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 = ?.
|
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 = ?.
|
CalendarBooking |
fetchByParentCalendarBookingId_First(long parentCalendarBookingId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the first calendar booking in the ordered set where parentCalendarBookingId = ?.
|
CalendarBooking |
fetchByParentCalendarBookingId_Last(long parentCalendarBookingId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the last calendar booking in the ordered set where parentCalendarBookingId = ?.
|
CalendarBooking |
fetchByPrimaryKey(long calendarBookingId)
Returns the calendar booking with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,CalendarBooking> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
CalendarBooking |
fetchByResourceBlockId_First(long resourceBlockId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the first calendar booking in the ordered set where resourceBlockId = ?.
|
CalendarBooking |
fetchByResourceBlockId_Last(long resourceBlockId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the last calendar booking in the ordered set where resourceBlockId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
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. |
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 = ?.
|
java.util.List<CalendarBooking> |
findAll()
Returns all the calendar bookings.
|
java.util.List<CalendarBooking> |
findAll(int start,
int end)
Returns a range of all the calendar bookings.
|
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.
|
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.
|
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. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CalendarBooking> |
findByC_S(long calendarId,
int status)
Returns all the calendar bookings where calendarId = ? and status = ?.
|
java.util.List<CalendarBooking> |
findByC_S(long calendarId,
int[] statuses)
Returns all the calendar bookings where calendarId = ? and status = any ?.
|
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 ?.
|
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 ?.
|
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.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
CalendarBooking |
findByCalendarId_First(long calendarId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the first calendar booking in the ordered set where calendarId = ?.
|
CalendarBooking |
findByCalendarId_Last(long calendarId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the last calendar booking in the ordered set where calendarId = ?.
|
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 = ?.
|
java.util.List<CalendarBooking> |
findByCalendarId(long calendarId)
Returns all the calendar bookings where calendarId = ?.
|
java.util.List<CalendarBooking> |
findByCalendarId(long calendarId,
int start,
int end)
Returns a range of all the calendar bookings where calendarId = ?.
|
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 = ?.
|
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 = ?.
|
CalendarBooking |
findByCalendarResourceId_First(long calendarResourceId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the first calendar booking in the ordered set where calendarResourceId = ?.
|
CalendarBooking |
findByCalendarResourceId_Last(long calendarResourceId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the last calendar booking in the ordered set where calendarResourceId = ?.
|
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 = ?.
|
java.util.List<CalendarBooking> |
findByCalendarResourceId(long calendarResourceId)
Returns all the calendar bookings where calendarResourceId = ?.
|
java.util.List<CalendarBooking> |
findByCalendarResourceId(long calendarResourceId,
int start,
int end)
Returns a range of all the calendar bookings where calendarResourceId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CalendarBooking> |
findByP_S(long parentCalendarBookingId,
int status)
Returns all the calendar bookings where parentCalendarBookingId = ? and status = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
CalendarBooking |
findByParentCalendarBookingId_First(long parentCalendarBookingId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the first calendar booking in the ordered set where parentCalendarBookingId = ?.
|
CalendarBooking |
findByParentCalendarBookingId_Last(long parentCalendarBookingId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the last calendar booking in the ordered set where parentCalendarBookingId = ?.
|
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 = ?.
|
java.util.List<CalendarBooking> |
findByParentCalendarBookingId(long parentCalendarBookingId)
Returns all the calendar bookings where parentCalendarBookingId = ?.
|
java.util.List<CalendarBooking> |
findByParentCalendarBookingId(long parentCalendarBookingId,
int start,
int end)
Returns a range of all the calendar bookings where parentCalendarBookingId = ?.
|
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 = ?.
|
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 = ?.
|
CalendarBooking |
findByPrimaryKey(long calendarBookingId)
Returns the calendar booking with the primary key or throws a
NoSuchBookingException if it could not be found. |
CalendarBooking |
findByResourceBlockId_First(long resourceBlockId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the first calendar booking in the ordered set where resourceBlockId = ?.
|
CalendarBooking |
findByResourceBlockId_Last(long resourceBlockId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
Returns the last calendar booking in the ordered set where resourceBlockId = ?.
|
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 = ?.
|
java.util.List<CalendarBooking> |
findByResourceBlockId(long resourceBlockId)
Returns all the calendar bookings where resourceBlockId = ?.
|
java.util.List<CalendarBooking> |
findByResourceBlockId(long resourceBlockId,
int start,
int end)
Returns a range of all the calendar bookings where resourceBlockId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CalendarBooking> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the calendar bookings where uuid = ? and companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
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 = ?.
|
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 = ?.
|
java.util.List<CalendarBooking> |
findByUuid(java.lang.String uuid)
Returns all the calendar bookings where uuid = ?.
|
java.util.List<CalendarBooking> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the calendar bookings where uuid = ?.
|
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 = ?.
|
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 = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
CalendarBooking |
remove(long calendarBookingId)
Removes the calendar booking with the primary key from the database.
|
void |
removeAll()
Removes all the calendar bookings from the database.
|
CalendarBooking |
removeByC_P(long calendarId,
long parentCalendarBookingId)
Removes the calendar booking where calendarId = ? and parentCalendarBookingId = ? from the database.
|
void |
removeByC_S(long calendarId,
int status)
Removes all the calendar bookings where calendarId = ? and status = ? from the database.
|
CalendarBooking |
removeByC_V(long calendarId,
java.lang.String vEventUid)
Removes the calendar booking where calendarId = ? and vEventUid = ? from the database.
|
void |
removeByCalendarId(long calendarId)
Removes all the calendar bookings where calendarId = ? from the database.
|
void |
removeByCalendarResourceId(long calendarResourceId)
Removes all the calendar bookings where calendarResourceId = ? from the database.
|
void |
removeByP_S(long parentCalendarBookingId,
int status)
Removes all the calendar bookings where parentCalendarBookingId = ? and status = ? from the database.
|
void |
removeByParentCalendarBookingId(long parentCalendarBookingId)
Removes all the calendar bookings where parentCalendarBookingId = ? from the database.
|
void |
removeByResourceBlockId(long resourceBlockId)
Removes all the calendar bookings where resourceBlockId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the calendar bookings where uuid = ? and companyId = ? from the database.
|
CalendarBooking |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the calendar booking where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the calendar bookings where uuid = ? from the database.
|
CalendarBooking |
updateImpl(CalendarBooking calendarBooking) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<CalendarBooking> findByResourceBlockId(long resourceBlockId)
resourceBlockId
- the resource block IDjava.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)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
)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 cacheCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking[] 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 foundvoid removeByResourceBlockId(long resourceBlockId)
resourceBlockId
- the resource block IDint countByResourceBlockId(long resourceBlockId)
resourceBlockId
- the resource block IDjava.util.List<CalendarBooking> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.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)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
)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 cacheCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking[] 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 foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchBookingException
uuid
- the uuidgroupId
- the group IDNoSuchBookingException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<CalendarBooking> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.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)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
)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 cacheCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking[] 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 foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CalendarBooking> findByCalendarId(long calendarId)
calendarId
- the calendar IDjava.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)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
)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 cacheCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking[] 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 foundvoid removeByCalendarId(long calendarId)
calendarId
- the calendar IDint countByCalendarId(long calendarId)
calendarId
- the calendar IDjava.util.List<CalendarBooking> findByCalendarResourceId(long calendarResourceId)
calendarResourceId
- the calendar resource IDjava.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)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
)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 cacheCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking[] 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 foundvoid removeByCalendarResourceId(long calendarResourceId)
calendarResourceId
- the calendar resource IDint countByCalendarResourceId(long calendarResourceId)
calendarResourceId
- the calendar resource IDjava.util.List<CalendarBooking> findByParentCalendarBookingId(long parentCalendarBookingId)
parentCalendarBookingId
- the parent calendar booking IDjava.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)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
)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 cacheCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking[] 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 foundvoid removeByParentCalendarBookingId(long parentCalendarBookingId)
parentCalendarBookingId
- the parent calendar booking IDint countByParentCalendarBookingId(long parentCalendarBookingId)
parentCalendarBookingId
- the parent calendar booking IDCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking removeByC_P(long calendarId, long parentCalendarBookingId) throws NoSuchBookingException
calendarId
- the calendar IDparentCalendarBookingId
- the parent calendar booking IDNoSuchBookingException
int countByC_P(long calendarId, long parentCalendarBookingId)
calendarId
- the calendar IDparentCalendarBookingId
- the parent calendar booking IDCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking removeByC_V(long calendarId, java.lang.String vEventUid) throws NoSuchBookingException
calendarId
- the calendar IDvEventUid
- the v event uidNoSuchBookingException
int countByC_V(long calendarId, java.lang.String vEventUid)
calendarId
- the calendar IDvEventUid
- the v event uidjava.util.List<CalendarBooking> findByC_S(long calendarId, int status)
calendarId
- the calendar IDstatus
- the statusjava.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)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
)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 cacheCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking[] 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 foundjava.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 statusesjava.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)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
)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 cachevoid removeByC_S(long calendarId, int status)
calendarId
- the calendar IDstatus
- the statusint countByC_S(long calendarId, int status)
calendarId
- the calendar IDstatus
- the statusint countByC_S(long calendarId, int[] statuses)
calendarId
- the calendar IDstatuses
- the statusesjava.util.List<CalendarBooking> findByP_S(long parentCalendarBookingId, int status)
parentCalendarBookingId
- the parent calendar booking IDstatus
- the statusjava.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)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
)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 cacheCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking 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 foundCalendarBooking[] 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 foundvoid removeByP_S(long parentCalendarBookingId, int status)
parentCalendarBookingId
- the parent calendar booking IDstatus
- the statusint countByP_S(long parentCalendarBookingId, int status)
parentCalendarBookingId
- the parent calendar booking IDstatus
- the statusvoid cacheResult(CalendarBooking calendarBooking)
calendarBooking
- the calendar bookingvoid cacheResult(java.util.List<CalendarBooking> calendarBookings)
calendarBookings
- the calendar bookingsCalendarBooking create(long calendarBookingId)
calendarBookingId
- the primary key for the new calendar bookingCalendarBooking remove(long calendarBookingId) throws NoSuchBookingException
calendarBookingId
- the primary key of the calendar bookingNoSuchBookingException
- if a calendar booking with the primary key could not be foundCalendarBooking updateImpl(CalendarBooking calendarBooking)
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 foundCalendarBooking 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 foundjava.util.Map<java.io.Serializable,CalendarBooking> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<CalendarBooking>
java.util.List<CalendarBooking> findAll()
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)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
)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 cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<CalendarBooking>