public class CommerceInventoryReplenishmentItemServiceUtil
extends java.lang.Object
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.CommerceInventoryReplenishmentItemService
Constructor and Description |
---|
CommerceInventoryReplenishmentItemServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static CommerceInventoryReplenishmentItem |
addCommerceInventoryReplenishmentItem(java.lang.String externalReferenceCode,
long commerceInventoryWarehouseId,
java.util.Date availabilityDate,
java.math.BigDecimal quantity,
java.lang.String sku,
java.lang.String unitOfMeasureKey) |
static void |
deleteCommerceInventoryReplenishmentItem(long commerceInventoryReplenishmentItemId) |
static void |
deleteCommerceInventoryReplenishmentItems(long companyId,
java.lang.String sku,
java.lang.String unitOfMeasureKey) |
static CommerceInventoryReplenishmentItem |
fetchCommerceInventoryReplenishmentItemByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
static CommerceInventoryReplenishmentItem |
getCommerceInventoryReplenishmentItem(long commerceInventoryReplenishmentItemId) |
static java.util.List<CommerceInventoryReplenishmentItem> |
getCommerceInventoryReplenishmentItemsByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId,
int start,
int end) |
static java.util.List<CommerceInventoryReplenishmentItem> |
getCommerceInventoryReplenishmentItemsByCompanyIdSkuAndUnitOfMeasureKey(long companyId,
java.lang.String sku,
java.lang.String unitOfMeasureKey,
int start,
int end) |
static java.math.BigDecimal |
getCommerceInventoryReplenishmentItemsCount(long commerceInventoryWarehouseId,
java.lang.String sku,
java.lang.String unitOfMeasureKey) |
static int |
getCommerceInventoryReplenishmentItemsCountByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId) |
static int |
getCommerceInventoryReplenishmentItemsCountByCompanyIdSkuAndUnitOfMeasureKey(long companyId,
java.lang.String sku,
java.lang.String unitOfMeasureKey) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceInventoryReplenishmentItemService |
getService() |
static CommerceInventoryReplenishmentItem |
updateCommerceInventoryReplenishmentItem(java.lang.String externalReferenceCode,
long commerceInventoryReplenishmentItemId,
java.util.Date availabilityDate,
java.math.BigDecimal quantity,
long mvccVersion) |
public CommerceInventoryReplenishmentItemServiceUtil()
public static 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
public static void deleteCommerceInventoryReplenishmentItem(long commerceInventoryReplenishmentItemId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static 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
public static CommerceInventoryReplenishmentItem fetchCommerceInventoryReplenishmentItemByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceInventoryReplenishmentItem getCommerceInventoryReplenishmentItem(long commerceInventoryReplenishmentItemId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceInventoryReplenishmentItem> getCommerceInventoryReplenishmentItemsByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static 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
public static 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
public static int getCommerceInventoryReplenishmentItemsCountByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static 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
public static java.lang.String getOSGiServiceIdentifier()
public static 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
public static CommerceInventoryReplenishmentItemService getService()