Interface CalendarBookingPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CalendarBooking>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CalendarBooking>

@ProviderType public interface CalendarBookingPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CalendarBooking>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CalendarBooking>
The persistence interface for the calendar booking service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(CalendarBooking calendarBooking)
    Caches the calendar booking in the entity cache if it is enabled.
    void
    cacheResult(List<CalendarBooking> calendarBookings)
    Caches the calendar bookings in the entity cache if it is enabled.
    int
    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, 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
    countByRecurringCalendarBookingId(long recurringCalendarBookingId)
    Returns the number of calendar bookings where recurringCalendarBookingId = ?.
    int
    Returns the number of calendar bookings where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of calendar bookings where uuid = ? and companyId = ?.
    int
    countByUUID_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.
    fetchByC_P(long calendarId, long parentCalendarBookingId)
    Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or returns null if it could not be found.
    fetchByC_P(long calendarId, long parentCalendarBookingId, boolean useFinderCache)
    Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or returns null if 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 = ?.
    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 = ?.
    fetchByC_V(long calendarId, String vEventUid)
    Returns the calendar booking where calendarId = ? and vEventUid = ? or returns null if it could not be found.
    fetchByC_V(long calendarId, String vEventUid, boolean useFinderCache)
    Returns the calendar booking where calendarId = ? and vEventUid = ? or returns null if 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 = ?.
    fetchByCalendarId_Last(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
    Returns the last 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 = ?.
    fetchByCalendarResourceId_Last(long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
    Returns the last calendar booking in the ordered set where calendarResourceId = ?.
    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 = ?.
    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 = ?.
    fetchByParentCalendarBookingId_First(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
    Returns the first calendar booking in the ordered set where parentCalendarBookingId = ?.
    fetchByParentCalendarBookingId_Last(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
    Returns the last calendar booking in the ordered set where parentCalendarBookingId = ?.
    fetchByPrimaryKey(long calendarBookingId)
    Returns the calendar booking with the primary key or returns null if 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 = ?.
    fetchByRecurringCalendarBookingId_Last(long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
    Returns the last 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_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
    Returns the last calendar booking in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
    Returns the first calendar booking in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the calendar booking where uuid = ? and groupId = ? or returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the calendar booking where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
    Returns the last calendar booking in the ordered set where uuid = ?.
    Returns all the calendar bookings.
    findAll(int start, int end)
    Returns a range of all the calendar bookings.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
    Returns an ordered range of all the calendar bookings.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the calendar bookings.
    findByC_P(long calendarId, long parentCalendarBookingId)
    Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or throws a NoSuchBookingException if it could not be found.
    findByC_S(long calendarId, int status)
    Returns all the calendar bookings where calendarId = ? and status = ?.
    findByC_S(long calendarId, int[] statuses)
    Returns all the calendar bookings where calendarId = ? and status = any ?.
    findByC_S(long calendarId, int[] statuses, int start, int end)
    Returns a 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)
    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.
    findByC_S(long calendarId, int status, int start, int end)
    Returns a 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)
    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 = ?.
    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 = ?.
    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 = ?.
    findByC_V(long calendarId, String vEventUid)
    Returns the calendar booking where calendarId = ? and vEventUid = ? or throws a NoSuchBookingException if it could not be found.
    findByCalendarId(long calendarId)
    Returns all the calendar bookings where calendarId = ?.
    findByCalendarId(long calendarId, int start, int end)
    Returns a range of all the calendar bookings where calendarId = ?.
    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 = ?.
    findByCalendarId_Last(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
    Returns the last calendar booking in the ordered set where calendarId = ?.
    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 = ?.
    findByCalendarResourceId(long calendarResourceId)
    Returns all the calendar bookings where calendarResourceId = ?.
    findByCalendarResourceId(long calendarResourceId, int start, int end)
    Returns a range of all the calendar bookings where calendarResourceId = ?.
    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 = ?.
    findByCalendarResourceId_Last(long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
    Returns the last calendar booking in the ordered set where calendarResourceId = ?.
    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 = ?.
    findByP_S(long parentCalendarBookingId, int status)
    Returns all the calendar bookings where parentCalendarBookingId = ? and status = ?.
    findByP_S(long parentCalendarBookingId, int status, int start, int end)
    Returns a 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)
    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 = ?.
    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 = ?.
    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 = ?.
    findByParentCalendarBookingId(long parentCalendarBookingId)
    Returns all the calendar bookings where parentCalendarBookingId = ?.
    findByParentCalendarBookingId(long parentCalendarBookingId, int start, int end)
    Returns a range of all the calendar bookings where parentCalendarBookingId = ?.
    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 = ?.
    findByParentCalendarBookingId_Last(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
    Returns the last calendar booking in the ordered set where parentCalendarBookingId = ?.
    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 = ?.
    findByPrimaryKey(long calendarBookingId)
    Returns the calendar booking with the primary key or throws a NoSuchBookingException if it could not be found.
    findByRecurringCalendarBookingId(long recurringCalendarBookingId)
    Returns all the calendar bookings where recurringCalendarBookingId = ?.
    findByRecurringCalendarBookingId(long recurringCalendarBookingId, int start, int end)
    Returns a range of all the calendar bookings where recurringCalendarBookingId = ?.
    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 = ?.
    findByRecurringCalendarBookingId_Last(long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
    Returns the last calendar booking in the ordered set where recurringCalendarBookingId = ?.
    findByRecurringCalendarBookingId_PrevAndNext(long calendarBookingId, long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
    Returns the calendar bookings before and after the current calendar booking in the ordered set where recurringCalendarBookingId = ?.
    Returns all the calendar bookings where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the calendar bookings where uuid = ?.
    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 = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the calendar bookings where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a 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)
    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_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
    Returns the last calendar booking in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_PrevAndNext(long calendarBookingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
    Returns the calendar bookings before and after the current calendar booking in the ordered set where uuid = ? and companyId = ?.
    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 a NoSuchBookingException if it could not be found.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
    Returns the last calendar booking in the ordered set where uuid = ?.
    findByUuid_PrevAndNext(long calendarBookingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
    Returns the calendar bookings before and after the current calendar booking in the ordered set where uuid = ?.
    remove(long calendarBookingId)
    Removes the calendar booking with the primary key from the database.
    void
    Removes all the calendar bookings from the database.
    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.
    removeByC_V(long calendarId, 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
    removeByRecurringCalendarBookingId(long recurringCalendarBookingId)
    Removes all the calendar bookings where recurringCalendarBookingId = ? from the database.
    void
    Removes all the calendar bookings where uuid = ? from the database.
    void
    removeByUuid_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

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update

    Methods 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)
      Returns all the calendar bookings where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching calendar bookings
    • findByUuid

      List<CalendarBooking> findByUuid(String uuid, int start, int end)
      Returns a range of all the calendar bookings where uuid = ?.

      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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      Returns:
      the range of matching calendar bookings
    • findByUuid

      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 - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching calendar bookings
    • 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 - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching calendar booking, or null if a matching calendar booking could not be found
    • findByUuid_Last

      CalendarBooking findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
      Returns the last calendar booking in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar booking
      Throws:
      NoSuchBookingException - if a matching calendar booking could not be found
    • fetchByUuid_Last

      CalendarBooking fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
      Returns the last calendar booking in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar booking, or null if a matching calendar booking could not be found
    • findByUuid_PrevAndNext

      CalendarBooking[] findByUuid_PrevAndNext(long calendarBookingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
      Returns the calendar bookings before and after the current calendar booking in the ordered set where uuid = ?.
      Parameters:
      calendarBookingId - the primary key of the current calendar booking
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next calendar booking
      Throws:
      NoSuchBookingException - if a calendar booking with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the calendar bookings where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of calendar bookings where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching calendar bookings
    • findByUUID_G

      CalendarBooking findByUUID_G(String uuid, long groupId) throws NoSuchBookingException
      Returns the calendar booking where uuid = ? and groupId = ? or throws a NoSuchBookingException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching calendar booking
      Throws:
      NoSuchBookingException - if a matching calendar booking could not be found
    • fetchByUUID_G

      CalendarBooking fetchByUUID_G(String uuid, long groupId)
      Returns the calendar booking where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching calendar booking, or null if a matching calendar booking could not be found
    • fetchByUUID_G

      CalendarBooking fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the calendar booking where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching calendar booking, or null if a matching calendar booking could not be found
    • removeByUUID_G

      CalendarBooking removeByUUID_G(String uuid, long groupId) throws NoSuchBookingException
      Removes the calendar booking where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the calendar booking that was removed
      Throws:
      NoSuchBookingException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Returns the number of calendar bookings where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching calendar bookings
    • findByUuid_C

      List<CalendarBooking> findByUuid_C(String uuid, long companyId)
      Returns all the calendar bookings where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching calendar bookings
    • findByUuid_C

      List<CalendarBooking> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the calendar bookings where uuid = ? and companyId = ?.

      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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      Returns:
      the range 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)
      Returns an ordered range of all the calendar bookings where uuid = ? and companyId = ?.

      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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range 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 - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching calendar booking, or null if a matching calendar booking could not be found
    • findByUuid_C_Last

      CalendarBooking findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
      Returns the last calendar booking in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar booking
      Throws:
      NoSuchBookingException - if a matching calendar booking could not be found
    • fetchByUuid_C_Last

      CalendarBooking fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
      Returns the last calendar booking in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar booking, or null if a matching calendar booking could not be found
    • findByUuid_C_PrevAndNext

      CalendarBooking[] findByUuid_C_PrevAndNext(long calendarBookingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
      Returns the calendar bookings before and after the current calendar booking in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      calendarBookingId - the primary key of the current calendar booking
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next calendar booking
      Throws:
      NoSuchBookingException - if a calendar booking with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the calendar bookings where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of calendar bookings where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching calendar bookings
    • findByCalendarId

      List<CalendarBooking> findByCalendarId(long calendarId)
      Returns all the calendar bookings where calendarId = ?.
      Parameters:
      calendarId - the calendar ID
      Returns:
      the matching calendar bookings
    • findByCalendarId

      List<CalendarBooking> findByCalendarId(long calendarId, int start, int end)
      Returns a range of all the calendar bookings where calendarId = ?.

      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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      calendarId - the calendar ID
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      Returns:
      the range of matching calendar bookings
    • findByCalendarId

      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 - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      calendarId - the calendar ID
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range 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 - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      calendarId - the calendar ID
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching calendar booking, or null if a matching calendar booking could not be found
    • findByCalendarId_Last

      CalendarBooking findByCalendarId_Last(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
      Returns the last calendar booking in the ordered set where calendarId = ?.
      Parameters:
      calendarId - the calendar ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar booking
      Throws:
      NoSuchBookingException - if a matching calendar booking could not be found
    • fetchByCalendarId_Last

      CalendarBooking fetchByCalendarId_Last(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
      Returns the last calendar booking in the ordered set where calendarId = ?.
      Parameters:
      calendarId - the calendar ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar booking, or null if a matching calendar booking could not be found
    • findByCalendarId_PrevAndNext

      CalendarBooking[] findByCalendarId_PrevAndNext(long calendarBookingId, long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
      Returns the calendar bookings before and after the current calendar booking in the ordered set where calendarId = ?.
      Parameters:
      calendarBookingId - the primary key of the current calendar booking
      calendarId - the calendar ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next calendar booking
      Throws:
      NoSuchBookingException - if a calendar booking with the primary key 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)
      Returns all the calendar bookings where calendarResourceId = ?.
      Parameters:
      calendarResourceId - the calendar resource ID
      Returns:
      the matching calendar bookings
    • findByCalendarResourceId

      List<CalendarBooking> findByCalendarResourceId(long calendarResourceId, int start, int end)
      Returns a range of all the calendar bookings where calendarResourceId = ?.

      Useful when paginating results. Returns a maximum of end - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      calendarResourceId - the calendar resource ID
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      Returns:
      the range of matching calendar bookings
    • findByCalendarResourceId

      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 - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      calendarResourceId - the calendar resource ID
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range 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 - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      calendarResourceId - the calendar resource ID
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching calendar booking, or null if a matching calendar booking could not be found
    • findByCalendarResourceId_Last

      CalendarBooking findByCalendarResourceId_Last(long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
      Returns the last calendar booking in the ordered set where calendarResourceId = ?.
      Parameters:
      calendarResourceId - the calendar resource ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar booking
      Throws:
      NoSuchBookingException - if a matching calendar booking could not be found
    • fetchByCalendarResourceId_Last

      CalendarBooking fetchByCalendarResourceId_Last(long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
      Returns the last calendar booking in the ordered set where calendarResourceId = ?.
      Parameters:
      calendarResourceId - the calendar resource ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar booking, or null if a matching calendar booking could not be found
    • findByCalendarResourceId_PrevAndNext

      CalendarBooking[] findByCalendarResourceId_PrevAndNext(long calendarBookingId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
      Returns the calendar bookings before and after the current calendar booking in the ordered set where calendarResourceId = ?.
      Parameters:
      calendarBookingId - the primary key of the current calendar booking
      calendarResourceId - the calendar resource ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next calendar booking
      Throws:
      NoSuchBookingException - if a calendar booking with the primary key 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)
      Returns all the calendar bookings where parentCalendarBookingId = ?.
      Parameters:
      parentCalendarBookingId - the parent calendar booking ID
      Returns:
      the matching calendar bookings
    • findByParentCalendarBookingId

      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 - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      parentCalendarBookingId - the parent calendar booking ID
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      Returns:
      the range of matching calendar bookings
    • findByParentCalendarBookingId

      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 - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      parentCalendarBookingId - the parent calendar booking ID
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range 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 - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      parentCalendarBookingId - the parent calendar booking ID
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching calendar booking, or null if a matching calendar booking could not be found
    • findByParentCalendarBookingId_Last

      CalendarBooking findByParentCalendarBookingId_Last(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
      Returns the last calendar booking in the ordered set where parentCalendarBookingId = ?.
      Parameters:
      parentCalendarBookingId - the parent calendar booking ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar booking
      Throws:
      NoSuchBookingException - if a matching calendar booking could not be found
    • fetchByParentCalendarBookingId_Last

      CalendarBooking fetchByParentCalendarBookingId_Last(long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
      Returns the last calendar booking in the ordered set where parentCalendarBookingId = ?.
      Parameters:
      parentCalendarBookingId - the parent calendar booking ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar booking, or null if a matching calendar booking could not be found
    • findByParentCalendarBookingId_PrevAndNext

      CalendarBooking[] findByParentCalendarBookingId_PrevAndNext(long calendarBookingId, long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
      Returns the calendar bookings before and after the current calendar booking in the ordered set where parentCalendarBookingId = ?.
      Parameters:
      calendarBookingId - the primary key of the current calendar booking
      parentCalendarBookingId - the parent calendar booking ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next calendar booking
      Throws:
      NoSuchBookingException - if a calendar booking with the primary key 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)
      Returns all the calendar bookings where recurringCalendarBookingId = ?.
      Parameters:
      recurringCalendarBookingId - the recurring calendar booking ID
      Returns:
      the matching calendar bookings
    • findByRecurringCalendarBookingId

      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 - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      recurringCalendarBookingId - the recurring calendar booking ID
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      Returns:
      the range of matching calendar bookings
    • findByRecurringCalendarBookingId

      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 - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      recurringCalendarBookingId - the recurring calendar booking ID
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range 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 - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      recurringCalendarBookingId - the recurring calendar booking ID
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching calendar booking, or null if a matching calendar booking could not be found
    • findByRecurringCalendarBookingId_Last

      CalendarBooking findByRecurringCalendarBookingId_Last(long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
      Returns the last calendar booking in the ordered set where recurringCalendarBookingId = ?.
      Parameters:
      recurringCalendarBookingId - the recurring calendar booking ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar booking
      Throws:
      NoSuchBookingException - if a matching calendar booking could not be found
    • fetchByRecurringCalendarBookingId_Last

      CalendarBooking fetchByRecurringCalendarBookingId_Last(long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
      Returns the last calendar booking in the ordered set where recurringCalendarBookingId = ?.
      Parameters:
      recurringCalendarBookingId - the recurring calendar booking ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar booking, or null if a matching calendar booking could not be found
    • findByRecurringCalendarBookingId_PrevAndNext

      CalendarBooking[] findByRecurringCalendarBookingId_PrevAndNext(long calendarBookingId, long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
      Returns the calendar bookings before and after the current calendar booking in the ordered set where recurringCalendarBookingId = ?.
      Parameters:
      calendarBookingId - the primary key of the current calendar booking
      recurringCalendarBookingId - the recurring calendar booking ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next calendar booking
      Throws:
      NoSuchBookingException - if a calendar booking with the primary key 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 a NoSuchBookingException if it could not be found.
      Parameters:
      calendarId - the calendar ID
      parentCalendarBookingId - the parent calendar booking ID
      Returns:
      the matching calendar booking
      Throws:
      NoSuchBookingException - if a matching calendar booking could not be found
    • fetchByC_P

      CalendarBooking fetchByC_P(long calendarId, long parentCalendarBookingId)
      Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      calendarId - the calendar ID
      parentCalendarBookingId - the parent calendar booking ID
      Returns:
      the matching calendar booking, or null if a matching calendar booking could not be found
    • fetchByC_P

      CalendarBooking fetchByC_P(long calendarId, long parentCalendarBookingId, boolean useFinderCache)
      Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      calendarId - the calendar ID
      parentCalendarBookingId - the parent calendar booking ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching calendar booking, or null if 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 ID
      parentCalendarBookingId - 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 ID
      parentCalendarBookingId - the parent calendar booking ID
      Returns:
      the number of matching calendar bookings
    • findByC_V

      CalendarBooking findByC_V(long calendarId, String vEventUid) throws NoSuchBookingException
      Returns the calendar booking where calendarId = ? and vEventUid = ? or throws a NoSuchBookingException if it could not be found.
      Parameters:
      calendarId - the calendar ID
      vEventUid - the v event uid
      Returns:
      the matching calendar booking
      Throws:
      NoSuchBookingException - if a matching calendar booking could not be found
    • fetchByC_V

      CalendarBooking fetchByC_V(long calendarId, String vEventUid)
      Returns the calendar booking where calendarId = ? and vEventUid = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      calendarId - the calendar ID
      vEventUid - the v event uid
      Returns:
      the matching calendar booking, or null if a matching calendar booking could not be found
    • fetchByC_V

      CalendarBooking fetchByC_V(long calendarId, String vEventUid, boolean useFinderCache)
      Returns the calendar booking where calendarId = ? and vEventUid = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      calendarId - the calendar ID
      vEventUid - the v event uid
      useFinderCache - whether to use the finder cache
      Returns:
      the matching calendar booking, or null if a matching calendar booking could not be found
    • removeByC_V

      CalendarBooking removeByC_V(long calendarId, String vEventUid) throws NoSuchBookingException
      Removes the calendar booking where calendarId = ? and vEventUid = ? from the database.
      Parameters:
      calendarId - the calendar ID
      vEventUid - the v event uid
      Returns:
      the calendar booking that was removed
      Throws:
      NoSuchBookingException
    • countByC_V

      int countByC_V(long calendarId, String vEventUid)
      Returns the number of calendar bookings where calendarId = ? and vEventUid = ?.
      Parameters:
      calendarId - the calendar ID
      vEventUid - the v event uid
      Returns:
      the number of matching calendar bookings
    • findByC_S

      List<CalendarBooking> findByC_S(long calendarId, int status)
      Returns all the calendar bookings where calendarId = ? and status = ?.
      Parameters:
      calendarId - the calendar ID
      status - the status
      Returns:
      the matching calendar bookings
    • findByC_S

      List<CalendarBooking> findByC_S(long calendarId, int status, int start, int end)
      Returns a range of all the calendar bookings where calendarId = ? and status = ?.

      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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      calendarId - the calendar ID
      status - the status
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      Returns:
      the range 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)
      Returns an ordered range of all the calendar bookings where calendarId = ? and status = ?.

      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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      calendarId - the calendar ID
      status - the status
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range 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 - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      calendarId - the calendar ID
      status - the status
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching calendar booking, or null if a matching calendar booking could not be found
    • findByC_S_Last

      CalendarBooking findByC_S_Last(long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
      Returns the last calendar booking in the ordered set where calendarId = ? and status = ?.
      Parameters:
      calendarId - the calendar ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar booking
      Throws:
      NoSuchBookingException - if a matching calendar booking could not be found
    • fetchByC_S_Last

      CalendarBooking fetchByC_S_Last(long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
      Returns the last calendar booking in the ordered set where calendarId = ? and status = ?.
      Parameters:
      calendarId - the calendar ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar booking, or null if a matching calendar booking could not be found
    • findByC_S_PrevAndNext

      CalendarBooking[] findByC_S_PrevAndNext(long calendarBookingId, long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
      Returns the calendar bookings before and after the current calendar booking in the ordered set where calendarId = ? and status = ?.
      Parameters:
      calendarBookingId - the primary key of the current calendar booking
      calendarId - the calendar ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next calendar booking
      Throws:
      NoSuchBookingException - if a calendar booking with the primary key could not be found
    • findByC_S

      List<CalendarBooking> findByC_S(long calendarId, int[] statuses)
      Returns all the calendar bookings where calendarId = ? and status = any ?.

      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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      calendarId - the calendar ID
      statuses - the statuses
      Returns:
      the matching calendar bookings
    • findByC_S

      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 ?.

      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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      calendarId - the calendar ID
      statuses - the statuses
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      Returns:
      the range of matching calendar bookings
    • findByC_S

      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 - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      calendarId - the calendar ID
      statuses - the statuses
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching calendar bookings
    • 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 - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      calendarId - the calendar ID
      statuses - the statuses
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      status - 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 ID
      status - 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 ID
      statuses - the statuses
      Returns:
      the number of matching calendar bookings
    • findByP_S

      List<CalendarBooking> findByP_S(long parentCalendarBookingId, int status)
      Returns all the calendar bookings where parentCalendarBookingId = ? and status = ?.
      Parameters:
      parentCalendarBookingId - the parent calendar booking ID
      status - the status
      Returns:
      the matching calendar bookings
    • findByP_S

      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 - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      parentCalendarBookingId - the parent calendar booking ID
      status - the status
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      Returns:
      the range 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)
      Returns an ordered range of all the calendar bookings where parentCalendarBookingId = ? and status = ?.

      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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      parentCalendarBookingId - the parent calendar booking ID
      status - the status
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range 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 - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      parentCalendarBookingId - the parent calendar booking ID
      status - the status
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching calendar booking, or null if a matching calendar booking could not be found
    • findByP_S_Last

      CalendarBooking findByP_S_Last(long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
      Returns the last calendar booking in the ordered set where parentCalendarBookingId = ? and status = ?.
      Parameters:
      parentCalendarBookingId - the parent calendar booking ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar booking
      Throws:
      NoSuchBookingException - if a matching calendar booking could not be found
    • fetchByP_S_Last

      CalendarBooking fetchByP_S_Last(long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
      Returns the last calendar booking in the ordered set where parentCalendarBookingId = ? and status = ?.
      Parameters:
      parentCalendarBookingId - the parent calendar booking ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar booking, or null if a matching calendar booking could not be found
    • findByP_S_PrevAndNext

      CalendarBooking[] findByP_S_PrevAndNext(long calendarBookingId, long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator) throws NoSuchBookingException
      Returns the calendar bookings before and after the current calendar booking in the ordered set where parentCalendarBookingId = ? and status = ?.
      Parameters:
      calendarBookingId - the primary key of the current calendar booking
      parentCalendarBookingId - the parent calendar booking ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next calendar booking
      Throws:
      NoSuchBookingException - if a calendar booking with the primary key 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 ID
      status - 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 ID
      status - the status
      Returns:
      the number of matching calendar bookings
    • cacheResult

      void cacheResult(CalendarBooking calendarBooking)
      Caches the calendar booking in the entity cache if it is enabled.
      Parameters:
      calendarBooking - the calendar booking
    • cacheResult

      void cacheResult(List<CalendarBooking> calendarBookings)
      Caches the calendar bookings in the entity cache if it is enabled.
      Parameters:
      calendarBookings - the calendar bookings
    • create

      CalendarBooking create(long calendarBookingId)
      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

      CalendarBooking remove(long calendarBookingId) throws NoSuchBookingException
      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

      CalendarBooking updateImpl(CalendarBooking calendarBooking)
    • findByPrimaryKey

      CalendarBooking findByPrimaryKey(long calendarBookingId) throws NoSuchBookingException
      Returns the calendar booking with the primary key or throws a NoSuchBookingException if 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

      CalendarBooking fetchByPrimaryKey(long calendarBookingId)
      Returns the calendar booking with the primary key or returns null if it could not be found.
      Parameters:
      calendarBookingId - the primary key of the calendar booking
      Returns:
      the calendar booking, or null if a calendar booking with the primary key could not be found
    • findAll

      List<CalendarBooking> findAll()
      Returns all the calendar bookings.
      Returns:
      the calendar bookings
    • findAll

      List<CalendarBooking> findAll(int start, int end)
      Returns a range of all the calendar bookings.

      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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      Returns:
      the range of calendar bookings
    • findAll

      List<CalendarBooking> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator)
      Returns an ordered range of all the calendar bookings.

      Useful when paginating results. Returns a maximum of end - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of calendar bookings
    • findAll

      List<CalendarBooking> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarBooking> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the calendar bookings.

      Useful when paginating results. Returns a maximum of end - 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, then the query will include the default ORDER BY logic from CalendarBookingModelImpl.

      Parameters:
      start - the lower bound of the range of calendar bookings
      end - the upper bound of the range of calendar bookings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of calendar bookings
    • removeAll

      void removeAll()
      Removes all the calendar bookings from the database.
    • countAll

      int countAll()
      Returns the number of calendar bookings.
      Returns:
      the number of calendar bookings