All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.calendar.service.persistence.CalendarBookingPersistence Maven / Gradle / Ivy

The newest version!
/**
 * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
 * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
 */

package com.liferay.calendar.service.persistence;

import com.liferay.calendar.exception.NoSuchBookingException;
import com.liferay.calendar.model.CalendarBooking;
import com.liferay.portal.kernel.service.persistence.BasePersistence;
import com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence;

import org.osgi.annotation.versioning.ProviderType;

/**
 * The persistence interface for the calendar booking service.
 *
 * 

* Caching information and settings can be found in portal.properties *

* * @author Eduardo Lundgren * @see CalendarBookingUtil * @generated */ @ProviderType public interface CalendarBookingPersistence extends BasePersistence, CTPersistence { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. Always use {@link CalendarBookingUtil} to access the calendar booking persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. */ /** * Returns all the calendar bookings where uuid = ?. * * @param uuid the uuid * @return the matching calendar bookings */ public java.util.List findByUuid(String uuid); /** * 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. *

* * @param uuid the uuid * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @return the range of matching calendar bookings */ public java.util.List findByUuid( String uuid, int start, int end); /** * 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. *

* * @param uuid the uuid * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching calendar bookings */ public java.util.List findByUuid( String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator 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. *

* * @param uuid the uuid * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching calendar bookings */ public java.util.List findByUuid( String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first calendar booking in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching calendar booking * @throws NoSuchBookingException if a matching calendar booking could not be found */ public CalendarBooking findByUuid_First( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Returns the first calendar booking in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByUuid_First( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last calendar booking in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching calendar booking * @throws NoSuchBookingException if a matching calendar booking could not be found */ public CalendarBooking findByUuid_Last( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Returns the last calendar booking in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByUuid_Last( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the calendar bookings before and after the current calendar booking in the ordered set where uuid = ?. * * @param calendarBookingId the primary key of the current calendar booking * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next calendar booking * @throws NoSuchBookingException if a calendar booking with the primary key could not be found */ public CalendarBooking[] findByUuid_PrevAndNext( long calendarBookingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Removes all the calendar bookings where uuid = ? from the database. * * @param uuid the uuid */ public void removeByUuid(String uuid); /** * Returns the number of calendar bookings where uuid = ?. * * @param uuid the uuid * @return the number of matching calendar bookings */ public int countByUuid(String uuid); /** * Returns the calendar booking where uuid = ? and groupId = ? or throws a NoSuchBookingException if it could not be found. * * @param uuid the uuid * @param groupId the group ID * @return the matching calendar booking * @throws NoSuchBookingException if a matching calendar booking could not be found */ public CalendarBooking findByUUID_G(String uuid, long groupId) throws NoSuchBookingException; /** * Returns the calendar booking where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. * * @param uuid the uuid * @param groupId the group ID * @return the matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByUUID_G(String uuid, long groupId); /** * Returns the calendar booking where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. * * @param uuid the uuid * @param groupId the group ID * @param useFinderCache whether to use the finder cache * @return the matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByUUID_G( String uuid, long groupId, boolean useFinderCache); /** * Removes the calendar booking where uuid = ? and groupId = ? from the database. * * @param uuid the uuid * @param groupId the group ID * @return the calendar booking that was removed */ public CalendarBooking removeByUUID_G(String uuid, long groupId) throws NoSuchBookingException; /** * Returns the number of calendar bookings where uuid = ? and groupId = ?. * * @param uuid the uuid * @param groupId the group ID * @return the number of matching calendar bookings */ public int countByUUID_G(String uuid, long groupId); /** * Returns all the calendar bookings where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the matching calendar bookings */ public java.util.List findByUuid_C( String uuid, long companyId); /** * 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. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @return the range of matching calendar bookings */ public java.util.List findByUuid_C( String uuid, long companyId, int start, int end); /** * 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. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching calendar bookings */ public java.util.List findByUuid_C( String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator 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. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching calendar bookings */ public java.util.List findByUuid_C( String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first calendar booking in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching calendar booking * @throws NoSuchBookingException if a matching calendar booking could not be found */ public CalendarBooking findByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Returns the first calendar booking in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last calendar booking in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching calendar booking * @throws NoSuchBookingException if a matching calendar booking could not be found */ public CalendarBooking findByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Returns the last calendar booking in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the calendar bookings before and after the current calendar booking in the ordered set where uuid = ? and companyId = ?. * * @param calendarBookingId the primary key of the current calendar booking * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next calendar booking * @throws NoSuchBookingException if a calendar booking with the primary key could not be found */ public CalendarBooking[] findByUuid_C_PrevAndNext( long calendarBookingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Removes all the calendar bookings where uuid = ? and companyId = ? from the database. * * @param uuid the uuid * @param companyId the company ID */ public void removeByUuid_C(String uuid, long companyId); /** * Returns the number of calendar bookings where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching calendar bookings */ public int countByUuid_C(String uuid, long companyId); /** * Returns all the calendar bookings where calendarId = ?. * * @param calendarId the calendar ID * @return the matching calendar bookings */ public java.util.List findByCalendarId(long calendarId); /** * 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. *

* * @param calendarId the calendar ID * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @return the range of matching calendar bookings */ public java.util.List findByCalendarId( long calendarId, int start, int end); /** * 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. *

* * @param calendarId the calendar ID * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching calendar bookings */ public java.util.List findByCalendarId( long calendarId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator 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. *

* * @param calendarId the calendar ID * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching calendar bookings */ public java.util.List findByCalendarId( long calendarId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first calendar booking in the ordered set where calendarId = ?. * * @param calendarId the calendar ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching calendar booking * @throws NoSuchBookingException if a matching calendar booking could not be found */ public CalendarBooking findByCalendarId_First( long calendarId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Returns the first calendar booking in the ordered set where calendarId = ?. * * @param calendarId the calendar ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByCalendarId_First( long calendarId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last calendar booking in the ordered set where calendarId = ?. * * @param calendarId the calendar ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching calendar booking * @throws NoSuchBookingException if a matching calendar booking could not be found */ public CalendarBooking findByCalendarId_Last( long calendarId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Returns the last calendar booking in the ordered set where calendarId = ?. * * @param calendarId the calendar ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByCalendarId_Last( long calendarId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the calendar bookings before and after the current calendar booking in the ordered set where calendarId = ?. * * @param calendarBookingId the primary key of the current calendar booking * @param calendarId the calendar ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next calendar booking * @throws NoSuchBookingException if a calendar booking with the primary key could not be found */ public CalendarBooking[] findByCalendarId_PrevAndNext( long calendarBookingId, long calendarId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Removes all the calendar bookings where calendarId = ? from the database. * * @param calendarId the calendar ID */ public void removeByCalendarId(long calendarId); /** * Returns the number of calendar bookings where calendarId = ?. * * @param calendarId the calendar ID * @return the number of matching calendar bookings */ public int countByCalendarId(long calendarId); /** * Returns all the calendar bookings where calendarResourceId = ?. * * @param calendarResourceId the calendar resource ID * @return the matching calendar bookings */ public java.util.List findByCalendarResourceId( long calendarResourceId); /** * 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. *

* * @param calendarResourceId the calendar resource ID * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @return the range of matching calendar bookings */ public java.util.List findByCalendarResourceId( long calendarResourceId, int start, int end); /** * 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. *

* * @param calendarResourceId the calendar resource ID * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching calendar bookings */ public java.util.List findByCalendarResourceId( long calendarResourceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator 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. *

* * @param calendarResourceId the calendar resource ID * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching calendar bookings */ public java.util.List findByCalendarResourceId( long calendarResourceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first calendar booking in the ordered set where calendarResourceId = ?. * * @param calendarResourceId the calendar resource ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching calendar booking * @throws NoSuchBookingException if a matching calendar booking could not be found */ public CalendarBooking findByCalendarResourceId_First( long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Returns the first calendar booking in the ordered set where calendarResourceId = ?. * * @param calendarResourceId the calendar resource ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByCalendarResourceId_First( long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last calendar booking in the ordered set where calendarResourceId = ?. * * @param calendarResourceId the calendar resource ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching calendar booking * @throws NoSuchBookingException if a matching calendar booking could not be found */ public CalendarBooking findByCalendarResourceId_Last( long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Returns the last calendar booking in the ordered set where calendarResourceId = ?. * * @param calendarResourceId the calendar resource ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByCalendarResourceId_Last( long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the calendar bookings before and after the current calendar booking in the ordered set where calendarResourceId = ?. * * @param calendarBookingId the primary key of the current calendar booking * @param calendarResourceId the calendar resource ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next calendar booking * @throws NoSuchBookingException if a calendar booking with the primary key could not be found */ public CalendarBooking[] findByCalendarResourceId_PrevAndNext( long calendarBookingId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Removes all the calendar bookings where calendarResourceId = ? from the database. * * @param calendarResourceId the calendar resource ID */ public void removeByCalendarResourceId(long calendarResourceId); /** * Returns the number of calendar bookings where calendarResourceId = ?. * * @param calendarResourceId the calendar resource ID * @return the number of matching calendar bookings */ public int countByCalendarResourceId(long calendarResourceId); /** * Returns all the calendar bookings where parentCalendarBookingId = ?. * * @param parentCalendarBookingId the parent calendar booking ID * @return the matching calendar bookings */ public java.util.List findByParentCalendarBookingId( long parentCalendarBookingId); /** * 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. *

* * @param parentCalendarBookingId the parent calendar booking ID * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @return the range of matching calendar bookings */ public java.util.List findByParentCalendarBookingId( long parentCalendarBookingId, int start, int end); /** * 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. *

* * @param parentCalendarBookingId the parent calendar booking ID * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching calendar bookings */ public java.util.List findByParentCalendarBookingId( long parentCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator 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. *

* * @param parentCalendarBookingId the parent calendar booking ID * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching calendar bookings */ public java.util.List findByParentCalendarBookingId( long parentCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first calendar booking in the ordered set where parentCalendarBookingId = ?. * * @param parentCalendarBookingId the parent calendar booking ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching calendar booking * @throws NoSuchBookingException if a matching calendar booking could not be found */ public CalendarBooking findByParentCalendarBookingId_First( long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Returns the first calendar booking in the ordered set where parentCalendarBookingId = ?. * * @param parentCalendarBookingId the parent calendar booking ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByParentCalendarBookingId_First( long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last calendar booking in the ordered set where parentCalendarBookingId = ?. * * @param parentCalendarBookingId the parent calendar booking ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching calendar booking * @throws NoSuchBookingException if a matching calendar booking could not be found */ public CalendarBooking findByParentCalendarBookingId_Last( long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Returns the last calendar booking in the ordered set where parentCalendarBookingId = ?. * * @param parentCalendarBookingId the parent calendar booking ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByParentCalendarBookingId_Last( long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the calendar bookings before and after the current calendar booking in the ordered set where parentCalendarBookingId = ?. * * @param calendarBookingId the primary key of the current calendar booking * @param parentCalendarBookingId the parent calendar booking ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next calendar booking * @throws NoSuchBookingException if a calendar booking with the primary key could not be found */ public CalendarBooking[] findByParentCalendarBookingId_PrevAndNext( long calendarBookingId, long parentCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Removes all the calendar bookings where parentCalendarBookingId = ? from the database. * * @param parentCalendarBookingId the parent calendar booking ID */ public void removeByParentCalendarBookingId(long parentCalendarBookingId); /** * Returns the number of calendar bookings where parentCalendarBookingId = ?. * * @param parentCalendarBookingId the parent calendar booking ID * @return the number of matching calendar bookings */ public int countByParentCalendarBookingId(long parentCalendarBookingId); /** * Returns all the calendar bookings where recurringCalendarBookingId = ?. * * @param recurringCalendarBookingId the recurring calendar booking ID * @return the matching calendar bookings */ public java.util.List findByRecurringCalendarBookingId( long recurringCalendarBookingId); /** * 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. *

* * @param recurringCalendarBookingId the recurring calendar booking ID * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @return the range of matching calendar bookings */ public java.util.List findByRecurringCalendarBookingId( long recurringCalendarBookingId, int start, int end); /** * 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. *

* * @param recurringCalendarBookingId the recurring calendar booking ID * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching calendar bookings */ public java.util.List findByRecurringCalendarBookingId( long recurringCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator 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. *

* * @param recurringCalendarBookingId the recurring calendar booking ID * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching calendar bookings */ public java.util.List findByRecurringCalendarBookingId( long recurringCalendarBookingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first calendar booking in the ordered set where recurringCalendarBookingId = ?. * * @param recurringCalendarBookingId the recurring calendar booking ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching calendar booking * @throws NoSuchBookingException if a matching calendar booking could not be found */ public CalendarBooking findByRecurringCalendarBookingId_First( long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Returns the first calendar booking in the ordered set where recurringCalendarBookingId = ?. * * @param recurringCalendarBookingId the recurring calendar booking ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByRecurringCalendarBookingId_First( long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last calendar booking in the ordered set where recurringCalendarBookingId = ?. * * @param recurringCalendarBookingId the recurring calendar booking ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching calendar booking * @throws NoSuchBookingException if a matching calendar booking could not be found */ public CalendarBooking findByRecurringCalendarBookingId_Last( long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Returns the last calendar booking in the ordered set where recurringCalendarBookingId = ?. * * @param recurringCalendarBookingId the recurring calendar booking ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByRecurringCalendarBookingId_Last( long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the calendar bookings before and after the current calendar booking in the ordered set where recurringCalendarBookingId = ?. * * @param calendarBookingId the primary key of the current calendar booking * @param recurringCalendarBookingId the recurring calendar booking ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next calendar booking * @throws NoSuchBookingException if a calendar booking with the primary key could not be found */ public CalendarBooking[] findByRecurringCalendarBookingId_PrevAndNext( long calendarBookingId, long recurringCalendarBookingId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Removes all the calendar bookings where recurringCalendarBookingId = ? from the database. * * @param recurringCalendarBookingId the recurring calendar booking ID */ public void removeByRecurringCalendarBookingId( long recurringCalendarBookingId); /** * Returns the number of calendar bookings where recurringCalendarBookingId = ?. * * @param recurringCalendarBookingId the recurring calendar booking ID * @return the number of matching calendar bookings */ public int countByRecurringCalendarBookingId( long recurringCalendarBookingId); /** * Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or throws a NoSuchBookingException if it could not be found. * * @param calendarId the calendar ID * @param parentCalendarBookingId the parent calendar booking ID * @return the matching calendar booking * @throws NoSuchBookingException if a matching calendar booking could not be found */ public CalendarBooking findByC_P( long calendarId, long parentCalendarBookingId) throws NoSuchBookingException; /** * Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or returns null if it could not be found. Uses the finder cache. * * @param calendarId the calendar ID * @param parentCalendarBookingId the parent calendar booking ID * @return the matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByC_P( long calendarId, long parentCalendarBookingId); /** * Returns the calendar booking where calendarId = ? and parentCalendarBookingId = ? or returns null if it could not be found, optionally using the finder cache. * * @param calendarId the calendar ID * @param parentCalendarBookingId the parent calendar booking ID * @param useFinderCache whether to use the finder cache * @return the matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByC_P( long calendarId, long parentCalendarBookingId, boolean useFinderCache); /** * Removes the calendar booking where calendarId = ? and parentCalendarBookingId = ? from the database. * * @param calendarId the calendar ID * @param parentCalendarBookingId the parent calendar booking ID * @return the calendar booking that was removed */ public CalendarBooking removeByC_P( long calendarId, long parentCalendarBookingId) throws NoSuchBookingException; /** * Returns the number of calendar bookings where calendarId = ? and parentCalendarBookingId = ?. * * @param calendarId the calendar ID * @param parentCalendarBookingId the parent calendar booking ID * @return the number of matching calendar bookings */ public int countByC_P(long calendarId, long parentCalendarBookingId); /** * Returns the calendar booking where calendarId = ? and vEventUid = ? or throws a NoSuchBookingException if it could not be found. * * @param calendarId the calendar ID * @param vEventUid the v event uid * @return the matching calendar booking * @throws NoSuchBookingException if a matching calendar booking could not be found */ public CalendarBooking findByC_V(long calendarId, String vEventUid) throws NoSuchBookingException; /** * Returns the calendar booking where calendarId = ? and vEventUid = ? or returns null if it could not be found. Uses the finder cache. * * @param calendarId the calendar ID * @param vEventUid the v event uid * @return the matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByC_V(long calendarId, String vEventUid); /** * Returns the calendar booking where calendarId = ? and vEventUid = ? or returns null if it could not be found, optionally using the finder cache. * * @param calendarId the calendar ID * @param vEventUid the v event uid * @param useFinderCache whether to use the finder cache * @return the matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByC_V( long calendarId, String vEventUid, boolean useFinderCache); /** * Removes the calendar booking where calendarId = ? and vEventUid = ? from the database. * * @param calendarId the calendar ID * @param vEventUid the v event uid * @return the calendar booking that was removed */ public CalendarBooking removeByC_V(long calendarId, String vEventUid) throws NoSuchBookingException; /** * Returns the number of calendar bookings where calendarId = ? and vEventUid = ?. * * @param calendarId the calendar ID * @param vEventUid the v event uid * @return the number of matching calendar bookings */ public int countByC_V(long calendarId, String vEventUid); /** * Returns all the calendar bookings where calendarId = ? and status = ?. * * @param calendarId the calendar ID * @param status the status * @return the matching calendar bookings */ public java.util.List findByC_S( long calendarId, int status); /** * 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. *

* * @param calendarId the calendar ID * @param status the status * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @return the range of matching calendar bookings */ public java.util.List findByC_S( long calendarId, int status, int start, int end); /** * 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. *

* * @param calendarId the calendar ID * @param status the status * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching calendar bookings */ public java.util.List findByC_S( long calendarId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator 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. *

* * @param calendarId the calendar ID * @param status the status * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching calendar bookings */ public java.util.List findByC_S( long calendarId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first calendar booking in the ordered set where calendarId = ? and status = ?. * * @param calendarId the calendar ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching calendar booking * @throws NoSuchBookingException if a matching calendar booking could not be found */ public CalendarBooking findByC_S_First( long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Returns the first calendar booking in the ordered set where calendarId = ? and status = ?. * * @param calendarId the calendar ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByC_S_First( long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last calendar booking in the ordered set where calendarId = ? and status = ?. * * @param calendarId the calendar ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching calendar booking * @throws NoSuchBookingException if a matching calendar booking could not be found */ public CalendarBooking findByC_S_Last( long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Returns the last calendar booking in the ordered set where calendarId = ? and status = ?. * * @param calendarId the calendar ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByC_S_Last( long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the calendar bookings before and after the current calendar booking in the ordered set where calendarId = ? and status = ?. * * @param calendarBookingId the primary key of the current calendar booking * @param calendarId the calendar ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next calendar booking * @throws NoSuchBookingException if a calendar booking with the primary key could not be found */ public CalendarBooking[] findByC_S_PrevAndNext( long calendarBookingId, long calendarId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * 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. *

* * @param calendarId the calendar ID * @param statuses the statuses * @return the matching calendar bookings */ public java.util.List findByC_S( long calendarId, int[] statuses); /** * 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. *

* * @param calendarId the calendar ID * @param statuses the statuses * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @return the range of matching calendar bookings */ public java.util.List findByC_S( long calendarId, int[] statuses, int start, int end); /** * 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. *

* * @param calendarId the calendar ID * @param statuses the statuses * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching calendar bookings */ public java.util.List findByC_S( long calendarId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * 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. *

* * @param calendarId the calendar ID * @param statuses the statuses * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching calendar bookings */ public java.util.List findByC_S( long calendarId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Removes all the calendar bookings where calendarId = ? and status = ? from the database. * * @param calendarId the calendar ID * @param status the status */ public void removeByC_S(long calendarId, int status); /** * Returns the number of calendar bookings where calendarId = ? and status = ?. * * @param calendarId the calendar ID * @param status the status * @return the number of matching calendar bookings */ public int countByC_S(long calendarId, int status); /** * Returns the number of calendar bookings where calendarId = ? and status = any ?. * * @param calendarId the calendar ID * @param statuses the statuses * @return the number of matching calendar bookings */ public int countByC_S(long calendarId, int[] statuses); /** * Returns all the calendar bookings where parentCalendarBookingId = ? and status = ?. * * @param parentCalendarBookingId the parent calendar booking ID * @param status the status * @return the matching calendar bookings */ public java.util.List findByP_S( long parentCalendarBookingId, int status); /** * 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. *

* * @param parentCalendarBookingId the parent calendar booking ID * @param status the status * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @return the range of matching calendar bookings */ public java.util.List findByP_S( long parentCalendarBookingId, int status, int start, int end); /** * 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. *

* * @param parentCalendarBookingId the parent calendar booking ID * @param status the status * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching calendar bookings */ public java.util.List findByP_S( long parentCalendarBookingId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator 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. *

* * @param parentCalendarBookingId the parent calendar booking ID * @param status the status * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching calendar bookings */ public java.util.List findByP_S( long parentCalendarBookingId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first calendar booking in the ordered set where parentCalendarBookingId = ? and status = ?. * * @param parentCalendarBookingId the parent calendar booking ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching calendar booking * @throws NoSuchBookingException if a matching calendar booking could not be found */ public CalendarBooking findByP_S_First( long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Returns the first calendar booking in the ordered set where parentCalendarBookingId = ? and status = ?. * * @param parentCalendarBookingId the parent calendar booking ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByP_S_First( long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last calendar booking in the ordered set where parentCalendarBookingId = ? and status = ?. * * @param parentCalendarBookingId the parent calendar booking ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching calendar booking * @throws NoSuchBookingException if a matching calendar booking could not be found */ public CalendarBooking findByP_S_Last( long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Returns the last calendar booking in the ordered set where parentCalendarBookingId = ? and status = ?. * * @param parentCalendarBookingId the parent calendar booking ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching calendar booking, or null if a matching calendar booking could not be found */ public CalendarBooking fetchByP_S_Last( long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the calendar bookings before and after the current calendar booking in the ordered set where parentCalendarBookingId = ? and status = ?. * * @param calendarBookingId the primary key of the current calendar booking * @param parentCalendarBookingId the parent calendar booking ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next calendar booking * @throws NoSuchBookingException if a calendar booking with the primary key could not be found */ public CalendarBooking[] findByP_S_PrevAndNext( long calendarBookingId, long parentCalendarBookingId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchBookingException; /** * Removes all the calendar bookings where parentCalendarBookingId = ? and status = ? from the database. * * @param parentCalendarBookingId the parent calendar booking ID * @param status the status */ public void removeByP_S(long parentCalendarBookingId, int status); /** * Returns the number of calendar bookings where parentCalendarBookingId = ? and status = ?. * * @param parentCalendarBookingId the parent calendar booking ID * @param status the status * @return the number of matching calendar bookings */ public int countByP_S(long parentCalendarBookingId, int status); /** * Caches the calendar booking in the entity cache if it is enabled. * * @param calendarBooking the calendar booking */ public void cacheResult(CalendarBooking calendarBooking); /** * Caches the calendar bookings in the entity cache if it is enabled. * * @param calendarBookings the calendar bookings */ public void cacheResult(java.util.List calendarBookings); /** * Creates a new calendar booking with the primary key. Does not add the calendar booking to the database. * * @param calendarBookingId the primary key for the new calendar booking * @return the new calendar booking */ public CalendarBooking create(long calendarBookingId); /** * Removes the calendar booking with the primary key from the database. Also notifies the appropriate model listeners. * * @param calendarBookingId the primary key of the calendar booking * @return the calendar booking that was removed * @throws NoSuchBookingException if a calendar booking with the primary key could not be found */ public CalendarBooking remove(long calendarBookingId) throws NoSuchBookingException; public CalendarBooking updateImpl(CalendarBooking calendarBooking); /** * Returns the calendar booking with the primary key or throws a NoSuchBookingException if it could not be found. * * @param calendarBookingId the primary key of the calendar booking * @return the calendar booking * @throws NoSuchBookingException if a calendar booking with the primary key could not be found */ public CalendarBooking findByPrimaryKey(long calendarBookingId) throws NoSuchBookingException; /** * Returns the calendar booking with the primary key or returns null if it could not be found. * * @param calendarBookingId the primary key of the calendar booking * @return the calendar booking, or null if a calendar booking with the primary key could not be found */ public CalendarBooking fetchByPrimaryKey(long calendarBookingId); /** * Returns all the calendar bookings. * * @return the calendar bookings */ public java.util.List findAll(); /** * 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. *

* * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @return the range of calendar bookings */ public java.util.List findAll(int start, int end); /** * 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. *

* * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of calendar bookings */ public java.util.List findAll( int start, int end, com.liferay.portal.kernel.util.OrderByComparator 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. *

* * @param start the lower bound of the range of calendar bookings * @param end the upper bound of the range of calendar bookings (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of calendar bookings */ public java.util.List findAll( int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Removes all the calendar bookings from the database. */ public void removeAll(); /** * Returns the number of calendar bookings. * * @return the number of calendar bookings */ public int countAll(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy