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) voiddeleteCommerceShipmentItem(long commerceShipmentItemId) Deprecated.As of Mueller (7.2.x), pass boolean for restoring stockvoiddeleteCommerceShipmentItem(long commerceShipmentItemId, boolean restoreStockQuantity) voiddeleteCommerceShipmentItems(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) intgetCommerceShipmentItemsCount(long commerceShipmentId) intgetCommerceShipmentItemsCountByCommerceOrderItemId(long commerceOrderItemId) getCommerceShipmentOrderItemsQuantity(long commerceShipmentId, long commerceOrderItemId) Returns the OSGi service identifier.voidsetWrappedService(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:
addCommerceShipmentItemin 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:
addOrUpdateCommerceShipmentItemin 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:
deleteCommerceShipmentItemin 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:
deleteCommerceShipmentItemin 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:
deleteCommerceShipmentItemsin 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:
fetchCommerceShipmentItemin 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:
fetchCommerceShipmentItemByExternalReferenceCodein interfaceCommerceShipmentItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipmentItem
public CommerceShipmentItem getCommerceShipmentItem(long commerceShipmentItemId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentItemin 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:
getCommerceShipmentItemsin 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:
getCommerceShipmentItemsin interfaceCommerceShipmentItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipmentItemsByCommerceOrderItemId
public List<CommerceShipmentItem> getCommerceShipmentItemsByCommerceOrderItemId(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentItemsByCommerceOrderItemIdin interfaceCommerceShipmentItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipmentItemsCount
public int getCommerceShipmentItemsCount(long commerceShipmentId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentItemsCountin interfaceCommerceShipmentItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipmentItemsCountByCommerceOrderItemId
public int getCommerceShipmentItemsCountByCommerceOrderItemId(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentItemsCountByCommerceOrderItemIdin 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:
getCommerceShipmentOrderItemsQuantityin interfaceCommerceShipmentItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin 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:
updateCommerceShipmentItemin 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:
updateExternalReferenceCodein interfaceCommerceShipmentItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceShipmentItemService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceShipmentItemService>
-