@ProviderType public interface CPDAvailabilityEstimatePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CPDAvailabilityEstimate>
Caching information and settings can be found in portal.properties
CPDAvailabilityEstimateUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CPDAvailabilityEstimate cpdAvailabilityEstimate)
Caches the cpd availability estimate in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CPDAvailabilityEstimate> cpdAvailabilityEstimates)
Caches the cpd availability estimates in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of cpd availability estimates.
|
int |
countByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId)
Returns the number of cpd availability estimates where commerceAvailabilityEstimateId = ?.
|
int |
countByCProductId(long CProductId)
Returns the number of cpd availability estimates where CProductId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cpd availability estimates where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of cpd availability estimates where uuid = ?.
|
CPDAvailabilityEstimate |
create(long CPDAvailabilityEstimateId)
Creates a new cpd availability estimate with the primary key.
|
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 = ?.
|
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 = ?.
|
CPDAvailabilityEstimate |
fetchByCProductId(long CProductId)
Returns the cpd availability estimate where CProductId = ? or returns
null if it could not be found. |
CPDAvailabilityEstimate |
fetchByCProductId(long CProductId,
boolean useFinderCache)
Returns the cpd availability estimate where CProductId = ? or returns
null if it could not be found, optionally using the finder cache. |
CPDAvailabilityEstimate |
fetchByPrimaryKey(long CPDAvailabilityEstimateId)
Returns the cpd availability estimate with the primary key or returns
null if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CPDAvailabilityEstimate> |
findAll()
Returns all the cpd availability estimates.
|
java.util.List<CPDAvailabilityEstimate> |
findAll(int start,
int end)
Returns a range of all the cpd availability estimates.
|
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.
|
java.util.List<CPDAvailabilityEstimate> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cpd availability estimates.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CPDAvailabilityEstimate> |
findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId)
Returns all the cpd availability estimates where commerceAvailabilityEstimateId = ?.
|
java.util.List<CPDAvailabilityEstimate> |
findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId,
int start,
int end)
Returns a range of all the cpd availability estimates where commerceAvailabilityEstimateId = ?.
|
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 = ?.
|
java.util.List<CPDAvailabilityEstimate> |
findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cpd availability estimates where commerceAvailabilityEstimateId = ?.
|
CPDAvailabilityEstimate |
findByCProductId(long CProductId)
Returns the cpd availability estimate where CProductId = ? or throws a
NoSuchCPDAvailabilityEstimateException if it could not be found. |
CPDAvailabilityEstimate |
findByPrimaryKey(long CPDAvailabilityEstimateId)
Returns the cpd availability estimate with the primary key or throws a
NoSuchCPDAvailabilityEstimateException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CPDAvailabilityEstimate> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cpd availability estimates where uuid = ? and companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 useFinderCache)
Returns an ordered range of all the cpd availability estimates where uuid = ? and companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CPDAvailabilityEstimate> |
findByUuid(java.lang.String uuid)
Returns all the cpd availability estimates where uuid = ?.
|
java.util.List<CPDAvailabilityEstimate> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cpd availability estimates where uuid = ?.
|
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 = ?.
|
java.util.List<CPDAvailabilityEstimate> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cpd availability estimates where uuid = ?.
|
CPDAvailabilityEstimate |
remove(long CPDAvailabilityEstimateId)
Removes the cpd availability estimate with the primary key from the database.
|
void |
removeAll()
Removes all the cpd availability estimates from the database.
|
void |
removeByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId)
Removes all the cpd availability estimates where commerceAvailabilityEstimateId = ? from the database.
|
CPDAvailabilityEstimate |
removeByCProductId(long CProductId)
Removes the cpd availability estimate where CProductId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the cpd availability estimates where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the cpd availability estimates where uuid = ? from the database.
|
CPDAvailabilityEstimate |
updateImpl(CPDAvailabilityEstimate cpdAvailabilityEstimate) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<CPDAvailabilityEstimate> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.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, then the query will include the default ORDER BY logic from CPDAvailabilityEstimateModelImpl
.
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)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, then the query will include the default ORDER BY logic from CPDAvailabilityEstimateModelImpl
.
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
)java.util.List<CPDAvailabilityEstimate> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator, boolean useFinderCache)
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
.
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
)useFinderCache
- whether to use the finder cacheCPDAvailabilityEstimate 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 foundCPDAvailabilityEstimate 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 foundCPDAvailabilityEstimate 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 foundCPDAvailabilityEstimate 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 foundCPDAvailabilityEstimate[] 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 foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CPDAvailabilityEstimate> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.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, then the query will include the default ORDER BY logic from CPDAvailabilityEstimateModelImpl
.
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)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, then the query will include the default ORDER BY logic from CPDAvailabilityEstimateModelImpl
.
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
)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 useFinderCache)
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
.
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
)useFinderCache
- whether to use the finder cacheCPDAvailabilityEstimate 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 foundCPDAvailabilityEstimate 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 foundCPDAvailabilityEstimate 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 foundCPDAvailabilityEstimate 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 foundCPDAvailabilityEstimate[] 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 foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CPDAvailabilityEstimate> findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId)
commerceAvailabilityEstimateId
- the commerce availability estimate IDjava.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, then the query will include the default ORDER BY logic from CPDAvailabilityEstimateModelImpl
.
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)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, then the query will include the default ORDER BY logic from CPDAvailabilityEstimateModelImpl
.
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
)java.util.List<CPDAvailabilityEstimate> findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator, boolean useFinderCache)
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
.
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
)useFinderCache
- whether to use the finder cacheCPDAvailabilityEstimate 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 foundCPDAvailabilityEstimate 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 foundCPDAvailabilityEstimate 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 foundCPDAvailabilityEstimate 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 foundCPDAvailabilityEstimate[] 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 foundvoid removeByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId)
commerceAvailabilityEstimateId
- the commerce availability estimate IDint countByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId)
commerceAvailabilityEstimateId
- the commerce availability estimate IDCPDAvailabilityEstimate findByCProductId(long CProductId) throws NoSuchCPDAvailabilityEstimateException
NoSuchCPDAvailabilityEstimateException
if it could not be found.CProductId
- the c product IDNoSuchCPDAvailabilityEstimateException
- if a matching cpd availability estimate could not be foundCPDAvailabilityEstimate fetchByCProductId(long CProductId)
null
if it could not be found. Uses the finder cache.CProductId
- the c product IDnull
if a matching cpd availability estimate could not be foundCPDAvailabilityEstimate fetchByCProductId(long CProductId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.CProductId
- the c product IDuseFinderCache
- whether to use the finder cachenull
if a matching cpd availability estimate could not be foundCPDAvailabilityEstimate removeByCProductId(long CProductId) throws NoSuchCPDAvailabilityEstimateException
CProductId
- the c product IDNoSuchCPDAvailabilityEstimateException
int countByCProductId(long CProductId)
CProductId
- the c product IDvoid cacheResult(CPDAvailabilityEstimate cpdAvailabilityEstimate)
cpdAvailabilityEstimate
- the cpd availability estimatevoid cacheResult(java.util.List<CPDAvailabilityEstimate> cpdAvailabilityEstimates)
cpdAvailabilityEstimates
- the cpd availability estimatesCPDAvailabilityEstimate create(long CPDAvailabilityEstimateId)
CPDAvailabilityEstimateId
- the primary key for the new cpd availability estimateCPDAvailabilityEstimate 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 foundCPDAvailabilityEstimate updateImpl(CPDAvailabilityEstimate cpdAvailabilityEstimate)
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 foundCPDAvailabilityEstimate 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 foundjava.util.List<CPDAvailabilityEstimate> findAll()
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, then the query will include the default ORDER BY logic from CPDAvailabilityEstimateModelImpl
.
start
- the lower bound of the range of cpd availability estimatesend
- the upper bound of the range of cpd availability estimates (not inclusive)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, then the query will include the default ORDER BY logic from CPDAvailabilityEstimateModelImpl
.
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
)java.util.List<CPDAvailabilityEstimate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator, boolean useFinderCache)
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
.
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
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()