Interface CalendarBookingPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CalendarBooking>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CalendarBooking>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByC_P(long calendarId, long parentCalendarBookingId) Returns the number of calendar bookings where calendarId = ? and parentCalendarBookingId = ?.intcountByC_S(long calendarId, int status) Returns the number of calendar bookings where calendarId = ? and status = ?.intcountByC_S(long calendarId, int[] statuses) Returns the number of calendar bookings where calendarId = ? and status = any ?.intcountByC_V(long calendarId, String vEventUid) Returns the number of calendar bookings where calendarId = ? and vEventUid = ?.intcountByCalendarId(long calendarId) Returns the number of calendar bookings where calendarId = ?.intcountByCalendarResourceId(long calendarResourceId) Returns the number of calendar bookings where calendarResourceId = ?.intcountByERC_G(String externalReferenceCode, long groupId) Returns the number of calendar bookings where externalReferenceCode = ? and groupId = ?.intcountByP_S(long parentCalendarBookingId, int status) Returns the number of calendar bookings where parentCalendarBookingId = ? and status = ?.intcountByParentCalendarBookingId(long parentCalendarBookingId) Returns the number of calendar bookings where parentCalendarBookingId = ?.intcountByRecurringCalendarBookingId(long recurringCalendarBookingId) Returns the number of calendar bookings where recurringCalendarBookingId = ?.intcountByUuid(String uuid) Returns the number of calendar bookings where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of calendar bookings where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of calendar bookings where uuid = ? and groupId = ?.create(long calendarBookingId) Creates a new calendar booking with the primary key.default CalendarBookingfetchByC_P(long calendarId, long parentCalendarBookingId) Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or returnsnullif it could not be found.fetchByC_P(long calendarId, long parentCalendarBookingId, boolean useFinderCache) Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or returnsnullif it could not be found, optionally using the finder cache.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 = ?.default CalendarBookingfetchByC_V(long calendarId, String vEventUid) Returns the calendar booking where calendarId = ? and vEventUid = ? or returnsnullif it could not be found.fetchByC_V(long calendarId, String vEventUid, boolean useFinderCache) Returns the calendar booking where calendarId = ? and vEventUid = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByCalendarId_First(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where calendarId = ?.fetchByCalendarResourceId_First(long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where calendarResourceId = ?.default CalendarBookingfetchByERC_G(String externalReferenceCode, long groupId) Returns the calendar booking where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found.fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the calendar booking where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.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 = ?.fetchByParentCalendarBookingId_First(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where parentCalendarBookingId = ?.fetchByPrimaryKey(long calendarBookingId) Returns the calendar booking with the primary key or returnsnullif it could not be found.fetchByRecurringCalendarBookingId_First(long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where recurringCalendarBookingId = ?.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where uuid = ?.default CalendarBookingfetchByUUID_G(String uuid, long groupId) Returns the calendar booking where uuid = ? and groupId = ? or returnsnullif it could not be found.fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the calendar booking where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.findByC_P(long calendarId, long parentCalendarBookingId) Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or throws aNoSuchBookingExceptionif it could not be found.default List<CalendarBooking> findByC_S(long calendarId, int status) Returns all the calendar bookings where calendarId = ? and status = ?.default List<CalendarBooking> findByC_S(long calendarId, int[] statuses) Returns all the calendar bookings where calendarId = ? and status = any ?.default 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 ?.default 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 ?.findByC_S(long calendarId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where calendarId = ? and status = ?, optionally using the finder cache.default List<CalendarBooking> findByC_S(long calendarId, int status, int start, int end) Returns a range of all the calendar bookings where calendarId = ? and status = ?.default 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 = ?.findByC_S(long calendarId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where calendarId = ? and status = ?.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 = ?.Returns the calendar booking where calendarId = ? and vEventUid = ? or throws aNoSuchBookingExceptionif it could not be found.default List<CalendarBooking> findByCalendarId(long calendarId) Returns all the calendar bookings where calendarId = ?.default List<CalendarBooking> findByCalendarId(long calendarId, int start, int end) Returns a range of all the calendar bookings where calendarId = ?.default 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 = ?.findByCalendarId(long calendarId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where calendarId = ?.findByCalendarId_First(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where calendarId = ?.default List<CalendarBooking> findByCalendarResourceId(long calendarResourceId) Returns all the calendar bookings where calendarResourceId = ?.default List<CalendarBooking> findByCalendarResourceId(long calendarResourceId, int start, int end) Returns a range of all the calendar bookings where calendarResourceId = ?.default 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 = ?.findByCalendarResourceId(long calendarResourceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where calendarResourceId = ?.findByCalendarResourceId_First(long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where calendarResourceId = ?.findByERC_G(String externalReferenceCode, long groupId) Returns the calendar booking where externalReferenceCode = ? and groupId = ? or throws aNoSuchBookingExceptionif it could not be found.default List<CalendarBooking> findByP_S(long parentCalendarBookingId, int status) Returns all the calendar bookings where parentCalendarBookingId = ? and status = ?.default List<CalendarBooking> findByP_S(long parentCalendarBookingId, int status, int start, int end) Returns a range of all the calendar bookings where parentCalendarBookingId = ? and status = ?.default 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 = ?.findByP_S(long parentCalendarBookingId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where parentCalendarBookingId = ? and status = ?.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 = ?.default List<CalendarBooking> findByParentCalendarBookingId(long parentCalendarBookingId) Returns all the calendar bookings where parentCalendarBookingId = ?.default List<CalendarBooking> findByParentCalendarBookingId(long parentCalendarBookingId, int start, int end) Returns a range of all the calendar bookings where parentCalendarBookingId = ?.default 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 = ?.findByParentCalendarBookingId(long parentCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where parentCalendarBookingId = ?.findByParentCalendarBookingId_First(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where parentCalendarBookingId = ?.findByPrimaryKey(long calendarBookingId) Returns the calendar booking with the primary key or throws aNoSuchBookingExceptionif it could not be found.default List<CalendarBooking> findByRecurringCalendarBookingId(long recurringCalendarBookingId) Returns all the calendar bookings where recurringCalendarBookingId = ?.default List<CalendarBooking> findByRecurringCalendarBookingId(long recurringCalendarBookingId, int start, int end) Returns a range of all the calendar bookings where recurringCalendarBookingId = ?.default List<CalendarBooking> findByRecurringCalendarBookingId(long recurringCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where recurringCalendarBookingId = ?.findByRecurringCalendarBookingId(long recurringCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where recurringCalendarBookingId = ?.findByRecurringCalendarBookingId_First(long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where recurringCalendarBookingId = ?.default List<CalendarBooking> findByUuid(String uuid) Returns all the calendar bookings where uuid = ?.default List<CalendarBooking> findByUuid(String uuid, int start, int end) Returns a range of all the calendar bookings where uuid = ?.default List<CalendarBooking> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where uuid = ?.default List<CalendarBooking> findByUuid_C(String uuid, long companyId) Returns all the calendar bookings where uuid = ? and companyId = ?.default List<CalendarBooking> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the calendar bookings where uuid = ? and companyId = ?.default List<CalendarBooking> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where uuid = ?.findByUUID_G(String uuid, long groupId) Returns the calendar booking where uuid = ? and groupId = ? or throws aNoSuchBookingExceptionif it could not be found.remove(long calendarBookingId) Removes the calendar booking with the primary key from the database.removeByC_P(long calendarId, long parentCalendarBookingId) Removes the calendar booking where calendarId = ? and parentCalendarBookingId = ? from the database.voidremoveByC_S(long calendarId, int status) Removes all the calendar bookings where calendarId = ? and status = ? from the database.removeByC_V(long calendarId, String vEventUid) Removes the calendar booking where calendarId = ? and vEventUid = ? from the database.voidremoveByCalendarId(long calendarId) Removes all the calendar bookings where calendarId = ? from the database.voidremoveByCalendarResourceId(long calendarResourceId) Removes all the calendar bookings where calendarResourceId = ? from the database.removeByERC_G(String externalReferenceCode, long groupId) Removes the calendar booking where externalReferenceCode = ? and groupId = ? from the database.voidremoveByP_S(long parentCalendarBookingId, int status) Removes all the calendar bookings where parentCalendarBookingId = ? and status = ? from the database.voidremoveByParentCalendarBookingId(long parentCalendarBookingId) Removes all the calendar bookings where parentCalendarBookingId = ? from the database.voidremoveByRecurringCalendarBookingId(long recurringCalendarBookingId) Removes all the calendar bookings where recurringCalendarBookingId = ? from the database.voidremoveByUuid(String uuid) Removes all the calendar bookings where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the calendar bookings where uuid = ? and companyId = ? from the database.removeByUUID_G(String uuid, long groupId) Removes the calendar booking where uuid = ? and groupId = ? from the database.updateImpl(CalendarBooking calendarBooking) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
List<CalendarBooking> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar bookings
-
findByUuid_First
CalendarBooking findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the first calendar booking in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be found
-
fetchByUuid_First
CalendarBooking fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking, or
nullif a matching calendar booking could not be found
-
removeByUuid
Removes all the calendar bookings where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of calendar bookings where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching calendar bookings
-
findByUUID_G
Returns the calendar booking where uuid = ? and groupId = ? or throws aNoSuchBookingExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be found
-
fetchByUUID_G
Returns the calendar booking where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching calendar booking, or
nullif a matching calendar booking could not be found
-
removeByUUID_G
Removes the calendar booking where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the calendar booking that was removed
- Throws:
NoSuchBookingException
-
countByUUID_G
Returns the number of calendar bookings where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching calendar bookings
-
findByUuid_C
List<CalendarBooking> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar bookings
-
findByUuid_C_First
CalendarBooking findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the first calendar booking in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be found
-
fetchByUuid_C_First
CalendarBooking fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking, or
nullif a matching calendar booking could not be found
-
removeByUuid_C
Removes all the calendar bookings where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of calendar bookings where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching calendar bookings
-
findByCalendarId
List<CalendarBooking> findByCalendarId(long calendarId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where calendarId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
calendarId- the calendar IDstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar bookings
-
findByCalendarId_First
CalendarBooking findByCalendarId_First(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the first calendar booking in the ordered set where calendarId = ?.- Parameters:
calendarId- the calendar IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be found
-
fetchByCalendarId_First
CalendarBooking fetchByCalendarId_First(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where calendarId = ?.- Parameters:
calendarId- the calendar IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking, or
nullif a matching calendar booking could not be found
-
removeByCalendarId
void removeByCalendarId(long calendarId) Removes all the calendar bookings where calendarId = ? from the database.- Parameters:
calendarId- the calendar ID
-
countByCalendarId
int countByCalendarId(long calendarId) Returns the number of calendar bookings where calendarId = ?.- Parameters:
calendarId- the calendar ID- Returns:
- the number of matching calendar bookings
-
findByCalendarResourceId
List<CalendarBooking> findByCalendarResourceId(long calendarResourceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where calendarResourceId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
calendarResourceId- the calendar resource IDstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar bookings
-
findByCalendarResourceId_First
CalendarBooking findByCalendarResourceId_First(long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the first calendar booking in the ordered set where calendarResourceId = ?.- Parameters:
calendarResourceId- the calendar resource IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be found
-
fetchByCalendarResourceId_First
CalendarBooking fetchByCalendarResourceId_First(long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where calendarResourceId = ?.- Parameters:
calendarResourceId- the calendar resource IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking, or
nullif a matching calendar booking could not be found
-
removeByCalendarResourceId
void removeByCalendarResourceId(long calendarResourceId) Removes all the calendar bookings where calendarResourceId = ? from the database.- Parameters:
calendarResourceId- the calendar resource ID
-
countByCalendarResourceId
int countByCalendarResourceId(long calendarResourceId) Returns the number of calendar bookings where calendarResourceId = ?.- Parameters:
calendarResourceId- the calendar resource ID- Returns:
- the number of matching calendar bookings
-
findByParentCalendarBookingId
List<CalendarBooking> findByParentCalendarBookingId(long parentCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where parentCalendarBookingId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar bookings
-
findByParentCalendarBookingId_First
CalendarBooking findByParentCalendarBookingId_First(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the first calendar booking in the ordered set where parentCalendarBookingId = ?.- Parameters:
parentCalendarBookingId- the parent calendar booking IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be found
-
fetchByParentCalendarBookingId_First
CalendarBooking fetchByParentCalendarBookingId_First(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where parentCalendarBookingId = ?.- Parameters:
parentCalendarBookingId- the parent calendar booking IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking, or
nullif a matching calendar booking could not be found
-
removeByParentCalendarBookingId
void removeByParentCalendarBookingId(long parentCalendarBookingId) Removes all the calendar bookings where parentCalendarBookingId = ? from the database.- Parameters:
parentCalendarBookingId- the parent calendar booking ID
-
countByParentCalendarBookingId
int countByParentCalendarBookingId(long parentCalendarBookingId) Returns the number of calendar bookings where parentCalendarBookingId = ?.- Parameters:
parentCalendarBookingId- the parent calendar booking ID- Returns:
- the number of matching calendar bookings
-
findByRecurringCalendarBookingId
List<CalendarBooking> findByRecurringCalendarBookingId(long recurringCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where recurringCalendarBookingId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
recurringCalendarBookingId- the recurring calendar booking IDstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar bookings
-
findByRecurringCalendarBookingId_First
CalendarBooking findByRecurringCalendarBookingId_First(long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the first calendar booking in the ordered set where recurringCalendarBookingId = ?.- Parameters:
recurringCalendarBookingId- the recurring calendar booking IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be found
-
fetchByRecurringCalendarBookingId_First
CalendarBooking fetchByRecurringCalendarBookingId_First(long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where recurringCalendarBookingId = ?.- Parameters:
recurringCalendarBookingId- the recurring calendar booking IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking, or
nullif a matching calendar booking could not be found
-
removeByRecurringCalendarBookingId
void removeByRecurringCalendarBookingId(long recurringCalendarBookingId) Removes all the calendar bookings where recurringCalendarBookingId = ? from the database.- Parameters:
recurringCalendarBookingId- the recurring calendar booking ID
-
countByRecurringCalendarBookingId
int countByRecurringCalendarBookingId(long recurringCalendarBookingId) Returns the number of calendar bookings where recurringCalendarBookingId = ?.- Parameters:
recurringCalendarBookingId- the recurring calendar booking ID- Returns:
- the number of matching calendar bookings
-
findByC_P
CalendarBooking findByC_P(long calendarId, long parentCalendarBookingId) throws NoSuchBookingException Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or throws aNoSuchBookingExceptionif it could not be found.- Parameters:
calendarId- the calendar IDparentCalendarBookingId- the parent calendar booking ID- Returns:
- the matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be found
-
fetchByC_P
Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
calendarId- the calendar IDparentCalendarBookingId- the parent calendar booking IDuseFinderCache- whether to use the finder cache- Returns:
- the matching calendar booking, or
nullif a matching calendar booking could not be found
-
removeByC_P
CalendarBooking removeByC_P(long calendarId, long parentCalendarBookingId) throws NoSuchBookingException Removes the calendar booking where calendarId = ? and parentCalendarBookingId = ? from the database.- Parameters:
calendarId- the calendar IDparentCalendarBookingId- the parent calendar booking ID- Returns:
- the calendar booking that was removed
- Throws:
NoSuchBookingException
-
countByC_P
int countByC_P(long calendarId, long parentCalendarBookingId) Returns the number of calendar bookings where calendarId = ? and parentCalendarBookingId = ?.- Parameters:
calendarId- the calendar IDparentCalendarBookingId- the parent calendar booking ID- Returns:
- the number of matching calendar bookings
-
findByC_V
Returns the calendar booking where calendarId = ? and vEventUid = ? or throws aNoSuchBookingExceptionif it could not be found.- Parameters:
calendarId- the calendar IDvEventUid- the v event uid- Returns:
- the matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be found
-
fetchByC_V
Returns the calendar booking where calendarId = ? and vEventUid = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
calendarId- the calendar IDvEventUid- the v event uiduseFinderCache- whether to use the finder cache- Returns:
- the matching calendar booking, or
nullif a matching calendar booking could not be found
-
removeByC_V
Removes the calendar booking where calendarId = ? and vEventUid = ? from the database.- Parameters:
calendarId- the calendar IDvEventUid- the v event uid- Returns:
- the calendar booking that was removed
- Throws:
NoSuchBookingException
-
countByC_V
Returns the number of calendar bookings where calendarId = ? and vEventUid = ?.- Parameters:
calendarId- the calendar IDvEventUid- the v event uid- Returns:
- the number of matching calendar bookings
-
findByC_S
List<CalendarBooking> findByC_S(long calendarId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where calendarId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
calendarId- the calendar IDstatus- the statusstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar bookings
-
findByC_S_First
CalendarBooking findByC_S_First(long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the first calendar booking in the ordered set where calendarId = ? and status = ?.- Parameters:
calendarId- the calendar IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be found
-
fetchByC_S_First
CalendarBooking fetchByC_S_First(long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where calendarId = ? and status = ?.- Parameters:
calendarId- the calendar IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking, or
nullif a matching calendar booking could not be found
-
findByC_S
List<CalendarBooking> findByC_S(long calendarId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where calendarId = ? and status = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
calendarId- the calendar IDstatuses- the statusesstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar bookings
-
removeByC_S
void removeByC_S(long calendarId, int status) Removes all the calendar bookings where calendarId = ? and status = ? from the database.- Parameters:
calendarId- the calendar IDstatus- the status
-
countByC_S
int countByC_S(long calendarId, int status) Returns the number of calendar bookings where calendarId = ? and status = ?.- Parameters:
calendarId- the calendar IDstatus- the status- Returns:
- the number of matching calendar bookings
-
countByC_S
int countByC_S(long calendarId, int[] statuses) Returns the number of calendar bookings where calendarId = ? and status = any ?.- Parameters:
calendarId- the calendar IDstatuses- the statuses- Returns:
- the number of matching calendar bookings
-
findByP_S
List<CalendarBooking> findByP_S(long parentCalendarBookingId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar bookings where parentCalendarBookingId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstatus- the statusstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar bookings
-
findByP_S_First
CalendarBooking findByP_S_First(long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException Returns the first calendar booking in the ordered set where parentCalendarBookingId = ? and status = ?.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be found
-
fetchByP_S_First
CalendarBooking fetchByP_S_First(long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns the first calendar booking in the ordered set where parentCalendarBookingId = ? and status = ?.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar booking, or
nullif a matching calendar booking could not be found
-
removeByP_S
void removeByP_S(long parentCalendarBookingId, int status) Removes all the calendar bookings where parentCalendarBookingId = ? and status = ? from the database.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstatus- the status
-
countByP_S
int countByP_S(long parentCalendarBookingId, int status) Returns the number of calendar bookings where parentCalendarBookingId = ? and status = ?.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstatus- the status- Returns:
- the number of matching calendar bookings
-
findByERC_G
CalendarBooking findByERC_G(String externalReferenceCode, long groupId) throws NoSuchBookingException Returns the calendar booking where externalReferenceCode = ? and groupId = ? or throws aNoSuchBookingExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the matching calendar booking
- Throws:
NoSuchBookingException- if a matching calendar booking could not be found
-
fetchByERC_G
Returns the calendar booking where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching calendar booking, or
nullif a matching calendar booking could not be found
-
removeByERC_G
CalendarBooking removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchBookingException Removes the calendar booking where externalReferenceCode = ? and groupId = ? from the database.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the calendar booking that was removed
- Throws:
NoSuchBookingException
-
countByERC_G
Returns the number of calendar bookings where externalReferenceCode = ? and groupId = ?.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the number of matching calendar bookings
-
create
Creates a new calendar booking with the primary key. Does not add the calendar booking to the database.- Parameters:
calendarBookingId- the primary key for the new calendar booking- Returns:
- the new calendar booking
-
remove
Removes the calendar booking with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
calendarBookingId- the primary key of the calendar booking- Returns:
- the calendar booking that was removed
- Throws:
NoSuchBookingException- if a calendar booking with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the calendar booking with the primary key or throws aNoSuchBookingExceptionif it could not be found.- Parameters:
calendarBookingId- the primary key of the calendar booking- Returns:
- the calendar booking
- Throws:
NoSuchBookingException- if a calendar booking with the primary key could not be found
-
fetchByPrimaryKey
Returns the calendar booking with the primary key or returnsnullif it could not be found.- Parameters:
calendarBookingId- the primary key of the calendar booking- Returns:
- the calendar booking, or
nullif a calendar booking with the primary key could not be found
-
fetchByUUID_G
Returns the calendar booking where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching calendar booking, or
nullif a matching calendar booking could not be found
-
fetchByC_P
Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
calendarId- the calendar IDparentCalendarBookingId- the parent calendar booking ID- Returns:
- the matching calendar booking, or
nullif a matching calendar booking could not be found
-
fetchByC_V
Returns the calendar booking where calendarId = ? and vEventUid = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
calendarId- the calendar IDvEventUid- the v event uid- Returns:
- the matching calendar booking, or
nullif a matching calendar booking could not be found
-
fetchByERC_G
Returns the calendar booking where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the matching calendar booking, or
nullif a matching calendar booking could not be found
-
findByUuid
Returns all the calendar bookings where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching calendar bookings
-
findByUuid
Returns a range of all the calendar bookings where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)- Returns:
- the range of matching calendar bookings
-
findByUuid
default List<CalendarBooking> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching calendar bookings
-
findByUuid_C
Returns all the calendar bookings where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching calendar bookings
-
findByUuid_C
Returns a range of all the calendar bookings where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)- Returns:
- the range of matching calendar bookings
-
findByUuid_C
default List<CalendarBooking> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching calendar bookings
-
findByCalendarId
Returns all the calendar bookings where calendarId = ?.- Parameters:
calendarId- the calendar ID- Returns:
- the matching calendar bookings
-
findByCalendarId
Returns a range of all the calendar bookings where calendarId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
calendarId- the calendar IDstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)- Returns:
- the range of matching calendar bookings
-
findByCalendarId
default List<CalendarBooking> findByCalendarId(long calendarId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where calendarId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
calendarId- the calendar IDstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching calendar bookings
-
findByCalendarResourceId
Returns all the calendar bookings where calendarResourceId = ?.- Parameters:
calendarResourceId- the calendar resource ID- Returns:
- the matching calendar bookings
-
findByCalendarResourceId
Returns a range of all the calendar bookings where calendarResourceId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
calendarResourceId- the calendar resource IDstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)- Returns:
- the range of matching calendar bookings
-
findByCalendarResourceId
default List<CalendarBooking> findByCalendarResourceId(long calendarResourceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where calendarResourceId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
calendarResourceId- the calendar resource IDstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching calendar bookings
-
findByParentCalendarBookingId
Returns all the calendar bookings where parentCalendarBookingId = ?.- Parameters:
parentCalendarBookingId- the parent calendar booking ID- Returns:
- the matching calendar bookings
-
findByParentCalendarBookingId
default List<CalendarBooking> findByParentCalendarBookingId(long parentCalendarBookingId, int start, int end) Returns a range of all the calendar bookings where parentCalendarBookingId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)- Returns:
- the range of matching calendar bookings
-
findByParentCalendarBookingId
default List<CalendarBooking> findByParentCalendarBookingId(long parentCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where parentCalendarBookingId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching calendar bookings
-
findByRecurringCalendarBookingId
Returns all the calendar bookings where recurringCalendarBookingId = ?.- Parameters:
recurringCalendarBookingId- the recurring calendar booking ID- Returns:
- the matching calendar bookings
-
findByRecurringCalendarBookingId
default List<CalendarBooking> findByRecurringCalendarBookingId(long recurringCalendarBookingId, int start, int end) Returns a range of all the calendar bookings where recurringCalendarBookingId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
recurringCalendarBookingId- the recurring calendar booking IDstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)- Returns:
- the range of matching calendar bookings
-
findByRecurringCalendarBookingId
default List<CalendarBooking> findByRecurringCalendarBookingId(long recurringCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where recurringCalendarBookingId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
recurringCalendarBookingId- the recurring calendar booking IDstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching calendar bookings
-
findByC_S
Returns all the calendar bookings where calendarId = ? and status = ?.- Parameters:
calendarId- the calendar IDstatus- the status- Returns:
- the matching calendar bookings
-
findByC_S
Returns a range of all the calendar bookings where calendarId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
calendarId- the calendar IDstatus- the statusstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)- Returns:
- the range of matching calendar bookings
-
findByC_S
default List<CalendarBooking> findByC_S(long calendarId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where calendarId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
calendarId- the calendar IDstatus- the statusstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching calendar bookings
-
findByC_S
Returns all the calendar bookings where calendarId = ? and status = any ?.- Parameters:
calendarId- the calendar IDstatuses- the statuses- Returns:
- the matching calendar bookings
-
findByC_S
Returns a range of all the calendar bookings where calendarId = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
calendarId- the calendar IDstatuses- the statusesstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)- Returns:
- the range of matching calendar bookings
-
findByC_S
default List<CalendarBooking> findByC_S(long calendarId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where calendarId = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
calendarId- the calendar IDstatuses- the statusesstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching calendar bookings
-
findByP_S
Returns all the calendar bookings where parentCalendarBookingId = ? and status = ?.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstatus- the status- Returns:
- the matching calendar bookings
-
findByP_S
default List<CalendarBooking> findByP_S(long parentCalendarBookingId, int status, int start, int end) Returns a range of all the calendar bookings where parentCalendarBookingId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstatus- the statusstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)- Returns:
- the range of matching calendar bookings
-
findByP_S
default List<CalendarBooking> findByP_S(long parentCalendarBookingId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) Returns an ordered range of all the calendar bookings where parentCalendarBookingId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.calendar.model.impl.CalendarBookingModelImpl.- Parameters:
parentCalendarBookingId- the parent calendar booking IDstatus- the statusstart- the lower bound of the range of calendar bookingsend- the upper bound of the range of calendar bookings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching calendar bookings
-