@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 |
countByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the number of commerce inventory replenishment items where externalReferenceCode = ? and companyId = ?.
|
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 = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce inventory replenishment items where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce inventory replenishment items where uuid = ?.
|
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 |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce inventory replenishment item where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
CommerceInventoryReplenishmentItem |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the commerce inventory replenishment item where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
CommerceInventoryReplenishmentItem |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the first commerce inventory replenishment item in the ordered set where uuid = ? and companyId = ?.
|
CommerceInventoryReplenishmentItem |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the last commerce inventory replenishment item in the ordered set where uuid = ? and companyId = ?.
|
CommerceInventoryReplenishmentItem |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the first commerce inventory replenishment item in the ordered set where uuid = ?.
|
CommerceInventoryReplenishmentItem |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the last commerce inventory replenishment item in the ordered set where uuid = ?.
|
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 |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce inventory replenishment item where externalReferenceCode = ? and companyId = ? or throws a
NoSuchInventoryReplenishmentItemException if it could not be found. |
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 |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the first commerce inventory replenishment item in the ordered set where uuid = ? and companyId = ?.
|
CommerceInventoryReplenishmentItem |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the last commerce inventory replenishment item in the ordered set where uuid = ? and companyId = ?.
|
CommerceInventoryReplenishmentItem[] |
findByUuid_C_PrevAndNext(long commerceInventoryReplenishmentItemId,
java.lang.String uuid,
long companyId,
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 uuid = ? and companyId = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce inventory replenishment items where uuid = ? and companyId = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce inventory replenishment items where uuid = ? and companyId = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns an ordered range of all the commerce inventory replenishment items where uuid = ? and companyId = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByUuid_C(java.lang.String uuid,
long companyId,
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 uuid = ? and companyId = ?.
|
CommerceInventoryReplenishmentItem |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the first commerce inventory replenishment item in the ordered set where uuid = ?.
|
CommerceInventoryReplenishmentItem |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns the last commerce inventory replenishment item in the ordered set where uuid = ?.
|
CommerceInventoryReplenishmentItem[] |
findByUuid_PrevAndNext(long commerceInventoryReplenishmentItemId,
java.lang.String uuid,
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 uuid = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByUuid(java.lang.String uuid)
Returns all the commerce inventory replenishment items where uuid = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce inventory replenishment items where uuid = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
Returns an ordered range of all the commerce inventory replenishment items where uuid = ?.
|
java.util.List<CommerceInventoryReplenishmentItem> |
findByUuid(java.lang.String uuid,
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 uuid = ?.
|
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.
|
CommerceInventoryReplenishmentItem |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the commerce inventory replenishment item where externalReferenceCode = ? and companyId = ? 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.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce inventory replenishment items where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce inventory replenishment items where uuid = ? 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> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommerceInventoryReplenishmentItem> 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 CommerceInventoryReplenishmentItemModelImpl
.
uuid
- the uuidstart
- 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> findByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- 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> findByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- 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 findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryReplenishmentItemException
- if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryReplenishmentItemException
- if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem[] findByUuid_PrevAndNext(long commerceInventoryReplenishmentItemId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
commerceInventoryReplenishmentItemId
- the primary key of the current commerce inventory replenishment itemuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryReplenishmentItemException
- if a commerce inventory replenishment item with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommerceInventoryReplenishmentItem> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceInventoryReplenishmentItem> 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 CommerceInventoryReplenishmentItemModelImpl
.
uuid
- the uuidcompanyId
- the company 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> findByUuid_C(java.lang.String uuid, long companyId, 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
.
uuid
- the uuidcompanyId
- the company 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> findByUuid_C(java.lang.String uuid, long companyId, 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
.
uuid
- the uuidcompanyId
- the company 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 findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryReplenishmentItemException
- if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryReplenishmentItemException
- if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem[] findByUuid_C_PrevAndNext(long commerceInventoryReplenishmentItemId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
commerceInventoryReplenishmentItemId
- the primary key of the current commerce inventory replenishment itemuuid
- the uuidcompanyId
- the company 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 removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<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 dateCommerceInventoryReplenishmentItem findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchInventoryReplenishmentItemException
NoSuchInventoryReplenishmentItemException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchInventoryReplenishmentItemException
- if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem fetchByERC_C(java.lang.String externalReferenceCode, long companyId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDnull
if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem fetchByERC_C(java.lang.String externalReferenceCode, long companyId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce inventory replenishment item could not be foundCommerceInventoryReplenishmentItem removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchInventoryReplenishmentItemException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchInventoryReplenishmentItemException
int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDvoid 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()