@ProviderType public interface CommerceWarehouseItemPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceWarehouseItem>
Caching information and settings can be found in portal.properties
com.liferay.commerce.service.persistence.impl.CommerceWarehouseItemPersistenceImpl,
CommerceWarehouseItemUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(CommerceWarehouseItem commerceWarehouseItem)
Caches the commerce warehouse item in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceWarehouseItem> commerceWarehouseItems)
Caches the commerce warehouse items in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce warehouse items.
|
int |
countByCommerceWarehouseId(long commerceWarehouseId)
Returns the number of commerce warehouse items where commerceWarehouseId = ?.
|
int |
countByCPI_CPIU(long CProductId,
java.lang.String CPInstanceUuid)
Returns the number of commerce warehouse items where CProductId = ? and CPInstanceUuid = ?.
|
int |
countByCWI_CPIU(long commerceWarehouseId,
java.lang.String CPInstanceUuid)
Returns the number of commerce warehouse items where commerceWarehouseId = ? and CPInstanceUuid = ?.
|
CommerceWarehouseItem |
create(long commerceWarehouseItemId)
Creates a new commerce warehouse item with the primary key.
|
CommerceWarehouseItem |
fetchByCommerceWarehouseId_First(long commerceWarehouseId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator)
Returns the first commerce warehouse item in the ordered set where commerceWarehouseId = ?.
|
CommerceWarehouseItem |
fetchByCommerceWarehouseId_Last(long commerceWarehouseId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator)
Returns the last commerce warehouse item in the ordered set where commerceWarehouseId = ?.
|
CommerceWarehouseItem |
fetchByCPI_CPIU_First(long CProductId,
java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator)
Returns the first commerce warehouse item in the ordered set where CProductId = ? and CPInstanceUuid = ?.
|
CommerceWarehouseItem |
fetchByCPI_CPIU_Last(long CProductId,
java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator)
Returns the last commerce warehouse item in the ordered set where CProductId = ? and CPInstanceUuid = ?.
|
CommerceWarehouseItem |
fetchByCWI_CPIU(long commerceWarehouseId,
java.lang.String CPInstanceUuid)
Returns the commerce warehouse item where commerceWarehouseId = ? and CPInstanceUuid = ? or returns
null if it could not be found. |
CommerceWarehouseItem |
fetchByCWI_CPIU(long commerceWarehouseId,
java.lang.String CPInstanceUuid,
boolean retrieveFromCache)
Returns the commerce warehouse item where commerceWarehouseId = ? and CPInstanceUuid = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceWarehouseItem |
fetchByPrimaryKey(long commerceWarehouseItemId)
Returns the commerce warehouse item with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,CommerceWarehouseItem> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
java.util.List<CommerceWarehouseItem> |
findAll()
Returns all the commerce warehouse items.
|
java.util.List<CommerceWarehouseItem> |
findAll(int start,
int end)
Returns a range of all the commerce warehouse items.
|
java.util.List<CommerceWarehouseItem> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator)
Returns an ordered range of all the commerce warehouse items.
|
java.util.List<CommerceWarehouseItem> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce warehouse items.
|
CommerceWarehouseItem |
findByCommerceWarehouseId_First(long commerceWarehouseId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator)
Returns the first commerce warehouse item in the ordered set where commerceWarehouseId = ?.
|
CommerceWarehouseItem |
findByCommerceWarehouseId_Last(long commerceWarehouseId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator)
Returns the last commerce warehouse item in the ordered set where commerceWarehouseId = ?.
|
CommerceWarehouseItem[] |
findByCommerceWarehouseId_PrevAndNext(long commerceWarehouseItemId,
long commerceWarehouseId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator)
Returns the commerce warehouse items before and after the current commerce warehouse item in the ordered set where commerceWarehouseId = ?.
|
java.util.List<CommerceWarehouseItem> |
findByCommerceWarehouseId(long commerceWarehouseId)
Returns all the commerce warehouse items where commerceWarehouseId = ?.
|
java.util.List<CommerceWarehouseItem> |
findByCommerceWarehouseId(long commerceWarehouseId,
int start,
int end)
Returns a range of all the commerce warehouse items where commerceWarehouseId = ?.
|
java.util.List<CommerceWarehouseItem> |
findByCommerceWarehouseId(long commerceWarehouseId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator)
Returns an ordered range of all the commerce warehouse items where commerceWarehouseId = ?.
|
java.util.List<CommerceWarehouseItem> |
findByCommerceWarehouseId(long commerceWarehouseId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce warehouse items where commerceWarehouseId = ?.
|
CommerceWarehouseItem |
findByCPI_CPIU_First(long CProductId,
java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator)
Returns the first commerce warehouse item in the ordered set where CProductId = ? and CPInstanceUuid = ?.
|
CommerceWarehouseItem |
findByCPI_CPIU_Last(long CProductId,
java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator)
Returns the last commerce warehouse item in the ordered set where CProductId = ? and CPInstanceUuid = ?.
|
CommerceWarehouseItem[] |
findByCPI_CPIU_PrevAndNext(long commerceWarehouseItemId,
long CProductId,
java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator)
Returns the commerce warehouse items before and after the current commerce warehouse item in the ordered set where CProductId = ? and CPInstanceUuid = ?.
|
java.util.List<CommerceWarehouseItem> |
findByCPI_CPIU(long CProductId,
java.lang.String CPInstanceUuid)
Returns all the commerce warehouse items where CProductId = ? and CPInstanceUuid = ?.
|
java.util.List<CommerceWarehouseItem> |
findByCPI_CPIU(long CProductId,
java.lang.String CPInstanceUuid,
int start,
int end)
Returns a range of all the commerce warehouse items where CProductId = ? and CPInstanceUuid = ?.
|
java.util.List<CommerceWarehouseItem> |
findByCPI_CPIU(long CProductId,
java.lang.String CPInstanceUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator)
Returns an ordered range of all the commerce warehouse items where CProductId = ? and CPInstanceUuid = ?.
|
java.util.List<CommerceWarehouseItem> |
findByCPI_CPIU(long CProductId,
java.lang.String CPInstanceUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce warehouse items where CProductId = ? and CPInstanceUuid = ?.
|
CommerceWarehouseItem |
findByCWI_CPIU(long commerceWarehouseId,
java.lang.String CPInstanceUuid)
Returns the commerce warehouse item where commerceWarehouseId = ? and CPInstanceUuid = ? or throws a
NoSuchWarehouseItemException if it could not be found. |
CommerceWarehouseItem |
findByPrimaryKey(long commerceWarehouseItemId)
Returns the commerce warehouse item with the primary key or throws a
NoSuchWarehouseItemException if it could not be found. |
CommerceWarehouseItem |
remove(long commerceWarehouseItemId)
Removes the commerce warehouse item with the primary key from the database.
|
void |
removeAll()
Removes all the commerce warehouse items from the database.
|
void |
removeByCommerceWarehouseId(long commerceWarehouseId)
Removes all the commerce warehouse items where commerceWarehouseId = ? from the database.
|
void |
removeByCPI_CPIU(long CProductId,
java.lang.String CPInstanceUuid)
Removes all the commerce warehouse items where CProductId = ? and CPInstanceUuid = ? from the database.
|
CommerceWarehouseItem |
removeByCWI_CPIU(long commerceWarehouseId,
java.lang.String CPInstanceUuid)
Removes the commerce warehouse item where commerceWarehouseId = ? and CPInstanceUuid = ? from the database.
|
CommerceWarehouseItem |
updateImpl(CommerceWarehouseItem commerceWarehouseItem) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updatejava.util.List<CommerceWarehouseItem> findByCommerceWarehouseId(long commerceWarehouseId)
commerceWarehouseId - the commerce warehouse IDjava.util.List<CommerceWarehouseItem> findByCommerceWarehouseId(long commerceWarehouseId, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseItemModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
commerceWarehouseId - the commerce warehouse IDstart - the lower bound of the range of commerce warehouse itemsend - the upper bound of the range of commerce warehouse items (not inclusive)java.util.List<CommerceWarehouseItem> findByCommerceWarehouseId(long commerceWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseItemModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
commerceWarehouseId - the commerce warehouse IDstart - the lower bound of the range of commerce warehouse itemsend - the upper bound of the range of commerce warehouse items (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceWarehouseItem> findByCommerceWarehouseId(long commerceWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseItemModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
commerceWarehouseId - the commerce warehouse IDstart - the lower bound of the range of commerce warehouse itemsend - the upper bound of the range of commerce warehouse items (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheCommerceWarehouseItem findByCommerceWarehouseId_First(long commerceWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator) throws NoSuchWarehouseItemException
commerceWarehouseId - the commerce warehouse IDorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseItemException - if a matching commerce warehouse item could not be foundCommerceWarehouseItem fetchByCommerceWarehouseId_First(long commerceWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator)
commerceWarehouseId - the commerce warehouse IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce warehouse item could not be foundCommerceWarehouseItem findByCommerceWarehouseId_Last(long commerceWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator) throws NoSuchWarehouseItemException
commerceWarehouseId - the commerce warehouse IDorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseItemException - if a matching commerce warehouse item could not be foundCommerceWarehouseItem fetchByCommerceWarehouseId_Last(long commerceWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator)
commerceWarehouseId - the commerce warehouse IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce warehouse item could not be foundCommerceWarehouseItem[] findByCommerceWarehouseId_PrevAndNext(long commerceWarehouseItemId, long commerceWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator) throws NoSuchWarehouseItemException
commerceWarehouseItemId - the primary key of the current commerce warehouse itemcommerceWarehouseId - the commerce warehouse IDorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseItemException - if a commerce warehouse item with the primary key could not be foundvoid removeByCommerceWarehouseId(long commerceWarehouseId)
commerceWarehouseId - the commerce warehouse IDint countByCommerceWarehouseId(long commerceWarehouseId)
commerceWarehouseId - the commerce warehouse IDCommerceWarehouseItem findByCWI_CPIU(long commerceWarehouseId, java.lang.String CPInstanceUuid) throws NoSuchWarehouseItemException
NoSuchWarehouseItemException if it could not be found.commerceWarehouseId - the commerce warehouse IDCPInstanceUuid - the cp instance uuidNoSuchWarehouseItemException - if a matching commerce warehouse item could not be foundCommerceWarehouseItem fetchByCWI_CPIU(long commerceWarehouseId, java.lang.String CPInstanceUuid)
null if it could not be found. Uses the finder cache.commerceWarehouseId - the commerce warehouse IDCPInstanceUuid - the cp instance uuidnull if a matching commerce warehouse item could not be foundCommerceWarehouseItem fetchByCWI_CPIU(long commerceWarehouseId, java.lang.String CPInstanceUuid, boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.commerceWarehouseId - the commerce warehouse IDCPInstanceUuid - the cp instance uuidretrieveFromCache - whether to retrieve from the finder cachenull if a matching commerce warehouse item could not be foundCommerceWarehouseItem removeByCWI_CPIU(long commerceWarehouseId, java.lang.String CPInstanceUuid) throws NoSuchWarehouseItemException
commerceWarehouseId - the commerce warehouse IDCPInstanceUuid - the cp instance uuidNoSuchWarehouseItemExceptionint countByCWI_CPIU(long commerceWarehouseId,
java.lang.String CPInstanceUuid)
commerceWarehouseId - the commerce warehouse IDCPInstanceUuid - the cp instance uuidjava.util.List<CommerceWarehouseItem> findByCPI_CPIU(long CProductId, java.lang.String CPInstanceUuid)
CProductId - the c product IDCPInstanceUuid - the cp instance uuidjava.util.List<CommerceWarehouseItem> findByCPI_CPIU(long CProductId, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseItemModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
CProductId - the c product IDCPInstanceUuid - the cp instance uuidstart - the lower bound of the range of commerce warehouse itemsend - the upper bound of the range of commerce warehouse items (not inclusive)java.util.List<CommerceWarehouseItem> findByCPI_CPIU(long CProductId, java.lang.String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseItemModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
CProductId - the c product IDCPInstanceUuid - the cp instance uuidstart - the lower bound of the range of commerce warehouse itemsend - the upper bound of the range of commerce warehouse items (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceWarehouseItem> findByCPI_CPIU(long CProductId, java.lang.String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseItemModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
CProductId - the c product IDCPInstanceUuid - the cp instance uuidstart - the lower bound of the range of commerce warehouse itemsend - the upper bound of the range of commerce warehouse items (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheCommerceWarehouseItem findByCPI_CPIU_First(long CProductId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator) throws NoSuchWarehouseItemException
CProductId - the c product IDCPInstanceUuid - the cp instance uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseItemException - if a matching commerce warehouse item could not be foundCommerceWarehouseItem fetchByCPI_CPIU_First(long CProductId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator)
CProductId - the c product IDCPInstanceUuid - the cp instance uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce warehouse item could not be foundCommerceWarehouseItem findByCPI_CPIU_Last(long CProductId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator) throws NoSuchWarehouseItemException
CProductId - the c product IDCPInstanceUuid - the cp instance uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseItemException - if a matching commerce warehouse item could not be foundCommerceWarehouseItem fetchByCPI_CPIU_Last(long CProductId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator)
CProductId - the c product IDCPInstanceUuid - the cp instance uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce warehouse item could not be foundCommerceWarehouseItem[] findByCPI_CPIU_PrevAndNext(long commerceWarehouseItemId, long CProductId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator) throws NoSuchWarehouseItemException
commerceWarehouseItemId - the primary key of the current commerce warehouse itemCProductId - the c product IDCPInstanceUuid - the cp instance uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseItemException - if a commerce warehouse item with the primary key could not be foundvoid removeByCPI_CPIU(long CProductId,
java.lang.String CPInstanceUuid)
CProductId - the c product IDCPInstanceUuid - the cp instance uuidint countByCPI_CPIU(long CProductId,
java.lang.String CPInstanceUuid)
CProductId - the c product IDCPInstanceUuid - the cp instance uuidvoid cacheResult(CommerceWarehouseItem commerceWarehouseItem)
commerceWarehouseItem - the commerce warehouse itemvoid cacheResult(java.util.List<CommerceWarehouseItem> commerceWarehouseItems)
commerceWarehouseItems - the commerce warehouse itemsCommerceWarehouseItem create(long commerceWarehouseItemId)
commerceWarehouseItemId - the primary key for the new commerce warehouse itemCommerceWarehouseItem remove(long commerceWarehouseItemId) throws NoSuchWarehouseItemException
commerceWarehouseItemId - the primary key of the commerce warehouse itemNoSuchWarehouseItemException - if a commerce warehouse item with the primary key could not be foundCommerceWarehouseItem updateImpl(CommerceWarehouseItem commerceWarehouseItem)
CommerceWarehouseItem findByPrimaryKey(long commerceWarehouseItemId) throws NoSuchWarehouseItemException
NoSuchWarehouseItemException if it could not be found.commerceWarehouseItemId - the primary key of the commerce warehouse itemNoSuchWarehouseItemException - if a commerce warehouse item with the primary key could not be foundCommerceWarehouseItem fetchByPrimaryKey(long commerceWarehouseItemId)
null if it could not be found.commerceWarehouseItemId - the primary key of the commerce warehouse itemnull if a commerce warehouse item with the primary key could not be foundjava.util.Map<java.io.Serializable,CommerceWarehouseItem> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceWarehouseItem>java.util.List<CommerceWarehouseItem> findAll()
java.util.List<CommerceWarehouseItem> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseItemModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of commerce warehouse itemsend - the upper bound of the range of commerce warehouse items (not inclusive)java.util.List<CommerceWarehouseItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseItemModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of commerce warehouse itemsend - the upper bound of the range of commerce warehouse items (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceWarehouseItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouseItem> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseItemModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of commerce warehouse itemsend - the upper bound of the range of commerce warehouse items (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachevoid removeAll()
int countAll()