@ProviderType public interface CommercePricingClassCPDefinitionRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePricingClassCPDefinitionRel>
Caching information and settings can be found in portal.properties
CommercePricingClassCPDefinitionRelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommercePricingClassCPDefinitionRel commercePricingClassCPDefinitionRel)
Caches the commerce pricing class cp definition rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommercePricingClassCPDefinitionRel> commercePricingClassCPDefinitionRels)
Caches the commerce pricing class cp definition rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce pricing class cp definition rels.
|
int |
countByC_C(long commercePricingClassId,
long CPDefinitionId)
Returns the number of commerce pricing class cp definition rels where commercePricingClassId = ? and CPDefinitionId = ?.
|
int |
countByCommercePricingClassId(long commercePricingClassId)
Returns the number of commerce pricing class cp definition rels where commercePricingClassId = ?.
|
int |
countByCPDefinitionId(long CPDefinitionId)
Returns the number of commerce pricing class cp definition rels where CPDefinitionId = ?.
|
CommercePricingClassCPDefinitionRel |
create(long CommercePricingClassCPDefinitionRelId)
Creates a new commerce pricing class cp definition rel with the primary key.
|
CommercePricingClassCPDefinitionRel |
fetchByC_C(long commercePricingClassId,
long CPDefinitionId)
Returns the commerce pricing class cp definition rel where commercePricingClassId = ? and CPDefinitionId = ? or returns
null if it could not be found. |
CommercePricingClassCPDefinitionRel |
fetchByC_C(long commercePricingClassId,
long CPDefinitionId,
boolean useFinderCache)
Returns the commerce pricing class cp definition rel where commercePricingClassId = ? and CPDefinitionId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommercePricingClassCPDefinitionRel |
fetchByCommercePricingClassId_First(long commercePricingClassId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
Returns the first commerce pricing class cp definition rel in the ordered set where commercePricingClassId = ?.
|
CommercePricingClassCPDefinitionRel |
fetchByCommercePricingClassId_Last(long commercePricingClassId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
Returns the last commerce pricing class cp definition rel in the ordered set where commercePricingClassId = ?.
|
CommercePricingClassCPDefinitionRel |
fetchByCPDefinitionId_First(long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
Returns the first commerce pricing class cp definition rel in the ordered set where CPDefinitionId = ?.
|
CommercePricingClassCPDefinitionRel |
fetchByCPDefinitionId_Last(long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
Returns the last commerce pricing class cp definition rel in the ordered set where CPDefinitionId = ?.
|
CommercePricingClassCPDefinitionRel |
fetchByPrimaryKey(long CommercePricingClassCPDefinitionRelId)
Returns the commerce pricing class cp definition rel with the primary key or returns
null if it could not be found. |
java.util.List<CommercePricingClassCPDefinitionRel> |
findAll()
Returns all the commerce pricing class cp definition rels.
|
java.util.List<CommercePricingClassCPDefinitionRel> |
findAll(int start,
int end)
Returns a range of all the commerce pricing class cp definition rels.
|
java.util.List<CommercePricingClassCPDefinitionRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
Returns an ordered range of all the commerce pricing class cp definition rels.
|
java.util.List<CommercePricingClassCPDefinitionRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce pricing class cp definition rels.
|
CommercePricingClassCPDefinitionRel |
findByC_C(long commercePricingClassId,
long CPDefinitionId)
Returns the commerce pricing class cp definition rel where commercePricingClassId = ? and CPDefinitionId = ? or throws a
NoSuchPricingClassCPDefinitionRelException if it could not be found. |
CommercePricingClassCPDefinitionRel |
findByCommercePricingClassId_First(long commercePricingClassId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
Returns the first commerce pricing class cp definition rel in the ordered set where commercePricingClassId = ?.
|
CommercePricingClassCPDefinitionRel |
findByCommercePricingClassId_Last(long commercePricingClassId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
Returns the last commerce pricing class cp definition rel in the ordered set where commercePricingClassId = ?.
|
CommercePricingClassCPDefinitionRel[] |
findByCommercePricingClassId_PrevAndNext(long CommercePricingClassCPDefinitionRelId,
long commercePricingClassId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
Returns the commerce pricing class cp definition rels before and after the current commerce pricing class cp definition rel in the ordered set where commercePricingClassId = ?.
|
java.util.List<CommercePricingClassCPDefinitionRel> |
findByCommercePricingClassId(long commercePricingClassId)
Returns all the commerce pricing class cp definition rels where commercePricingClassId = ?.
|
java.util.List<CommercePricingClassCPDefinitionRel> |
findByCommercePricingClassId(long commercePricingClassId,
int start,
int end)
Returns a range of all the commerce pricing class cp definition rels where commercePricingClassId = ?.
|
java.util.List<CommercePricingClassCPDefinitionRel> |
findByCommercePricingClassId(long commercePricingClassId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
Returns an ordered range of all the commerce pricing class cp definition rels where commercePricingClassId = ?.
|
java.util.List<CommercePricingClassCPDefinitionRel> |
findByCommercePricingClassId(long commercePricingClassId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce pricing class cp definition rels where commercePricingClassId = ?.
|
CommercePricingClassCPDefinitionRel |
findByCPDefinitionId_First(long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
Returns the first commerce pricing class cp definition rel in the ordered set where CPDefinitionId = ?.
|
CommercePricingClassCPDefinitionRel |
findByCPDefinitionId_Last(long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
Returns the last commerce pricing class cp definition rel in the ordered set where CPDefinitionId = ?.
|
CommercePricingClassCPDefinitionRel[] |
findByCPDefinitionId_PrevAndNext(long CommercePricingClassCPDefinitionRelId,
long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
Returns the commerce pricing class cp definition rels before and after the current commerce pricing class cp definition rel in the ordered set where CPDefinitionId = ?.
|
java.util.List<CommercePricingClassCPDefinitionRel> |
findByCPDefinitionId(long CPDefinitionId)
Returns all the commerce pricing class cp definition rels where CPDefinitionId = ?.
|
java.util.List<CommercePricingClassCPDefinitionRel> |
findByCPDefinitionId(long CPDefinitionId,
int start,
int end)
Returns a range of all the commerce pricing class cp definition rels where CPDefinitionId = ?.
|
java.util.List<CommercePricingClassCPDefinitionRel> |
findByCPDefinitionId(long CPDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
Returns an ordered range of all the commerce pricing class cp definition rels where CPDefinitionId = ?.
|
java.util.List<CommercePricingClassCPDefinitionRel> |
findByCPDefinitionId(long CPDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce pricing class cp definition rels where CPDefinitionId = ?.
|
CommercePricingClassCPDefinitionRel |
findByPrimaryKey(long CommercePricingClassCPDefinitionRelId)
Returns the commerce pricing class cp definition rel with the primary key or throws a
NoSuchPricingClassCPDefinitionRelException if it could not be found. |
CommercePricingClassCPDefinitionRel |
remove(long CommercePricingClassCPDefinitionRelId)
Removes the commerce pricing class cp definition rel with the primary key from the database.
|
void |
removeAll()
Removes all the commerce pricing class cp definition rels from the database.
|
CommercePricingClassCPDefinitionRel |
removeByC_C(long commercePricingClassId,
long CPDefinitionId)
Removes the commerce pricing class cp definition rel where commercePricingClassId = ? and CPDefinitionId = ? from the database.
|
void |
removeByCommercePricingClassId(long commercePricingClassId)
Removes all the commerce pricing class cp definition rels where commercePricingClassId = ? from the database.
|
void |
removeByCPDefinitionId(long CPDefinitionId)
Removes all the commerce pricing class cp definition rels where CPDefinitionId = ? from the database.
|
CommercePricingClassCPDefinitionRel |
updateImpl(CommercePricingClassCPDefinitionRel commercePricingClassCPDefinitionRel) |
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<CommercePricingClassCPDefinitionRel> findByCommercePricingClassId(long commercePricingClassId)
commercePricingClassId
- the commerce pricing class IDjava.util.List<CommercePricingClassCPDefinitionRel> findByCommercePricingClassId(long commercePricingClassId, 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 CommercePricingClassCPDefinitionRelModelImpl
.
commercePricingClassId
- the commerce pricing class IDstart
- the lower bound of the range of commerce pricing class cp definition relsend
- the upper bound of the range of commerce pricing class cp definition rels (not inclusive)java.util.List<CommercePricingClassCPDefinitionRel> findByCommercePricingClassId(long commercePricingClassId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> 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 CommercePricingClassCPDefinitionRelModelImpl
.
commercePricingClassId
- the commerce pricing class IDstart
- the lower bound of the range of commerce pricing class cp definition relsend
- the upper bound of the range of commerce pricing class cp definition rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommercePricingClassCPDefinitionRel> findByCommercePricingClassId(long commercePricingClassId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> 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 CommercePricingClassCPDefinitionRelModelImpl
.
commercePricingClassId
- the commerce pricing class IDstart
- the lower bound of the range of commerce pricing class cp definition relsend
- the upper bound of the range of commerce pricing class cp definition rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommercePricingClassCPDefinitionRel findByCommercePricingClassId_First(long commercePricingClassId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator) throws NoSuchPricingClassCPDefinitionRelException
commercePricingClassId
- the commerce pricing class IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPricingClassCPDefinitionRelException
- if a matching commerce pricing class cp definition rel could not be foundCommercePricingClassCPDefinitionRel fetchByCommercePricingClassId_First(long commercePricingClassId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
commercePricingClassId
- the commerce pricing class IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce pricing class cp definition rel could not be foundCommercePricingClassCPDefinitionRel findByCommercePricingClassId_Last(long commercePricingClassId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator) throws NoSuchPricingClassCPDefinitionRelException
commercePricingClassId
- the commerce pricing class IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPricingClassCPDefinitionRelException
- if a matching commerce pricing class cp definition rel could not be foundCommercePricingClassCPDefinitionRel fetchByCommercePricingClassId_Last(long commercePricingClassId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
commercePricingClassId
- the commerce pricing class IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce pricing class cp definition rel could not be foundCommercePricingClassCPDefinitionRel[] findByCommercePricingClassId_PrevAndNext(long CommercePricingClassCPDefinitionRelId, long commercePricingClassId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator) throws NoSuchPricingClassCPDefinitionRelException
CommercePricingClassCPDefinitionRelId
- the primary key of the current commerce pricing class cp definition relcommercePricingClassId
- the commerce pricing class IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPricingClassCPDefinitionRelException
- if a commerce pricing class cp definition rel with the primary key could not be foundvoid removeByCommercePricingClassId(long commercePricingClassId)
commercePricingClassId
- the commerce pricing class IDint countByCommercePricingClassId(long commercePricingClassId)
commercePricingClassId
- the commerce pricing class IDjava.util.List<CommercePricingClassCPDefinitionRel> findByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDjava.util.List<CommercePricingClassCPDefinitionRel> findByCPDefinitionId(long CPDefinitionId, 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 CommercePricingClassCPDefinitionRelModelImpl
.
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of commerce pricing class cp definition relsend
- the upper bound of the range of commerce pricing class cp definition rels (not inclusive)java.util.List<CommercePricingClassCPDefinitionRel> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> 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 CommercePricingClassCPDefinitionRelModelImpl
.
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of commerce pricing class cp definition relsend
- the upper bound of the range of commerce pricing class cp definition rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommercePricingClassCPDefinitionRel> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> 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 CommercePricingClassCPDefinitionRelModelImpl
.
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of commerce pricing class cp definition relsend
- the upper bound of the range of commerce pricing class cp definition rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommercePricingClassCPDefinitionRel findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator) throws NoSuchPricingClassCPDefinitionRelException
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPricingClassCPDefinitionRelException
- if a matching commerce pricing class cp definition rel could not be foundCommercePricingClassCPDefinitionRel fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce pricing class cp definition rel could not be foundCommercePricingClassCPDefinitionRel findByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator) throws NoSuchPricingClassCPDefinitionRelException
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPricingClassCPDefinitionRelException
- if a matching commerce pricing class cp definition rel could not be foundCommercePricingClassCPDefinitionRel fetchByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce pricing class cp definition rel could not be foundCommercePricingClassCPDefinitionRel[] findByCPDefinitionId_PrevAndNext(long CommercePricingClassCPDefinitionRelId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator) throws NoSuchPricingClassCPDefinitionRelException
CommercePricingClassCPDefinitionRelId
- the primary key of the current commerce pricing class cp definition relCPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPricingClassCPDefinitionRelException
- if a commerce pricing class cp definition rel with the primary key could not be foundvoid removeByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDint countByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDCommercePricingClassCPDefinitionRel findByC_C(long commercePricingClassId, long CPDefinitionId) throws NoSuchPricingClassCPDefinitionRelException
NoSuchPricingClassCPDefinitionRelException
if it could not be found.commercePricingClassId
- the commerce pricing class IDCPDefinitionId
- the cp definition IDNoSuchPricingClassCPDefinitionRelException
- if a matching commerce pricing class cp definition rel could not be foundCommercePricingClassCPDefinitionRel fetchByC_C(long commercePricingClassId, long CPDefinitionId)
null
if it could not be found. Uses the finder cache.commercePricingClassId
- the commerce pricing class IDCPDefinitionId
- the cp definition IDnull
if a matching commerce pricing class cp definition rel could not be foundCommercePricingClassCPDefinitionRel fetchByC_C(long commercePricingClassId, long CPDefinitionId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.commercePricingClassId
- the commerce pricing class IDCPDefinitionId
- the cp definition IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce pricing class cp definition rel could not be foundCommercePricingClassCPDefinitionRel removeByC_C(long commercePricingClassId, long CPDefinitionId) throws NoSuchPricingClassCPDefinitionRelException
commercePricingClassId
- the commerce pricing class IDCPDefinitionId
- the cp definition IDNoSuchPricingClassCPDefinitionRelException
int countByC_C(long commercePricingClassId, long CPDefinitionId)
commercePricingClassId
- the commerce pricing class IDCPDefinitionId
- the cp definition IDvoid cacheResult(CommercePricingClassCPDefinitionRel commercePricingClassCPDefinitionRel)
commercePricingClassCPDefinitionRel
- the commerce pricing class cp definition relvoid cacheResult(java.util.List<CommercePricingClassCPDefinitionRel> commercePricingClassCPDefinitionRels)
commercePricingClassCPDefinitionRels
- the commerce pricing class cp definition relsCommercePricingClassCPDefinitionRel create(long CommercePricingClassCPDefinitionRelId)
CommercePricingClassCPDefinitionRelId
- the primary key for the new commerce pricing class cp definition relCommercePricingClassCPDefinitionRel remove(long CommercePricingClassCPDefinitionRelId) throws NoSuchPricingClassCPDefinitionRelException
CommercePricingClassCPDefinitionRelId
- the primary key of the commerce pricing class cp definition relNoSuchPricingClassCPDefinitionRelException
- if a commerce pricing class cp definition rel with the primary key could not be foundCommercePricingClassCPDefinitionRel updateImpl(CommercePricingClassCPDefinitionRel commercePricingClassCPDefinitionRel)
CommercePricingClassCPDefinitionRel findByPrimaryKey(long CommercePricingClassCPDefinitionRelId) throws NoSuchPricingClassCPDefinitionRelException
NoSuchPricingClassCPDefinitionRelException
if it could not be found.CommercePricingClassCPDefinitionRelId
- the primary key of the commerce pricing class cp definition relNoSuchPricingClassCPDefinitionRelException
- if a commerce pricing class cp definition rel with the primary key could not be foundCommercePricingClassCPDefinitionRel fetchByPrimaryKey(long CommercePricingClassCPDefinitionRelId)
null
if it could not be found.CommercePricingClassCPDefinitionRelId
- the primary key of the commerce pricing class cp definition relnull
if a commerce pricing class cp definition rel with the primary key could not be foundjava.util.List<CommercePricingClassCPDefinitionRel> findAll()
java.util.List<CommercePricingClassCPDefinitionRel> 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 CommercePricingClassCPDefinitionRelModelImpl
.
start
- the lower bound of the range of commerce pricing class cp definition relsend
- the upper bound of the range of commerce pricing class cp definition rels (not inclusive)java.util.List<CommercePricingClassCPDefinitionRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> 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 CommercePricingClassCPDefinitionRelModelImpl
.
start
- the lower bound of the range of commerce pricing class cp definition relsend
- the upper bound of the range of commerce pricing class cp definition rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommercePricingClassCPDefinitionRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> 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 CommercePricingClassCPDefinitionRelModelImpl
.
start
- the lower bound of the range of commerce pricing class cp definition relsend
- the upper bound of the range of commerce pricing class cp definition rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()