public class CommerceShipmentItemServiceUtil
extends java.lang.Object
com.liferay.commerce.service.impl.CommerceShipmentItemServiceImpl
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.CommerceShipmentItemService
Constructor and Description |
---|
CommerceShipmentItemServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static CommerceShipmentItem |
addCommerceShipmentItem(long commerceShipmentId,
long commerceOrderItemId,
long commerceInventoryWarehouseId,
int quantity,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteCommerceShipmentItem(long commerceShipmentItemId)
Deprecated.
As of Mueller (7.2.x), pass boolean for restoring stock
|
static void |
deleteCommerceShipmentItem(long commerceShipmentItemId,
boolean restoreStockQuantity) |
static CommerceShipmentItem |
fetchCommerceShipmentItem(long commerceShipmentId,
long commerceOrderItemId,
long commerceInventoryWarehouseId) |
static CommerceShipmentItem |
getCommerceShipmentItem(long commerceShipmentItemId) |
static java.util.List<CommerceShipmentItem> |
getCommerceShipmentItems(long commerceOrderItemId)
Deprecated.
As of Athanasius (7.3.x)
|
static java.util.List<CommerceShipmentItem> |
getCommerceShipmentItems(long commerceShipmentId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) |
static java.util.List<CommerceShipmentItem> |
getCommerceShipmentItemsByCommerceOrderItemId(long commerceOrderItemId) |
static int |
getCommerceShipmentItemsCount(long commerceShipmentId) |
static int |
getCommerceShipmentItemsCountByCommerceOrderItemId(long commerceOrderItemId) |
static int |
getCommerceShipmentOrderItemsQuantity(long commerceShipmentId,
long commerceOrderItemId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceShipmentItemService |
getService() |
static CommerceShipmentItem |
updateCommerceShipmentItem(long commerceShipmentItemId,
int quantity) |
static CommerceShipmentItem |
updateCommerceShipmentItem(long commerceShipmentItemId,
long commerceInventoryWarehouseId,
int quantity) |
public static CommerceShipmentItem addCommerceShipmentItem(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId, int quantity, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static void deleteCommerceShipmentItem(long commerceShipmentItemId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteCommerceShipmentItem(long commerceShipmentItemId, boolean restoreStockQuantity) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceShipmentItem fetchCommerceShipmentItem(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceShipmentItem getCommerceShipmentItem(long commerceShipmentItemId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static java.util.List<CommerceShipmentItem> getCommerceShipmentItems(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceShipmentItem> getCommerceShipmentItems(long commerceShipmentId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceShipmentItem> getCommerceShipmentItemsByCommerceOrderItemId(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCommerceShipmentItemsCount(long commerceShipmentId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCommerceShipmentItemsCountByCommerceOrderItemId(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCommerceShipmentOrderItemsQuantity(long commerceShipmentId, long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static CommerceShipmentItem updateCommerceShipmentItem(long commerceShipmentItemId, int quantity) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceShipmentItem updateCommerceShipmentItem(long commerceShipmentItemId, long commerceInventoryWarehouseId, int quantity) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceShipmentItemService getService()