Class CPDAvailabilityEstimateUtil
com.liferay.commerce.service.persistence.impl.CPDAvailabilityEstimatePersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(CPDAvailabilityEstimate cpdAvailabilityEstimate) Caches the cpd availability estimate in the entity cache if it is enabled.static void
cacheResult
(List<CPDAvailabilityEstimate> cpdAvailabilityEstimates) Caches the cpd availability estimates in the entity cache if it is enabled.static void
static void
clearCache
(CPDAvailabilityEstimate cpdAvailabilityEstimate) static int
countAll()
Returns the number of cpd availability estimates.static int
countByCommerceAvailabilityEstimateId
(long commerceAvailabilityEstimateId) Returns the number of cpd availability estimates where commerceAvailabilityEstimateId = ?.static int
countByCProductId
(long CProductId) Returns the number of cpd availability estimates where CProductId = ?.static int
countByUuid
(String uuid) Returns the number of cpd availability estimates where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of cpd availability estimates where uuid = ? and companyId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CPDAvailabilityEstimate
create
(long CPDAvailabilityEstimateId) Creates a new cpd availability estimate with the primary key.static 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 = ?.static 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 = ?.static CPDAvailabilityEstimate
fetchByCProductId
(long CProductId) Returns the cpd availability estimate where CProductId = ? or returnsnull
if it could not be found.static CPDAvailabilityEstimate
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.static CPDAvailabilityEstimate
fetchByPrimaryKey
(long CPDAvailabilityEstimateId) Returns the cpd availability estimate with the primary key or returnsnull
if it could not be found.static Map<Serializable,
CPDAvailabilityEstimate> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static List<CPDAvailabilityEstimate>
findAll()
Returns all the cpd availability estimates.static List<CPDAvailabilityEstimate>
findAll
(int start, int end) Returns a range of all the cpd availability estimates.static 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.static 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.static List<CPDAvailabilityEstimate>
findByCommerceAvailabilityEstimateId
(long commerceAvailabilityEstimateId) Returns all the cpd availability estimates where commerceAvailabilityEstimateId = ?.static List<CPDAvailabilityEstimate>
findByCommerceAvailabilityEstimateId
(long commerceAvailabilityEstimateId, int start, int end) Returns a range of all the cpd availability estimates where commerceAvailabilityEstimateId = ?.static 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 = ?.static 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 = ?.static CPDAvailabilityEstimate
findByCommerceAvailabilityEstimateId_First
(long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the first cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.static CPDAvailabilityEstimate
findByCommerceAvailabilityEstimateId_Last
(long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the last cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.static CPDAvailabilityEstimate[]
findByCommerceAvailabilityEstimateId_PrevAndNext
(long CPDAvailabilityEstimateId, long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the cpd availability estimates before and after the current cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.static CPDAvailabilityEstimate
findByCProductId
(long CProductId) Returns the cpd availability estimate where CProductId = ? or throws aNoSuchCPDAvailabilityEstimateException
if it could not be found.static CPDAvailabilityEstimate
findByPrimaryKey
(long CPDAvailabilityEstimateId) Returns the cpd availability estimate with the primary key or throws aNoSuchCPDAvailabilityEstimateException
if it could not be found.static List<CPDAvailabilityEstimate>
findByUuid
(String uuid) Returns all the cpd availability estimates where uuid = ?.static List<CPDAvailabilityEstimate>
findByUuid
(String uuid, int start, int end) Returns a range of all the cpd availability estimates where uuid = ?.static 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 = ?.static 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 = ?.static List<CPDAvailabilityEstimate>
findByUuid_C
(String uuid, long companyId) Returns all the cpd availability estimates where uuid = ? and companyId = ?.static List<CPDAvailabilityEstimate>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the cpd availability estimates where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static CPDAvailabilityEstimate
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 = ?.static CPDAvailabilityEstimate
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 = ?.static CPDAvailabilityEstimate[]
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 = ?.static CPDAvailabilityEstimate
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the first cpd availability estimate in the ordered set where uuid = ?.static CPDAvailabilityEstimate
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) Returns the last cpd availability estimate in the ordered set where uuid = ?.static CPDAvailabilityEstimate[]
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 = ?.static List<CPDAvailabilityEstimate>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CPDAvailabilityEstimate>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CPDAvailabilityEstimate>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) static CPDAvailabilityEstimate
remove
(long CPDAvailabilityEstimateId) Removes the cpd availability estimate with the primary key from the database.static void
Removes all the cpd availability estimates from the database.static void
removeByCommerceAvailabilityEstimateId
(long commerceAvailabilityEstimateId) Removes all the cpd availability estimates where commerceAvailabilityEstimateId = ? from the database.static CPDAvailabilityEstimate
removeByCProductId
(long CProductId) Removes the cpd availability estimate where CProductId = ? from the database.static void
removeByUuid
(String uuid) Removes all the cpd availability estimates where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the cpd availability estimates where uuid = ? and companyId = ? from the database.static void
setPersistence
(CPDAvailabilityEstimatePersistence persistence) static CPDAvailabilityEstimate
update
(CPDAvailabilityEstimate cpdAvailabilityEstimate) static CPDAvailabilityEstimate
update
(CPDAvailabilityEstimate cpdAvailabilityEstimate, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CPDAvailabilityEstimate
updateImpl
(CPDAvailabilityEstimate cpdAvailabilityEstimate)
-
Constructor Details
-
CPDAvailabilityEstimateUtil
public CPDAvailabilityEstimateUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,CPDAvailabilityEstimate> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CPDAvailabilityEstimate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CPDAvailabilityEstimate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CPDAvailabilityEstimate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CPDAvailabilityEstimate update(CPDAvailabilityEstimate cpdAvailabilityEstimate, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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
public static 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
public static 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
public static 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 foundNoSuchCPDAvailabilityEstimateException
-
fetchByUuid_First
public static 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
public static 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 foundNoSuchCPDAvailabilityEstimateException
-
fetchByUuid_Last
public static 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
public static 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 foundNoSuchCPDAvailabilityEstimateException
-
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
public static List<CPDAvailabilityEstimate> findByUuid_C(String uuid, long companyId, int start, int end) 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
public static 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
public static 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
public static 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 foundNoSuchCPDAvailabilityEstimateException
-
fetchByUuid_C_First
public static 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
public static 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 foundNoSuchCPDAvailabilityEstimateException
-
fetchByUuid_C_Last
public static 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
public static 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 foundNoSuchCPDAvailabilityEstimateException
-
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
public static 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
public static 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
public static 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
public static 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
public static 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 foundNoSuchCPDAvailabilityEstimateException
-
fetchByCommerceAvailabilityEstimateId_First
public static 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
public static 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 foundNoSuchCPDAvailabilityEstimateException
-
fetchByCommerceAvailabilityEstimateId_Last
public static 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
public static 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 foundNoSuchCPDAvailabilityEstimateException
-
removeByCommerceAvailabilityEstimateId
public static void removeByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId) Removes all the cpd availability estimates where commerceAvailabilityEstimateId = ? from the database.- Parameters:
commerceAvailabilityEstimateId
- the commerce availability estimate ID
-
countByCommerceAvailabilityEstimateId
public static 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
public static 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 foundNoSuchCPDAvailabilityEstimateException
-
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
public static 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
public static 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
public static 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 foundNoSuchCPDAvailabilityEstimateException
-
updateImpl
-
findByPrimaryKey
public static 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 foundNoSuchCPDAvailabilityEstimateException
-
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
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
public static 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
public static 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
public static void removeAll()Removes all the cpd availability estimates from the database. -
countAll
public static int countAll()Returns the number of cpd availability estimates.- Returns:
- the number of cpd availability estimates
-
getPersistence
-
setPersistence
-