@ProviderType
public class CPDAvailabilityEstimateUtil
extends java.lang.Object
com.liferay.commerce.service.persistence.impl.CPDAvailabilityEstimatePersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
CPDAvailabilityEstimatePersistence,
com.liferay.commerce.service.persistence.impl.CPDAvailabilityEstimatePersistenceImpl| Constructor and Description |
|---|
CPDAvailabilityEstimateUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cacheResult(CPDAvailabilityEstimate cpdAvailabilityEstimate)
Caches the cpd availability estimate in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CPDAvailabilityEstimate> cpdAvailabilityEstimates)
Caches the cpd availability estimates in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CPDAvailabilityEstimate cpdAvailabilityEstimate) |
static int |
countAll()
Returns the number of cpd availability estimates.
|
static int |
countByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId)
Returns the number of cpd availability estimates where commerceAvailabilityEstimateId = ?.
|
static int |
countByCPDefinitionId(long CPDefinitionId)
Returns the number of cpd availability estimates where CPDefinitionId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cpd availability estimates where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of cpd availability estimates where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of cpd availability estimates where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CPDAvailabilityEstimate |
create(long CPDAvailabilityEstimateId)
Creates a new cpd availability estimate with the primary key.
|
static CPDAvailabilityEstimate |
fetchByCommerceAvailabilityEstimateId_First(long commerceAvailabilityEstimateId,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Returns the first cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.
|
static CPDAvailabilityEstimate |
fetchByCommerceAvailabilityEstimateId_Last(long commerceAvailabilityEstimateId,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Returns the last cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.
|
static CPDAvailabilityEstimate |
fetchByCPDefinitionId(long CPDefinitionId)
Returns the cpd availability estimate where CPDefinitionId = ? or returns
null if it could not be found. |
static CPDAvailabilityEstimate |
fetchByCPDefinitionId(long CPDefinitionId,
boolean retrieveFromCache)
Returns the cpd availability estimate where CPDefinitionId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CPDAvailabilityEstimate |
fetchByPrimaryKey(long CPDAvailabilityEstimateId)
Returns the cpd availability estimate with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CPDAvailabilityEstimate> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static CPDAvailabilityEstimate |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Returns the first cpd availability estimate in the ordered set where uuid = ? and companyId = ?.
|
static CPDAvailabilityEstimate |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Returns the last cpd availability estimate in the ordered set where uuid = ? and companyId = ?.
|
static CPDAvailabilityEstimate |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Returns the first cpd availability estimate in the ordered set where uuid = ?.
|
static CPDAvailabilityEstimate |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the cpd availability estimate where uuid = ? and groupId = ? or returns
null if it could not be found. |
static CPDAvailabilityEstimate |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the cpd availability estimate where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CPDAvailabilityEstimate |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Returns the last cpd availability estimate in the ordered set where uuid = ?.
|
static java.util.List<CPDAvailabilityEstimate> |
findAll()
Returns all the cpd availability estimates.
|
static java.util.List<CPDAvailabilityEstimate> |
findAll(int start,
int end)
Returns a range of all the cpd availability estimates.
|
static java.util.List<CPDAvailabilityEstimate> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Returns an ordered range of all the cpd availability estimates.
|
static java.util.List<CPDAvailabilityEstimate> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the cpd availability estimates.
|
static CPDAvailabilityEstimate |
findByCommerceAvailabilityEstimateId_First(long commerceAvailabilityEstimateId,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Returns the first cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.
|
static CPDAvailabilityEstimate |
findByCommerceAvailabilityEstimateId_Last(long commerceAvailabilityEstimateId,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Returns the last cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.
|
static CPDAvailabilityEstimate[] |
findByCommerceAvailabilityEstimateId_PrevAndNext(long CPDAvailabilityEstimateId,
long commerceAvailabilityEstimateId,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Returns the cpd availability estimates before and after the current cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.
|
static java.util.List<CPDAvailabilityEstimate> |
findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId)
Returns all the cpd availability estimates where commerceAvailabilityEstimateId = ?.
|
static java.util.List<CPDAvailabilityEstimate> |
findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId,
int start,
int end)
Returns a range of all the cpd availability estimates where commerceAvailabilityEstimateId = ?.
|
static java.util.List<CPDAvailabilityEstimate> |
findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Returns an ordered range of all the cpd availability estimates where commerceAvailabilityEstimateId = ?.
|
static java.util.List<CPDAvailabilityEstimate> |
findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the cpd availability estimates where commerceAvailabilityEstimateId = ?.
|
static CPDAvailabilityEstimate |
findByCPDefinitionId(long CPDefinitionId)
Returns the cpd availability estimate where CPDefinitionId = ? or throws a
NoSuchCPDAvailabilityEstimateException if it could not be found. |
static CPDAvailabilityEstimate |
findByPrimaryKey(long CPDAvailabilityEstimateId)
Returns the cpd availability estimate with the primary key or throws a
NoSuchCPDAvailabilityEstimateException if it could not be found. |
static CPDAvailabilityEstimate |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Returns the first cpd availability estimate in the ordered set where uuid = ? and companyId = ?.
|
static CPDAvailabilityEstimate |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Returns the last cpd availability estimate in the ordered set where uuid = ? and companyId = ?.
|
static CPDAvailabilityEstimate[] |
findByUuid_C_PrevAndNext(long CPDAvailabilityEstimateId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Returns the cpd availability estimates before and after the current cpd availability estimate in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<CPDAvailabilityEstimate> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cpd availability estimates where uuid = ? and companyId = ?.
|
static java.util.List<CPDAvailabilityEstimate> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cpd availability estimates where uuid = ? and companyId = ?.
|
static java.util.List<CPDAvailabilityEstimate> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Returns an ordered range of all the cpd availability estimates where uuid = ? and companyId = ?.
|
static java.util.List<CPDAvailabilityEstimate> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the cpd availability estimates where uuid = ? and companyId = ?.
|
static CPDAvailabilityEstimate |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Returns the first cpd availability estimate in the ordered set where uuid = ?.
|
static CPDAvailabilityEstimate |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the cpd availability estimate where uuid = ? and groupId = ? or throws a
NoSuchCPDAvailabilityEstimateException if it could not be found. |
static CPDAvailabilityEstimate |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Returns the last cpd availability estimate in the ordered set where uuid = ?.
|
static CPDAvailabilityEstimate[] |
findByUuid_PrevAndNext(long CPDAvailabilityEstimateId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Returns the cpd availability estimates before and after the current cpd availability estimate in the ordered set where uuid = ?.
|
static java.util.List<CPDAvailabilityEstimate> |
findByUuid(java.lang.String uuid)
Returns all the cpd availability estimates where uuid = ?.
|
static java.util.List<CPDAvailabilityEstimate> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cpd availability estimates where uuid = ?.
|
static java.util.List<CPDAvailabilityEstimate> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Returns an ordered range of all the cpd availability estimates where uuid = ?.
|
static java.util.List<CPDAvailabilityEstimate> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the cpd availability estimates where uuid = ?.
|
static java.util.List<CPDAvailabilityEstimate> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CPDAvailabilityEstimate> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CPDAvailabilityEstimate> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) |
static java.util.Set<java.lang.String> |
getBadColumnNames() |
static CPDAvailabilityEstimatePersistence |
getPersistence() |
static CPDAvailabilityEstimate |
remove(long CPDAvailabilityEstimateId)
Removes the cpd availability estimate with the primary key from the database.
|
static void |
removeAll()
Removes all the cpd availability estimates from the database.
|
static void |
removeByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId)
Removes all the cpd availability estimates where commerceAvailabilityEstimateId = ? from the database.
|
static CPDAvailabilityEstimate |
removeByCPDefinitionId(long CPDefinitionId)
Removes the cpd availability estimate where CPDefinitionId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the cpd availability estimates where uuid = ? and companyId = ? from the database.
|
static CPDAvailabilityEstimate |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the cpd availability estimate where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the cpd availability estimates where uuid = ? from the database.
|
static CPDAvailabilityEstimate |
update(CPDAvailabilityEstimate cpdAvailabilityEstimate) |
static CPDAvailabilityEstimate |
update(CPDAvailabilityEstimate cpdAvailabilityEstimate,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CPDAvailabilityEstimate |
updateImpl(CPDAvailabilityEstimate cpdAvailabilityEstimate) |
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(CPDAvailabilityEstimate cpdAvailabilityEstimate)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)public static java.util.List<CPDAvailabilityEstimate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)public static java.util.List<CPDAvailabilityEstimate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)public static java.util.List<CPDAvailabilityEstimate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)public static CPDAvailabilityEstimate update(CPDAvailabilityEstimate cpdAvailabilityEstimate)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)public static CPDAvailabilityEstimate update(CPDAvailabilityEstimate cpdAvailabilityEstimate, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)public static java.util.List<CPDAvailabilityEstimate> findByUuid(java.lang.String uuid)
uuid - the uuidpublic static java.util.List<CPDAvailabilityEstimate> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CPDAvailabilityEstimateModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidstart - the lower bound of the range of cpd availability estimatesend - the upper bound of the range of cpd availability estimates (not inclusive)public static java.util.List<CPDAvailabilityEstimate> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CPDAvailabilityEstimateModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidstart - the lower bound of the range of cpd availability estimatesend - the upper bound of the range of cpd availability estimates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<CPDAvailabilityEstimate> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CPDAvailabilityEstimateModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidstart - the lower bound of the range of cpd availability estimatesend - the upper bound of the range of cpd availability estimates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachepublic static CPDAvailabilityEstimate findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchCPDAvailabilityEstimateException - if a matching cpd availability estimate could not be foundpublic static CPDAvailabilityEstimate fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching cpd availability estimate could not be foundpublic static CPDAvailabilityEstimate findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchCPDAvailabilityEstimateException - if a matching cpd availability estimate could not be foundpublic static CPDAvailabilityEstimate fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching cpd availability estimate could not be foundpublic static CPDAvailabilityEstimate[] findByUuid_PrevAndNext(long CPDAvailabilityEstimateId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException
CPDAvailabilityEstimateId - the primary key of the current cpd availability estimateuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchCPDAvailabilityEstimateException - if a cpd availability estimate with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid - the uuidpublic static int countByUuid(java.lang.String uuid)
uuid - the uuidpublic static CPDAvailabilityEstimate findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPDAvailabilityEstimateException
NoSuchCPDAvailabilityEstimateException if it could not be found.uuid - the uuidgroupId - the group IDNoSuchCPDAvailabilityEstimateException - if a matching cpd availability estimate could not be foundpublic static CPDAvailabilityEstimate fetchByUUID_G(java.lang.String uuid, long groupId)
null if it could not be found. Uses the finder cache.uuid - the uuidgroupId - the group IDnull if a matching cpd availability estimate could not be foundpublic static CPDAvailabilityEstimate fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.uuid - the uuidgroupId - the group IDretrieveFromCache - whether to retrieve from the finder cachenull if a matching cpd availability estimate could not be foundpublic static CPDAvailabilityEstimate removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPDAvailabilityEstimateException
uuid - the uuidgroupId - the group IDNoSuchCPDAvailabilityEstimateExceptionpublic static int countByUUID_G(java.lang.String uuid,
long groupId)
uuid - the uuidgroupId - the group IDpublic static java.util.List<CPDAvailabilityEstimate> findByUuid_C(java.lang.String uuid, long companyId)
uuid - the uuidcompanyId - the company IDpublic static java.util.List<CPDAvailabilityEstimate> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CPDAvailabilityEstimateModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of cpd availability estimatesend - the upper bound of the range of cpd availability estimates (not inclusive)public static java.util.List<CPDAvailabilityEstimate> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CPDAvailabilityEstimateModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of cpd availability estimatesend - the upper bound of the range of cpd availability estimates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<CPDAvailabilityEstimate> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CPDAvailabilityEstimateModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of cpd availability estimatesend - the upper bound of the range of cpd availability estimates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachepublic static CPDAvailabilityEstimate findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCPDAvailabilityEstimateException - if a matching cpd availability estimate could not be foundpublic static CPDAvailabilityEstimate fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching cpd availability estimate could not be foundpublic static CPDAvailabilityEstimate findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCPDAvailabilityEstimateException - if a matching cpd availability estimate could not be foundpublic static CPDAvailabilityEstimate fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching cpd availability estimate could not be foundpublic static CPDAvailabilityEstimate[] findByUuid_C_PrevAndNext(long CPDAvailabilityEstimateId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException
CPDAvailabilityEstimateId - the primary key of the current cpd availability estimateuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCPDAvailabilityEstimateException - if a cpd availability estimate with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid,
long companyId)
uuid - the uuidcompanyId - the company IDpublic static int countByUuid_C(java.lang.String uuid,
long companyId)
uuid - the uuidcompanyId - the company IDpublic static CPDAvailabilityEstimate findByCPDefinitionId(long CPDefinitionId) throws NoSuchCPDAvailabilityEstimateException
NoSuchCPDAvailabilityEstimateException if it could not be found.CPDefinitionId - the cp definition IDNoSuchCPDAvailabilityEstimateException - if a matching cpd availability estimate could not be foundpublic static CPDAvailabilityEstimate fetchByCPDefinitionId(long CPDefinitionId)
null if it could not be found. Uses the finder cache.CPDefinitionId - the cp definition IDnull if a matching cpd availability estimate could not be foundpublic static CPDAvailabilityEstimate fetchByCPDefinitionId(long CPDefinitionId, boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.CPDefinitionId - the cp definition IDretrieveFromCache - whether to retrieve from the finder cachenull if a matching cpd availability estimate could not be foundpublic static CPDAvailabilityEstimate removeByCPDefinitionId(long CPDefinitionId) throws NoSuchCPDAvailabilityEstimateException
CPDefinitionId - the cp definition IDNoSuchCPDAvailabilityEstimateExceptionpublic static int countByCPDefinitionId(long CPDefinitionId)
CPDefinitionId - the cp definition IDpublic static java.util.List<CPDAvailabilityEstimate> findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId)
commerceAvailabilityEstimateId - the commerce availability estimate IDpublic static java.util.List<CPDAvailabilityEstimate> findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CPDAvailabilityEstimateModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
commerceAvailabilityEstimateId - the commerce availability estimate IDstart - the lower bound of the range of cpd availability estimatesend - the upper bound of the range of cpd availability estimates (not inclusive)public static java.util.List<CPDAvailabilityEstimate> findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CPDAvailabilityEstimateModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
commerceAvailabilityEstimateId - the commerce availability estimate IDstart - the lower bound of the range of cpd availability estimatesend - the upper bound of the range of cpd availability estimates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<CPDAvailabilityEstimate> findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CPDAvailabilityEstimateModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
commerceAvailabilityEstimateId - the commerce availability estimate IDstart - the lower bound of the range of cpd availability estimatesend - the upper bound of the range of cpd availability estimates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachepublic static CPDAvailabilityEstimate findByCommerceAvailabilityEstimateId_First(long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException
commerceAvailabilityEstimateId - the commerce availability estimate IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCPDAvailabilityEstimateException - if a matching cpd availability estimate could not be foundpublic static CPDAvailabilityEstimate fetchByCommerceAvailabilityEstimateId_First(long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
commerceAvailabilityEstimateId - the commerce availability estimate IDorderByComparator - the comparator to order the set by (optionally null)null if a matching cpd availability estimate could not be foundpublic static CPDAvailabilityEstimate findByCommerceAvailabilityEstimateId_Last(long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException
commerceAvailabilityEstimateId - the commerce availability estimate IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCPDAvailabilityEstimateException - if a matching cpd availability estimate could not be foundpublic static CPDAvailabilityEstimate fetchByCommerceAvailabilityEstimateId_Last(long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
commerceAvailabilityEstimateId - the commerce availability estimate IDorderByComparator - the comparator to order the set by (optionally null)null if a matching cpd availability estimate could not be foundpublic static CPDAvailabilityEstimate[] findByCommerceAvailabilityEstimateId_PrevAndNext(long CPDAvailabilityEstimateId, long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException
CPDAvailabilityEstimateId - the primary key of the current cpd availability estimatecommerceAvailabilityEstimateId - the commerce availability estimate IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCPDAvailabilityEstimateException - if a cpd availability estimate with the primary key could not be foundpublic static void removeByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId)
commerceAvailabilityEstimateId - the commerce availability estimate IDpublic static int countByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId)
commerceAvailabilityEstimateId - the commerce availability estimate IDpublic static void cacheResult(CPDAvailabilityEstimate cpdAvailabilityEstimate)
cpdAvailabilityEstimate - the cpd availability estimatepublic static void cacheResult(java.util.List<CPDAvailabilityEstimate> cpdAvailabilityEstimates)
cpdAvailabilityEstimates - the cpd availability estimatespublic static CPDAvailabilityEstimate create(long CPDAvailabilityEstimateId)
CPDAvailabilityEstimateId - the primary key for the new cpd availability estimatepublic static CPDAvailabilityEstimate remove(long CPDAvailabilityEstimateId) throws NoSuchCPDAvailabilityEstimateException
CPDAvailabilityEstimateId - the primary key of the cpd availability estimateNoSuchCPDAvailabilityEstimateException - if a cpd availability estimate with the primary key could not be foundpublic static CPDAvailabilityEstimate updateImpl(CPDAvailabilityEstimate cpdAvailabilityEstimate)
public static CPDAvailabilityEstimate findByPrimaryKey(long CPDAvailabilityEstimateId) throws NoSuchCPDAvailabilityEstimateException
NoSuchCPDAvailabilityEstimateException if it could not be found.CPDAvailabilityEstimateId - the primary key of the cpd availability estimateNoSuchCPDAvailabilityEstimateException - if a cpd availability estimate with the primary key could not be foundpublic static CPDAvailabilityEstimate fetchByPrimaryKey(long CPDAvailabilityEstimateId)
null if it could not be found.CPDAvailabilityEstimateId - the primary key of the cpd availability estimatenull if a cpd availability estimate with the primary key could not be foundpublic static java.util.Map<java.io.Serializable,CPDAvailabilityEstimate> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
public static java.util.List<CPDAvailabilityEstimate> findAll()
public static java.util.List<CPDAvailabilityEstimate> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CPDAvailabilityEstimateModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of cpd availability estimatesend - the upper bound of the range of cpd availability estimates (not inclusive)public static java.util.List<CPDAvailabilityEstimate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CPDAvailabilityEstimateModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of cpd availability estimatesend - the upper bound of the range of cpd availability estimates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<CPDAvailabilityEstimate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CPDAvailabilityEstimateModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of cpd availability estimatesend - the upper bound of the range of cpd availability estimates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static java.util.Set<java.lang.String> getBadColumnNames()
public static CPDAvailabilityEstimatePersistence getPersistence()