@ProviderType public interface CommercePriceEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<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_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the number of commerce price entries where companyId = ? and externalReferenceCode = ?.
|
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 |
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_S(long commercePriceListId,
java.lang.String CPInstanceUuid,
int status)
Returns the commerce price entry where commercePriceListId = ? and CPInstanceUuid = ? and status = ? or returns
null if it could not be found. |
CommercePriceEntry |
fetchByC_C_S(long commercePriceListId,
java.lang.String CPInstanceUuid,
int status,
boolean useFinderCache)
Returns the commerce price entry where commercePriceListId = ? and CPInstanceUuid = ? and status = ? or returns
null if it could not be found, optionally using the finder cache. |
CommercePriceEntry |
fetchByC_C(long commercePriceListId,
java.lang.String CPInstanceUuid)
Returns the commerce price entry where commercePriceListId = ? and CPInstanceUuid = ? or returns
null if it could not be found. |
CommercePriceEntry |
fetchByC_C(long commercePriceListId,
java.lang.String CPInstanceUuid,
boolean useFinderCache)
Returns the commerce price entry where commercePriceListId = ? and CPInstanceUuid = ? or returns
null if it could not be found, optionally using the finder cache. |
CommercePriceEntry |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce price entry where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
CommercePriceEntry |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode,
boolean useFinderCache)
Returns the commerce price entry where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
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 |
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_S(long commercePriceListId,
java.lang.String CPInstanceUuid,
int status)
Returns the commerce price entry where commercePriceListId = ? and CPInstanceUuid = ? and status = ? or throws a
NoSuchPriceEntryException if it could not be found. |
CommercePriceEntry |
findByC_C(long commercePriceListId,
java.lang.String CPInstanceUuid)
Returns the commerce price entry where commercePriceListId = ? and CPInstanceUuid = ? or throws a
NoSuchPriceEntryException if it could not be found. |
CommercePriceEntry |
findByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce price entry where companyId = ? and externalReferenceCode = ? or throws a
NoSuchPriceEntryException if it could not be found. |
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 |
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.
|
CommercePriceEntry |
removeByC_C_S(long commercePriceListId,
java.lang.String CPInstanceUuid,
int status)
Removes the commerce price entry where commercePriceListId = ? and CPInstanceUuid = ? and status = ? from the database.
|
CommercePriceEntry |
removeByC_C(long commercePriceListId,
java.lang.String CPInstanceUuid)
Removes the commerce price entry where commercePriceListId = ? and CPInstanceUuid = ? from the database.
|
CommercePriceEntry |
removeByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Removes the commerce price entry where companyId = ? and externalReferenceCode = ? 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.
|
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) |
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 uuidCommercePriceEntry findByC_C(long commercePriceListId, java.lang.String CPInstanceUuid) throws NoSuchPriceEntryException
NoSuchPriceEntryException
if it could not be found.commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidNoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByC_C(long commercePriceListId, java.lang.String CPInstanceUuid)
null
if it could not be found. Uses the finder cache.commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidnull
if a matching commerce price entry could not be foundCommercePriceEntry fetchByC_C(long commercePriceListId, java.lang.String CPInstanceUuid, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuiduseFinderCache
- whether to use the finder cachenull
if a matching commerce price entry could not be foundCommercePriceEntry removeByC_C(long commercePriceListId, java.lang.String CPInstanceUuid) throws NoSuchPriceEntryException
commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidNoSuchPriceEntryException
int 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 statusCommercePriceEntry findByC_C_S(long commercePriceListId, java.lang.String CPInstanceUuid, int status) throws NoSuchPriceEntryException
NoSuchPriceEntryException
if it could not be found.commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidstatus
- the statusNoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByC_C_S(long commercePriceListId, java.lang.String CPInstanceUuid, int status)
null
if it could not be found. Uses the finder cache.commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidstatus
- the statusnull
if a matching commerce price entry could not be foundCommercePriceEntry fetchByC_C_S(long commercePriceListId, java.lang.String CPInstanceUuid, int status, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidstatus
- the statususeFinderCache
- whether to use the finder cachenull
if a matching commerce price entry could not be foundCommercePriceEntry removeByC_C_S(long commercePriceListId, java.lang.String CPInstanceUuid, int status) throws NoSuchPriceEntryException
commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidstatus
- the statusNoSuchPriceEntryException
int countByC_C_S(long commercePriceListId, java.lang.String CPInstanceUuid, int status)
commercePriceListId
- the commerce price list IDCPInstanceUuid
- the cp instance uuidstatus
- the statusCommercePriceEntry findByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchPriceEntryException
NoSuchPriceEntryException
if it could not be found.companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchPriceEntryException
- if a matching commerce price entry could not be foundCommercePriceEntry fetchByC_ERC(long companyId, java.lang.String externalReferenceCode)
null
if it could not be found. Uses the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codenull
if a matching commerce price entry could not be foundCommercePriceEntry fetchByC_ERC(long companyId, java.lang.String externalReferenceCode, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codeuseFinderCache
- whether to use the finder cachenull
if a matching commerce price entry could not be foundCommercePriceEntry removeByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchPriceEntryException
companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchPriceEntryException
int countByC_ERC(long companyId, java.lang.String externalReferenceCode)
companyId
- the company IDexternalReferenceCode
- the external reference codevoid 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()