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(java.lang.String externalReferenceCode,
long commerceShipmentId,
long commerceOrderItemId,
long commerceInventoryWarehouseId,
java.math.BigDecimal quantity,
java.lang.String unitOfMeasureKey,
boolean validateInventory,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceShipmentItem |
addOrUpdateCommerceShipmentItem(java.lang.String externalReferenceCode,
long commerceShipmentId,
long commerceOrderItemId,
long commerceInventoryWarehouseId,
java.math.BigDecimal quantity,
java.lang.String unitOfMeasureKey,
boolean validateInventory,
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) |
void |
deleteCommerceShipmentItems(long commerceShipmentId,
boolean restoreStockQuantity) |
CommerceShipmentItem |
fetchCommerceShipmentItem(long commerceShipmentId,
long commerceOrderItemId,
long commerceInventoryWarehouseId) |
CommerceShipmentItem |
fetchCommerceShipmentItemByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode) |
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) |
java.math.BigDecimal |
getCommerceShipmentOrderItemsQuantity(long commerceShipmentId,
long commerceOrderItemId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CommerceShipmentItemService |
getWrappedService() |
void |
setWrappedService(CommerceShipmentItemService commerceShipmentItemService) |
CommerceShipmentItem |
updateCommerceShipmentItem(long commerceShipmentItemId,
long commerceInventoryWarehouseId,
java.math.BigDecimal quantity,
boolean validateInventory) |
CommerceShipmentItem |
updateExternalReferenceCode(long commerceShipmentItemId,
java.lang.String externalReferenceCode) |
public CommerceShipmentItemServiceWrapper()
public CommerceShipmentItemServiceWrapper(CommerceShipmentItemService commerceShipmentItemService)
public CommerceShipmentItem addCommerceShipmentItem(java.lang.String externalReferenceCode, long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId, java.math.BigDecimal quantity, java.lang.String unitOfMeasureKey, boolean validateInventory, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceShipmentItem in interface CommerceShipmentItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceShipmentItem addOrUpdateCommerceShipmentItem(java.lang.String externalReferenceCode, long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId, java.math.BigDecimal quantity, java.lang.String unitOfMeasureKey, boolean validateInventory, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addOrUpdateCommerceShipmentItem in interface CommerceShipmentItemServicecom.liferay.portal.kernel.exception.PortalException@Deprecated
public void deleteCommerceShipmentItem(long commerceShipmentItemId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceShipmentItem in interface CommerceShipmentItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCommerceShipmentItem(long commerceShipmentItemId,
boolean restoreStockQuantity)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceShipmentItem in interface CommerceShipmentItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCommerceShipmentItems(long commerceShipmentId,
boolean restoreStockQuantity)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceShipmentItems in interface CommerceShipmentItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceShipmentItem fetchCommerceShipmentItem(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException
fetchCommerceShipmentItem in interface CommerceShipmentItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceShipmentItem fetchCommerceShipmentItemByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
fetchCommerceShipmentItemByExternalReferenceCode in interface CommerceShipmentItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceShipmentItem getCommerceShipmentItem(long commerceShipmentItemId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceShipmentItem in interface CommerceShipmentItemServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public java.util.List<CommerceShipmentItem> getCommerceShipmentItems(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceShipmentItems in interface CommerceShipmentItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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 CommerceShipmentItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceShipmentItem> getCommerceShipmentItemsByCommerceOrderItemId(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceShipmentItemsByCommerceOrderItemId in interface CommerceShipmentItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getCommerceShipmentItemsCount(long commerceShipmentId)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceShipmentItemsCount in interface CommerceShipmentItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getCommerceShipmentItemsCountByCommerceOrderItemId(long commerceOrderItemId)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceShipmentItemsCountByCommerceOrderItemId in interface CommerceShipmentItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.math.BigDecimal getCommerceShipmentOrderItemsQuantity(long commerceShipmentId,
long commerceOrderItemId)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceShipmentOrderItemsQuantity in interface CommerceShipmentItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceShipmentItemServicepublic CommerceShipmentItem updateCommerceShipmentItem(long commerceShipmentItemId, long commerceInventoryWarehouseId, java.math.BigDecimal quantity, boolean validateInventory) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceShipmentItem in interface CommerceShipmentItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceShipmentItem updateExternalReferenceCode(long commerceShipmentItemId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
updateExternalReferenceCode in interface CommerceShipmentItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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>