Class CommercePriceEntryUtil
com.liferay.commerce.price.list.service.persistence.impl.CommercePriceEntryPersistenceImpl 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(CommercePriceEntry commercePriceEntry) Caches the commerce price entry in the entity cache if it is enabled.static voidcacheResult(List<CommercePriceEntry> commercePriceEntries) Caches the commerce price entries in the entity cache if it is enabled.static voidstatic voidclearCache(CommercePriceEntry commercePriceEntry) static intcountAll()Returns the number of commerce price entries.static intcountByC_C(long commercePriceListId, String CPInstanceUuid) Returns the number of commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.static intcountByC_C_S(long commercePriceListId, String CPInstanceUuid, int status) Returns the number of commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.static intcountByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey) Returns the number of commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.static intcountByCommercePriceListId(long commercePriceListId) Returns the number of commerce price entries where commercePriceListId = ?.static intcountByCompanyId(long companyId) Returns the number of commerce price entries where companyId = ?.static intcountByCPInstanceUuid(String CPInstanceUuid) Returns the number of commerce price entries where CPInstanceUuid = ?.static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of commerce price entries where externalReferenceCode = ? and companyId = ?.static intcountByLtD_S(Date displayDate, int status) Returns the number of commerce price entries where displayDate < ? and status = ?.static intcountByLtE_S(Date expirationDate, int status) Returns the number of commerce price entries where expirationDate < ? and status = ?.static intcountByUuid(String uuid) Returns the number of commerce price entries where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of commerce price entries where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CommercePriceEntrycreate(long commercePriceEntryId) Creates a new commerce price entry with the primary key.static CommercePriceEntryfetchByC_C_First(long commercePriceListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ?.static CommercePriceEntryfetchByC_C_Last(long commercePriceListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ?.static CommercePriceEntryfetchByC_C_S_First(long commercePriceListId, String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.static CommercePriceEntryfetchByC_C_S_Last(long commercePriceListId, String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.static CommercePriceEntryfetchByC_Q_U_First(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.static CommercePriceEntryfetchByC_Q_U_Last(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.static CommercePriceEntryfetchByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where commercePriceListId = ?.static CommercePriceEntryfetchByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where commercePriceListId = ?.static CommercePriceEntryfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where companyId = ?.static CommercePriceEntryfetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where companyId = ?.static CommercePriceEntryfetchByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where CPInstanceUuid = ?.static CommercePriceEntryfetchByCPInstanceUuid_Last(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where CPInstanceUuid = ?.static CommercePriceEntryfetchByERC_C(String externalReferenceCode, long companyId) Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static CommercePriceEntryfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static CommercePriceEntryfetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where displayDate < ? and status = ?.static CommercePriceEntryfetchByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where displayDate < ? and status = ?.static CommercePriceEntryfetchByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where expirationDate < ? and status = ?.static CommercePriceEntryfetchByLtE_S_Last(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where expirationDate < ? and status = ?.static CommercePriceEntryfetchByPrimaryKey(long commercePriceEntryId) Returns the commerce price entry with the primary key or returnsnullif it could not be found.static Map<Serializable,CommercePriceEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CommercePriceEntryfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where uuid = ? and companyId = ?.static CommercePriceEntryfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where uuid = ? and companyId = ?.static CommercePriceEntryfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where uuid = ?.static CommercePriceEntryfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where uuid = ?.static List<CommercePriceEntry>findAll()Returns all the commerce price entries.static List<CommercePriceEntry>findAll(int start, int end) Returns a range of all the commerce price entries.static List<CommercePriceEntry>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries.static List<CommercePriceEntry>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries.static List<CommercePriceEntry>Returns all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.static List<CommercePriceEntry>Returns a range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.static List<CommercePriceEntry>findByC_C(long commercePriceListId, String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.static List<CommercePriceEntry>findByC_C(long commercePriceListId, String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.static CommercePriceEntryfindByC_C_First(long commercePriceListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ?.static CommercePriceEntryfindByC_C_Last(long commercePriceListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ?.static CommercePriceEntry[]findByC_C_PrevAndNext(long commercePriceEntryId, long commercePriceListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the commerce price entries before and after the current commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ?.static List<CommercePriceEntry>findByC_C_S(long commercePriceListId, String CPInstanceUuid, int status) Returns all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.static List<CommercePriceEntry>findByC_C_S(long commercePriceListId, String CPInstanceUuid, int status, int start, int end) Returns a range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.static List<CommercePriceEntry>findByC_C_S(long commercePriceListId, String CPInstanceUuid, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.static List<CommercePriceEntry>findByC_C_S(long commercePriceListId, String CPInstanceUuid, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.static CommercePriceEntryfindByC_C_S_First(long commercePriceListId, String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.static CommercePriceEntryfindByC_C_S_Last(long commercePriceListId, String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.static CommercePriceEntry[]findByC_C_S_PrevAndNext(long commercePriceEntryId, long commercePriceListId, String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the commerce price entries before and after the current commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.static List<CommercePriceEntry>findByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey) Returns all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.static List<CommercePriceEntry>findByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, int start, int end) Returns a range of all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.static List<CommercePriceEntry>findByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.static List<CommercePriceEntry>findByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.static CommercePriceEntryfindByC_Q_U_First(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.static CommercePriceEntryfindByC_Q_U_Last(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.static CommercePriceEntry[]findByC_Q_U_PrevAndNext(long commercePriceEntryId, String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the commerce price entries before and after the current commerce price entry in the ordered set where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.static List<CommercePriceEntry>findByCommercePriceListId(long commercePriceListId) Returns all the commerce price entries where commercePriceListId = ?.static List<CommercePriceEntry>findByCommercePriceListId(long commercePriceListId, int start, int end) Returns a range of all the commerce price entries where commercePriceListId = ?.static List<CommercePriceEntry>findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries where commercePriceListId = ?.static List<CommercePriceEntry>findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries where commercePriceListId = ?.static CommercePriceEntryfindByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where commercePriceListId = ?.static CommercePriceEntryfindByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where commercePriceListId = ?.static CommercePriceEntry[]findByCommercePriceListId_PrevAndNext(long commercePriceEntryId, long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the commerce price entries before and after the current commerce price entry in the ordered set where commercePriceListId = ?.static List<CommercePriceEntry>findByCompanyId(long companyId) Returns all the commerce price entries where companyId = ?.static List<CommercePriceEntry>findByCompanyId(long companyId, int start, int end) Returns a range of all the commerce price entries where companyId = ?.static List<CommercePriceEntry>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries where companyId = ?.static List<CommercePriceEntry>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries where companyId = ?.static CommercePriceEntryfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where companyId = ?.static CommercePriceEntryfindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where companyId = ?.static CommercePriceEntry[]findByCompanyId_PrevAndNext(long commercePriceEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the commerce price entries before and after the current commerce price entry in the ordered set where companyId = ?.static List<CommercePriceEntry>findByCPInstanceUuid(String CPInstanceUuid) Returns all the commerce price entries where CPInstanceUuid = ?.static List<CommercePriceEntry>findByCPInstanceUuid(String CPInstanceUuid, int start, int end) Returns a range of all the commerce price entries where CPInstanceUuid = ?.static List<CommercePriceEntry>findByCPInstanceUuid(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries where CPInstanceUuid = ?.static List<CommercePriceEntry>findByCPInstanceUuid(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries where CPInstanceUuid = ?.static CommercePriceEntryfindByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where CPInstanceUuid = ?.static CommercePriceEntryfindByCPInstanceUuid_Last(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where CPInstanceUuid = ?.static CommercePriceEntry[]findByCPInstanceUuid_PrevAndNext(long commercePriceEntryId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the commerce price entries before and after the current commerce price entry in the ordered set where CPInstanceUuid = ?.static CommercePriceEntryfindByERC_C(String externalReferenceCode, long companyId) Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchPriceEntryExceptionif it could not be found.static List<CommercePriceEntry>findByLtD_S(Date displayDate, int status) Returns all the commerce price entries where displayDate < ? and status = ?.static List<CommercePriceEntry>findByLtD_S(Date displayDate, int status, int start, int end) Returns a range of all the commerce price entries where displayDate < ? and status = ?.static List<CommercePriceEntry>findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries where displayDate < ? and status = ?.static List<CommercePriceEntry>findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries where displayDate < ? and status = ?.static CommercePriceEntryfindByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where displayDate < ? and status = ?.static CommercePriceEntryfindByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where displayDate < ? and status = ?.static CommercePriceEntry[]findByLtD_S_PrevAndNext(long commercePriceEntryId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the commerce price entries before and after the current commerce price entry in the ordered set where displayDate < ? and status = ?.static List<CommercePriceEntry>findByLtE_S(Date expirationDate, int status) Returns all the commerce price entries where expirationDate < ? and status = ?.static List<CommercePriceEntry>findByLtE_S(Date expirationDate, int status, int start, int end) Returns a range of all the commerce price entries where expirationDate < ? and status = ?.static List<CommercePriceEntry>findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries where expirationDate < ? and status = ?.static List<CommercePriceEntry>findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries where expirationDate < ? and status = ?.static CommercePriceEntryfindByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where expirationDate < ? and status = ?.static CommercePriceEntryfindByLtE_S_Last(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where expirationDate < ? and status = ?.static CommercePriceEntry[]findByLtE_S_PrevAndNext(long commercePriceEntryId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the commerce price entries before and after the current commerce price entry in the ordered set where expirationDate < ? and status = ?.static CommercePriceEntryfindByPrimaryKey(long commercePriceEntryId) Returns the commerce price entry with the primary key or throws aNoSuchPriceEntryExceptionif it could not be found.static List<CommercePriceEntry>findByUuid(String uuid) Returns all the commerce price entries where uuid = ?.static List<CommercePriceEntry>findByUuid(String uuid, int start, int end) Returns a range of all the commerce price entries where uuid = ?.static List<CommercePriceEntry>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries where uuid = ?.static List<CommercePriceEntry>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries where uuid = ?.static List<CommercePriceEntry>findByUuid_C(String uuid, long companyId) Returns all the commerce price entries where uuid = ? and companyId = ?.static List<CommercePriceEntry>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce price entries where uuid = ? and companyId = ?.static List<CommercePriceEntry>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries where uuid = ? and companyId = ?.static List<CommercePriceEntry>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries where uuid = ? and companyId = ?.static CommercePriceEntryfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where uuid = ? and companyId = ?.static CommercePriceEntryfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where uuid = ? and companyId = ?.static CommercePriceEntry[]findByUuid_C_PrevAndNext(long commercePriceEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the commerce price entries before and after the current commerce price entry in the ordered set where uuid = ? and companyId = ?.static CommercePriceEntryfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where uuid = ?.static CommercePriceEntryfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where uuid = ?.static CommercePriceEntry[]findByUuid_PrevAndNext(long commercePriceEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the commerce price entries before and after the current commerce price entry in the ordered set where uuid = ?.static List<CommercePriceEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CommercePriceEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CommercePriceEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) static CommercePriceEntryremove(long commercePriceEntryId) Removes the commerce price entry with the primary key from the database.static voidRemoves all the commerce price entries from the database.static voidremoveByC_C(long commercePriceListId, String CPInstanceUuid) Removes all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? from the database.static voidremoveByC_C_S(long commercePriceListId, String CPInstanceUuid, int status) Removes all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ? from the database.static voidremoveByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey) Removes all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ? from the database.static voidremoveByCommercePriceListId(long commercePriceListId) Removes all the commerce price entries where commercePriceListId = ? from the database.static voidremoveByCompanyId(long companyId) Removes all the commerce price entries where companyId = ? from the database.static voidremoveByCPInstanceUuid(String CPInstanceUuid) Removes all the commerce price entries where CPInstanceUuid = ? from the database.static CommercePriceEntryremoveByERC_C(String externalReferenceCode, long companyId) Removes the commerce price entry where externalReferenceCode = ? and companyId = ? from the database.static voidremoveByLtD_S(Date displayDate, int status) Removes all the commerce price entries where displayDate < ? and status = ? from the database.static voidremoveByLtE_S(Date expirationDate, int status) Removes all the commerce price entries where expirationDate < ? and status = ? from the database.static voidremoveByUuid(String uuid) Removes all the commerce price entries where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the commerce price entries where uuid = ? and companyId = ? from the database.static voidsetPersistence(CommercePriceEntryPersistence persistence) static CommercePriceEntryupdate(CommercePriceEntry commercePriceEntry) static CommercePriceEntryupdate(CommercePriceEntry commercePriceEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommercePriceEntryupdateImpl(CommercePriceEntry commercePriceEntry)
-
Constructor Details
-
CommercePriceEntryUtil
public CommercePriceEntryUtil()
-
-
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,CommercePriceEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CommercePriceEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CommercePriceEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CommercePriceEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CommercePriceEntry update(CommercePriceEntry commercePriceEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the commerce price entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching commerce price entries
-
findByUuid
Returns a range of all the commerce price entries 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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)- Returns:
- the range of matching commerce price entries
-
findByUuid
public static List<CommercePriceEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries 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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce price entries
-
findByUuid
public static List<CommercePriceEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries 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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (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 price entries
-
findByUuid_First
public static CommercePriceEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the first commerce price entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByUuid_First
public static CommercePriceEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
findByUuid_Last
public static CommercePriceEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the last commerce price entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByUuid_Last
public static CommercePriceEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
findByUuid_PrevAndNext
public static CommercePriceEntry[] findByUuid_PrevAndNext(long commercePriceEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the commerce price entries before and after the current commerce price entry in the ordered set where uuid = ?.- Parameters:
commercePriceEntryId- the primary key of the current commerce price entryuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce price entry
- Throws:
NoSuchPriceEntryException- if a commerce price entry with the primary key could not be foundNoSuchPriceEntryException
-
removeByUuid
Removes all the commerce price entries where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of commerce price entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching commerce price entries
-
findByUuid_C
Returns all the commerce price entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching commerce price entries
-
findByUuid_C
public static List<CommercePriceEntry> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce price entries 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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)- Returns:
- the range of matching commerce price entries
-
findByUuid_C
public static List<CommercePriceEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries 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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce price entries
-
findByUuid_C
public static List<CommercePriceEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries 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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (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 price entries
-
findByUuid_C_First
public static CommercePriceEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the first commerce price entry 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 price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByUuid_C_First
public static CommercePriceEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry 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 price entry, or
nullif a matching commerce price entry could not be found
-
findByUuid_C_Last
public static CommercePriceEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the last commerce price entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByUuid_C_Last
public static CommercePriceEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
findByUuid_C_PrevAndNext
public static CommercePriceEntry[] findByUuid_C_PrevAndNext(long commercePriceEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the commerce price entries before and after the current commerce price entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
commercePriceEntryId- the primary key of the current commerce price entryuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce price entry
- Throws:
NoSuchPriceEntryException- if a commerce price entry with the primary key could not be foundNoSuchPriceEntryException
-
removeByUuid_C
Removes all the commerce price entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of commerce price entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching commerce price entries
-
findByCompanyId
Returns all the commerce price entries where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching commerce price entries
-
findByCompanyId
Returns a range of all the commerce price entries 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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)- Returns:
- the range of matching commerce price entries
-
findByCompanyId
public static List<CommercePriceEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries 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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce price entries
-
findByCompanyId
public static List<CommercePriceEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries 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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (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 price entries
-
findByCompanyId_First
public static CommercePriceEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the first commerce price entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByCompanyId_First
public static CommercePriceEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
findByCompanyId_Last
public static CommercePriceEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the last commerce price entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByCompanyId_Last
public static CommercePriceEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
findByCompanyId_PrevAndNext
public static CommercePriceEntry[] findByCompanyId_PrevAndNext(long commercePriceEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the commerce price entries before and after the current commerce price entry in the ordered set where companyId = ?.- Parameters:
commercePriceEntryId- the primary key of the current commerce price entrycompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce price entry
- Throws:
NoSuchPriceEntryException- if a commerce price entry with the primary key could not be foundNoSuchPriceEntryException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the commerce price entries where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of commerce price entries where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching commerce price entries
-
findByCommercePriceListId
Returns all the commerce price entries where commercePriceListId = ?.- Parameters:
commercePriceListId- the commerce price list ID- Returns:
- the matching commerce price entries
-
findByCommercePriceListId
public static List<CommercePriceEntry> findByCommercePriceListId(long commercePriceListId, int start, int end) Returns a range of all the commerce price entries where commercePriceListId = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
commercePriceListId- the commerce price list IDstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)- Returns:
- the range of matching commerce price entries
-
findByCommercePriceListId
public static List<CommercePriceEntry> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries where commercePriceListId = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
commercePriceListId- the commerce price list IDstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce price entries
-
findByCommercePriceListId
public static List<CommercePriceEntry> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries where commercePriceListId = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
commercePriceListId- the commerce price list IDstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (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 price entries
-
findByCommercePriceListId_First
public static CommercePriceEntry findByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the first commerce price entry in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceListId- the commerce price list IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByCommercePriceListId_First
public static CommercePriceEntry fetchByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceListId- the commerce price list IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
findByCommercePriceListId_Last
public static CommercePriceEntry findByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the last commerce price entry in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceListId- the commerce price list IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByCommercePriceListId_Last
public static CommercePriceEntry fetchByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceListId- the commerce price list IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
findByCommercePriceListId_PrevAndNext
public static CommercePriceEntry[] findByCommercePriceListId_PrevAndNext(long commercePriceEntryId, long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the commerce price entries before and after the current commerce price entry in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceEntryId- the primary key of the current commerce price entrycommercePriceListId- the commerce price list IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce price entry
- Throws:
NoSuchPriceEntryException- if a commerce price entry with the primary key could not be foundNoSuchPriceEntryException
-
removeByCommercePriceListId
public static void removeByCommercePriceListId(long commercePriceListId) Removes all the commerce price entries where commercePriceListId = ? from the database.- Parameters:
commercePriceListId- the commerce price list ID
-
countByCommercePriceListId
public static int countByCommercePriceListId(long commercePriceListId) Returns the number of commerce price entries where commercePriceListId = ?.- Parameters:
commercePriceListId- the commerce price list ID- Returns:
- the number of matching commerce price entries
-
findByCPInstanceUuid
Returns all the commerce price entries where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid- the cp instance uuid- Returns:
- the matching commerce price entries
-
findByCPInstanceUuid
public static List<CommercePriceEntry> findByCPInstanceUuid(String CPInstanceUuid, int start, int end) Returns a range of all the commerce price entries where CPInstanceUuid = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
CPInstanceUuid- the cp instance uuidstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)- Returns:
- the range of matching commerce price entries
-
findByCPInstanceUuid
public static List<CommercePriceEntry> findByCPInstanceUuid(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries where CPInstanceUuid = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
CPInstanceUuid- the cp instance uuidstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce price entries
-
findByCPInstanceUuid
public static List<CommercePriceEntry> findByCPInstanceUuid(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries where CPInstanceUuid = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
CPInstanceUuid- the cp instance uuidstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (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 price entries
-
findByCPInstanceUuid_First
public static CommercePriceEntry findByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the first commerce price entry in the ordered set where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid- the cp instance uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByCPInstanceUuid_First
public static CommercePriceEntry fetchByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid- the cp instance uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
findByCPInstanceUuid_Last
public static CommercePriceEntry findByCPInstanceUuid_Last(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the last commerce price entry in the ordered set where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid- the cp instance uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByCPInstanceUuid_Last
public static CommercePriceEntry fetchByCPInstanceUuid_Last(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid- the cp instance uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
findByCPInstanceUuid_PrevAndNext
public static CommercePriceEntry[] findByCPInstanceUuid_PrevAndNext(long commercePriceEntryId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the commerce price entries before and after the current commerce price entry in the ordered set where CPInstanceUuid = ?.- Parameters:
commercePriceEntryId- the primary key of the current commerce price entryCPInstanceUuid- the cp instance uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce price entry
- Throws:
NoSuchPriceEntryException- if a commerce price entry with the primary key could not be foundNoSuchPriceEntryException
-
removeByCPInstanceUuid
Removes all the commerce price entries where CPInstanceUuid = ? from the database.- Parameters:
CPInstanceUuid- the cp instance uuid
-
countByCPInstanceUuid
Returns the number of commerce price entries where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid- the cp instance uuid- Returns:
- the number of matching commerce price entries
-
findByC_C
Returns all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.- Parameters:
commercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuid- Returns:
- the matching commerce price entries
-
findByC_C
public static List<CommercePriceEntry> findByC_C(long commercePriceListId, String CPInstanceUuid, int start, int end) Returns a range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
commercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuidstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)- Returns:
- the range of matching commerce price entries
-
findByC_C
public static List<CommercePriceEntry> findByC_C(long commercePriceListId, String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
commercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuidstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce price entries
-
findByC_C
public static List<CommercePriceEntry> findByC_C(long commercePriceListId, String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
commercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuidstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (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 price entries
-
findByC_C_First
public static CommercePriceEntry findByC_C_First(long commercePriceListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the first commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ?.- Parameters:
commercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByC_C_First
public static CommercePriceEntry fetchByC_C_First(long commercePriceListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ?.- Parameters:
commercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
findByC_C_Last
public static CommercePriceEntry findByC_C_Last(long commercePriceListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the last commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ?.- Parameters:
commercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByC_C_Last
public static CommercePriceEntry fetchByC_C_Last(long commercePriceListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ?.- Parameters:
commercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
findByC_C_PrevAndNext
public static CommercePriceEntry[] findByC_C_PrevAndNext(long commercePriceEntryId, long commercePriceListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the commerce price entries before and after the current commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ?.- Parameters:
commercePriceEntryId- the primary key of the current commerce price entrycommercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce price entry
- Throws:
NoSuchPriceEntryException- if a commerce price entry with the primary key could not be foundNoSuchPriceEntryException
-
removeByC_C
Removes all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? from the database.- Parameters:
commercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuid
-
countByC_C
Returns the number of commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.- Parameters:
commercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuid- Returns:
- the number of matching commerce price entries
-
findByLtD_S
Returns all the commerce price entries where displayDate < ? and status = ?.- Parameters:
displayDate- the display datestatus- the status- Returns:
- the matching commerce price entries
-
findByLtD_S
public static List<CommercePriceEntry> findByLtD_S(Date displayDate, int status, int start, int end) Returns a range of all the commerce price entries where displayDate < ? and status = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
displayDate- the display datestatus- the statusstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)- Returns:
- the range of matching commerce price entries
-
findByLtD_S
public static List<CommercePriceEntry> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries where displayDate < ? and status = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
displayDate- the display datestatus- the statusstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce price entries
-
findByLtD_S
public static List<CommercePriceEntry> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries where displayDate < ? and status = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
displayDate- the display datestatus- the statusstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (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 price entries
-
findByLtD_S_First
public static CommercePriceEntry findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the first commerce price entry in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate- the display datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByLtD_S_First
public static CommercePriceEntry fetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate- the display datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
findByLtD_S_Last
public static CommercePriceEntry findByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the last commerce price entry in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate- the display datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByLtD_S_Last
public static CommercePriceEntry fetchByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate- the display datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
findByLtD_S_PrevAndNext
public static CommercePriceEntry[] findByLtD_S_PrevAndNext(long commercePriceEntryId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the commerce price entries before and after the current commerce price entry in the ordered set where displayDate < ? and status = ?.- Parameters:
commercePriceEntryId- the primary key of the current commerce price entrydisplayDate- the display datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce price entry
- Throws:
NoSuchPriceEntryException- if a commerce price entry with the primary key could not be foundNoSuchPriceEntryException
-
removeByLtD_S
Removes all the commerce price entries where displayDate < ? and status = ? from the database.- Parameters:
displayDate- the display datestatus- the status
-
countByLtD_S
Returns the number of commerce price entries where displayDate < ? and status = ?.- Parameters:
displayDate- the display datestatus- the status- Returns:
- the number of matching commerce price entries
-
findByLtE_S
Returns all the commerce price entries where expirationDate < ? and status = ?.- Parameters:
expirationDate- the expiration datestatus- the status- Returns:
- the matching commerce price entries
-
findByLtE_S
public static List<CommercePriceEntry> findByLtE_S(Date expirationDate, int status, int start, int end) Returns a range of all the commerce price entries where expirationDate < ? and status = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
expirationDate- the expiration datestatus- the statusstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)- Returns:
- the range of matching commerce price entries
-
findByLtE_S
public static List<CommercePriceEntry> findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries where expirationDate < ? and status = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
expirationDate- the expiration datestatus- the statusstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce price entries
-
findByLtE_S
public static List<CommercePriceEntry> findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries where expirationDate < ? and status = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
expirationDate- the expiration datestatus- the statusstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (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 price entries
-
findByLtE_S_First
public static CommercePriceEntry findByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the first commerce price entry in the ordered set where expirationDate < ? and status = ?.- Parameters:
expirationDate- the expiration datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByLtE_S_First
public static CommercePriceEntry fetchByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where expirationDate < ? and status = ?.- Parameters:
expirationDate- the expiration datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
findByLtE_S_Last
public static CommercePriceEntry findByLtE_S_Last(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the last commerce price entry in the ordered set where expirationDate < ? and status = ?.- Parameters:
expirationDate- the expiration datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByLtE_S_Last
public static CommercePriceEntry fetchByLtE_S_Last(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where expirationDate < ? and status = ?.- Parameters:
expirationDate- the expiration datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
findByLtE_S_PrevAndNext
public static CommercePriceEntry[] findByLtE_S_PrevAndNext(long commercePriceEntryId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the commerce price entries before and after the current commerce price entry in the ordered set where expirationDate < ? and status = ?.- Parameters:
commercePriceEntryId- the primary key of the current commerce price entryexpirationDate- the expiration datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce price entry
- Throws:
NoSuchPriceEntryException- if a commerce price entry with the primary key could not be foundNoSuchPriceEntryException
-
removeByLtE_S
Removes all the commerce price entries where expirationDate < ? and status = ? from the database.- Parameters:
expirationDate- the expiration datestatus- the status
-
countByLtE_S
Returns the number of commerce price entries where expirationDate < ? and status = ?.- Parameters:
expirationDate- the expiration datestatus- the status- Returns:
- the number of matching commerce price entries
-
findByC_C_S
public static List<CommercePriceEntry> findByC_C_S(long commercePriceListId, String CPInstanceUuid, int status) Returns all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.- Parameters:
commercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuidstatus- the status- Returns:
- the matching commerce price entries
-
findByC_C_S
public static List<CommercePriceEntry> findByC_C_S(long commercePriceListId, String CPInstanceUuid, int status, int start, int end) Returns a range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
commercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuidstatus- the statusstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)- Returns:
- the range of matching commerce price entries
-
findByC_C_S
public static List<CommercePriceEntry> findByC_C_S(long commercePriceListId, String CPInstanceUuid, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
commercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuidstatus- the statusstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce price entries
-
findByC_C_S
public static List<CommercePriceEntry> findByC_C_S(long commercePriceListId, String CPInstanceUuid, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
commercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuidstatus- the statusstart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (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 price entries
-
findByC_C_S_First
public static CommercePriceEntry findByC_C_S_First(long commercePriceListId, String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the first commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.- Parameters:
commercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuidstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByC_C_S_First
public static CommercePriceEntry fetchByC_C_S_First(long commercePriceListId, String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.- Parameters:
commercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuidstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
findByC_C_S_Last
public static CommercePriceEntry findByC_C_S_Last(long commercePriceListId, String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the last commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.- Parameters:
commercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuidstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByC_C_S_Last
public static CommercePriceEntry fetchByC_C_S_Last(long commercePriceListId, String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.- Parameters:
commercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuidstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
findByC_C_S_PrevAndNext
public static CommercePriceEntry[] findByC_C_S_PrevAndNext(long commercePriceEntryId, long commercePriceListId, String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the commerce price entries before and after the current commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.- Parameters:
commercePriceEntryId- the primary key of the current commerce price entrycommercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuidstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce price entry
- Throws:
NoSuchPriceEntryException- if a commerce price entry with the primary key could not be foundNoSuchPriceEntryException
-
removeByC_C_S
Removes all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ? from the database.- Parameters:
commercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuidstatus- the status
-
countByC_C_S
Returns the number of commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.- Parameters:
commercePriceListId- the commerce price list IDCPInstanceUuid- the cp instance uuidstatus- the status- Returns:
- the number of matching commerce price entries
-
findByC_Q_U
public static List<CommercePriceEntry> findByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey) Returns all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.- Parameters:
CPInstanceUuid- the cp instance uuidquantity- the quantityunitOfMeasureKey- the unit of measure key- Returns:
- the matching commerce price entries
-
findByC_Q_U
public static List<CommercePriceEntry> findByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, int start, int end) Returns a range of all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
CPInstanceUuid- the cp instance uuidquantity- the quantityunitOfMeasureKey- the unit of measure keystart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)- Returns:
- the range of matching commerce price entries
-
findByC_Q_U
public static List<CommercePriceEntry> findByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
CPInstanceUuid- the cp instance uuidquantity- the quantityunitOfMeasureKey- the unit of measure keystart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce price entries
-
findByC_Q_U
public static List<CommercePriceEntry> findByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
CPInstanceUuid- the cp instance uuidquantity- the quantityunitOfMeasureKey- the unit of measure keystart- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (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 price entries
-
findByC_Q_U_First
public static CommercePriceEntry findByC_Q_U_First(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the first commerce price entry in the ordered set where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.- Parameters:
CPInstanceUuid- the cp instance uuidquantity- the quantityunitOfMeasureKey- the unit of measure keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByC_Q_U_First
public static CommercePriceEntry fetchByC_Q_U_First(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.- Parameters:
CPInstanceUuid- the cp instance uuidquantity- the quantityunitOfMeasureKey- the unit of measure keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
findByC_Q_U_Last
public static CommercePriceEntry findByC_Q_U_Last(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the last commerce price entry in the ordered set where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.- Parameters:
CPInstanceUuid- the cp instance uuidquantity- the quantityunitOfMeasureKey- the unit of measure keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByC_Q_U_Last
public static CommercePriceEntry fetchByC_Q_U_Last(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.- Parameters:
CPInstanceUuid- the cp instance uuidquantity- the quantityunitOfMeasureKey- the unit of measure keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
findByC_Q_U_PrevAndNext
public static CommercePriceEntry[] findByC_Q_U_PrevAndNext(long commercePriceEntryId, String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException Returns the commerce price entries before and after the current commerce price entry in the ordered set where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.- Parameters:
commercePriceEntryId- the primary key of the current commerce price entryCPInstanceUuid- the cp instance uuidquantity- the quantityunitOfMeasureKey- the unit of measure keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce price entry
- Throws:
NoSuchPriceEntryException- if a commerce price entry with the primary key could not be foundNoSuchPriceEntryException
-
removeByC_Q_U
public static void removeByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey) Removes all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ? from the database.- Parameters:
CPInstanceUuid- the cp instance uuidquantity- the quantityunitOfMeasureKey- the unit of measure key
-
countByC_Q_U
Returns the number of commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.- Parameters:
CPInstanceUuid- the cp instance uuidquantity- the quantityunitOfMeasureKey- the unit of measure key- Returns:
- the number of matching commerce price entries
-
findByERC_C
public static CommercePriceEntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchPriceEntryException Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchPriceEntryExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching commerce price entry
- Throws:
NoSuchPriceEntryException- if a matching commerce price entry could not be foundNoSuchPriceEntryException
-
fetchByERC_C
Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
fetchByERC_C
public static CommercePriceEntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce price entry, or
nullif a matching commerce price entry could not be found
-
removeByERC_C
public static CommercePriceEntry removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchPriceEntryException Removes the commerce price entry where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the commerce price entry that was removed
- Throws:
NoSuchPriceEntryException
-
countByERC_C
Returns the number of commerce price entries where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching commerce price entries
-
cacheResult
Caches the commerce price entry in the entity cache if it is enabled.- Parameters:
commercePriceEntry- the commerce price entry
-
cacheResult
Caches the commerce price entries in the entity cache if it is enabled.- Parameters:
commercePriceEntries- the commerce price entries
-
create
Creates a new commerce price entry with the primary key. Does not add the commerce price entry to the database.- Parameters:
commercePriceEntryId- the primary key for the new commerce price entry- Returns:
- the new commerce price entry
-
remove
Removes the commerce price entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commercePriceEntryId- the primary key of the commerce price entry- Returns:
- the commerce price entry that was removed
- Throws:
NoSuchPriceEntryException- if a commerce price entry with the primary key could not be foundNoSuchPriceEntryException
-
updateImpl
-
findByPrimaryKey
public static CommercePriceEntry findByPrimaryKey(long commercePriceEntryId) throws NoSuchPriceEntryException Returns the commerce price entry with the primary key or throws aNoSuchPriceEntryExceptionif it could not be found.- Parameters:
commercePriceEntryId- the primary key of the commerce price entry- Returns:
- the commerce price entry
- Throws:
NoSuchPriceEntryException- if a commerce price entry with the primary key could not be foundNoSuchPriceEntryException
-
fetchByPrimaryKey
Returns the commerce price entry with the primary key or returnsnullif it could not be found.- Parameters:
commercePriceEntryId- the primary key of the commerce price entry- Returns:
- the commerce price entry, or
nullif a commerce price entry with the primary key could not be found
-
findAll
Returns all the commerce price entries.- Returns:
- the commerce price entries
-
findAll
Returns a range of all the commerce price entries.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
start- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)- Returns:
- the range of commerce price entries
-
findAll
public static List<CommercePriceEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
start- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of commerce price entries
-
findAll
public static List<CommercePriceEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price entries.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 bothstartandendtoQueryUtil#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 fromCommercePriceEntryModelImpl.- Parameters:
start- the lower bound of the range of commerce price entriesend- the upper bound of the range of commerce price entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of commerce price entries
-
removeAll
public static void removeAll()Removes all the commerce price entries from the database. -
countAll
public static int countAll()Returns the number of commerce price entries.- Returns:
- the number of commerce price entries
-
getPersistence
-
setPersistence
-