@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CommerceShipmentItemService
extends com.liferay.portal.kernel.service.BaseService
CommerceShipmentItemServiceUtil| 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) |
int |
getCommerceShipmentOrderItemsQuantity(long commerceShipmentId,
long commerceOrderItemId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CommerceShipmentItem |
updateCommerceShipmentItem(long commerceShipmentItemId,
long commerceInventoryWarehouseId,
java.math.BigDecimal quantity,
boolean validateInventory) |
CommerceShipmentItem |
updateExternalReferenceCode(long commerceShipmentItemId,
java.lang.String externalReferenceCode) |
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
com.liferay.portal.kernel.exception.PortalExceptionCommerceShipmentItem 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
com.liferay.portal.kernel.exception.PortalException@Deprecated
void deleteCommerceShipmentItem(long commerceShipmentItemId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid deleteCommerceShipmentItem(long commerceShipmentItemId,
boolean restoreStockQuantity)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid deleteCommerceShipmentItems(long commerceShipmentId,
boolean restoreStockQuantity)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
CommerceShipmentItem fetchCommerceShipmentItem(long commerceShipmentId,
long commerceOrderItemId,
long commerceInventoryWarehouseId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
CommerceShipmentItem fetchCommerceShipmentItemByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
CommerceShipmentItem getCommerceShipmentItem(long commerceShipmentItemId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Deprecated
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommerceShipmentItem> getCommerceShipmentItems(long commerceOrderItemId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
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@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommerceShipmentItem> getCommerceShipmentItemsByCommerceOrderItemId(long commerceOrderItemId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCommerceShipmentItemsCount(long commerceShipmentId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCommerceShipmentItemsCountByCommerceOrderItemId(long commerceOrderItemId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCommerceShipmentOrderItemsQuantity(long commerceShipmentId,
long commerceOrderItemId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionjava.lang.String getOSGiServiceIdentifier()
CommerceShipmentItem updateCommerceShipmentItem(long commerceShipmentItemId, long commerceInventoryWarehouseId, java.math.BigDecimal quantity, boolean validateInventory) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionCommerceShipmentItem updateExternalReferenceCode(long commerceShipmentItemId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException