Interface CommerceAvailabilityEstimatePersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceAvailabilityEstimate>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(CommerceAvailabilityEstimate commerceAvailabilityEstimate) Caches the commerce availability estimate in the entity cache if it is enabled.voidcacheResult(List<CommerceAvailabilityEstimate> commerceAvailabilityEstimates) Caches the commerce availability estimates in the entity cache if it is enabled.intcountAll()Returns the number of commerce availability estimates.intcountByCompanyId(long companyId) Returns the number of commerce availability estimates where companyId = ?.intcountByUuid(String uuid) Returns the number of commerce availability estimates where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of commerce availability estimates where uuid = ? and companyId = ?.create(long commerceAvailabilityEstimateId) Creates a new commerce availability estimate with the primary key.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the first commerce availability estimate in the ordered set where companyId = ?.fetchByPrimaryKey(long commerceAvailabilityEstimateId) Returns the commerce availability estimate with the primary key or returnsnullif it could not be found.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the first commerce availability estimate in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the first commerce availability estimate in the ordered set where uuid = ?.intfilterCountByCompanyId(long companyId) Returns the number of commerce availability estimates that the user has permission to view where companyId = ?.intfilterCountByUuid(String uuid) Returns the number of commerce availability estimates that the user has permission to view where uuid = ?.intfilterCountByUuid_C(String uuid, long companyId) Returns the number of commerce availability estimates that the user has permission to view where uuid = ? and companyId = ?.filterFindByCompanyId(long companyId) Returns all the commerce availability estimates that the user has permission to view where companyId = ?.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 = ?.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 = ?.filterFindByUuid(String uuid) Returns all the commerce availability estimates that the user has permission to view where uuid = ?.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 = ?.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 = ?.filterFindByUuid_C(String uuid, long companyId) Returns all the commerce availability estimates that the user has permission to view where uuid = ? and companyId = ?.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 = ?.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 = ?.findAll()Returns all the commerce availability estimates.findAll(int start, int end) Returns a range of all the commerce availability estimates.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns an ordered range of all the commerce availability estimates.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce availability estimates.findByCompanyId(long companyId) Returns all the commerce availability estimates where companyId = ?.findByCompanyId(long companyId, int start, int end) Returns a range of all the commerce availability estimates where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns an ordered range of all the commerce availability estimates where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce availability estimates where companyId = ?.findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the first commerce availability estimate in the ordered set where companyId = ?.findByPrimaryKey(long commerceAvailabilityEstimateId) Returns the commerce availability estimate with the primary key or throws aNoSuchAvailabilityEstimateExceptionif it could not be found.findByUuid(String uuid) Returns all the commerce availability estimates where uuid = ?.findByUuid(String uuid, int start, int end) Returns a range of all the commerce availability estimates where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns an ordered range of all the commerce availability estimates where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce availability estimates where uuid = ?.findByUuid_C(String uuid, long companyId) Returns all the commerce availability estimates where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce availability estimates where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns an ordered range of all the commerce availability estimates where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce availability estimates where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the first commerce availability estimate in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the first commerce availability estimate in the ordered set where uuid = ?.remove(long commerceAvailabilityEstimateId) Removes the commerce availability estimate with the primary key from the database.voidRemoves all the commerce availability estimates from the database.voidremoveByCompanyId(long companyId) Removes all the commerce availability estimates where companyId = ? from the database.voidremoveByUuid(String uuid) Removes all the commerce availability estimates where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the commerce availability estimates where uuid = ? and companyId = ? from the database.updateImpl(CommerceAvailabilityEstimate commerceAvailabilityEstimate) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
Returns all the commerce availability estimates where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching commerce availability estimates
-
findByUuid
Returns a range of all the commerce availability estimates where uuid = ?.Useful when paginating results. Returns a maximum of
end - 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
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
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
CommerceAvailabilityEstimate findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException Returns the first commerce availability estimate in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce availability estimate
- Throws:
NoSuchAvailabilityEstimateException- if a matching commerce availability estimate could not be found
-
fetchByUuid_First
CommerceAvailabilityEstimate fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the first commerce availability estimate in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce availability estimate, or
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
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
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
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
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
CommerceAvailabilityEstimate findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException Returns the first commerce availability estimate in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce availability estimate
- Throws:
NoSuchAvailabilityEstimateException- if a matching commerce availability estimate could not be found
-
fetchByUuid_C_First
CommerceAvailabilityEstimate fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the first commerce availability estimate in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce availability estimate, or
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
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
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
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
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
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
CommerceAvailabilityEstimate findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException Returns the first commerce availability estimate in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce availability estimate
- Throws:
NoSuchAvailabilityEstimateException- if a matching commerce availability estimate could not be found
-
fetchByCompanyId_First
CommerceAvailabilityEstimate fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) Returns the first commerce availability estimate in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce availability estimate, or
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
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
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
void removeByCompanyId(long companyId) Removes all the commerce availability estimates where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of commerce availability estimates where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching commerce availability estimates
-
filterCountByCompanyId
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
CommerceAvailabilityEstimate remove(long commerceAvailabilityEstimateId) throws NoSuchAvailabilityEstimateException Removes the commerce availability estimate with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceAvailabilityEstimateId- the primary key of the commerce availability estimate- Returns:
- the commerce availability estimate that was removed
- Throws:
NoSuchAvailabilityEstimateException- if a commerce availability estimate with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CommerceAvailabilityEstimate findByPrimaryKey(long commerceAvailabilityEstimateId) throws NoSuchAvailabilityEstimateException Returns the commerce availability estimate with the primary key or throws aNoSuchAvailabilityEstimateExceptionif it could not be found.- Parameters:
commerceAvailabilityEstimateId- the primary key of the commerce availability estimate- Returns:
- the commerce availability estimate
- Throws:
NoSuchAvailabilityEstimateException- if a commerce availability estimate with the primary key could not be found
-
fetchByPrimaryKey
Returns the commerce availability estimate with the primary key or 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
List<CommerceAvailabilityEstimate> findAll()Returns all the commerce availability estimates.- Returns:
- the commerce availability estimates
-
findAll
Returns a range of all the commerce availability estimates.Useful when paginating results. Returns a maximum of
end - 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
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
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
void removeAll()Removes all the commerce availability estimates from the database. -
countAll
int countAll()Returns the number of commerce availability estimates.- Returns:
- the number of commerce availability estimates
-