Class CommerceAvailabilityEstimateUtil
com.liferay.commerce.service.persistence.impl.CommerceAvailabilityEstimatePersistenceImpl 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 voidcacheResult(CommerceAvailabilityEstimate commerceAvailabilityEstimate) Caches the commerce availability estimate in the entity cache if it is enabled.static voidcacheResult(List<CommerceAvailabilityEstimate> commerceAvailabilityEstimates) Caches the commerce availability estimates in the entity cache if it is enabled.static voidstatic voidclearCache(CommerceAvailabilityEstimate commerceAvailabilityEstimate) static intcountAll()Returns the number of commerce availability estimates.static intcountByCompanyId(long companyId) Returns the number of commerce availability estimates where companyId = ?.static intcountByUuid(String uuid) Returns the number of commerce availability estimates where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of commerce availability estimates where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CommerceAvailabilityEstimatecreate(long commerceAvailabilityEstimateId) Creates a new commerce availability estimate with the primary key.static CommerceAvailabilityEstimatefetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the first commerce availability estimate in the ordered set where companyId = ?.static CommerceAvailabilityEstimatefetchByPrimaryKey(long commerceAvailabilityEstimateId) Returns the commerce availability estimate with the primary key or returnsnullif it could not be found.fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CommerceAvailabilityEstimatefetchByUuid_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 = ?.static CommerceAvailabilityEstimatefetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the first commerce availability estimate in the ordered set where uuid = ?.static intfilterCountByCompanyId(long companyId) Returns the number of commerce availability estimates that the user has permission to view where companyId = ?.static intfilterCountByUuid(String uuid) Returns the number of commerce availability estimates that the user has permission to view where uuid = ?.static intfilterCountByUuid_C(String uuid, long companyId) Returns the number of commerce availability estimates that the user has permission to view where uuid = ? and companyId = ?.static List<CommerceAvailabilityEstimate> filterFindByCompanyId(long companyId) Returns all the commerce availability estimates that the user has permission to view where companyId = ?.static List<CommerceAvailabilityEstimate> filterFindByCompanyId(long companyId, int start, int end) Returns a range of all the commerce availability estimates that the user has permission to view where companyId = ?.static List<CommerceAvailabilityEstimate> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns an ordered range of all the commerce availability estimates that the user has permissions to view where companyId = ?.static List<CommerceAvailabilityEstimate> filterFindByUuid(String uuid) Returns all the commerce availability estimates that the user has permission to view where uuid = ?.static List<CommerceAvailabilityEstimate> filterFindByUuid(String uuid, int start, int end) Returns a range of all the commerce availability estimates that the user has permission to view where uuid = ?.static List<CommerceAvailabilityEstimate> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns an ordered range of all the commerce availability estimates that the user has permissions to view where uuid = ?.static List<CommerceAvailabilityEstimate> filterFindByUuid_C(String uuid, long companyId) Returns all the commerce availability estimates that the user has permission to view where uuid = ? and companyId = ?.static List<CommerceAvailabilityEstimate> filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce availability estimates that the user has permission to view where uuid = ? and companyId = ?.static List<CommerceAvailabilityEstimate> filterFindByUuid_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 that the user has permissions to view where uuid = ? and companyId = ?.static List<CommerceAvailabilityEstimate> findAll()Returns all the commerce availability estimates.static List<CommerceAvailabilityEstimate> findAll(int start, int end) Returns a range of all the commerce availability estimates.static 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.static 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.static List<CommerceAvailabilityEstimate> findByCompanyId(long companyId) Returns all the commerce availability estimates where companyId = ?.static List<CommerceAvailabilityEstimate> findByCompanyId(long companyId, int start, int end) Returns a range of all the commerce availability estimates where companyId = ?.static 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 = ?.static 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 = ?.static CommerceAvailabilityEstimatefindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the first commerce availability estimate in the ordered set where companyId = ?.static CommerceAvailabilityEstimatefindByPrimaryKey(long commerceAvailabilityEstimateId) Returns the commerce availability estimate with the primary key or throws aNoSuchAvailabilityEstimateExceptionif it could not be found.static List<CommerceAvailabilityEstimate> findByUuid(String uuid) Returns all the commerce availability estimates where uuid = ?.static List<CommerceAvailabilityEstimate> findByUuid(String uuid, int start, int end) Returns a range of all the commerce availability estimates where uuid = ?.static 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 = ?.static 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 = ?.static List<CommerceAvailabilityEstimate> findByUuid_C(String uuid, long companyId) Returns all the commerce availability estimates where uuid = ? and companyId = ?.static List<CommerceAvailabilityEstimate> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce availability estimates where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static CommerceAvailabilityEstimatefindByUuid_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 = ?.static CommerceAvailabilityEstimatefindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the first commerce availability estimate in the ordered set where uuid = ?.static List<CommerceAvailabilityEstimate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CommerceAvailabilityEstimate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CommerceAvailabilityEstimate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) static CommerceAvailabilityEstimateremove(long commerceAvailabilityEstimateId) Removes the commerce availability estimate with the primary key from the database.static voidRemoves all the commerce availability estimates from the database.static voidremoveByCompanyId(long companyId) Removes all the commerce availability estimates where companyId = ? from the database.static voidremoveByUuid(String uuid) Removes all the commerce availability estimates where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the commerce availability estimates where uuid = ? and companyId = ? from the database.static voidsetPersistence(CommerceAvailabilityEstimatePersistence persistence) static CommerceAvailabilityEstimateupdate(CommerceAvailabilityEstimate commerceAvailabilityEstimate) static CommerceAvailabilityEstimateupdate(CommerceAvailabilityEstimate commerceAvailabilityEstimate, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommerceAvailabilityEstimateupdateImpl(CommerceAvailabilityEstimate commerceAvailabilityEstimate)
-
Constructor Details
-
CommerceAvailabilityEstimateUtil
public CommerceAvailabilityEstimateUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,CommerceAvailabilityEstimate> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<CommerceAvailabilityEstimate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<CommerceAvailabilityEstimate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<CommerceAvailabilityEstimate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) - See Also:
-
update
public static CommerceAvailabilityEstimate update(CommerceAvailabilityEstimate commerceAvailabilityEstimate) - See Also:
-
update
public static CommerceAvailabilityEstimate update(CommerceAvailabilityEstimate commerceAvailabilityEstimate, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.- 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
public static 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
-
fetchByUuid_First
public static 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
nullif a matching commerce availability estimate could not be found
-
filterFindByUuid
Returns all the commerce availability estimates that the user has permission to view where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching commerce availability estimates that the user has permission to view
-
filterFindByUuid
Returns a range of all the commerce availability estimates that the user has permission to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.- 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 that the user has permission to view
-
filterFindByUuid
public static List<CommerceAvailabilityEstimate> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns an ordered range of all the commerce availability estimates that the user has permissions to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.- 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 that the user has permission to view
-
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
-
filterCountByUuid
Returns the number of commerce availability estimates that the user has permission to view where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching commerce availability estimates that the user has permission to view
-
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
public static List<CommerceAvailabilityEstimate> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce availability estimates where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.- 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
public static 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
-
fetchByUuid_C_First
public static 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
nullif a matching commerce availability estimate could not be found
-
filterFindByUuid_C
Returns all the commerce availability estimates that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching commerce availability estimates that the user has permission to view
-
filterFindByUuid_C
public static List<CommerceAvailabilityEstimate> filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce availability estimates that the user has permission to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.- 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 that the user has permission to view
-
filterFindByUuid_C
public static List<CommerceAvailabilityEstimate> filterFindByUuid_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 that the user has permissions to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.- 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 that the user has permission to view
-
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
-
filterCountByUuid_C
Returns the number of commerce availability estimates that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching commerce availability estimates that the user has permission to view
-
findByCompanyId
Returns all the commerce availability estimates where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching commerce availability estimates
-
findByCompanyId
public static List<CommerceAvailabilityEstimate> findByCompanyId(long companyId, int start, int end) Returns a range of all the commerce availability estimates where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.- 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
public static 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
-
fetchByCompanyId_First
public static 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
nullif a matching commerce availability estimate could not be found
-
filterFindByCompanyId
Returns all the commerce availability estimates that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching commerce availability estimates that the user has permission to view
-
filterFindByCompanyId
public static List<CommerceAvailabilityEstimate> filterFindByCompanyId(long companyId, int start, int end) Returns a range of all the commerce availability estimates that the user has permission to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.- 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 that the user has permission to view
-
filterFindByCompanyId
public static List<CommerceAvailabilityEstimate> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns an ordered range of all the commerce availability estimates that the user has permissions to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.- 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 that the user has permission to view
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the commerce availability estimates where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static 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
-
filterCountByCompanyId
public static int filterCountByCompanyId(long companyId) Returns the number of commerce availability estimates that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching commerce availability estimates that the user has permission to view
-
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
public static 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
-
updateImpl
public static CommerceAvailabilityEstimate updateImpl(CommerceAvailabilityEstimate commerceAvailabilityEstimate) -
findByPrimaryKey
public static CommerceAvailabilityEstimate findByPrimaryKey(long commerceAvailabilityEstimateId) throws NoSuchAvailabilityEstimateException Returns the commerce availability estimate with the primary key or throws aNoSuchAvailabilityEstimateExceptionif it could not be found.- Parameters:
commerceAvailabilityEstimateId- the primary key of the commerce availability estimate- Returns:
- the commerce availability estimate
-
fetchByPrimaryKey
Returns the commerce availability estimate with the primary key or returnsnullif it could not be found.- Parameters:
commerceAvailabilityEstimateId- the primary key of the commerce availability estimate- Returns:
- the commerce availability estimate, or
nullif a commerce availability estimate with the primary key could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.- 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
public static void removeAll()Removes all the commerce availability estimates from the database. -
countAll
public static int countAll()Returns the number of commerce availability estimates.- Returns:
- the number of commerce availability estimates
-
getPersistence
-
setPersistence
-