Interface CommerceAvailabilityEstimatePersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceAvailabilityEstimate>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CommerceAvailabilityEstimate commerceAvailabilityEstimate) Caches the commerce availability estimate in the entity cache if it is enabled.void
cacheResult
(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
(String uuid) Returns the number of commerce availability estimates where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of commerce availability estimates where uuid = ? and companyId = ?.create
(long commerceAvailabilityEstimateId) Creates a new commerce availability estimate with the primary key.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the first commerce availability estimate in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the last commerce availability estimate in the ordered set where companyId = ?.fetchByPrimaryKey
(long commerceAvailabilityEstimateId) Returns the commerce availability estimate with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(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 = ?.fetchByUuid_C_Last
(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 = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the first commerce availability estimate in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the last commerce availability estimate in the ordered set where uuid = ?.findAll()
Returns all the commerce availability estimates.findAll
(int start, int end) Returns a range of all the commerce availability estimates.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns an ordered range of all the commerce availability estimates.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.findByCompanyId
(long companyId) Returns all the commerce availability estimates where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the commerce availability estimates where companyId = ?.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 = ?.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 = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the first commerce availability estimate in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the last commerce availability estimate in the ordered set where companyId = ?.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 = ?.findByPrimaryKey
(long commerceAvailabilityEstimateId) Returns the commerce availability estimate with the primary key or throws aNoSuchAvailabilityEstimateException
if it could not be found.findByUuid
(String uuid) Returns all the commerce availability estimates where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the commerce availability estimates where uuid = ?.findByUuid
(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 = ?.findByUuid
(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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the commerce availability estimates where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the commerce availability estimates where uuid = ? and companyId = ?.findByUuid_C
(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 = ?.findByUuid_C
(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 = ?.findByUuid_C_First
(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 = ?.findByUuid_C_Last
(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 = ?.findByUuid_C_PrevAndNext
(long commerceAvailabilityEstimateId, 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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the first commerce availability estimate in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the last commerce availability estimate in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long commerceAvailabilityEstimateId, 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 = ?.remove
(long commerceAvailabilityEstimateId) Removes the commerce availability estimate with the primary key from the database.void
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
(String uuid) Removes all the commerce availability estimates where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the commerce availability estimates where uuid = ? and companyId = ? from the database.updateImpl
(CommerceAvailabilityEstimate commerceAvailabilityEstimate) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
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, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
Returns all the commerce availability estimates where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching commerce availability estimates
-
findByUuid
Returns a range of all the commerce availability estimates where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceAvailabilityEstimateModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce availability estimates
-
findByUuid
List<CommerceAvailabilityEstimate> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceAvailabilityEstimateModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce availability estimates
-
findByUuid
List<CommerceAvailabilityEstimate> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceAvailabilityEstimateModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce availability estimates
-
findByUuid_First
CommerceAvailabilityEstimate findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException Returns the first commerce availability estimate in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce availability estimate
- Throws:
NoSuchAvailabilityEstimateException
- if a matching commerce availability estimate could not be found
-
fetchByUuid_First
CommerceAvailabilityEstimate fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the first commerce availability estimate in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce availability estimate, or
null
if a matching commerce availability estimate could not be found
-
findByUuid_Last
CommerceAvailabilityEstimate findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException Returns the last commerce availability estimate in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce availability estimate
- Throws:
NoSuchAvailabilityEstimateException
- if a matching commerce availability estimate could not be found
-
fetchByUuid_Last
CommerceAvailabilityEstimate fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the last commerce availability estimate in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce availability estimate, or
null
if a matching commerce availability estimate could not be found
-
findByUuid_PrevAndNext
CommerceAvailabilityEstimate[] findByUuid_PrevAndNext(long commerceAvailabilityEstimateId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException Returns the commerce availability estimates before and after the current commerce availability estimate in the ordered set where uuid = ?.- Parameters:
commerceAvailabilityEstimateId
- the primary key of the current commerce availability estimateuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce availability estimate
- Throws:
NoSuchAvailabilityEstimateException
- if a commerce availability estimate with the primary key could not be found
-
removeByUuid
Removes all the commerce availability estimates where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of commerce availability estimates where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching commerce availability estimates
-
findByUuid_C
Returns all the commerce availability estimates where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching commerce availability estimates
-
findByUuid_C
Returns a range of all the commerce availability estimates where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceAvailabilityEstimateModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce availability estimates
-
findByUuid_C
List<CommerceAvailabilityEstimate> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceAvailabilityEstimateModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce availability estimates
-
findByUuid_C
List<CommerceAvailabilityEstimate> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceAvailabilityEstimateModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce availability estimates
-
findByUuid_C_First
CommerceAvailabilityEstimate findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException Returns the first commerce availability estimate in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce availability estimate
- Throws:
NoSuchAvailabilityEstimateException
- if a matching commerce availability estimate could not be found
-
fetchByUuid_C_First
CommerceAvailabilityEstimate fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce availability estimate, or
null
if a matching commerce availability estimate could not be found
-
findByUuid_C_Last
CommerceAvailabilityEstimate findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException Returns the last commerce availability estimate in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce availability estimate
- Throws:
NoSuchAvailabilityEstimateException
- if a matching commerce availability estimate could not be found
-
fetchByUuid_C_Last
CommerceAvailabilityEstimate fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce availability estimate, or
null
if a matching commerce availability estimate could not be found
-
findByUuid_C_PrevAndNext
CommerceAvailabilityEstimate[] findByUuid_C_PrevAndNext(long commerceAvailabilityEstimateId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException Returns the commerce availability estimates before and after the current commerce availability estimate in the ordered set where uuid = ? and companyId = ?.- Parameters:
commerceAvailabilityEstimateId
- the primary key of the current commerce availability estimateuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce availability estimate
- Throws:
NoSuchAvailabilityEstimateException
- if a commerce availability estimate with the primary key could not be found
-
removeByUuid_C
Removes all the commerce availability estimates where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of commerce availability estimates where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching commerce availability estimates
-
findByCompanyId
Returns all the commerce availability estimates where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching commerce availability estimates
-
findByCompanyId
Returns a range of all the commerce availability estimates where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceAvailabilityEstimateModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce availability estimates
-
findByCompanyId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceAvailabilityEstimateModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce availability estimates
-
findByCompanyId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceAvailabilityEstimateModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce availability estimates
-
findByCompanyId_First
CommerceAvailabilityEstimate findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException Returns the first commerce availability estimate in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce availability estimate
- Throws:
NoSuchAvailabilityEstimateException
- if a matching commerce availability estimate could not be found
-
fetchByCompanyId_First
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 = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce availability estimate, or
null
if a matching commerce availability estimate could not be found
-
findByCompanyId_Last
CommerceAvailabilityEstimate findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException Returns the last commerce availability estimate in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce availability estimate
- Throws:
NoSuchAvailabilityEstimateException
- if a matching commerce availability estimate could not be found
-
fetchByCompanyId_Last
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 = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce availability estimate, or
null
if a matching commerce availability estimate could not be found
-
findByCompanyId_PrevAndNext
CommerceAvailabilityEstimate[] findByCompanyId_PrevAndNext(long commerceAvailabilityEstimateId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException Returns the commerce availability estimates before and after the current commerce availability estimate in the ordered set where companyId = ?.- Parameters:
commerceAvailabilityEstimateId
- the primary key of the current commerce availability estimatecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce availability estimate
- Throws:
NoSuchAvailabilityEstimateException
- if a commerce availability estimate with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the commerce availability estimates where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of commerce availability estimates where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching commerce availability estimates
-
cacheResult
Caches the commerce availability estimate in the entity cache if it is enabled.- Parameters:
commerceAvailabilityEstimate
- the commerce availability estimate
-
cacheResult
Caches the commerce availability estimates in the entity cache if it is enabled.- Parameters:
commerceAvailabilityEstimates
- the commerce availability estimates
-
create
Creates a new commerce availability estimate with the primary key. Does not add the commerce availability estimate to the database.- Parameters:
commerceAvailabilityEstimateId
- the primary key for the new commerce availability estimate- Returns:
- the new commerce availability estimate
-
remove
CommerceAvailabilityEstimate remove(long commerceAvailabilityEstimateId) throws NoSuchAvailabilityEstimateException Removes the commerce availability estimate with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceAvailabilityEstimateId
- the primary key of the commerce availability estimate- Returns:
- the commerce availability estimate that was removed
- Throws:
NoSuchAvailabilityEstimateException
- if a commerce availability estimate with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CommerceAvailabilityEstimate findByPrimaryKey(long commerceAvailabilityEstimateId) throws NoSuchAvailabilityEstimateException Returns the commerce availability estimate with the primary key or throws aNoSuchAvailabilityEstimateException
if it could not be found.- Parameters:
commerceAvailabilityEstimateId
- the primary key of the commerce availability estimate- Returns:
- the commerce availability estimate
- Throws:
NoSuchAvailabilityEstimateException
- if a commerce availability estimate with the primary key could not be found
-
fetchByPrimaryKey
Returns the commerce availability estimate with the primary key or returnsnull
if it could not be found.- Parameters:
commerceAvailabilityEstimateId
- the primary key of the commerce availability estimate- Returns:
- the commerce availability estimate, or
null
if a commerce availability estimate with the primary key could not be found
-
findAll
List<CommerceAvailabilityEstimate> findAll()Returns all the commerce availability estimates.- Returns:
- the commerce availability estimates
-
findAll
Returns a range of all the commerce availability estimates.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceAvailabilityEstimateModelImpl
.- Parameters:
start
- the lower bound of the range of commerce availability estimatesend
- the upper bound of the range of commerce availability estimates (not inclusive)- Returns:
- the range of commerce availability estimates
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceAvailabilityEstimateModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of commerce availability estimates
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceAvailabilityEstimateModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of commerce availability estimates
-
removeAll
void removeAll()Removes all the commerce availability estimates from the database. -
countAll
int countAll()Returns the number of commerce availability estimates.- Returns:
- the number of commerce availability estimates
-