Class CommerceInventoryReplenishmentItemServiceUtil
java.lang.Object
com.liferay.commerce.inventory.service.CommerceInventoryReplenishmentItemServiceUtil
Provides the remote service utility for CommerceInventoryReplenishmentItem. This utility wraps
com.liferay.commerce.inventory.service.impl.CommerceInventoryReplenishmentItemServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCommerceInventoryReplenishmentItem
(String externalReferenceCode, long commerceInventoryWarehouseId, Date availabilityDate, BigDecimal quantity, String sku, String unitOfMeasureKey) static void
deleteCommerceInventoryReplenishmentItem
(long commerceInventoryReplenishmentItemId) static void
deleteCommerceInventoryReplenishmentItems
(long companyId, String sku, String unitOfMeasureKey) fetchCommerceInventoryReplenishmentItemByExternalReferenceCode
(String externalReferenceCode, long companyId) getCommerceInventoryReplenishmentItem
(long commerceInventoryReplenishmentItemId) getCommerceInventoryReplenishmentItemsByCommerceInventoryWarehouseId
(long commerceInventoryWarehouseId, int start, int end) getCommerceInventoryReplenishmentItemsByCompanyIdSkuAndUnitOfMeasureKey
(long companyId, String sku, String unitOfMeasureKey, int start, int end) static BigDecimal
getCommerceInventoryReplenishmentItemsCount
(long commerceInventoryWarehouseId, String sku, String unitOfMeasureKey) static int
getCommerceInventoryReplenishmentItemsCountByCommerceInventoryWarehouseId
(long commerceInventoryWarehouseId) static int
getCommerceInventoryReplenishmentItemsCountByCompanyIdSkuAndUnitOfMeasureKey
(long companyId, String sku, String unitOfMeasureKey) static String
Returns the OSGi service identifier.updateCommerceInventoryReplenishmentItem
(String externalReferenceCode, long commerceInventoryReplenishmentItemId, Date availabilityDate, BigDecimal quantity, long mvccVersion)
-
Constructor Details
-
CommerceInventoryReplenishmentItemServiceUtil
public CommerceInventoryReplenishmentItemServiceUtil()
-
-
Method Details
-
addCommerceInventoryReplenishmentItem
public static CommerceInventoryReplenishmentItem addCommerceInventoryReplenishmentItem(String externalReferenceCode, long commerceInventoryWarehouseId, Date availabilityDate, BigDecimal quantity, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceInventoryReplenishmentItem
public static void deleteCommerceInventoryReplenishmentItem(long commerceInventoryReplenishmentItemId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceInventoryReplenishmentItems
public static void deleteCommerceInventoryReplenishmentItems(long companyId, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceInventoryReplenishmentItemByExternalReferenceCode
public static CommerceInventoryReplenishmentItem fetchCommerceInventoryReplenishmentItemByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryReplenishmentItem
public static CommerceInventoryReplenishmentItem getCommerceInventoryReplenishmentItem(long commerceInventoryReplenishmentItemId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryReplenishmentItemsByCommerceInventoryWarehouseId
public static List<CommerceInventoryReplenishmentItem> getCommerceInventoryReplenishmentItemsByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryReplenishmentItemsByCompanyIdSkuAndUnitOfMeasureKey
public static List<CommerceInventoryReplenishmentItem> getCommerceInventoryReplenishmentItemsByCompanyIdSkuAndUnitOfMeasureKey(long companyId, String sku, String unitOfMeasureKey, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryReplenishmentItemsCount
public static BigDecimal getCommerceInventoryReplenishmentItemsCount(long commerceInventoryWarehouseId, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryReplenishmentItemsCountByCommerceInventoryWarehouseId
public static int getCommerceInventoryReplenishmentItemsCountByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryReplenishmentItemsCountByCompanyIdSkuAndUnitOfMeasureKey
public static int getCommerceInventoryReplenishmentItemsCountByCompanyIdSkuAndUnitOfMeasureKey(long companyId, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateCommerceInventoryReplenishmentItem
public static CommerceInventoryReplenishmentItem updateCommerceInventoryReplenishmentItem(String externalReferenceCode, long commerceInventoryReplenishmentItemId, Date availabilityDate, BigDecimal quantity, long mvccVersion) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-