@ProviderType public class CommerceOrderItemServiceWrapper extends java.lang.Object implements CommerceOrderItemService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderItemService>
CommerceOrderItemService.CommerceOrderItemService| Constructor and Description |
|---|
CommerceOrderItemServiceWrapper(CommerceOrderItemService commerceOrderItemService) |
| Modifier and Type | Method and Description |
|---|---|
CommerceOrderItem |
addCommerceOrderItem(long commerceOrderId,
long cpInstanceId,
int quantity,
int shippedQuantity,
java.lang.String json,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteCommerceOrderItem(long commerceOrderItemId) |
CommerceOrderItem |
fetchByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode) |
CommerceOrderItem |
fetchCommerceOrderItem(long commerceOrderItemId) |
java.util.List<CommerceOrderItem> |
getAvailableForShipmentCommerceOrderItems(long commerceOrderId) |
CommerceOrderItem |
getCommerceOrderItem(long commerceOrderItemId) |
java.util.List<CommerceOrderItem> |
getCommerceOrderItems(long commerceOrderId,
int start,
int end) |
int |
getCommerceOrderItemsCount(long commerceOrderId) |
int |
getCommerceOrderItemsQuantity(long commerceOrderId) |
int |
getCommerceWarehouseItemQuantity(long commerceOrderItemId,
long commerceWarehouseId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CommerceOrderItemService |
getWrappedService() |
com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrderItem> |
search(long commerceOrderId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrderItem> |
search(long commerceOrderId,
java.lang.String sku,
java.lang.String name,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
void |
setWrappedService(CommerceOrderItemService commerceOrderItemService) |
CommerceOrderItem |
updateCommerceOrderItem(long commerceOrderItemId,
int quantity,
CommerceContext commerceContext) |
CommerceOrderItem |
updateCommerceOrderItem(long commerceOrderItemId,
int quantity,
java.lang.String json,
CommerceContext commerceContext) |
CommerceOrderItem |
upsertCommerceOrderItem(long commerceOrderId,
long cpInstanceId,
int quantity,
int shippedQuantity,
java.lang.String json,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public CommerceOrderItemServiceWrapper(CommerceOrderItemService commerceOrderItemService)
public CommerceOrderItem addCommerceOrderItem(long commerceOrderId, long cpInstanceId, int quantity, int shippedQuantity, java.lang.String json, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceOrderItem in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCommerceOrderItem(long commerceOrderItemId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceOrderItem in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderItem fetchByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
fetchByExternalReferenceCode in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderItem fetchCommerceOrderItem(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
fetchCommerceOrderItem in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceOrderItem> getAvailableForShipmentCommerceOrderItems(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
getAvailableForShipmentCommerceOrderItems in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderItem getCommerceOrderItem(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderItem in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceOrderItem> getCommerceOrderItems(long commerceOrderId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderItems in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getCommerceOrderItemsCount(long commerceOrderId)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderItemsCount in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getCommerceOrderItemsQuantity(long commerceOrderId)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderItemsQuantity in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getCommerceWarehouseItemQuantity(long commerceOrderItemId,
long commerceWarehouseId)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceWarehouseItemQuantity in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceOrderItemServicepublic com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrderItem> search(long commerceOrderId, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
search in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrderItem> search(long commerceOrderId, java.lang.String sku, java.lang.String name, boolean andOperator, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
search in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderItem updateCommerceOrderItem(long commerceOrderItemId, int quantity, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItem in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderItem updateCommerceOrderItem(long commerceOrderItemId, int quantity, java.lang.String json, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItem in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderItem upsertCommerceOrderItem(long commerceOrderId, long cpInstanceId, int quantity, int shippedQuantity, java.lang.String json, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
upsertCommerceOrderItem in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderItemService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderItemService>public void setWrappedService(CommerceOrderItemService commerceOrderItemService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderItemService>