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)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
void |
deleteCommerceOrderItem(long commerceOrderItemId) |
void |
deleteCommerceOrderItem(long commerceOrderItemId,
CommerceContext commerceContext) |
CommerceOrderItem |
fetchByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode) |
CommerceOrderItem |
fetchCommerceOrderItem(long commerceOrderItemId) |
java.util.List<CommerceOrderItem> |
getAvailableForShipmentCommerceOrderItems(long commerceOrderId) |
int |
getCommerceInventoryWarehouseItemQuantity(long commerceOrderItemId,
long commerceInventoryWarehouseId) |
CommerceOrderItem |
getCommerceOrderItem(long commerceOrderItemId) |
java.util.List<CommerceOrderItem> |
getCommerceOrderItems(long commerceOrderId,
int start,
int end) |
int |
getCommerceOrderItemsCount(long commerceOrderId) |
int |
getCommerceOrderItemsCount(long commerceOrderId,
long cpInstanceId) |
int |
getCommerceOrderItemsQuantity(long commerceOrderId) |
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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrderItem |
updateCommerceOrderItem(long commerceOrderItemId,
int quantity,
java.lang.String json,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrderItem |
updateCommerceOrderItemInfo(long commerceOrderItemId,
java.lang.String deliveryGroup,
long shippingAddressId,
java.lang.String printedNote,
int requestedDeliveryDateMonth,
int requestedDeliveryDateDay,
int requestedDeliveryDateYear,
int requestedDeliveryDateHour,
int requestedDeliveryDateMinute,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrderItem |
updateCommerceOrderItemPrices(long commerceOrderItemId,
java.math.BigDecimal unitPrice,
java.math.BigDecimal promoPrice,
java.math.BigDecimal discountAmount,
java.math.BigDecimal finalPrice,
java.math.BigDecimal discountPercentageLevel1,
java.math.BigDecimal discountPercentageLevel2,
java.math.BigDecimal discountPercentageLevel3,
java.math.BigDecimal discountPercentageLevel4) |
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
CommerceOrderItemServiceUtil to access the commerce order item remote service. Add custom service methods to com.liferay.commerce.service.impl.CommerceOrderItemServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.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 void deleteCommerceOrderItem(long commerceOrderItemId,
CommerceContext commerceContext)
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 int getCommerceInventoryWarehouseItemQuantity(long commerceOrderItemId,
long commerceInventoryWarehouseId)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceInventoryWarehouseItemQuantity 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 getCommerceOrderItemsCount(long commerceOrderId,
long cpInstanceId)
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 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, com.liferay.portal.kernel.service.ServiceContext serviceContext) 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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItem in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderItem updateCommerceOrderItemInfo(long commerceOrderItemId, java.lang.String deliveryGroup, long shippingAddressId, java.lang.String printedNote, int requestedDeliveryDateMonth, int requestedDeliveryDateDay, int requestedDeliveryDateYear, int requestedDeliveryDateHour, int requestedDeliveryDateMinute, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItemInfo in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderItem updateCommerceOrderItemPrices(long commerceOrderItemId, java.math.BigDecimal unitPrice, java.math.BigDecimal promoPrice, java.math.BigDecimal discountAmount, java.math.BigDecimal finalPrice, java.math.BigDecimal discountPercentageLevel1, java.math.BigDecimal discountPercentageLevel2, java.math.BigDecimal discountPercentageLevel3, java.math.BigDecimal discountPercentageLevel4) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItemPrices 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>