@ProviderType public interface CommercePriceEntryPersistence extends 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
CommercePriceEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommercePriceEntry commercePriceEntry)
Caches the commerce price entry in the entity cache if it is enabled.
|
void |
cacheResult(java.util.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_S(long commercePriceListId,
java.lang.String CPInstanceUuid,
int status)
Returns the number of commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.
|
int |
countByC_C(long commercePriceListId,
java.lang.String CPInstanceUuid)
Returns the number of commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.
|
int |
countByC_Q_U(java.lang.String CPInstanceUuid,
java.math.BigDecimal quantity,
java.lang.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(java.lang.String CPInstanceUuid)
Returns the number of commerce price entries where CPInstanceUuid = ?.
|
int |
countByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the number of commerce price entries where externalReferenceCode = ? and companyId = ?.
|
int |
countByLtD_S(java.util.Date displayDate,
int status)
Returns the number of commerce price entries where displayDate < ? and status = ?.
|
int |
countByLtE_S(java.util.Date expirationDate,
int status)
Returns the number of commerce price entries where expirationDate < ? and status = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce price entries where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce price entries where uuid = ?.
|
CommercePriceEntry |
create(long commercePriceEntryId)
Creates a new commerce price entry with the primary key.
|
CommercePriceEntry |
fetchByC_C_First(long commercePriceListId,
java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Returns the first commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ?.
|
CommercePriceEntry |
fetchByC_C_Last(long commercePriceListId,
java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Returns the last commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ?.
|
CommercePriceEntry |
fetchByC_C_S_First(long commercePriceListId,
java.lang.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 = ?.
|
CommercePriceEntry |
fetchByC_C_S_Last(long commercePriceListId,
java.lang.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 = ?.
|
CommercePriceEntry |
fetchByC_Q_U_First(java.lang.String CPInstanceUuid,
java.math.BigDecimal quantity,
java.lang.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 = ?.
|
CommercePriceEntry |
fetchByC_Q_U_Last(java.lang.String CPInstanceUuid,
java.math.BigDecimal quantity,
java.lang.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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
CommercePriceEntry |
fetchByCPInstanceUuid_First(java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Returns the first commerce price entry in the ordered set where CPInstanceUuid = ?.
|
CommercePriceEntry |
fetchByCPInstanceUuid_Last(java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Returns the last commerce price entry in the ordered set where CPInstanceUuid = ?.
|
CommercePriceEntry |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
CommercePriceEntry |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommercePriceEntry |
fetchByLtD_S_First(java.util.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 = ?.
|
CommercePriceEntry |
fetchByLtD_S_Last(java.util.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 = ?.
|
CommercePriceEntry |
fetchByLtE_S_First(java.util.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 = ?.
|
CommercePriceEntry |
fetchByLtE_S_Last(java.util.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 = ?.
|
CommercePriceEntry |
fetchByPrimaryKey(long commercePriceEntryId)
Returns the commerce price entry with the primary key or returns
null if it could not be found. |
CommercePriceEntry |
fetchByUuid_C_First(java.lang.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 = ?.
|
CommercePriceEntry |
fetchByUuid_C_Last(java.lang.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 = ?.
|
CommercePriceEntry |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Returns the first commerce price entry in the ordered set where uuid = ?.
|
CommercePriceEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Returns the last commerce price entry in the ordered set where uuid = ?.
|
java.util.List<CommercePriceEntry> |
findAll()
Returns all the commerce price entries.
|
java.util.List<CommercePriceEntry> |
findAll(int start,
int end)
Returns a range of all the commerce price entries.
|
java.util.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.
|
java.util.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.
|
CommercePriceEntry |
findByC_C_First(long commercePriceListId,
java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Returns the first commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ?.
|
CommercePriceEntry |
findByC_C_Last(long commercePriceListId,
java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Returns the last commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ?.
|
CommercePriceEntry[] |
findByC_C_PrevAndNext(long commercePriceEntryId,
long commercePriceListId,
java.lang.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 = ?.
|
CommercePriceEntry |
findByC_C_S_First(long commercePriceListId,
java.lang.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 = ?.
|
CommercePriceEntry |
findByC_C_S_Last(long commercePriceListId,
java.lang.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 = ?.
|
CommercePriceEntry[] |
findByC_C_S_PrevAndNext(long commercePriceEntryId,
long commercePriceListId,
java.lang.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 = ?.
|
java.util.List<CommercePriceEntry> |
findByC_C_S(long commercePriceListId,
java.lang.String CPInstanceUuid,
int status)
Returns all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.
|
java.util.List<CommercePriceEntry> |
findByC_C_S(long commercePriceListId,
java.lang.String CPInstanceUuid,
int status,
int start,
int end)
Returns a range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.
|
java.util.List<CommercePriceEntry> |
findByC_C_S(long commercePriceListId,
java.lang.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 = ?.
|
java.util.List<CommercePriceEntry> |
findByC_C_S(long commercePriceListId,
java.lang.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 = ?.
|
java.util.List<CommercePriceEntry> |
findByC_C(long commercePriceListId,
java.lang.String CPInstanceUuid)
Returns all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.
|
java.util.List<CommercePriceEntry> |
findByC_C(long commercePriceListId,
java.lang.String CPInstanceUuid,
int start,
int end)
Returns a range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.
|
java.util.List<CommercePriceEntry> |
findByC_C(long commercePriceListId,
java.lang.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 = ?.
|
java.util.List<CommercePriceEntry> |
findByC_C(long commercePriceListId,
java.lang.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 = ?.
|
CommercePriceEntry |
findByC_Q_U_First(java.lang.String CPInstanceUuid,
java.math.BigDecimal quantity,
java.lang.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 = ?.
|
CommercePriceEntry |
findByC_Q_U_Last(java.lang.String CPInstanceUuid,
java.math.BigDecimal quantity,
java.lang.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 = ?.
|
CommercePriceEntry[] |
findByC_Q_U_PrevAndNext(long commercePriceEntryId,
java.lang.String CPInstanceUuid,
java.math.BigDecimal quantity,
java.lang.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 = ?.
|
java.util.List<CommercePriceEntry> |
findByC_Q_U(java.lang.String CPInstanceUuid,
java.math.BigDecimal quantity,
java.lang.String unitOfMeasureKey)
Returns all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.
|
java.util.List<CommercePriceEntry> |
findByC_Q_U(java.lang.String CPInstanceUuid,
java.math.BigDecimal quantity,
java.lang.String unitOfMeasureKey,
int start,
int end)
Returns a range of all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.
|
java.util.List<CommercePriceEntry> |
findByC_Q_U(java.lang.String CPInstanceUuid,
java.math.BigDecimal quantity,
java.lang.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 = ?.
|
java.util.List<CommercePriceEntry> |
findByC_Q_U(java.lang.String CPInstanceUuid,
java.math.BigDecimal quantity,
java.lang.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 = ?.
|
CommercePriceEntry |
findByCommercePriceListId_First(long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Returns the first commerce price entry in the ordered set where commercePriceListId = ?.
|
CommercePriceEntry |
findByCommercePriceListId_Last(long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Returns the last commerce price entry in the ordered set where commercePriceListId = ?.
|
CommercePriceEntry[] |
findByCommercePriceListId_PrevAndNext(long commercePriceEntryId,
long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Returns the commerce price entries before and after the current commerce price entry in the ordered set where commercePriceListId = ?.
|
java.util.List<CommercePriceEntry> |
findByCommercePriceListId(long commercePriceListId)
Returns all the commerce price entries where commercePriceListId = ?.
|
java.util.List<CommercePriceEntry> |
findByCommercePriceListId(long commercePriceListId,
int start,
int end)
Returns a range of all the commerce price entries where commercePriceListId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommercePriceEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Returns the first commerce price entry in the ordered set where companyId = ?.
|
CommercePriceEntry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Returns the last commerce price entry in the ordered set where companyId = ?.
|
CommercePriceEntry[] |
findByCompanyId_PrevAndNext(long commercePriceEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Returns the commerce price entries before and after the current commerce price entry in the ordered set where companyId = ?.
|
java.util.List<CommercePriceEntry> |
findByCompanyId(long companyId)
Returns all the commerce price entries where companyId = ?.
|
java.util.List<CommercePriceEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce price entries where companyId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommercePriceEntry |
findByCPInstanceUuid_First(java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Returns the first commerce price entry in the ordered set where CPInstanceUuid = ?.
|
CommercePriceEntry |
findByCPInstanceUuid_Last(java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Returns the last commerce price entry in the ordered set where CPInstanceUuid = ?.
|
CommercePriceEntry[] |
findByCPInstanceUuid_PrevAndNext(long commercePriceEntryId,
java.lang.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 = ?.
|
java.util.List<CommercePriceEntry> |
findByCPInstanceUuid(java.lang.String CPInstanceUuid)
Returns all the commerce price entries where CPInstanceUuid = ?.
|
java.util.List<CommercePriceEntry> |
findByCPInstanceUuid(java.lang.String CPInstanceUuid,
int start,
int end)
Returns a range of all the commerce price entries where CPInstanceUuid = ?.
|
java.util.List<CommercePriceEntry> |
findByCPInstanceUuid(java.lang.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 = ?.
|
java.util.List<CommercePriceEntry> |
findByCPInstanceUuid(java.lang.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 = ?.
|
CommercePriceEntry |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or throws a
NoSuchPriceEntryException if it could not be found. |
CommercePriceEntry |
findByLtD_S_First(java.util.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 = ?.
|
CommercePriceEntry |
findByLtD_S_Last(java.util.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 = ?.
|
CommercePriceEntry[] |
findByLtD_S_PrevAndNext(long commercePriceEntryId,
java.util.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 = ?.
|
java.util.List<CommercePriceEntry> |
findByLtD_S(java.util.Date displayDate,
int status)
Returns all the commerce price entries where displayDate < ? and status = ?.
|
java.util.List<CommercePriceEntry> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end)
Returns a range of all the commerce price entries where displayDate < ? and status = ?.
|
java.util.List<CommercePriceEntry> |
findByLtD_S(java.util.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 = ?.
|
java.util.List<CommercePriceEntry> |
findByLtD_S(java.util.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 = ?.
|
CommercePriceEntry |
findByLtE_S_First(java.util.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 = ?.
|
CommercePriceEntry |
findByLtE_S_Last(java.util.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 = ?.
|
CommercePriceEntry[] |
findByLtE_S_PrevAndNext(long commercePriceEntryId,
java.util.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 = ?.
|
java.util.List<CommercePriceEntry> |
findByLtE_S(java.util.Date expirationDate,
int status)
Returns all the commerce price entries where expirationDate < ? and status = ?.
|
java.util.List<CommercePriceEntry> |
findByLtE_S(java.util.Date expirationDate,
int status,
int start,
int end)
Returns a range of all the commerce price entries where expirationDate < ? and status = ?.
|
java.util.List<CommercePriceEntry> |
findByLtE_S(java.util.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 = ?.
|
java.util.List<CommercePriceEntry> |
findByLtE_S(java.util.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 = ?.
|
CommercePriceEntry |
findByPrimaryKey(long commercePriceEntryId)
Returns the commerce price entry with the primary key or throws a
NoSuchPriceEntryException if it could not be found. |
CommercePriceEntry |
findByUuid_C_First(java.lang.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 = ?.
|
CommercePriceEntry |
findByUuid_C_Last(java.lang.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 = ?.
|
CommercePriceEntry[] |
findByUuid_C_PrevAndNext(long commercePriceEntryId,
java.lang.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 = ?.
|
java.util.List<CommercePriceEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce price entries where uuid = ? and companyId = ?.
|
java.util.List<CommercePriceEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce price entries where uuid = ? and companyId = ?.
|
java.util.List<CommercePriceEntry> |
findByUuid_C(java.lang.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 = ?.
|
java.util.List<CommercePriceEntry> |
findByUuid_C(java.lang.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 = ?.
|
CommercePriceEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Returns the first commerce price entry in the ordered set where uuid = ?.
|
CommercePriceEntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Returns the last commerce price entry in the ordered set where uuid = ?.
|
CommercePriceEntry[] |
findByUuid_PrevAndNext(long commercePriceEntryId,
java.lang.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 = ?.
|
java.util.List<CommercePriceEntry> |
findByUuid(java.lang.String uuid)
Returns all the commerce price entries where uuid = ?.
|
java.util.List<CommercePriceEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce price entries where uuid = ?.
|
java.util.List<CommercePriceEntry> |
findByUuid(java.lang.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 = ?.
|
java.util.List<CommercePriceEntry> |
findByUuid(java.lang.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 = ?.
|
CommercePriceEntry |
remove(long commercePriceEntryId)
Removes the commerce price entry with the primary key from the database.
|
void |
removeAll()
Removes all the commerce price entries from the database.
|
void |
removeByC_C_S(long commercePriceListId,
java.lang.String CPInstanceUuid,
int status)
Removes all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ? from the database.
|
void |
removeByC_C(long commercePriceListId,
java.lang.String CPInstanceUuid)
Removes all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? from the database.
|
void |
removeByC_Q_U(java.lang.String CPInstanceUuid,
java.math.BigDecimal quantity,
java.lang.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(java.lang.String CPInstanceUuid)
Removes all the commerce price entries where CPInstanceUuid = ? from the database.
|
CommercePriceEntry |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the commerce price entry where externalReferenceCode = ? and companyId = ? from the database.
|
void |
removeByLtD_S(java.util.Date displayDate,
int status)
Removes all the commerce price entries where displayDate < ? and status = ? from the database.
|
void |
removeByLtE_S(java.util.Date expirationDate,
int status)
Removes all the commerce price entries where expirationDate < ? and status = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce price entries where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce price entries where uuid = ? from the database.
|
CommercePriceEntry |
updateImpl(CommercePriceEntry commercePriceEntry) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
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, setDataSource, unregisterListener, update, update
java.util.List<CommercePriceEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommercePriceEntry> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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)java.util.List<CommercePriceEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)java.util.List<CommercePriceEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommercePriceEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price entry could not be foundCommercePriceEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price entry could not be foundCommercePriceEntry[] findByUuid_PrevAndNext(long commercePriceEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
commercePriceEntryId
- the primary key of the current commerce price entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a commerce price entry with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommercePriceEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommercePriceEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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)java.util.List<CommercePriceEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)java.util.List<CommercePriceEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommercePriceEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price entry could not be foundCommercePriceEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price entry could not be foundCommercePriceEntry[] findByUuid_C_PrevAndNext(long commercePriceEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
commercePriceEntryId
- the primary key of the current commerce price entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a commerce price entry with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommercePriceEntry> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CommercePriceEntry> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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)java.util.List<CommercePriceEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)java.util.List<CommercePriceEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommercePriceEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price entry could not be foundCommercePriceEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price entry could not be foundCommercePriceEntry[] findByCompanyId_PrevAndNext(long commercePriceEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
commercePriceEntryId
- the primary key of the current commerce price entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a commerce price entry with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CommercePriceEntry> findByCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list IDjava.util.List<CommercePriceEntry> findByCommercePriceListId(long commercePriceListId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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)java.util.List<CommercePriceEntry> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)java.util.List<CommercePriceEntry> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommercePriceEntry findByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price entry could not be foundCommercePriceEntry findByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price entry could not be foundCommercePriceEntry[] findByCommercePriceListId_PrevAndNext(long commercePriceEntryId, long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
commercePriceEntryId
- the primary key of the current commerce price entrycommercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a commerce price entry with the primary key could not be foundvoid removeByCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list IDint countByCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list IDjava.util.List<CommercePriceEntry> findByCPInstanceUuid(java.lang.String CPInstanceUuid)
CPInstanceUuid
- the cp instance uuidjava.util.List<CommercePriceEntry> findByCPInstanceUuid(java.lang.String CPInstanceUuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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)java.util.List<CommercePriceEntry> findByCPInstanceUuid(java.lang.String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)java.util.List<CommercePriceEntry> findByCPInstanceUuid(java.lang.String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommercePriceEntry findByCPInstanceUuid_First(java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByCPInstanceUuid_First(java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price entry could not be foundCommercePriceEntry findByCPInstanceUuid_Last(java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByCPInstanceUuid_Last(java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price entry could not be foundCommercePriceEntry[] findByCPInstanceUuid_PrevAndNext(long commercePriceEntryId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
commercePriceEntryId
- the primary key of the current commerce price entryCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a commerce price entry with the primary key could not be foundvoid removeByCPInstanceUuid(java.lang.String CPInstanceUuid)
CPInstanceUuid
- the cp instance uuidint countByCPInstanceUuid(java.lang.String CPInstanceUuid)
CPInstanceUuid
- the cp instance uuidjava.util.List<CommercePriceEntry> findByC_C(long commercePriceListId, java.lang.String CPInstanceUuid)
commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidjava.util.List<CommercePriceEntry> findByC_C(long commercePriceListId, java.lang.String CPInstanceUuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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)java.util.List<CommercePriceEntry> findByC_C(long commercePriceListId, java.lang.String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)java.util.List<CommercePriceEntry> findByC_C(long commercePriceListId, java.lang.String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommercePriceEntry findByC_C_First(long commercePriceListId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByC_C_First(long commercePriceListId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price entry could not be foundCommercePriceEntry findByC_C_Last(long commercePriceListId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByC_C_Last(long commercePriceListId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price entry could not be foundCommercePriceEntry[] findByC_C_PrevAndNext(long commercePriceEntryId, long commercePriceListId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
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 (optionally null
)NoSuchPriceEntryException
- if a commerce price entry with the primary key could not be foundvoid removeByC_C(long commercePriceListId, java.lang.String CPInstanceUuid)
commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidint countByC_C(long commercePriceListId, java.lang.String CPInstanceUuid)
commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidjava.util.List<CommercePriceEntry> findByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statusjava.util.List<CommercePriceEntry> findByLtD_S(java.util.Date displayDate, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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)java.util.List<CommercePriceEntry> findByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)java.util.List<CommercePriceEntry> findByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommercePriceEntry findByLtD_S_First(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByLtD_S_First(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price entry could not be foundCommercePriceEntry findByLtD_S_Last(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByLtD_S_Last(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price entry could not be foundCommercePriceEntry[] findByLtD_S_PrevAndNext(long commercePriceEntryId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
commercePriceEntryId
- the primary key of the current commerce price entrydisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a commerce price entry with the primary key could not be foundvoid removeByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statusint countByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statusjava.util.List<CommercePriceEntry> findByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statusjava.util.List<CommercePriceEntry> findByLtE_S(java.util.Date expirationDate, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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)java.util.List<CommercePriceEntry> findByLtE_S(java.util.Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)java.util.List<CommercePriceEntry> findByLtE_S(java.util.Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommercePriceEntry findByLtE_S_First(java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByLtE_S_First(java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price entry could not be foundCommercePriceEntry findByLtE_S_Last(java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByLtE_S_Last(java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price entry could not be foundCommercePriceEntry[] findByLtE_S_PrevAndNext(long commercePriceEntryId, java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
commercePriceEntryId
- the primary key of the current commerce price entryexpirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a commerce price entry with the primary key could not be foundvoid removeByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statusint countByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statusjava.util.List<CommercePriceEntry> findByC_C_S(long commercePriceListId, java.lang.String CPInstanceUuid, int status)
commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidstatus
- the statusjava.util.List<CommercePriceEntry> findByC_C_S(long commercePriceListId, java.lang.String CPInstanceUuid, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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)java.util.List<CommercePriceEntry> findByC_C_S(long commercePriceListId, java.lang.String CPInstanceUuid, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)java.util.List<CommercePriceEntry> findByC_C_S(long commercePriceListId, java.lang.String CPInstanceUuid, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommercePriceEntry findByC_C_S_First(long commercePriceListId, java.lang.String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByC_C_S_First(long commercePriceListId, java.lang.String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price entry could not be foundCommercePriceEntry findByC_C_S_Last(long commercePriceListId, java.lang.String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByC_C_S_Last(long commercePriceListId, java.lang.String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price entry could not be foundCommercePriceEntry[] findByC_C_S_PrevAndNext(long commercePriceEntryId, long commercePriceListId, java.lang.String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
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 (optionally null
)NoSuchPriceEntryException
- if a commerce price entry with the primary key could not be foundvoid removeByC_C_S(long commercePriceListId, java.lang.String CPInstanceUuid, int status)
commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidstatus
- the statusint countByC_C_S(long commercePriceListId, java.lang.String CPInstanceUuid, int status)
commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidstatus
- the statusjava.util.List<CommercePriceEntry> findByC_Q_U(java.lang.String CPInstanceUuid, java.math.BigDecimal quantity, java.lang.String unitOfMeasureKey)
CPInstanceUuid
- the cp instance uuidquantity
- the quantityunitOfMeasureKey
- the unit of measure keyjava.util.List<CommercePriceEntry> findByC_Q_U(java.lang.String CPInstanceUuid, java.math.BigDecimal quantity, java.lang.String unitOfMeasureKey, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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)java.util.List<CommercePriceEntry> findByC_Q_U(java.lang.String CPInstanceUuid, java.math.BigDecimal quantity, java.lang.String unitOfMeasureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)java.util.List<CommercePriceEntry> findByC_Q_U(java.lang.String CPInstanceUuid, java.math.BigDecimal quantity, java.lang.String unitOfMeasureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommercePriceEntry findByC_Q_U_First(java.lang.String CPInstanceUuid, java.math.BigDecimal quantity, java.lang.String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
CPInstanceUuid
- the cp instance uuidquantity
- the quantityunitOfMeasureKey
- the unit of measure keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByC_Q_U_First(java.lang.String CPInstanceUuid, java.math.BigDecimal quantity, java.lang.String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
CPInstanceUuid
- the cp instance uuidquantity
- the quantityunitOfMeasureKey
- the unit of measure keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price entry could not be foundCommercePriceEntry findByC_Q_U_Last(java.lang.String CPInstanceUuid, java.math.BigDecimal quantity, java.lang.String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
CPInstanceUuid
- the cp instance uuidquantity
- the quantityunitOfMeasureKey
- the unit of measure keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByC_Q_U_Last(java.lang.String CPInstanceUuid, java.math.BigDecimal quantity, java.lang.String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
CPInstanceUuid
- the cp instance uuidquantity
- the quantityunitOfMeasureKey
- the unit of measure keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price entry could not be foundCommercePriceEntry[] findByC_Q_U_PrevAndNext(long commercePriceEntryId, java.lang.String CPInstanceUuid, java.math.BigDecimal quantity, java.lang.String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
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 (optionally null
)NoSuchPriceEntryException
- if a commerce price entry with the primary key could not be foundvoid removeByC_Q_U(java.lang.String CPInstanceUuid, java.math.BigDecimal quantity, java.lang.String unitOfMeasureKey)
CPInstanceUuid
- the cp instance uuidquantity
- the quantityunitOfMeasureKey
- the unit of measure keyint countByC_Q_U(java.lang.String CPInstanceUuid, java.math.BigDecimal quantity, java.lang.String unitOfMeasureKey)
CPInstanceUuid
- the cp instance uuidquantity
- the quantityunitOfMeasureKey
- the unit of measure keyCommercePriceEntry findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchPriceEntryException
NoSuchPriceEntryException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByERC_C(java.lang.String externalReferenceCode, long companyId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDnull
if a matching commerce price entry could not be foundCommercePriceEntry fetchByERC_C(java.lang.String externalReferenceCode, long companyId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce price entry could not be foundCommercePriceEntry removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchPriceEntryException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchPriceEntryException
int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDvoid cacheResult(CommercePriceEntry commercePriceEntry)
commercePriceEntry
- the commerce price entryvoid cacheResult(java.util.List<CommercePriceEntry> commercePriceEntries)
commercePriceEntries
- the commerce price entriesCommercePriceEntry create(long commercePriceEntryId)
commercePriceEntryId
- the primary key for the new commerce price entryCommercePriceEntry remove(long commercePriceEntryId) throws NoSuchPriceEntryException
commercePriceEntryId
- the primary key of the commerce price entryNoSuchPriceEntryException
- if a commerce price entry with the primary key could not be foundCommercePriceEntry updateImpl(CommercePriceEntry commercePriceEntry)
CommercePriceEntry findByPrimaryKey(long commercePriceEntryId) throws NoSuchPriceEntryException
NoSuchPriceEntryException
if it could not be found.commercePriceEntryId
- the primary key of the commerce price entryNoSuchPriceEntryException
- if a commerce price entry with the primary key could not be foundCommercePriceEntry fetchByPrimaryKey(long commercePriceEntryId)
null
if it could not be found.commercePriceEntryId
- the primary key of the commerce price entrynull
if a commerce price entry with the primary key could not be foundjava.util.List<CommercePriceEntry> findAll()
java.util.List<CommercePriceEntry> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
start
- the lower bound of the range of commerce price entriesend
- the upper bound of the range of commerce price entries (not inclusive)java.util.List<CommercePriceEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)java.util.List<CommercePriceEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()