@ProviderType public interface CommerceAvailabilityEstimatePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceAvailabilityEstimate>
Caching information and settings can be found in portal.properties
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 |
countByCompanyId(long companyId)
Returns the number of commerce availability estimates where companyId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce availability estimates where uuid = ? and companyId = ?.
|
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 |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns the first commerce availability estimate in the ordered set where companyId = ?.
|
CommerceAvailabilityEstimate |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns the last commerce availability estimate in the ordered set where companyId = ?.
|
CommerceAvailabilityEstimate |
fetchByPrimaryKey(long commerceAvailabilityEstimateId)
Returns the commerce availability estimate with the primary key or returns
null if it could not be found. |
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_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 useFinderCache)
Returns an ordered range of all the commerce availability estimates.
|
CommerceAvailabilityEstimate |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns the first commerce availability estimate in the ordered set where companyId = ?.
|
CommerceAvailabilityEstimate |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
Returns the last commerce availability estimate in the ordered set where companyId = ?.
|
CommerceAvailabilityEstimate[] |
findByCompanyId_PrevAndNext(long commerceAvailabilityEstimateId,
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 companyId = ?.
|
java.util.List<CommerceAvailabilityEstimate> |
findByCompanyId(long companyId)
Returns all the commerce availability estimates where companyId = ?.
|
java.util.List<CommerceAvailabilityEstimate> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce availability estimates where companyId = ?.
|
java.util.List<CommerceAvailabilityEstimate> |
findByCompanyId(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 companyId = ?.
|
java.util.List<CommerceAvailabilityEstimate> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce availability estimates where companyId = ?.
|
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 useFinderCache)
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_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 useFinderCache)
Returns an ordered range of all the commerce availability estimates where uuid = ?.
|
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 |
removeByCompanyId(long companyId)
Removes all the commerce availability estimates where companyId = ? 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.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce availability estimates where uuid = ? from the database.
|
CommerceAvailabilityEstimate |
updateImpl(CommerceAvailabilityEstimate commerceAvailabilityEstimate) |
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<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, then the query will include the default ORDER BY logic from CommerceAvailabilityEstimateModelImpl
.
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, then the query will include the default ORDER BY logic from CommerceAvailabilityEstimateModelImpl
.
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 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 CommerceAvailabilityEstimateModelImpl
.
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
)useFinderCache
- whether to use 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 uuidjava.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, then the query will include the default ORDER BY logic from CommerceAvailabilityEstimateModelImpl
.
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, then the query will include the default ORDER BY logic from CommerceAvailabilityEstimateModelImpl
.
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 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 CommerceAvailabilityEstimateModelImpl
.
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
)useFinderCache
- whether to use 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> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CommerceAvailabilityEstimate> findByCompanyId(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 CommerceAvailabilityEstimateModelImpl
.
companyId
- 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> findByCompanyId(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, then the query will include the default ORDER BY logic from CommerceAvailabilityEstimateModelImpl
.
companyId
- 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> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> 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 CommerceAvailabilityEstimateModelImpl
.
companyId
- 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
)useFinderCache
- whether to use the finder cacheCommerceAvailabilityEstimate findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAvailabilityEstimateException
- if a matching commerce availability estimate could not be foundCommerceAvailabilityEstimate fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce availability estimate could not be foundCommerceAvailabilityEstimate findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAvailabilityEstimateException
- if a matching commerce availability estimate could not be foundCommerceAvailabilityEstimate fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce availability estimate could not be foundCommerceAvailabilityEstimate[] findByCompanyId_PrevAndNext(long commerceAvailabilityEstimateId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException
commerceAvailabilityEstimateId
- the primary key of the current commerce availability estimatecompanyId
- 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 removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company 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.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, then the query will include the default ORDER BY logic from CommerceAvailabilityEstimateModelImpl
.
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, then the query will include the default ORDER BY logic from CommerceAvailabilityEstimateModelImpl
.
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 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 CommerceAvailabilityEstimateModelImpl
.
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
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()