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