Interface CPDAvailabilityEstimatePersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPDAvailabilityEstimate>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CPDAvailabilityEstimate cpdAvailabilityEstimate) Caches the cpd availability estimate in the entity cache if it is enabled.void
cacheResult
(List<CPDAvailabilityEstimate> cpdAvailabilityEstimates) Caches the cpd availability estimates in the entity cache if it is enabled.int
countAll()
Returns the number of cpd availability estimates.int
countByCommerceAvailabilityEstimateId
(long commerceAvailabilityEstimateId) Returns the number of cpd availability estimates where commerceAvailabilityEstimateId = ?.int
countByCProductId
(long CProductId) Returns the number of cpd availability estimates where CProductId = ?.int
countByUuid
(String uuid) Returns the number of cpd availability estimates where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of cpd availability estimates where uuid = ? and companyId = ?.create
(long CPDAvailabilityEstimateId) Creates a new cpd availability estimate with the primary key.fetchByCommerceAvailabilityEstimateId_First
(long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the first cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.fetchByCommerceAvailabilityEstimateId_Last
(long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the last cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.fetchByCProductId
(long CProductId) Returns the cpd availability estimate where CProductId = ? or returnsnull
if it could not be found.fetchByCProductId
(long CProductId, boolean useFinderCache) Returns the cpd availability estimate where CProductId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long CPDAvailabilityEstimateId) Returns the cpd 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<CPDAvailabilityEstimate> orderByComparator) Returns the first cpd availability estimate in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the last cpd availability estimate in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the first cpd availability estimate in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the last cpd availability estimate in the ordered set where uuid = ?.findAll()
Returns all the cpd availability estimates.findAll
(int start, int end) Returns a range of all the cpd availability estimates.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns an ordered range of all the cpd availability estimates.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cpd availability estimates.findByCommerceAvailabilityEstimateId
(long commerceAvailabilityEstimateId) Returns all the cpd availability estimates where commerceAvailabilityEstimateId = ?.findByCommerceAvailabilityEstimateId
(long commerceAvailabilityEstimateId, int start, int end) Returns a range of all the cpd availability estimates where commerceAvailabilityEstimateId = ?.findByCommerceAvailabilityEstimateId
(long commerceAvailabilityEstimateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns an ordered range of all the cpd availability estimates where commerceAvailabilityEstimateId = ?.findByCommerceAvailabilityEstimateId
(long commerceAvailabilityEstimateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cpd availability estimates where commerceAvailabilityEstimateId = ?.findByCommerceAvailabilityEstimateId_First
(long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the first cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.findByCommerceAvailabilityEstimateId_Last
(long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the last cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.findByCommerceAvailabilityEstimateId_PrevAndNext
(long CPDAvailabilityEstimateId, long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the cpd availability estimates before and after the current cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.findByCProductId
(long CProductId) Returns the cpd availability estimate where CProductId = ? or throws aNoSuchCPDAvailabilityEstimateException
if it could not be found.findByPrimaryKey
(long CPDAvailabilityEstimateId) Returns the cpd availability estimate with the primary key or throws aNoSuchCPDAvailabilityEstimateException
if it could not be found.findByUuid
(String uuid) Returns all the cpd availability estimates where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the cpd availability estimates where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns an ordered range of all the cpd availability estimates where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cpd availability estimates where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the cpd availability estimates where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the cpd availability estimates where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns an ordered range of all the cpd availability estimates where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cpd availability estimates where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the first cpd availability estimate in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the last cpd availability estimate in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long CPDAvailabilityEstimateId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the cpd availability estimates before and after the current cpd availability estimate in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the first cpd availability estimate in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the last cpd availability estimate in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long CPDAvailabilityEstimateId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the cpd availability estimates before and after the current cpd availability estimate in the ordered set where uuid = ?.remove
(long CPDAvailabilityEstimateId) Removes the cpd availability estimate with the primary key from the database.void
Removes all the cpd availability estimates from the database.void
removeByCommerceAvailabilityEstimateId
(long commerceAvailabilityEstimateId) Removes all the cpd availability estimates where commerceAvailabilityEstimateId = ? from the database.removeByCProductId
(long CProductId) Removes the cpd availability estimate where CProductId = ? from the database.void
removeByUuid
(String uuid) Removes all the cpd availability estimates where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the cpd availability estimates where uuid = ? and companyId = ? from the database.updateImpl
(CPDAvailabilityEstimate cpdAvailabilityEstimate) 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 cpd availability estimates where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching cpd availability estimates
-
findByUuid
Returns a range of all the cpd 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 fromCPDAvailabilityEstimateModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cpd availability estimatesend
- the upper bound of the range of cpd availability estimates (not inclusive)- Returns:
- the range of matching cpd availability estimates
-
findByUuid
List<CPDAvailabilityEstimate> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns an ordered range of all the cpd availability estimates where uuid = ?.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 fromCPDAvailabilityEstimateModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cpd availability estimatesend
- the upper bound of the range of cpd availability estimates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cpd availability estimates
-
findByUuid
List<CPDAvailabilityEstimate> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cpd availability estimates where uuid = ?.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 fromCPDAvailabilityEstimateModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cpd availability estimatesend
- the upper bound of the range of cpd availability estimates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cpd availability estimates
-
findByUuid_First
CPDAvailabilityEstimate findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException Returns the first cpd availability estimate in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cpd availability estimate
- Throws:
NoSuchCPDAvailabilityEstimateException
- if a matching cpd availability estimate could not be found
-
fetchByUuid_First
CPDAvailabilityEstimate fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the first cpd availability estimate in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cpd availability estimate, or
null
if a matching cpd availability estimate could not be found
-
findByUuid_Last
CPDAvailabilityEstimate findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException Returns the last cpd availability estimate in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cpd availability estimate
- Throws:
NoSuchCPDAvailabilityEstimateException
- if a matching cpd availability estimate could not be found
-
fetchByUuid_Last
CPDAvailabilityEstimate fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the last cpd availability estimate in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cpd availability estimate, or
null
if a matching cpd availability estimate could not be found
-
findByUuid_PrevAndNext
CPDAvailabilityEstimate[] findByUuid_PrevAndNext(long CPDAvailabilityEstimateId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException Returns the cpd availability estimates before and after the current cpd availability estimate in the ordered set where uuid = ?.- Parameters:
CPDAvailabilityEstimateId
- the primary key of the current cpd availability estimateuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cpd availability estimate
- Throws:
NoSuchCPDAvailabilityEstimateException
- if a cpd availability estimate with the primary key could not be found
-
removeByUuid
Removes all the cpd availability estimates where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of cpd availability estimates where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching cpd availability estimates
-
findByUuid_C
Returns all the cpd availability estimates where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching cpd availability estimates
-
findByUuid_C
Returns a range of all the cpd 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 fromCPDAvailabilityEstimateModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cpd availability estimatesend
- the upper bound of the range of cpd availability estimates (not inclusive)- Returns:
- the range of matching cpd availability estimates
-
findByUuid_C
List<CPDAvailabilityEstimate> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns an ordered range of all the cpd availability estimates where uuid = ? and companyId = ?.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 fromCPDAvailabilityEstimateModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cpd availability estimatesend
- the upper bound of the range of cpd availability estimates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cpd availability estimates
-
findByUuid_C
List<CPDAvailabilityEstimate> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cpd availability estimates where uuid = ? and companyId = ?.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 fromCPDAvailabilityEstimateModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cpd availability estimatesend
- the upper bound of the range of cpd availability estimates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cpd availability estimates
-
findByUuid_C_First
CPDAvailabilityEstimate findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException Returns the first cpd 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 cpd availability estimate
- Throws:
NoSuchCPDAvailabilityEstimateException
- if a matching cpd availability estimate could not be found
-
fetchByUuid_C_First
CPDAvailabilityEstimate fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the first cpd availability estimate in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cpd availability estimate, or
null
if a matching cpd availability estimate could not be found
-
findByUuid_C_Last
CPDAvailabilityEstimate findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException Returns the last cpd 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 cpd availability estimate
- Throws:
NoSuchCPDAvailabilityEstimateException
- if a matching cpd availability estimate could not be found
-
fetchByUuid_C_Last
CPDAvailabilityEstimate fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the last cpd availability estimate in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cpd availability estimate, or
null
if a matching cpd availability estimate could not be found
-
findByUuid_C_PrevAndNext
CPDAvailabilityEstimate[] findByUuid_C_PrevAndNext(long CPDAvailabilityEstimateId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException Returns the cpd availability estimates before and after the current cpd availability estimate in the ordered set where uuid = ? and companyId = ?.- Parameters:
CPDAvailabilityEstimateId
- the primary key of the current cpd availability estimateuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cpd availability estimate
- Throws:
NoSuchCPDAvailabilityEstimateException
- if a cpd availability estimate with the primary key could not be found
-
removeByUuid_C
Removes all the cpd availability estimates where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of cpd availability estimates where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching cpd availability estimates
-
findByCommerceAvailabilityEstimateId
List<CPDAvailabilityEstimate> findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId) Returns all the cpd availability estimates where commerceAvailabilityEstimateId = ?.- Parameters:
commerceAvailabilityEstimateId
- the commerce availability estimate ID- Returns:
- the matching cpd availability estimates
-
findByCommerceAvailabilityEstimateId
List<CPDAvailabilityEstimate> findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId, int start, int end) Returns a range of all the cpd availability estimates where commerceAvailabilityEstimateId = ?.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 fromCPDAvailabilityEstimateModelImpl
.- Parameters:
commerceAvailabilityEstimateId
- the commerce availability estimate IDstart
- the lower bound of the range of cpd availability estimatesend
- the upper bound of the range of cpd availability estimates (not inclusive)- Returns:
- the range of matching cpd availability estimates
-
findByCommerceAvailabilityEstimateId
List<CPDAvailabilityEstimate> findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns an ordered range of all the cpd availability estimates where commerceAvailabilityEstimateId = ?.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 fromCPDAvailabilityEstimateModelImpl
.- Parameters:
commerceAvailabilityEstimateId
- the commerce availability estimate IDstart
- the lower bound of the range of cpd availability estimatesend
- the upper bound of the range of cpd availability estimates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cpd availability estimates
-
findByCommerceAvailabilityEstimateId
List<CPDAvailabilityEstimate> findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cpd availability estimates where commerceAvailabilityEstimateId = ?.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 fromCPDAvailabilityEstimateModelImpl
.- Parameters:
commerceAvailabilityEstimateId
- the commerce availability estimate IDstart
- the lower bound of the range of cpd availability estimatesend
- the upper bound of the range of cpd availability estimates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cpd availability estimates
-
findByCommerceAvailabilityEstimateId_First
CPDAvailabilityEstimate findByCommerceAvailabilityEstimateId_First(long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException Returns the first cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.- Parameters:
commerceAvailabilityEstimateId
- the commerce availability estimate IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cpd availability estimate
- Throws:
NoSuchCPDAvailabilityEstimateException
- if a matching cpd availability estimate could not be found
-
fetchByCommerceAvailabilityEstimateId_First
CPDAvailabilityEstimate fetchByCommerceAvailabilityEstimateId_First(long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the first cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.- Parameters:
commerceAvailabilityEstimateId
- the commerce availability estimate IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cpd availability estimate, or
null
if a matching cpd availability estimate could not be found
-
findByCommerceAvailabilityEstimateId_Last
CPDAvailabilityEstimate findByCommerceAvailabilityEstimateId_Last(long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException Returns the last cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.- Parameters:
commerceAvailabilityEstimateId
- the commerce availability estimate IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cpd availability estimate
- Throws:
NoSuchCPDAvailabilityEstimateException
- if a matching cpd availability estimate could not be found
-
fetchByCommerceAvailabilityEstimateId_Last
CPDAvailabilityEstimate fetchByCommerceAvailabilityEstimateId_Last(long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the last cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.- Parameters:
commerceAvailabilityEstimateId
- the commerce availability estimate IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cpd availability estimate, or
null
if a matching cpd availability estimate could not be found
-
findByCommerceAvailabilityEstimateId_PrevAndNext
CPDAvailabilityEstimate[] findByCommerceAvailabilityEstimateId_PrevAndNext(long CPDAvailabilityEstimateId, long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException Returns the cpd availability estimates before and after the current cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.- Parameters:
CPDAvailabilityEstimateId
- the primary key of the current cpd availability estimatecommerceAvailabilityEstimateId
- the commerce availability estimate IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cpd availability estimate
- Throws:
NoSuchCPDAvailabilityEstimateException
- if a cpd availability estimate with the primary key could not be found
-
removeByCommerceAvailabilityEstimateId
void removeByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId) Removes all the cpd availability estimates where commerceAvailabilityEstimateId = ? from the database.- Parameters:
commerceAvailabilityEstimateId
- the commerce availability estimate ID
-
countByCommerceAvailabilityEstimateId
int countByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId) Returns the number of cpd availability estimates where commerceAvailabilityEstimateId = ?.- Parameters:
commerceAvailabilityEstimateId
- the commerce availability estimate ID- Returns:
- the number of matching cpd availability estimates
-
findByCProductId
CPDAvailabilityEstimate findByCProductId(long CProductId) throws NoSuchCPDAvailabilityEstimateException Returns the cpd availability estimate where CProductId = ? or throws aNoSuchCPDAvailabilityEstimateException
if it could not be found.- Parameters:
CProductId
- the c product ID- Returns:
- the matching cpd availability estimate
- Throws:
NoSuchCPDAvailabilityEstimateException
- if a matching cpd availability estimate could not be found
-
fetchByCProductId
Returns the cpd availability estimate where CProductId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
CProductId
- the c product ID- Returns:
- the matching cpd availability estimate, or
null
if a matching cpd availability estimate could not be found
-
fetchByCProductId
Returns the cpd availability estimate where CProductId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
CProductId
- the c product IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cpd availability estimate, or
null
if a matching cpd availability estimate could not be found
-
removeByCProductId
CPDAvailabilityEstimate removeByCProductId(long CProductId) throws NoSuchCPDAvailabilityEstimateException Removes the cpd availability estimate where CProductId = ? from the database.- Parameters:
CProductId
- the c product ID- Returns:
- the cpd availability estimate that was removed
- Throws:
NoSuchCPDAvailabilityEstimateException
-
countByCProductId
int countByCProductId(long CProductId) Returns the number of cpd availability estimates where CProductId = ?.- Parameters:
CProductId
- the c product ID- Returns:
- the number of matching cpd availability estimates
-
cacheResult
Caches the cpd availability estimate in the entity cache if it is enabled.- Parameters:
cpdAvailabilityEstimate
- the cpd availability estimate
-
cacheResult
Caches the cpd availability estimates in the entity cache if it is enabled.- Parameters:
cpdAvailabilityEstimates
- the cpd availability estimates
-
create
Creates a new cpd availability estimate with the primary key. Does not add the cpd availability estimate to the database.- Parameters:
CPDAvailabilityEstimateId
- the primary key for the new cpd availability estimate- Returns:
- the new cpd availability estimate
-
remove
CPDAvailabilityEstimate remove(long CPDAvailabilityEstimateId) throws NoSuchCPDAvailabilityEstimateException Removes the cpd availability estimate with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPDAvailabilityEstimateId
- the primary key of the cpd availability estimate- Returns:
- the cpd availability estimate that was removed
- Throws:
NoSuchCPDAvailabilityEstimateException
- if a cpd availability estimate with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CPDAvailabilityEstimate findByPrimaryKey(long CPDAvailabilityEstimateId) throws NoSuchCPDAvailabilityEstimateException Returns the cpd availability estimate with the primary key or throws aNoSuchCPDAvailabilityEstimateException
if it could not be found.- Parameters:
CPDAvailabilityEstimateId
- the primary key of the cpd availability estimate- Returns:
- the cpd availability estimate
- Throws:
NoSuchCPDAvailabilityEstimateException
- if a cpd availability estimate with the primary key could not be found
-
fetchByPrimaryKey
Returns the cpd availability estimate with the primary key or returnsnull
if it could not be found.- Parameters:
CPDAvailabilityEstimateId
- the primary key of the cpd availability estimate- Returns:
- the cpd availability estimate, or
null
if a cpd availability estimate with the primary key could not be found
-
findAll
List<CPDAvailabilityEstimate> findAll()Returns all the cpd availability estimates.- Returns:
- the cpd availability estimates
-
findAll
Returns a range of all the cpd 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 fromCPDAvailabilityEstimateModelImpl
.- Parameters:
start
- the lower bound of the range of cpd availability estimatesend
- the upper bound of the range of cpd availability estimates (not inclusive)- Returns:
- the range of cpd availability estimates
-
findAll
List<CPDAvailabilityEstimate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns an ordered range of all the cpd availability estimates.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 fromCPDAvailabilityEstimateModelImpl
.- Parameters:
start
- the lower bound of the range of cpd availability estimatesend
- the upper bound of the range of cpd availability estimates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of cpd availability estimates
-
findAll
List<CPDAvailabilityEstimate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cpd availability estimates.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 fromCPDAvailabilityEstimateModelImpl
.- Parameters:
start
- the lower bound of the range of cpd availability estimatesend
- the upper bound of the range of cpd availability estimates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of cpd availability estimates
-
removeAll
void removeAll()Removes all the cpd availability estimates from the database. -
countAll
int countAll()Returns the number of cpd availability estimates.- Returns:
- the number of cpd availability estimates
-