com.liferay.commerce.service.persistence.CPDAvailabilityEstimatePersistence Maven / Gradle / Ivy
/**
* 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.commerce.service.persistence;
import com.liferay.commerce.exception.NoSuchCPDAvailabilityEstimateException;
import com.liferay.commerce.model.CPDAvailabilityEstimate;
import com.liferay.portal.kernel.service.persistence.BasePersistence;
import org.osgi.annotation.versioning.ProviderType;
/**
* The persistence interface for the cpd availability estimate service.
*
*
* Caching information and settings can be found in portal.properties
*
*
* @author Alessio Antonio Rendina
* @see CPDAvailabilityEstimateUtil
* @generated
*/
@ProviderType
public interface CPDAvailabilityEstimatePersistence
extends BasePersistence {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link CPDAvailabilityEstimateUtil} to access the cpd availability estimate persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this interface.
*/
/**
* Returns all the cpd availability estimates where uuid = ?.
*
* @param uuid the uuid
* @return the matching cpd availability estimates
*/
public java.util.List findByUuid(String uuid);
/**
* Returns a range of all the cpd availability estimates 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 CPDAvailabilityEstimateModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of cpd availability estimates
* @param end the upper bound of the range of cpd availability estimates (not inclusive)
* @return the range of matching cpd availability estimates
*/
public java.util.List findByUuid(
String uuid, int start, int end);
/**
* Returns an ordered range of all the cpd availability estimates 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 CPDAvailabilityEstimateModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of cpd availability estimates
* @param end the upper bound of the range of cpd availability estimates (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching cpd availability estimates
*/
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 cpd availability estimates 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 CPDAvailabilityEstimateModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of cpd availability estimates
* @param end the upper bound of the range of cpd availability estimates (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 cpd availability estimates
*/
public java.util.List findByUuid(
String uuid, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first cpd availability estimate 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 cpd availability estimate
* @throws NoSuchCPDAvailabilityEstimateException if a matching cpd availability estimate could not be found
*/
public CPDAvailabilityEstimate findByUuid_First(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchCPDAvailabilityEstimateException;
/**
* Returns the first cpd availability estimate 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 cpd availability estimate, or null
if a matching cpd availability estimate could not be found
*/
public CPDAvailabilityEstimate fetchByUuid_First(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last cpd availability estimate 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 cpd availability estimate
* @throws NoSuchCPDAvailabilityEstimateException if a matching cpd availability estimate could not be found
*/
public CPDAvailabilityEstimate findByUuid_Last(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchCPDAvailabilityEstimateException;
/**
* Returns the last cpd availability estimate 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 cpd availability estimate, or null
if a matching cpd availability estimate could not be found
*/
public CPDAvailabilityEstimate fetchByUuid_Last(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the cpd availability estimates before and after the current cpd availability estimate in the ordered set where uuid = ?.
*
* @param CPDAvailabilityEstimateId the primary key of the current cpd availability estimate
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next cpd availability estimate
* @throws NoSuchCPDAvailabilityEstimateException if a cpd availability estimate with the primary key could not be found
*/
public CPDAvailabilityEstimate[] findByUuid_PrevAndNext(
long CPDAvailabilityEstimateId, String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchCPDAvailabilityEstimateException;
/**
* Removes all the cpd availability estimates where uuid = ? from the database.
*
* @param uuid the uuid
*/
public void removeByUuid(String uuid);
/**
* Returns the number of cpd availability estimates where uuid = ?.
*
* @param uuid the uuid
* @return the number of matching cpd availability estimates
*/
public int countByUuid(String uuid);
/**
* Returns all the cpd availability estimates where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the matching cpd availability estimates
*/
public java.util.List findByUuid_C(
String uuid, long companyId);
/**
* Returns a range of all the cpd availability estimates 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 CPDAvailabilityEstimateModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of cpd availability estimates
* @param end the upper bound of the range of cpd availability estimates (not inclusive)
* @return the range of matching cpd availability estimates
*/
public java.util.List findByUuid_C(
String uuid, long companyId, int start, int end);
/**
* Returns an ordered range of all the cpd availability estimates 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 CPDAvailabilityEstimateModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of cpd availability estimates
* @param end the upper bound of the range of cpd availability estimates (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching cpd availability estimates
*/
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 cpd availability estimates 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 CPDAvailabilityEstimateModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of cpd availability estimates
* @param end the upper bound of the range of cpd availability estimates (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 cpd availability estimates
*/
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 cpd availability estimate 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 cpd availability estimate
* @throws NoSuchCPDAvailabilityEstimateException if a matching cpd availability estimate could not be found
*/
public CPDAvailabilityEstimate findByUuid_C_First(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchCPDAvailabilityEstimateException;
/**
* Returns the first cpd availability estimate 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 cpd availability estimate, or null
if a matching cpd availability estimate could not be found
*/
public CPDAvailabilityEstimate fetchByUuid_C_First(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last cpd availability estimate 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 cpd availability estimate
* @throws NoSuchCPDAvailabilityEstimateException if a matching cpd availability estimate could not be found
*/
public CPDAvailabilityEstimate findByUuid_C_Last(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchCPDAvailabilityEstimateException;
/**
* Returns the last cpd availability estimate 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 cpd availability estimate, or null
if a matching cpd availability estimate could not be found
*/
public CPDAvailabilityEstimate fetchByUuid_C_Last(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the cpd availability estimates before and after the current cpd availability estimate in the ordered set where uuid = ? and companyId = ?.
*
* @param CPDAvailabilityEstimateId the primary key of the current cpd availability estimate
* @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 cpd availability estimate
* @throws NoSuchCPDAvailabilityEstimateException if a cpd availability estimate with the primary key could not be found
*/
public CPDAvailabilityEstimate[] findByUuid_C_PrevAndNext(
long CPDAvailabilityEstimateId, String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchCPDAvailabilityEstimateException;
/**
* Removes all the cpd availability estimates 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 cpd availability estimates where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the number of matching cpd availability estimates
*/
public int countByUuid_C(String uuid, long companyId);
/**
* Returns all the cpd availability estimates where commerceAvailabilityEstimateId = ?.
*
* @param commerceAvailabilityEstimateId the commerce availability estimate ID
* @return the matching cpd availability estimates
*/
public java.util.List
findByCommerceAvailabilityEstimateId(
long commerceAvailabilityEstimateId);
/**
* Returns a range of all the cpd availability estimates where commerceAvailabilityEstimateId = ?.
*
*
* 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 CPDAvailabilityEstimateModelImpl
.
*
*
* @param commerceAvailabilityEstimateId the commerce availability estimate ID
* @param start the lower bound of the range of cpd availability estimates
* @param end the upper bound of the range of cpd availability estimates (not inclusive)
* @return the range of matching cpd availability estimates
*/
public java.util.List
findByCommerceAvailabilityEstimateId(
long commerceAvailabilityEstimateId, int start, int end);
/**
* Returns an ordered range of all the cpd availability estimates where commerceAvailabilityEstimateId = ?.
*
*
* 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 CPDAvailabilityEstimateModelImpl
.
*
*
* @param commerceAvailabilityEstimateId the commerce availability estimate ID
* @param start the lower bound of the range of cpd availability estimates
* @param end the upper bound of the range of cpd availability estimates (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching cpd availability estimates
*/
public java.util.List
findByCommerceAvailabilityEstimateId(
long commerceAvailabilityEstimateId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the cpd availability estimates where commerceAvailabilityEstimateId = ?.
*
*
* 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 CPDAvailabilityEstimateModelImpl
.
*
*
* @param commerceAvailabilityEstimateId the commerce availability estimate ID
* @param start the lower bound of the range of cpd availability estimates
* @param end the upper bound of the range of cpd availability estimates (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 cpd availability estimates
*/
public java.util.List
findByCommerceAvailabilityEstimateId(
long commerceAvailabilityEstimateId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.
*
* @param commerceAvailabilityEstimateId the commerce availability estimate ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching cpd availability estimate
* @throws NoSuchCPDAvailabilityEstimateException if a matching cpd availability estimate could not be found
*/
public CPDAvailabilityEstimate findByCommerceAvailabilityEstimateId_First(
long commerceAvailabilityEstimateId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchCPDAvailabilityEstimateException;
/**
* Returns the first cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.
*
* @param commerceAvailabilityEstimateId the commerce availability estimate ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching cpd availability estimate, or null
if a matching cpd availability estimate could not be found
*/
public CPDAvailabilityEstimate fetchByCommerceAvailabilityEstimateId_First(
long commerceAvailabilityEstimateId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.
*
* @param commerceAvailabilityEstimateId the commerce availability estimate ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching cpd availability estimate
* @throws NoSuchCPDAvailabilityEstimateException if a matching cpd availability estimate could not be found
*/
public CPDAvailabilityEstimate findByCommerceAvailabilityEstimateId_Last(
long commerceAvailabilityEstimateId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchCPDAvailabilityEstimateException;
/**
* Returns the last cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.
*
* @param commerceAvailabilityEstimateId the commerce availability estimate ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching cpd availability estimate, or null
if a matching cpd availability estimate could not be found
*/
public CPDAvailabilityEstimate fetchByCommerceAvailabilityEstimateId_Last(
long commerceAvailabilityEstimateId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the cpd availability estimates before and after the current cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.
*
* @param CPDAvailabilityEstimateId the primary key of the current cpd availability estimate
* @param commerceAvailabilityEstimateId the commerce availability estimate ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next cpd availability estimate
* @throws NoSuchCPDAvailabilityEstimateException if a cpd availability estimate with the primary key could not be found
*/
public CPDAvailabilityEstimate[]
findByCommerceAvailabilityEstimateId_PrevAndNext(
long CPDAvailabilityEstimateId,
long commerceAvailabilityEstimateId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchCPDAvailabilityEstimateException;
/**
* Removes all the cpd availability estimates where commerceAvailabilityEstimateId = ? from the database.
*
* @param commerceAvailabilityEstimateId the commerce availability estimate ID
*/
public void removeByCommerceAvailabilityEstimateId(
long commerceAvailabilityEstimateId);
/**
* Returns the number of cpd availability estimates where commerceAvailabilityEstimateId = ?.
*
* @param commerceAvailabilityEstimateId the commerce availability estimate ID
* @return the number of matching cpd availability estimates
*/
public int countByCommerceAvailabilityEstimateId(
long commerceAvailabilityEstimateId);
/**
* Returns the cpd availability estimate where CProductId = ? or throws a NoSuchCPDAvailabilityEstimateException
if it could not be found.
*
* @param CProductId the c product ID
* @return the matching cpd availability estimate
* @throws NoSuchCPDAvailabilityEstimateException if a matching cpd availability estimate could not be found
*/
public CPDAvailabilityEstimate findByCProductId(long CProductId)
throws NoSuchCPDAvailabilityEstimateException;
/**
* Returns the cpd availability estimate where CProductId = ? or returns null
if it could not be found. Uses the finder cache.
*
* @param CProductId the c product ID
* @return the matching cpd availability estimate, or null
if a matching cpd availability estimate could not be found
*/
public CPDAvailabilityEstimate fetchByCProductId(long CProductId);
/**
* Returns the cpd availability estimate where CProductId = ? or returns null
if it could not be found, optionally using the finder cache.
*
* @param CProductId the c product ID
* @param useFinderCache whether to use the finder cache
* @return the matching cpd availability estimate, or null
if a matching cpd availability estimate could not be found
*/
public CPDAvailabilityEstimate fetchByCProductId(
long CProductId, boolean useFinderCache);
/**
* Removes the cpd availability estimate where CProductId = ? from the database.
*
* @param CProductId the c product ID
* @return the cpd availability estimate that was removed
*/
public CPDAvailabilityEstimate removeByCProductId(long CProductId)
throws NoSuchCPDAvailabilityEstimateException;
/**
* Returns the number of cpd availability estimates where CProductId = ?.
*
* @param CProductId the c product ID
* @return the number of matching cpd availability estimates
*/
public int countByCProductId(long CProductId);
/**
* Caches the cpd availability estimate in the entity cache if it is enabled.
*
* @param cpdAvailabilityEstimate the cpd availability estimate
*/
public void cacheResult(CPDAvailabilityEstimate cpdAvailabilityEstimate);
/**
* Caches the cpd availability estimates in the entity cache if it is enabled.
*
* @param cpdAvailabilityEstimates the cpd availability estimates
*/
public void cacheResult(
java.util.List cpdAvailabilityEstimates);
/**
* Creates a new cpd availability estimate with the primary key. Does not add the cpd availability estimate to the database.
*
* @param CPDAvailabilityEstimateId the primary key for the new cpd availability estimate
* @return the new cpd availability estimate
*/
public CPDAvailabilityEstimate create(long CPDAvailabilityEstimateId);
/**
* Removes the cpd availability estimate with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param CPDAvailabilityEstimateId the primary key of the cpd availability estimate
* @return the cpd availability estimate that was removed
* @throws NoSuchCPDAvailabilityEstimateException if a cpd availability estimate with the primary key could not be found
*/
public CPDAvailabilityEstimate remove(long CPDAvailabilityEstimateId)
throws NoSuchCPDAvailabilityEstimateException;
public CPDAvailabilityEstimate updateImpl(
CPDAvailabilityEstimate cpdAvailabilityEstimate);
/**
* Returns the cpd availability estimate with the primary key or throws a NoSuchCPDAvailabilityEstimateException
if it could not be found.
*
* @param CPDAvailabilityEstimateId the primary key of the cpd availability estimate
* @return the cpd availability estimate
* @throws NoSuchCPDAvailabilityEstimateException if a cpd availability estimate with the primary key could not be found
*/
public CPDAvailabilityEstimate findByPrimaryKey(
long CPDAvailabilityEstimateId)
throws NoSuchCPDAvailabilityEstimateException;
/**
* Returns the cpd availability estimate with the primary key or returns null
if it could not be found.
*
* @param CPDAvailabilityEstimateId the primary key of the cpd availability estimate
* @return the cpd availability estimate, or null
if a cpd availability estimate with the primary key could not be found
*/
public CPDAvailabilityEstimate fetchByPrimaryKey(
long CPDAvailabilityEstimateId);
/**
* Returns all the cpd availability estimates.
*
* @return the cpd availability estimates
*/
public java.util.List findAll();
/**
* Returns a range of all the cpd availability estimates.
*
*
* 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 CPDAvailabilityEstimateModelImpl
.
*
*
* @param start the lower bound of the range of cpd availability estimates
* @param end the upper bound of the range of cpd availability estimates (not inclusive)
* @return the range of cpd availability estimates
*/
public java.util.List findAll(int start, int end);
/**
* Returns an ordered range of all the cpd availability estimates.
*
*
* 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 CPDAvailabilityEstimateModelImpl
.
*
*
* @param start the lower bound of the range of cpd availability estimates
* @param end the upper bound of the range of cpd availability estimates (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of cpd availability estimates
*/
public java.util.List findAll(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the cpd availability estimates.
*
*
* 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 CPDAvailabilityEstimateModelImpl
.
*
*
* @param start the lower bound of the range of cpd availability estimates
* @param end the upper bound of the range of cpd availability estimates (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 cpd availability estimates
*/
public java.util.List findAll(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Removes all the cpd availability estimates from the database.
*/
public void removeAll();
/**
* Returns the number of cpd availability estimates.
*
* @return the number of cpd availability estimates
*/
public int countAll();
}