Interface CommercePriceEntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePriceEntry>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceEntry>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CommercePriceEntry commercePriceEntry) Caches the commerce price entry in the entity cache if it is enabled.void
cacheResult
(List<CommercePriceEntry> commercePriceEntries) Caches the commerce price entries in the entity cache if it is enabled.int
countAll()
Returns the number of commerce price entries.int
countByC_C
(long commercePriceListId, String CPInstanceUuid) Returns the number of commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.int
countByC_C_S
(long commercePriceListId, String CPInstanceUuid, int status) Returns the number of commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.int
countByC_Q_U
(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey) Returns the number of commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.int
countByCommercePriceListId
(long commercePriceListId) Returns the number of commerce price entries where commercePriceListId = ?.int
countByCompanyId
(long companyId) Returns the number of commerce price entries where companyId = ?.int
countByCPInstanceUuid
(String CPInstanceUuid) Returns the number of commerce price entries where CPInstanceUuid = ?.int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of commerce price entries where externalReferenceCode = ? and companyId = ?.int
countByLtD_S
(Date displayDate, int status) Returns the number of commerce price entries where displayDate < ? and status = ?.int
countByLtE_S
(Date expirationDate, int status) Returns the number of commerce price entries where expirationDate < ? and status = ?.int
countByUuid
(String uuid) Returns the number of commerce price entries where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of commerce price entries where uuid = ? and companyId = ?.create
(long commercePriceEntryId) Creates a new commerce price entry with the primary key.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.fetchByCommercePriceListId_First
(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where commercePriceListId = ?.fetchByCommercePriceListId_Last
(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where commercePriceListId = ?.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where companyId = ?.fetchByCPInstanceUuid_First
(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where CPInstanceUuid = ?.fetchByCPInstanceUuid_Last
(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where CPInstanceUuid = ?.fetchByERC_C
(String externalReferenceCode, long companyId) Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.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 = ?.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 = ?.fetchByPrimaryKey
(long commercePriceEntryId) Returns the commerce price entry with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where uuid = ? and companyId = ?.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 = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where uuid = ?.findAll()
Returns all the commerce price entries.findAll
(int start, int end) Returns a range of all the commerce price entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns an ordered range of all the commerce price entries.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.Returns all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.Returns a range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.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 = ?.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 = ?.findByC_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 = ?.findByC_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 = ?.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 = ?.findByC_C_S
(long commercePriceListId, String CPInstanceUuid, int status) Returns all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.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 = ?.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 = ?.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 = ?.findByC_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 = ?.findByC_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 = ?.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 = ?.findByC_Q_U
(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey) Returns all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.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 = ?.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 = ?.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 = ?.findByC_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 = ?.findByC_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 = ?.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 = ?.findByCommercePriceListId
(long commercePriceListId) Returns all the commerce price entries where commercePriceListId = ?.findByCommercePriceListId
(long commercePriceListId, int start, int end) Returns a range of all the commerce price entries where commercePriceListId = ?.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 = ?.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 = ?.findByCommercePriceListId_First
(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where commercePriceListId = ?.findByCommercePriceListId_Last
(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where commercePriceListId = ?.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 = ?.findByCompanyId
(long companyId) Returns all the commerce price entries where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the commerce price entries where companyId = ?.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 = ?.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 = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where companyId = ?.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 = ?.findByCPInstanceUuid
(String CPInstanceUuid) Returns all the commerce price entries where CPInstanceUuid = ?.findByCPInstanceUuid
(String CPInstanceUuid, int start, int end) Returns a range of all the commerce price entries where CPInstanceUuid = ?.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 = ?.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 = ?.findByCPInstanceUuid_First
(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where CPInstanceUuid = ?.findByCPInstanceUuid_Last
(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where CPInstanceUuid = ?.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 = ?.findByERC_C
(String externalReferenceCode, long companyId) Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchPriceEntryException
if it could not be found.findByLtD_S
(Date displayDate, int status) Returns all the commerce price entries where displayDate < ? and status = ?.findByLtD_S
(Date displayDate, int status, int start, int end) Returns a range of all the commerce price entries where displayDate < ? and status = ?.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 = ?.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 = ?.findByLtD_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 = ?.findByLtD_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 = ?.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 = ?.findByLtE_S
(Date expirationDate, int status) Returns all the commerce price entries where expirationDate < ? and status = ?.findByLtE_S
(Date expirationDate, int status, int start, int end) Returns a range of all the commerce price entries where expirationDate < ? and status = ?.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 = ?.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 = ?.findByLtE_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 = ?.findByLtE_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 = ?.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 = ?.findByPrimaryKey
(long commercePriceEntryId) Returns the commerce price entry with the primary key or throws aNoSuchPriceEntryException
if it could not be found.findByUuid
(String uuid) Returns all the commerce price entries where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the commerce price entries where uuid = ?.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 = ?.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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the commerce price entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the commerce price entries where uuid = ? and companyId = ?.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 = ?.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 = ?.findByUuid_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 = ?.findByUuid_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 = ?.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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the first commerce price entry in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) Returns the last commerce price entry in the ordered set where uuid = ?.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 = ?.remove
(long commercePriceEntryId) Removes the commerce price entry with the primary key from the database.void
Removes all the commerce price entries from the database.void
removeByC_C
(long commercePriceListId, String CPInstanceUuid) Removes all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? from the database.void
removeByC_C_S
(long commercePriceListId, String CPInstanceUuid, int status) Removes all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ? from the database.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.void
removeByCommercePriceListId
(long commercePriceListId) Removes all the commerce price entries where commercePriceListId = ? from the database.void
removeByCompanyId
(long companyId) Removes all the commerce price entries where companyId = ? from the database.void
removeByCPInstanceUuid
(String CPInstanceUuid) Removes all the commerce price entries where CPInstanceUuid = ? from the database.removeByERC_C
(String externalReferenceCode, long companyId) Removes the commerce price entry where externalReferenceCode = ? and companyId = ? from the database.void
removeByLtD_S
(Date displayDate, int status) Removes all the commerce price entries where displayDate < ? and status = ? from the database.void
removeByLtE_S
(Date expirationDate, int status) Removes all the commerce price entries where expirationDate < ? and status = ? from the database.void
removeByUuid
(String uuid) Removes all the commerce price entries where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the commerce price entries where uuid = ? and companyId = ? from the database.updateImpl
(CommercePriceEntry commercePriceEntry) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 found
-
fetchByUuid_First
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
null
if a matching commerce price entry could not be found
-
findByUuid_Last
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 found
-
fetchByUuid_Last
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
null
if a matching commerce price entry could not be found
-
findByUuid_PrevAndNext
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 found
-
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
Returns a range of all the commerce price entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 found
-
fetchByUuid_C_First
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
null
if a matching commerce price entry could not be found
-
findByUuid_C_Last
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 found
-
fetchByUuid_C_Last
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
null
if a matching commerce price entry could not be found
-
findByUuid_C_PrevAndNext
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 found
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 found
-
fetchByCompanyId_First
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
null
if a matching commerce price entry could not be found
-
findByCompanyId_Last
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 found
-
fetchByCompanyId_Last
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
null
if a matching commerce price entry could not be found
-
findByCompanyId_PrevAndNext
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 found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the commerce price entries where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
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
Returns a range of all the commerce price entries where commercePriceListId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 found
-
fetchByCommercePriceListId_First
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
null
if a matching commerce price entry could not be found
-
findByCommercePriceListId_Last
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 found
-
fetchByCommercePriceListId_Last
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
null
if a matching commerce price entry could not be found
-
findByCommercePriceListId_PrevAndNext
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 found
-
removeByCommercePriceListId
void removeByCommercePriceListId(long commercePriceListId) Removes all the commerce price entries where commercePriceListId = ? from the database.- Parameters:
commercePriceListId
- the commerce price list ID
-
countByCommercePriceListId
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
Returns a range of all the commerce price entries where CPInstanceUuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 found
-
fetchByCPInstanceUuid_First
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
null
if a matching commerce price entry could not be found
-
findByCPInstanceUuid_Last
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 found
-
fetchByCPInstanceUuid_Last
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
null
if a matching commerce price entry could not be found
-
findByCPInstanceUuid_PrevAndNext
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 found
-
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 found
-
fetchByC_C_First
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
null
if a matching commerce price entry could not be found
-
findByC_C_Last
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 found
-
fetchByC_C_Last
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
null
if a matching commerce price entry could not be found
-
findByC_C_PrevAndNext
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 found
-
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
Returns a range of all the commerce price entries where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 found
-
fetchByLtD_S_First
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
null
if a matching commerce price entry could not be found
-
findByLtD_S_Last
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 found
-
fetchByLtD_S_Last
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
null
if a matching commerce price entry could not be found
-
findByLtD_S_PrevAndNext
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 found
-
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
Returns a range of all the commerce price entries where expirationDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 found
-
fetchByLtE_S_First
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
null
if a matching commerce price entry could not be found
-
findByLtE_S_Last
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 found
-
fetchByLtE_S_Last
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
null
if a matching commerce price entry could not be found
-
findByLtE_S_PrevAndNext
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 found
-
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
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 found
-
fetchByC_C_S_First
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
null
if a matching commerce price entry could not be found
-
findByC_C_S_Last
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 found
-
fetchByC_C_S_Last
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
null
if a matching commerce price entry could not be found
-
findByC_C_S_PrevAndNext
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 found
-
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
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 found
-
fetchByC_Q_U_First
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
null
if a matching commerce price entry could not be found
-
findByC_Q_U_Last
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 found
-
fetchByC_Q_U_Last
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
null
if a matching commerce price entry could not be found
-
findByC_Q_U_PrevAndNext
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 found
-
removeByC_Q_U
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
CommercePriceEntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchPriceEntryException Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchPriceEntryException
if 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 found
-
fetchByERC_C
Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or returnsnull
if 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
null
if a matching commerce price entry could not be found
-
fetchByERC_C
CommercePriceEntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or returnsnull
if 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
null
if a matching commerce price entry could not be found
-
removeByERC_C
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 found
-
updateImpl
-
findByPrimaryKey
Returns the commerce price entry with the primary key or throws aNoSuchPriceEntryException
if 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 found
-
fetchByPrimaryKey
Returns the commerce price entry with the primary key or returnsnull
if it could not be found.- Parameters:
commercePriceEntryId
- the primary key of the commerce price entry- Returns:
- the commerce price entry, or
null
if a commerce price entry with the primary key could not be found
-
findAll
List<CommercePriceEntry> 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic 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
void removeAll()Removes all the commerce price entries from the database. -
countAll
int countAll()Returns the number of commerce price entries.- Returns:
- the number of commerce price entries
-