@ProviderType public interface CommerceAvailabilityEstimatePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceAvailabilityEstimate>
Caching information and settings can be found in portal.properties
com.liferay.commerce.service.persistence.impl.CommerceAvailabilityEstimatePersistenceImpl,
CommerceAvailabilityEstimateUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(CommerceAvailabilityEstimate commerceAvailabilityEstimate)
Caches the commerce availability estimate in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceAvailabilityEstimate> commerceAvailabilityEstimates)
Caches the commerce availability estimates in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce availability estimates.
|
int |
countByGroupId(long groupId)
Returns the number of commerce availability estimates where groupId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce availability estimates where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of commerce availability estimates where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce availability estimates where uuid = ?.
|
CommerceAvailabilityEstimate |
create(long commerceAvailabilityEstimateId)
Creates a new commerce availability estimate with the primary key.
|
CommerceAvailabilityEstimate |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns the first commerce availability estimate in the ordered set where groupId = ?.
|
CommerceAvailabilityEstimate |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns the last commerce availability estimate in the ordered set where groupId = ?.
|
CommerceAvailabilityEstimate |
fetchByPrimaryKey(long commerceAvailabilityEstimateId)
Returns the commerce availability estimate with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,CommerceAvailabilityEstimate> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
CommerceAvailabilityEstimate |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns the first commerce availability estimate in the ordered set where uuid = ? and companyId = ?.
|
CommerceAvailabilityEstimate |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns the last commerce availability estimate in the ordered set where uuid = ? and companyId = ?.
|
CommerceAvailabilityEstimate |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns the first commerce availability estimate in the ordered set where uuid = ?.
|
CommerceAvailabilityEstimate |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce availability estimate where uuid = ? and groupId = ? or returns
null if it could not be found. |
CommerceAvailabilityEstimate |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the commerce availability estimate where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceAvailabilityEstimate |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns the last commerce availability estimate in the ordered set where uuid = ?.
|
java.util.List<CommerceAvailabilityEstimate> |
findAll()
Returns all the commerce availability estimates.
|
java.util.List<CommerceAvailabilityEstimate> |
findAll(int start,
int end)
Returns a range of all the commerce availability estimates.
|
java.util.List<CommerceAvailabilityEstimate> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns an ordered range of all the commerce availability estimates.
|
java.util.List<CommerceAvailabilityEstimate> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce availability estimates.
|
CommerceAvailabilityEstimate |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns the first commerce availability estimate in the ordered set where groupId = ?.
|
CommerceAvailabilityEstimate |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns the last commerce availability estimate in the ordered set where groupId = ?.
|
CommerceAvailabilityEstimate[] |
findByGroupId_PrevAndNext(long commerceAvailabilityEstimateId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns the commerce availability estimates before and after the current commerce availability estimate in the ordered set where groupId = ?.
|
java.util.List<CommerceAvailabilityEstimate> |
findByGroupId(long groupId)
Returns all the commerce availability estimates where groupId = ?.
|
java.util.List<CommerceAvailabilityEstimate> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the commerce availability estimates where groupId = ?.
|
java.util.List<CommerceAvailabilityEstimate> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns an ordered range of all the commerce availability estimates where groupId = ?.
|
java.util.List<CommerceAvailabilityEstimate> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce availability estimates where groupId = ?.
|
CommerceAvailabilityEstimate |
findByPrimaryKey(long commerceAvailabilityEstimateId)
Returns the commerce availability estimate with the primary key or throws a
NoSuchAvailabilityEstimateException if it could not be found. |
CommerceAvailabilityEstimate |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns the first commerce availability estimate in the ordered set where uuid = ? and companyId = ?.
|
CommerceAvailabilityEstimate |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns the last commerce availability estimate in the ordered set where uuid = ? and companyId = ?.
|
CommerceAvailabilityEstimate[] |
findByUuid_C_PrevAndNext(long commerceAvailabilityEstimateId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns the commerce availability estimates before and after the current commerce availability estimate in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CommerceAvailabilityEstimate> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce availability estimates where uuid = ? and companyId = ?.
|
java.util.List<CommerceAvailabilityEstimate> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce availability estimates where uuid = ? and companyId = ?.
|
java.util.List<CommerceAvailabilityEstimate> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns an ordered range of all the commerce availability estimates where uuid = ? and companyId = ?.
|
java.util.List<CommerceAvailabilityEstimate> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce availability estimates where uuid = ? and companyId = ?.
|
CommerceAvailabilityEstimate |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns the first commerce availability estimate in the ordered set where uuid = ?.
|
CommerceAvailabilityEstimate |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce availability estimate where uuid = ? and groupId = ? or throws a
NoSuchAvailabilityEstimateException if it could not be found. |
CommerceAvailabilityEstimate |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns the last commerce availability estimate in the ordered set where uuid = ?.
|
CommerceAvailabilityEstimate[] |
findByUuid_PrevAndNext(long commerceAvailabilityEstimateId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns the commerce availability estimates before and after the current commerce availability estimate in the ordered set where uuid = ?.
|
java.util.List<CommerceAvailabilityEstimate> |
findByUuid(java.lang.String uuid)
Returns all the commerce availability estimates where uuid = ?.
|
java.util.List<CommerceAvailabilityEstimate> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce availability estimates where uuid = ?.
|
java.util.List<CommerceAvailabilityEstimate> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns an ordered range of all the commerce availability estimates where uuid = ?.
|
java.util.List<CommerceAvailabilityEstimate> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce availability estimates where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
CommerceAvailabilityEstimate |
remove(long commerceAvailabilityEstimateId)
Removes the commerce availability estimate with the primary key from the database.
|
void |
removeAll()
Removes all the commerce availability estimates from the database.
|
void |
removeByGroupId(long groupId)
Removes all the commerce availability estimates where groupId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce availability estimates where uuid = ? and companyId = ? from the database.
|
CommerceAvailabilityEstimate |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the commerce availability estimate where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce availability estimates where uuid = ? from the database.
|
CommerceAvailabilityEstimate |
updateImpl(CommerceAvailabilityEstimate commerceAvailabilityEstimate) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updatejava.util.List<CommerceAvailabilityEstimate> findByUuid(java.lang.String uuid)
uuid - the uuidjava.util.List<CommerceAvailabilityEstimate> 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 CommerceAvailabilityEstimateModelImpl. 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 commerce availability estimatesend - the upper bound of the range of commerce availability estimates (not inclusive)java.util.List<CommerceAvailabilityEstimate> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> 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 CommerceAvailabilityEstimateModelImpl. 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 commerce availability estimatesend - the upper bound of the range of commerce availability estimates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAvailabilityEstimate> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> 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 CommerceAvailabilityEstimateModelImpl. 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 commerce availability estimatesend - the upper bound of the range of commerce availability estimates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheCommerceAvailabilityEstimate findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchAvailabilityEstimateException - if a matching commerce availability estimate could not be foundCommerceAvailabilityEstimate fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce availability estimate could not be foundCommerceAvailabilityEstimate findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchAvailabilityEstimateException - if a matching commerce availability estimate could not be foundCommerceAvailabilityEstimate fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce availability estimate could not be foundCommerceAvailabilityEstimate[] findByUuid_PrevAndNext(long commerceAvailabilityEstimateId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException
commerceAvailabilityEstimateId - the primary key of the current commerce availability estimateuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchAvailabilityEstimateException - if a commerce 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 uuidCommerceAvailabilityEstimate findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchAvailabilityEstimateException
NoSuchAvailabilityEstimateException if it could not be found.uuid - the uuidgroupId - the group IDNoSuchAvailabilityEstimateException - if a matching commerce availability estimate could not be foundCommerceAvailabilityEstimate 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 commerce availability estimate could not be foundCommerceAvailabilityEstimate 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 commerce availability estimate could not be foundCommerceAvailabilityEstimate removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchAvailabilityEstimateException
uuid - the uuidgroupId - the group IDNoSuchAvailabilityEstimateExceptionint countByUUID_G(java.lang.String uuid,
long groupId)
uuid - the uuidgroupId - the group IDjava.util.List<CommerceAvailabilityEstimate> findByUuid_C(java.lang.String uuid, long companyId)
uuid - the uuidcompanyId - the company IDjava.util.List<CommerceAvailabilityEstimate> 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 CommerceAvailabilityEstimateModelImpl. 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 commerce availability estimatesend - the upper bound of the range of commerce availability estimates (not inclusive)java.util.List<CommerceAvailabilityEstimate> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> 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 CommerceAvailabilityEstimateModelImpl. 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 commerce availability estimatesend - the upper bound of the range of commerce availability estimates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAvailabilityEstimate> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> 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 CommerceAvailabilityEstimateModelImpl. 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 commerce availability estimatesend - the upper bound of the range of commerce availability estimates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheCommerceAvailabilityEstimate findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAvailabilityEstimateException - if a matching commerce availability estimate could not be foundCommerceAvailabilityEstimate fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce availability estimate could not be foundCommerceAvailabilityEstimate findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAvailabilityEstimateException - if a matching commerce availability estimate could not be foundCommerceAvailabilityEstimate fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce availability estimate could not be foundCommerceAvailabilityEstimate[] findByUuid_C_PrevAndNext(long commerceAvailabilityEstimateId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException
commerceAvailabilityEstimateId - the primary key of the current commerce availability estimateuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAvailabilityEstimateException - if a commerce 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<CommerceAvailabilityEstimate> findByGroupId(long groupId)
groupId - the group IDjava.util.List<CommerceAvailabilityEstimate> findByGroupId(long groupId, 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 CommerceAvailabilityEstimateModelImpl. 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.
groupId - the group IDstart - the lower bound of the range of commerce availability estimatesend - the upper bound of the range of commerce availability estimates (not inclusive)java.util.List<CommerceAvailabilityEstimate> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> 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 CommerceAvailabilityEstimateModelImpl. 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.
groupId - the group IDstart - the lower bound of the range of commerce availability estimatesend - the upper bound of the range of commerce availability estimates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAvailabilityEstimate> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> 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 CommerceAvailabilityEstimateModelImpl. 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.
groupId - the group IDstart - the lower bound of the range of commerce availability estimatesend - the upper bound of the range of commerce availability estimates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheCommerceAvailabilityEstimate findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAvailabilityEstimateException - if a matching commerce availability estimate could not be foundCommerceAvailabilityEstimate fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce availability estimate could not be foundCommerceAvailabilityEstimate findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAvailabilityEstimateException - if a matching commerce availability estimate could not be foundCommerceAvailabilityEstimate fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce availability estimate could not be foundCommerceAvailabilityEstimate[] findByGroupId_PrevAndNext(long commerceAvailabilityEstimateId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException
commerceAvailabilityEstimateId - the primary key of the current commerce availability estimategroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAvailabilityEstimateException - if a commerce availability estimate with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId - the group IDint countByGroupId(long groupId)
groupId - the group IDvoid cacheResult(CommerceAvailabilityEstimate commerceAvailabilityEstimate)
commerceAvailabilityEstimate - the commerce availability estimatevoid cacheResult(java.util.List<CommerceAvailabilityEstimate> commerceAvailabilityEstimates)
commerceAvailabilityEstimates - the commerce availability estimatesCommerceAvailabilityEstimate create(long commerceAvailabilityEstimateId)
commerceAvailabilityEstimateId - the primary key for the new commerce availability estimateCommerceAvailabilityEstimate remove(long commerceAvailabilityEstimateId) throws NoSuchAvailabilityEstimateException
commerceAvailabilityEstimateId - the primary key of the commerce availability estimateNoSuchAvailabilityEstimateException - if a commerce availability estimate with the primary key could not be foundCommerceAvailabilityEstimate updateImpl(CommerceAvailabilityEstimate commerceAvailabilityEstimate)
CommerceAvailabilityEstimate findByPrimaryKey(long commerceAvailabilityEstimateId) throws NoSuchAvailabilityEstimateException
NoSuchAvailabilityEstimateException if it could not be found.commerceAvailabilityEstimateId - the primary key of the commerce availability estimateNoSuchAvailabilityEstimateException - if a commerce availability estimate with the primary key could not be foundCommerceAvailabilityEstimate fetchByPrimaryKey(long commerceAvailabilityEstimateId)
null if it could not be found.commerceAvailabilityEstimateId - the primary key of the commerce availability estimatenull if a commerce availability estimate with the primary key could not be foundjava.util.Map<java.io.Serializable,CommerceAvailabilityEstimate> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceAvailabilityEstimate>java.util.List<CommerceAvailabilityEstimate> findAll()
java.util.List<CommerceAvailabilityEstimate> 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 CommerceAvailabilityEstimateModelImpl. 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 commerce availability estimatesend - the upper bound of the range of commerce availability estimates (not inclusive)java.util.List<CommerceAvailabilityEstimate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> 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 CommerceAvailabilityEstimateModelImpl. 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 commerce availability estimatesend - the upper bound of the range of commerce availability estimates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAvailabilityEstimate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> 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 CommerceAvailabilityEstimateModelImpl. 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 commerce availability estimatesend - the upper bound of the range of commerce availability estimates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceAvailabilityEstimate>