@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CommerceInventoryReplenishmentItemService
extends com.liferay.portal.kernel.service.BaseService
CommerceInventoryReplenishmentItemServiceUtil
Modifier and Type | Method and Description |
---|---|
CommerceInventoryReplenishmentItem |
addCommerceInventoryReplenishmentItem(java.lang.String externalReferenceCode,
long commerceInventoryWarehouseId,
java.util.Date availabilityDate,
java.math.BigDecimal quantity,
java.lang.String sku,
java.lang.String unitOfMeasureKey) |
void |
deleteCommerceInventoryReplenishmentItem(long commerceInventoryReplenishmentItemId) |
void |
deleteCommerceInventoryReplenishmentItems(long companyId,
java.lang.String sku,
java.lang.String unitOfMeasureKey) |
CommerceInventoryReplenishmentItem |
fetchCommerceInventoryReplenishmentItemByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CommerceInventoryReplenishmentItem |
getCommerceInventoryReplenishmentItem(long commerceInventoryReplenishmentItemId) |
java.util.List<CommerceInventoryReplenishmentItem> |
getCommerceInventoryReplenishmentItemsByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId,
int start,
int end) |
java.util.List<CommerceInventoryReplenishmentItem> |
getCommerceInventoryReplenishmentItemsByCompanyIdSkuAndUnitOfMeasureKey(long companyId,
java.lang.String sku,
java.lang.String unitOfMeasureKey,
int start,
int end) |
java.math.BigDecimal |
getCommerceInventoryReplenishmentItemsCount(long commerceInventoryWarehouseId,
java.lang.String sku,
java.lang.String unitOfMeasureKey) |
int |
getCommerceInventoryReplenishmentItemsCountByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId) |
int |
getCommerceInventoryReplenishmentItemsCountByCompanyIdSkuAndUnitOfMeasureKey(long companyId,
java.lang.String sku,
java.lang.String unitOfMeasureKey) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CommerceInventoryReplenishmentItem |
updateCommerceInventoryReplenishmentItem(java.lang.String externalReferenceCode,
long commerceInventoryReplenishmentItemId,
java.util.Date availabilityDate,
java.math.BigDecimal quantity,
long mvccVersion) |
CommerceInventoryReplenishmentItem addCommerceInventoryReplenishmentItem(java.lang.String externalReferenceCode, long commerceInventoryWarehouseId, java.util.Date availabilityDate, java.math.BigDecimal quantity, java.lang.String sku, java.lang.String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deleteCommerceInventoryReplenishmentItem(long commerceInventoryReplenishmentItemId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deleteCommerceInventoryReplenishmentItems(long companyId, java.lang.String sku, java.lang.String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceInventoryReplenishmentItem fetchCommerceInventoryReplenishmentItemByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceInventoryReplenishmentItem getCommerceInventoryReplenishmentItem(long commerceInventoryReplenishmentItemId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CommerceInventoryReplenishmentItem> getCommerceInventoryReplenishmentItemsByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CommerceInventoryReplenishmentItem> getCommerceInventoryReplenishmentItemsByCompanyIdSkuAndUnitOfMeasureKey(long companyId, java.lang.String sku, java.lang.String unitOfMeasureKey, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.math.BigDecimal getCommerceInventoryReplenishmentItemsCount(long commerceInventoryWarehouseId, java.lang.String sku, java.lang.String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceInventoryReplenishmentItemsCountByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceInventoryReplenishmentItemsCountByCompanyIdSkuAndUnitOfMeasureKey(long companyId, java.lang.String sku, java.lang.String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getOSGiServiceIdentifier()
CommerceInventoryReplenishmentItem updateCommerceInventoryReplenishmentItem(java.lang.String externalReferenceCode, long commerceInventoryReplenishmentItemId, java.util.Date availabilityDate, java.math.BigDecimal quantity, long mvccVersion) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException