@ProviderType public interface CPDefinitionInventoryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CPDefinitionInventory>
Caching information and settings can be found in portal.properties
CPDefinitionInventoryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CPDefinitionInventory cpDefinitionInventory)
Caches the cp definition inventory in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CPDefinitionInventory> cpDefinitionInventories)
Caches the cp definition inventories in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of cp definition inventories.
|
int |
countByCPDefinitionId(long CPDefinitionId)
Returns the number of cp definition inventories where CPDefinitionId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cp definition inventories where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of cp definition inventories where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of cp definition inventories where uuid = ?.
|
CPDefinitionInventory |
create(long CPDefinitionInventoryId)
Creates a new cp definition inventory with the primary key.
|
CPDefinitionInventory |
fetchByCPDefinitionId(long CPDefinitionId)
Returns the cp definition inventory where CPDefinitionId = ? or returns
null if it could not be found. |
CPDefinitionInventory |
fetchByCPDefinitionId(long CPDefinitionId,
boolean useFinderCache)
Returns the cp definition inventory where CPDefinitionId = ? or returns
null if it could not be found, optionally using the finder cache. |
CPDefinitionInventory |
fetchByPrimaryKey(long CPDefinitionInventoryId)
Returns the cp definition inventory with the primary key or returns
null if it could not be found. |
CPDefinitionInventory |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator)
Returns the first cp definition inventory in the ordered set where uuid = ? and companyId = ?.
|
CPDefinitionInventory |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator)
Returns the last cp definition inventory in the ordered set where uuid = ? and companyId = ?.
|
CPDefinitionInventory |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator)
Returns the first cp definition inventory in the ordered set where uuid = ?.
|
CPDefinitionInventory |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the cp definition inventory where uuid = ? and groupId = ? or returns
null if it could not be found. |
CPDefinitionInventory |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the cp definition inventory where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CPDefinitionInventory |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator)
Returns the last cp definition inventory in the ordered set where uuid = ?.
|
java.util.List<CPDefinitionInventory> |
findAll()
Returns all the cp definition inventories.
|
java.util.List<CPDefinitionInventory> |
findAll(int start,
int end)
Returns a range of all the cp definition inventories.
|
java.util.List<CPDefinitionInventory> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator)
Returns an ordered range of all the cp definition inventories.
|
java.util.List<CPDefinitionInventory> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition inventories.
|
CPDefinitionInventory |
findByCPDefinitionId(long CPDefinitionId)
Returns the cp definition inventory where CPDefinitionId = ? or throws a
NoSuchCPDefinitionInventoryException if it could not be found. |
CPDefinitionInventory |
findByPrimaryKey(long CPDefinitionInventoryId)
Returns the cp definition inventory with the primary key or throws a
NoSuchCPDefinitionInventoryException if it could not be found. |
CPDefinitionInventory |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator)
Returns the first cp definition inventory in the ordered set where uuid = ? and companyId = ?.
|
CPDefinitionInventory |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator)
Returns the last cp definition inventory in the ordered set where uuid = ? and companyId = ?.
|
CPDefinitionInventory[] |
findByUuid_C_PrevAndNext(long CPDefinitionInventoryId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator)
Returns the cp definition inventories before and after the current cp definition inventory in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CPDefinitionInventory> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cp definition inventories where uuid = ? and companyId = ?.
|
java.util.List<CPDefinitionInventory> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cp definition inventories where uuid = ? and companyId = ?.
|
java.util.List<CPDefinitionInventory> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator)
Returns an ordered range of all the cp definition inventories where uuid = ? and companyId = ?.
|
java.util.List<CPDefinitionInventory> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition inventories where uuid = ? and companyId = ?.
|
CPDefinitionInventory |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator)
Returns the first cp definition inventory in the ordered set where uuid = ?.
|
CPDefinitionInventory |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the cp definition inventory where uuid = ? and groupId = ? or throws a
NoSuchCPDefinitionInventoryException if it could not be found. |
CPDefinitionInventory |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator)
Returns the last cp definition inventory in the ordered set where uuid = ?.
|
CPDefinitionInventory[] |
findByUuid_PrevAndNext(long CPDefinitionInventoryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator)
Returns the cp definition inventories before and after the current cp definition inventory in the ordered set where uuid = ?.
|
java.util.List<CPDefinitionInventory> |
findByUuid(java.lang.String uuid)
Returns all the cp definition inventories where uuid = ?.
|
java.util.List<CPDefinitionInventory> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cp definition inventories where uuid = ?.
|
java.util.List<CPDefinitionInventory> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator)
Returns an ordered range of all the cp definition inventories where uuid = ?.
|
java.util.List<CPDefinitionInventory> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition inventories where uuid = ?.
|
CPDefinitionInventory |
remove(long CPDefinitionInventoryId)
Removes the cp definition inventory with the primary key from the database.
|
void |
removeAll()
Removes all the cp definition inventories from the database.
|
CPDefinitionInventory |
removeByCPDefinitionId(long CPDefinitionId)
Removes the cp definition inventory where CPDefinitionId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the cp definition inventories where uuid = ? and companyId = ? from the database.
|
CPDefinitionInventory |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the cp definition inventory where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the cp definition inventories where uuid = ? from the database.
|
CPDefinitionInventory |
updateImpl(CPDefinitionInventory cpDefinitionInventory) |
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<CPDefinitionInventory> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CPDefinitionInventory> 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 CPDefinitionInventoryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp definition inventoriesend
- the upper bound of the range of cp definition inventories (not inclusive)java.util.List<CPDefinitionInventory> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> 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 CPDefinitionInventoryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp definition inventoriesend
- the upper bound of the range of cp definition inventories (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinitionInventory> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> 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 CPDefinitionInventoryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp definition inventoriesend
- the upper bound of the range of cp definition inventories (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinitionInventory findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator) throws NoSuchCPDefinitionInventoryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionInventoryException
- if a matching cp definition inventory could not be foundCPDefinitionInventory fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition inventory could not be foundCPDefinitionInventory findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator) throws NoSuchCPDefinitionInventoryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionInventoryException
- if a matching cp definition inventory could not be foundCPDefinitionInventory fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition inventory could not be foundCPDefinitionInventory[] findByUuid_PrevAndNext(long CPDefinitionInventoryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator) throws NoSuchCPDefinitionInventoryException
CPDefinitionInventoryId
- the primary key of the current cp definition inventoryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionInventoryException
- if a cp definition inventory with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidCPDefinitionInventory findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPDefinitionInventoryException
NoSuchCPDefinitionInventoryException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchCPDefinitionInventoryException
- if a matching cp definition inventory could not be foundCPDefinitionInventory fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching cp definition inventory could not be foundCPDefinitionInventory fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching cp definition inventory could not be foundCPDefinitionInventory removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPDefinitionInventoryException
uuid
- the uuidgroupId
- the group IDNoSuchCPDefinitionInventoryException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<CPDefinitionInventory> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CPDefinitionInventory> 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 CPDefinitionInventoryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition inventoriesend
- the upper bound of the range of cp definition inventories (not inclusive)java.util.List<CPDefinitionInventory> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> 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 CPDefinitionInventoryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition inventoriesend
- the upper bound of the range of cp definition inventories (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinitionInventory> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> 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 CPDefinitionInventoryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition inventoriesend
- the upper bound of the range of cp definition inventories (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinitionInventory findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator) throws NoSuchCPDefinitionInventoryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionInventoryException
- if a matching cp definition inventory could not be foundCPDefinitionInventory fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition inventory could not be foundCPDefinitionInventory findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator) throws NoSuchCPDefinitionInventoryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionInventoryException
- if a matching cp definition inventory could not be foundCPDefinitionInventory fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition inventory could not be foundCPDefinitionInventory[] findByUuid_C_PrevAndNext(long CPDefinitionInventoryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> orderByComparator) throws NoSuchCPDefinitionInventoryException
CPDefinitionInventoryId
- the primary key of the current cp definition inventoryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionInventoryException
- if a cp definition inventory 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 IDCPDefinitionInventory findByCPDefinitionId(long CPDefinitionId) throws NoSuchCPDefinitionInventoryException
NoSuchCPDefinitionInventoryException
if it could not be found.CPDefinitionId
- the cp definition IDNoSuchCPDefinitionInventoryException
- if a matching cp definition inventory could not be foundCPDefinitionInventory fetchByCPDefinitionId(long CPDefinitionId)
null
if it could not be found. Uses the finder cache.CPDefinitionId
- the cp definition IDnull
if a matching cp definition inventory could not be foundCPDefinitionInventory fetchByCPDefinitionId(long CPDefinitionId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.CPDefinitionId
- the cp definition IDuseFinderCache
- whether to use the finder cachenull
if a matching cp definition inventory could not be foundCPDefinitionInventory removeByCPDefinitionId(long CPDefinitionId) throws NoSuchCPDefinitionInventoryException
CPDefinitionId
- the cp definition IDNoSuchCPDefinitionInventoryException
int countByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDvoid cacheResult(CPDefinitionInventory cpDefinitionInventory)
cpDefinitionInventory
- the cp definition inventoryvoid cacheResult(java.util.List<CPDefinitionInventory> cpDefinitionInventories)
cpDefinitionInventories
- the cp definition inventoriesCPDefinitionInventory create(long CPDefinitionInventoryId)
CPDefinitionInventoryId
- the primary key for the new cp definition inventoryCPDefinitionInventory remove(long CPDefinitionInventoryId) throws NoSuchCPDefinitionInventoryException
CPDefinitionInventoryId
- the primary key of the cp definition inventoryNoSuchCPDefinitionInventoryException
- if a cp definition inventory with the primary key could not be foundCPDefinitionInventory updateImpl(CPDefinitionInventory cpDefinitionInventory)
CPDefinitionInventory findByPrimaryKey(long CPDefinitionInventoryId) throws NoSuchCPDefinitionInventoryException
NoSuchCPDefinitionInventoryException
if it could not be found.CPDefinitionInventoryId
- the primary key of the cp definition inventoryNoSuchCPDefinitionInventoryException
- if a cp definition inventory with the primary key could not be foundCPDefinitionInventory fetchByPrimaryKey(long CPDefinitionInventoryId)
null
if it could not be found.CPDefinitionInventoryId
- the primary key of the cp definition inventorynull
if a cp definition inventory with the primary key could not be foundjava.util.List<CPDefinitionInventory> findAll()
java.util.List<CPDefinitionInventory> 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 CPDefinitionInventoryModelImpl
.
start
- the lower bound of the range of cp definition inventoriesend
- the upper bound of the range of cp definition inventories (not inclusive)java.util.List<CPDefinitionInventory> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> 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 CPDefinitionInventoryModelImpl
.
start
- the lower bound of the range of cp definition inventoriesend
- the upper bound of the range of cp definition inventories (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinitionInventory> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionInventory> 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 CPDefinitionInventoryModelImpl
.
start
- the lower bound of the range of cp definition inventoriesend
- the upper bound of the range of cp definition inventories (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()