Package com.liferay.commerce.service
Class CommerceShipmentItemServiceWrapper
java.lang.Object
com.liferay.commerce.service.CommerceShipmentItemServiceWrapper
- All Implemented Interfaces:
CommerceShipmentItemService
,com.liferay.portal.kernel.service.BaseService
,com.liferay.portal.kernel.service.ServiceWrapper<CommerceShipmentItemService>
public class CommerceShipmentItemServiceWrapper
extends Object
implements CommerceShipmentItemService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceShipmentItemService>
Provides a wrapper for
CommerceShipmentItemService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceShipmentItemServiceWrapper
(CommerceShipmentItemService commerceShipmentItemService) -
Method Summary
Modifier and TypeMethodDescriptionaddCommerceShipmentItem
(String externalReferenceCode, long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId, BigDecimal quantity, String unitOfMeasureKey, boolean validateInventory, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateCommerceShipmentItem
(String externalReferenceCode, long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId, BigDecimal quantity, 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 stockvoid
deleteCommerceShipmentItem
(long commerceShipmentItemId, boolean restoreStockQuantity) void
deleteCommerceShipmentItems
(long commerceShipmentId, boolean restoreStockQuantity) fetchCommerceShipmentItem
(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) fetchCommerceShipmentItemByExternalReferenceCode
(long companyId, String externalReferenceCode) getCommerceShipmentItem
(long commerceShipmentItemId) getCommerceShipmentItems
(long commerceOrderItemId) Deprecated.As of Athanasius (7.3.x)getCommerceShipmentItems
(long commerceShipmentId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) getCommerceShipmentItemsByCommerceOrderItemId
(long commerceOrderItemId) int
getCommerceShipmentItemsCount
(long commerceShipmentId) int
getCommerceShipmentItemsCountByCommerceOrderItemId
(long commerceOrderItemId) getCommerceShipmentOrderItemsQuantity
(long commerceShipmentId, long commerceOrderItemId) Returns the OSGi service identifier.void
setWrappedService
(CommerceShipmentItemService commerceShipmentItemService) updateCommerceShipmentItem
(long commerceShipmentItemId, long commerceInventoryWarehouseId, BigDecimal quantity, boolean validateInventory) updateExternalReferenceCode
(long commerceShipmentItemId, String externalReferenceCode)
-
Constructor Details
-
CommerceShipmentItemServiceWrapper
public CommerceShipmentItemServiceWrapper() -
CommerceShipmentItemServiceWrapper
-
-
Method Details
-
addCommerceShipmentItem
public CommerceShipmentItem addCommerceShipmentItem(String externalReferenceCode, long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId, BigDecimal quantity, String unitOfMeasureKey, boolean validateInventory, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommerceShipmentItem
in interfaceCommerceShipmentItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommerceShipmentItem
public CommerceShipmentItem addOrUpdateCommerceShipmentItem(String externalReferenceCode, long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId, BigDecimal quantity, String unitOfMeasureKey, boolean validateInventory, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addOrUpdateCommerceShipmentItem
in interfaceCommerceShipmentItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceShipmentItem
@Deprecated public void deleteCommerceShipmentItem(long commerceShipmentItemId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Mueller (7.2.x), pass boolean for restoring stock- Specified by:
deleteCommerceShipmentItem
in interfaceCommerceShipmentItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceShipmentItem
public void deleteCommerceShipmentItem(long commerceShipmentItemId, boolean restoreStockQuantity) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceShipmentItem
in interfaceCommerceShipmentItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceShipmentItems
public void deleteCommerceShipmentItems(long commerceShipmentId, boolean restoreStockQuantity) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceShipmentItems
in interfaceCommerceShipmentItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceShipmentItem
public CommerceShipmentItem fetchCommerceShipmentItem(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceShipmentItem
in interfaceCommerceShipmentItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceShipmentItemByExternalReferenceCode
public CommerceShipmentItem fetchCommerceShipmentItemByExternalReferenceCode(long companyId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceShipmentItemByExternalReferenceCode
in interfaceCommerceShipmentItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipmentItem
public CommerceShipmentItem getCommerceShipmentItem(long commerceShipmentItemId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentItem
in interfaceCommerceShipmentItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipmentItems
@Deprecated public List<CommerceShipmentItem> getCommerceShipmentItems(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x)- Specified by:
getCommerceShipmentItems
in interfaceCommerceShipmentItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipmentItems
public List<CommerceShipmentItem> getCommerceShipmentItems(long commerceShipmentId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentItems
in interfaceCommerceShipmentItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipmentItemsByCommerceOrderItemId
public List<CommerceShipmentItem> getCommerceShipmentItemsByCommerceOrderItemId(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentItemsByCommerceOrderItemId
in interfaceCommerceShipmentItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipmentItemsCount
public int getCommerceShipmentItemsCount(long commerceShipmentId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentItemsCount
in interfaceCommerceShipmentItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipmentItemsCountByCommerceOrderItemId
public int getCommerceShipmentItemsCountByCommerceOrderItemId(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentItemsCountByCommerceOrderItemId
in interfaceCommerceShipmentItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipmentOrderItemsQuantity
public BigDecimal getCommerceShipmentOrderItemsQuantity(long commerceShipmentId, long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentOrderItemsQuantity
in interfaceCommerceShipmentItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceCommerceShipmentItemService
- Returns:
- the OSGi service identifier
-
updateCommerceShipmentItem
public CommerceShipmentItem updateCommerceShipmentItem(long commerceShipmentItemId, long commerceInventoryWarehouseId, BigDecimal quantity, boolean validateInventory) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceShipmentItem
in interfaceCommerceShipmentItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
public CommerceShipmentItem updateExternalReferenceCode(long commerceShipmentItemId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateExternalReferenceCode
in interfaceCommerceShipmentItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceShipmentItemService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceShipmentItemService>
-