@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.lang.String sku,
java.util.Date availabilityDate,
int quantity) |
void |
deleteCommerceInventoryReplenishmentItem(long commerceInventoryReplenishmentItemId) |
void |
deleteCommerceInventoryReplenishmentItems(long companyId,
java.lang.String sku) |
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> |
getCommerceInventoryReplenishmentItemsByCompanyIdAndSku(long companyId,
java.lang.String sku,
int start,
int end) |
long |
getCommerceInventoryReplenishmentItemsCount(long commerceInventoryWarehouseId,
java.lang.String sku) |
int |
getCommerceInventoryReplenishmentItemsCountByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId) |
int |
getCommerceInventoryReplenishmentItemsCountByCompanyIdAndSku(long companyId,
java.lang.String sku) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CommerceInventoryReplenishmentItem |
updateCommerceInventoryReplenishmentItem(java.lang.String externalReferenceCode,
long commerceInventoryReplenishmentItemId,
java.util.Date availabilityDate,
int quantity,
long mvccVersion) |
CommerceInventoryReplenishmentItem addCommerceInventoryReplenishmentItem(java.lang.String externalReferenceCode, long commerceInventoryWarehouseId, java.lang.String sku, java.util.Date availabilityDate, int quantity) 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) 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> getCommerceInventoryReplenishmentItemsByCompanyIdAndSku(long companyId, java.lang.String sku, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) long getCommerceInventoryReplenishmentItemsCount(long commerceInventoryWarehouseId, java.lang.String sku) 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 getCommerceInventoryReplenishmentItemsCountByCompanyIdAndSku(long companyId, java.lang.String sku) 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, int quantity, long mvccVersion) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException