@ProviderType public interface CommerceInventoryReplenishmentItemPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceInventoryReplenishmentItem>
Caching information and settings can be found in portal.properties
CommerceInventoryReplenishmentItemUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceInventoryReplenishmentItem commerceInventoryReplenishmentItem)
Caches the commerce inventory replenishment item in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceInventoryReplenishmentItem> commerceInventoryReplenishmentItems)
Caches the commerce inventory replenishment items in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce inventory replenishment items.
|
int |
countByAvailabilityDate(java.util.Date availabilityDate)
Returns the number of commerce inventory replenishment items where availabilityDate = ?.
|
int |
countByC_S(long companyId,
java.lang.String sku)
Returns the number of commerce inventory replenishment items where companyId = ? and sku = ?.
|
int |
countByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
Returns the number of commerce inventory replenishment items where commerceInventoryWarehouseId = ?.
|
int |
countByS_AD(java.lang.String sku,
java.util.Date availabilityDate)
Returns the number of commerce inventory replenishment items where sku = ? and availabilityDate = ?.
|
int |
countBySku(java.lang.String sku)
Returns the number of commerce inventory replenishment items where sku = ?.
|
CommerceInventoryReplenishmentItem |
create(long commerceInventoryReplenishmentItemId)
Creates a new commerce inventory replenishment item with the primary key.
|
CommerceInventoryReplenishmentItem |
fetchByAvailabilityDate_First(java.util.Date availabilityDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the first commerce inventory replenishment item in the ordered set where availabilityDate = ?.
|
CommerceInventoryReplenishmentItem |
fetchByAvailabilityDate_Last(java.util.Date availabilityDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the last commerce inventory replenishment item in the ordered set where availabilityDate = ?.
|
CommerceInventoryReplenishmentItem |
fetchByC_S_First(long companyId,
java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the first commerce inventory replenishment item in the ordered set where companyId = ? and sku = ?.
|
CommerceInventoryReplenishmentItem |
fetchByC_S_Last(long companyId,
java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the last commerce inventory replenishment item in the ordered set where companyId = ? and sku = ?.
|
CommerceInventoryReplenishmentItem |
fetchByCommerceInventoryWarehouseId_First(long commerceInventoryWarehouseId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the first commerce inventory replenishment item in the ordered set where commerceInventoryWarehouseId = ?.
|
CommerceInventoryReplenishmentItem |
fetchByCommerceInventoryWarehouseId_Last(long commerceInventoryWarehouseId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the last commerce inventory replenishment item in the ordered set where commerceInventoryWarehouseId = ?.
|
CommerceInventoryReplenishmentItem |
fetchByPrimaryKey(long commerceInventoryReplenishmentItemId)
Returns the commerce inventory replenishment item with the primary key or returns
null if it could not be found. |
CommerceInventoryReplenishmentItem |
fetchByS_AD_First(java.lang.String sku,
java.util.Date availabilityDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the first commerce inventory replenishment item in the ordered set where sku = ? and availabilityDate = ?.
|
CommerceInventoryReplenishmentItem |
fetchByS_AD_Last(java.lang.String sku,
java.util.Date availabilityDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the last commerce inventory replenishment item in the ordered set where sku = ? and availabilityDate = ?.
|
CommerceInventoryReplenishmentItem |
fetchBySku_First(java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the first commerce inventory replenishment item in the ordered set where sku = ?.
|
CommerceInventoryReplenishmentItem |
fetchBySku_Last(java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the last commerce inventory replenishment item in the ordered set where sku = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findAll()
Returns all the commerce inventory replenishment items.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findAll(int start,
int end)
Returns a range of all the commerce inventory replenishment items.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns an ordered range of all the commerce inventory replenishment items.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce inventory replenishment items.
|
CommerceInventoryReplenishmentItem |
findByAvailabilityDate_First(java.util.Date availabilityDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the first commerce inventory replenishment item in the ordered set where availabilityDate = ?.
|
CommerceInventoryReplenishmentItem |
findByAvailabilityDate_Last(java.util.Date availabilityDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the last commerce inventory replenishment item in the ordered set where availabilityDate = ?.
|
CommerceInventoryReplenishmentItem[] |
findByAvailabilityDate_PrevAndNext(long commerceInventoryReplenishmentItemId,
java.util.Date availabilityDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the commerce inventory replenishment items before and after the current commerce inventory replenishment item in the ordered set where availabilityDate = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByAvailabilityDate(java.util.Date availabilityDate)
Returns all the commerce inventory replenishment items where availabilityDate = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByAvailabilityDate(java.util.Date availabilityDate,
int start,
int end)
Returns a range of all the commerce inventory replenishment items where availabilityDate = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByAvailabilityDate(java.util.Date availabilityDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns an ordered range of all the commerce inventory replenishment items where availabilityDate = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByAvailabilityDate(java.util.Date availabilityDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce inventory replenishment items where availabilityDate = ?.
|
CommerceInventoryReplenishmentItem |
findByC_S_First(long companyId,
java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the first commerce inventory replenishment item in the ordered set where companyId = ? and sku = ?.
|
CommerceInventoryReplenishmentItem |
findByC_S_Last(long companyId,
java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the last commerce inventory replenishment item in the ordered set where companyId = ? and sku = ?.
|
CommerceInventoryReplenishmentItem[] |
findByC_S_PrevAndNext(long commerceInventoryReplenishmentItemId,
long companyId,
java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the commerce inventory replenishment items before and after the current commerce inventory replenishment item in the ordered set where companyId = ? and sku = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByC_S(long companyId,
java.lang.String sku)
Returns all the commerce inventory replenishment items where companyId = ? and sku = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByC_S(long companyId,
java.lang.String sku,
int start,
int end)
Returns a range of all the commerce inventory replenishment items where companyId = ? and sku = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByC_S(long companyId,
java.lang.String sku,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns an ordered range of all the commerce inventory replenishment items where companyId = ? and sku = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByC_S(long companyId,
java.lang.String sku,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce inventory replenishment items where companyId = ? and sku = ?.
|
CommerceInventoryReplenishmentItem |
findByCommerceInventoryWarehouseId_First(long commerceInventoryWarehouseId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the first commerce inventory replenishment item in the ordered set where commerceInventoryWarehouseId = ?.
|
CommerceInventoryReplenishmentItem |
findByCommerceInventoryWarehouseId_Last(long commerceInventoryWarehouseId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the last commerce inventory replenishment item in the ordered set where commerceInventoryWarehouseId = ?.
|
CommerceInventoryReplenishmentItem[] |
findByCommerceInventoryWarehouseId_PrevAndNext(long commerceInventoryReplenishmentItemId,
long commerceInventoryWarehouseId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the commerce inventory replenishment items before and after the current commerce inventory replenishment item in the ordered set where commerceInventoryWarehouseId = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
Returns all the commerce inventory replenishment items where commerceInventoryWarehouseId = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId,
int start,
int end)
Returns a range of all the commerce inventory replenishment items where commerceInventoryWarehouseId = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns an ordered range of all the commerce inventory replenishment items where commerceInventoryWarehouseId = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce inventory replenishment items where commerceInventoryWarehouseId = ?.
|
CommerceInventoryReplenishmentItem |
findByPrimaryKey(long commerceInventoryReplenishmentItemId)
Returns the commerce inventory replenishment item with the primary key or throws a
NoSuchInventoryReplenishmentItemException if it could not be found. |
CommerceInventoryReplenishmentItem |
findByS_AD_First(java.lang.String sku,
java.util.Date availabilityDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the first commerce inventory replenishment item in the ordered set where sku = ? and availabilityDate = ?.
|
CommerceInventoryReplenishmentItem |
findByS_AD_Last(java.lang.String sku,
java.util.Date availabilityDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the last commerce inventory replenishment item in the ordered set where sku = ? and availabilityDate = ?.
|
CommerceInventoryReplenishmentItem[] |
findByS_AD_PrevAndNext(long commerceInventoryReplenishmentItemId,
java.lang.String sku,
java.util.Date availabilityDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the commerce inventory replenishment items before and after the current commerce inventory replenishment item in the ordered set where sku = ? and availabilityDate = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByS_AD(java.lang.String sku,
java.util.Date availabilityDate)
Returns all the commerce inventory replenishment items where sku = ? and availabilityDate = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByS_AD(java.lang.String sku,
java.util.Date availabilityDate,
int start,
int end)
Returns a range of all the commerce inventory replenishment items where sku = ? and availabilityDate = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByS_AD(java.lang.String sku,
java.util.Date availabilityDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns an ordered range of all the commerce inventory replenishment items where sku = ? and availabilityDate = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByS_AD(java.lang.String sku,
java.util.Date availabilityDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce inventory replenishment items where sku = ? and availabilityDate = ?.
|
CommerceInventoryReplenishmentItem |
findBySku_First(java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the first commerce inventory replenishment item in the ordered set where sku = ?.
|
CommerceInventoryReplenishmentItem |
findBySku_Last(java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the last commerce inventory replenishment item in the ordered set where sku = ?.
|
CommerceInventoryReplenishmentItem[] |
findBySku_PrevAndNext(long commerceInventoryReplenishmentItemId,
java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the commerce inventory replenishment items before and after the current commerce inventory replenishment item in the ordered set where sku = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findBySku(java.lang.String sku)
Returns all the commerce inventory replenishment items where sku = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findBySku(java.lang.String sku,
int start,
int end)
Returns a range of all the commerce inventory replenishment items where sku = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findBySku(java.lang.String sku,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns an ordered range of all the commerce inventory replenishment items where sku = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findBySku(java.lang.String sku,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce inventory replenishment items where sku = ?.
|
CommerceInventoryReplenishmentItem |
remove(long commerceInventoryReplenishmentItemId)
Removes the commerce inventory replenishment item with the primary key from the database.
|
void |
removeAll()
Removes all the commerce inventory replenishment items from the database.
|
void |
removeByAvailabilityDate(java.util.Date availabilityDate)
Removes all the commerce inventory replenishment items where availabilityDate = ? from the database.
|
void |
removeByC_S(long companyId,
java.lang.String sku)
Removes all the commerce inventory replenishment items where companyId = ? and sku = ? from the database.
|
void |
removeByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
Removes all the commerce inventory replenishment items where commerceInventoryWarehouseId = ? from the database.
|
void |
removeByS_AD(java.lang.String sku,
java.util.Date availabilityDate)
Removes all the commerce inventory replenishment items where sku = ? and availabilityDate = ? from the database.
|
void |
removeBySku(java.lang.String sku)
Removes all the commerce inventory replenishment items where sku = ? from the database.
|
CommerceInventoryReplenishmentItem |
updateImpl(CommerceInventoryReplenishmentItem commerceInventoryReplenishmentItem) |
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<CommerceInventoryReplenishmentItem> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
commerceInventoryWarehouseId
- the commerce inventory warehouse IDjava.util.List<CommerceInventoryReplenishmentItem> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, 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 CommerceInventoryReplenishmentItemModelImpl
.
commerceInventoryWarehouseId
- the commerce inventory warehouse IDstart
- the lower bound of the range of commerce inventory replenishment itemsend
- the upper bound of the range of commerce inventory replenishment items (not inclusive)java.util.List<CommerceInventoryReplenishmentItem> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> 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 CommerceInventoryReplenishmentItemModelImpl
.
commerceInventoryWarehouseId
- the commerce inventory warehouse IDstart
- the lower bound of the range of commerce inventory replenishment itemsend
- the upper bound of the range of commerce inventory replenishment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceInventoryReplenishmentItem> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> 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 CommerceInventoryReplenishmentItemModelImpl
.
commerceInventoryWarehouseId
- the commerce inventory warehouse IDstart
- the lower bound of the range of commerce inventory replenishment itemsend
- the upper bound of the range of commerce inventory replenishment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceInventoryReplenishmentItem findByCommerceInventoryWarehouseId_First(long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
commerceInventoryWarehouseId
- the commerce inventory warehouse IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryReplenishmentItemException
- if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem fetchByCommerceInventoryWarehouseId_First(long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
commerceInventoryWarehouseId
- the commerce inventory warehouse IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem findByCommerceInventoryWarehouseId_Last(long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
commerceInventoryWarehouseId
- the commerce inventory warehouse IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryReplenishmentItemException
- if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem fetchByCommerceInventoryWarehouseId_Last(long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
commerceInventoryWarehouseId
- the commerce inventory warehouse IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem[] findByCommerceInventoryWarehouseId_PrevAndNext(long commerceInventoryReplenishmentItemId, long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
commerceInventoryReplenishmentItemId
- the primary key of the current commerce inventory replenishment itemcommerceInventoryWarehouseId
- the commerce inventory warehouse IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryReplenishmentItemException
- if a commerce inventory replenishment item with the primary key could not be foundvoid removeByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
commerceInventoryWarehouseId
- the commerce inventory warehouse IDint countByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
commerceInventoryWarehouseId
- the commerce inventory warehouse IDjava.util.List<CommerceInventoryReplenishmentItem> findBySku(java.lang.String sku)
sku
- the skujava.util.List<CommerceInventoryReplenishmentItem> findBySku(java.lang.String sku, 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 CommerceInventoryReplenishmentItemModelImpl
.
sku
- the skustart
- the lower bound of the range of commerce inventory replenishment itemsend
- the upper bound of the range of commerce inventory replenishment items (not inclusive)java.util.List<CommerceInventoryReplenishmentItem> findBySku(java.lang.String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> 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 CommerceInventoryReplenishmentItemModelImpl
.
sku
- the skustart
- the lower bound of the range of commerce inventory replenishment itemsend
- the upper bound of the range of commerce inventory replenishment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceInventoryReplenishmentItem> findBySku(java.lang.String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> 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 CommerceInventoryReplenishmentItemModelImpl
.
sku
- the skustart
- the lower bound of the range of commerce inventory replenishment itemsend
- the upper bound of the range of commerce inventory replenishment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceInventoryReplenishmentItem findBySku_First(java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
sku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryReplenishmentItemException
- if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem fetchBySku_First(java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
sku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem findBySku_Last(java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
sku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryReplenishmentItemException
- if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem fetchBySku_Last(java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
sku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem[] findBySku_PrevAndNext(long commerceInventoryReplenishmentItemId, java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
commerceInventoryReplenishmentItemId
- the primary key of the current commerce inventory replenishment itemsku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryReplenishmentItemException
- if a commerce inventory replenishment item with the primary key could not be foundvoid removeBySku(java.lang.String sku)
sku
- the skuint countBySku(java.lang.String sku)
sku
- the skujava.util.List<CommerceInventoryReplenishmentItem> findByAvailabilityDate(java.util.Date availabilityDate)
availabilityDate
- the availability datejava.util.List<CommerceInventoryReplenishmentItem> findByAvailabilityDate(java.util.Date availabilityDate, 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 CommerceInventoryReplenishmentItemModelImpl
.
availabilityDate
- the availability datestart
- the lower bound of the range of commerce inventory replenishment itemsend
- the upper bound of the range of commerce inventory replenishment items (not inclusive)java.util.List<CommerceInventoryReplenishmentItem> findByAvailabilityDate(java.util.Date availabilityDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> 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 CommerceInventoryReplenishmentItemModelImpl
.
availabilityDate
- the availability datestart
- the lower bound of the range of commerce inventory replenishment itemsend
- the upper bound of the range of commerce inventory replenishment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceInventoryReplenishmentItem> findByAvailabilityDate(java.util.Date availabilityDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> 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 CommerceInventoryReplenishmentItemModelImpl
.
availabilityDate
- the availability datestart
- the lower bound of the range of commerce inventory replenishment itemsend
- the upper bound of the range of commerce inventory replenishment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceInventoryReplenishmentItem findByAvailabilityDate_First(java.util.Date availabilityDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
availabilityDate
- the availability dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryReplenishmentItemException
- if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem fetchByAvailabilityDate_First(java.util.Date availabilityDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
availabilityDate
- the availability dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem findByAvailabilityDate_Last(java.util.Date availabilityDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
availabilityDate
- the availability dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryReplenishmentItemException
- if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem fetchByAvailabilityDate_Last(java.util.Date availabilityDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
availabilityDate
- the availability dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem[] findByAvailabilityDate_PrevAndNext(long commerceInventoryReplenishmentItemId, java.util.Date availabilityDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
commerceInventoryReplenishmentItemId
- the primary key of the current commerce inventory replenishment itemavailabilityDate
- the availability dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryReplenishmentItemException
- if a commerce inventory replenishment item with the primary key could not be foundvoid removeByAvailabilityDate(java.util.Date availabilityDate)
availabilityDate
- the availability dateint countByAvailabilityDate(java.util.Date availabilityDate)
availabilityDate
- the availability datejava.util.List<CommerceInventoryReplenishmentItem> findByC_S(long companyId, java.lang.String sku)
companyId
- the company IDsku
- the skujava.util.List<CommerceInventoryReplenishmentItem> findByC_S(long companyId, java.lang.String sku, 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 CommerceInventoryReplenishmentItemModelImpl
.
companyId
- the company IDsku
- the skustart
- the lower bound of the range of commerce inventory replenishment itemsend
- the upper bound of the range of commerce inventory replenishment items (not inclusive)java.util.List<CommerceInventoryReplenishmentItem> findByC_S(long companyId, java.lang.String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> 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 CommerceInventoryReplenishmentItemModelImpl
.
companyId
- the company IDsku
- the skustart
- the lower bound of the range of commerce inventory replenishment itemsend
- the upper bound of the range of commerce inventory replenishment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceInventoryReplenishmentItem> findByC_S(long companyId, java.lang.String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> 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 CommerceInventoryReplenishmentItemModelImpl
.
companyId
- the company IDsku
- the skustart
- the lower bound of the range of commerce inventory replenishment itemsend
- the upper bound of the range of commerce inventory replenishment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceInventoryReplenishmentItem findByC_S_First(long companyId, java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
companyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryReplenishmentItemException
- if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem fetchByC_S_First(long companyId, java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
companyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem findByC_S_Last(long companyId, java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
companyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryReplenishmentItemException
- if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem fetchByC_S_Last(long companyId, java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
companyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem[] findByC_S_PrevAndNext(long commerceInventoryReplenishmentItemId, long companyId, java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
commerceInventoryReplenishmentItemId
- the primary key of the current commerce inventory replenishment itemcompanyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryReplenishmentItemException
- if a commerce inventory replenishment item with the primary key could not be foundvoid removeByC_S(long companyId, java.lang.String sku)
companyId
- the company IDsku
- the skuint countByC_S(long companyId, java.lang.String sku)
companyId
- the company IDsku
- the skujava.util.List<CommerceInventoryReplenishmentItem> findByS_AD(java.lang.String sku, java.util.Date availabilityDate)
sku
- the skuavailabilityDate
- the availability datejava.util.List<CommerceInventoryReplenishmentItem> findByS_AD(java.lang.String sku, java.util.Date availabilityDate, 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 CommerceInventoryReplenishmentItemModelImpl
.
sku
- the skuavailabilityDate
- the availability datestart
- the lower bound of the range of commerce inventory replenishment itemsend
- the upper bound of the range of commerce inventory replenishment items (not inclusive)java.util.List<CommerceInventoryReplenishmentItem> findByS_AD(java.lang.String sku, java.util.Date availabilityDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> 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 CommerceInventoryReplenishmentItemModelImpl
.
sku
- the skuavailabilityDate
- the availability datestart
- the lower bound of the range of commerce inventory replenishment itemsend
- the upper bound of the range of commerce inventory replenishment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceInventoryReplenishmentItem> findByS_AD(java.lang.String sku, java.util.Date availabilityDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> 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 CommerceInventoryReplenishmentItemModelImpl
.
sku
- the skuavailabilityDate
- the availability datestart
- the lower bound of the range of commerce inventory replenishment itemsend
- the upper bound of the range of commerce inventory replenishment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceInventoryReplenishmentItem findByS_AD_First(java.lang.String sku, java.util.Date availabilityDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
sku
- the skuavailabilityDate
- the availability dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryReplenishmentItemException
- if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem fetchByS_AD_First(java.lang.String sku, java.util.Date availabilityDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
sku
- the skuavailabilityDate
- the availability dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem findByS_AD_Last(java.lang.String sku, java.util.Date availabilityDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
sku
- the skuavailabilityDate
- the availability dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryReplenishmentItemException
- if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem fetchByS_AD_Last(java.lang.String sku, java.util.Date availabilityDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
sku
- the skuavailabilityDate
- the availability dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem[] findByS_AD_PrevAndNext(long commerceInventoryReplenishmentItemId, java.lang.String sku, java.util.Date availabilityDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
commerceInventoryReplenishmentItemId
- the primary key of the current commerce inventory replenishment itemsku
- the skuavailabilityDate
- the availability dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryReplenishmentItemException
- if a commerce inventory replenishment item with the primary key could not be foundvoid removeByS_AD(java.lang.String sku, java.util.Date availabilityDate)
sku
- the skuavailabilityDate
- the availability dateint countByS_AD(java.lang.String sku, java.util.Date availabilityDate)
sku
- the skuavailabilityDate
- the availability datevoid cacheResult(CommerceInventoryReplenishmentItem commerceInventoryReplenishmentItem)
commerceInventoryReplenishmentItem
- the commerce inventory replenishment itemvoid cacheResult(java.util.List<CommerceInventoryReplenishmentItem> commerceInventoryReplenishmentItems)
commerceInventoryReplenishmentItems
- the commerce inventory replenishment itemsCommerceInventoryReplenishmentItem create(long commerceInventoryReplenishmentItemId)
commerceInventoryReplenishmentItemId
- the primary key for the new commerce inventory replenishment itemCommerceInventoryReplenishmentItem remove(long commerceInventoryReplenishmentItemId) throws NoSuchInventoryReplenishmentItemException
commerceInventoryReplenishmentItemId
- the primary key of the commerce inventory replenishment itemNoSuchInventoryReplenishmentItemException
- if a commerce inventory replenishment item with the primary key could not be foundCommerceInventoryReplenishmentItem updateImpl(CommerceInventoryReplenishmentItem commerceInventoryReplenishmentItem)
CommerceInventoryReplenishmentItem findByPrimaryKey(long commerceInventoryReplenishmentItemId) throws NoSuchInventoryReplenishmentItemException
NoSuchInventoryReplenishmentItemException
if it could not be found.commerceInventoryReplenishmentItemId
- the primary key of the commerce inventory replenishment itemNoSuchInventoryReplenishmentItemException
- if a commerce inventory replenishment item with the primary key could not be foundCommerceInventoryReplenishmentItem fetchByPrimaryKey(long commerceInventoryReplenishmentItemId)
null
if it could not be found.commerceInventoryReplenishmentItemId
- the primary key of the commerce inventory replenishment itemnull
if a commerce inventory replenishment item with the primary key could not be foundjava.util.List<CommerceInventoryReplenishmentItem> findAll()
java.util.List<CommerceInventoryReplenishmentItem> 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 CommerceInventoryReplenishmentItemModelImpl
.
start
- the lower bound of the range of commerce inventory replenishment itemsend
- the upper bound of the range of commerce inventory replenishment items (not inclusive)java.util.List<CommerceInventoryReplenishmentItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> 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 CommerceInventoryReplenishmentItemModelImpl
.
start
- the lower bound of the range of commerce inventory replenishment itemsend
- the upper bound of the range of commerce inventory replenishment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceInventoryReplenishmentItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> 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 CommerceInventoryReplenishmentItemModelImpl
.
start
- the lower bound of the range of commerce inventory replenishment itemsend
- the upper bound of the range of commerce inventory replenishment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()