@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(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.
|
CommerceShipmentItem |
updateCommerceShipmentItem(long commerceShipmentItemId,
int quantity) |
CommerceShipmentItem |
updateCommerceShipmentItem(long commerceShipmentItemId,
long commerceInventoryWarehouseId,
int quantity) |
CommerceShipmentItem addCommerceShipmentItem(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId, int quantity, 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.PortalException
void deleteCommerceShipmentItem(long commerceShipmentItemId, 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 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.PortalException
java.lang.String getOSGiServiceIdentifier()
CommerceShipmentItem updateCommerceShipmentItem(long commerceShipmentItemId, int quantity) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CommerceShipmentItem updateCommerceShipmentItem(long commerceShipmentItemId, long commerceInventoryWarehouseId, int quantity) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException