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.lang.String sku,
java.util.Date availabilityDate,
int quantity) |
static void |
deleteCommerceInventoryReplenishmentItem(long commerceInventoryReplenishmentItemId) |
static void |
deleteCommerceInventoryReplenishmentItems(long companyId,
java.lang.String sku) |
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> |
getCommerceInventoryReplenishmentItemsByCompanyIdAndSku(long companyId,
java.lang.String sku,
int start,
int end) |
static long |
getCommerceInventoryReplenishmentItemsCount(long commerceInventoryWarehouseId,
java.lang.String sku) |
static int |
getCommerceInventoryReplenishmentItemsCountByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId) |
static int |
getCommerceInventoryReplenishmentItemsCountByCompanyIdAndSku(long companyId,
java.lang.String sku) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceInventoryReplenishmentItemService |
getService() |
static void |
setService(CommerceInventoryReplenishmentItemService service) |
static CommerceInventoryReplenishmentItem |
updateCommerceInventoryReplenishmentItem(java.lang.String externalReferenceCode,
long commerceInventoryReplenishmentItemId,
java.util.Date availabilityDate,
int quantity,
long mvccVersion) |
public CommerceInventoryReplenishmentItemServiceUtil()
public static 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
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) 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> getCommerceInventoryReplenishmentItemsByCompanyIdAndSku(long companyId, java.lang.String sku, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long getCommerceInventoryReplenishmentItemsCount(long commerceInventoryWarehouseId, java.lang.String sku) 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 getCommerceInventoryReplenishmentItemsCountByCompanyIdAndSku(long companyId, java.lang.String sku) 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, int quantity, long mvccVersion) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceInventoryReplenishmentItemService getService()
public static void setService(CommerceInventoryReplenishmentItemService service)