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) |
int |
countSubscriptionCommerceOrderItems(long commerceOrderId) |
void |
deleteCommerceOrderItem(long commerceOrderItemId) |
void |
deleteCommerceOrderItem(long commerceOrderItemId,
CommerceContext commerceContext) |
void |
deleteCommerceOrderItems(long commerceOrderId) |
CommerceOrderItem |
fetchByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode) |
CommerceOrderItem |
fetchCommerceOrderItem(long commerceOrderItemId) |
java.util.List<CommerceOrderItem> |
getAvailableForShipmentCommerceOrderItems(long commerceOrderId) |
java.util.List<CommerceOrderItem> |
getChildCommerceOrderItems(long parentCommerceOrderItemId) |
int |
getCommerceInventoryWarehouseItemQuantity(long commerceOrderItemId,
long commerceInventoryWarehouseId) |
CommerceOrderItem |
getCommerceOrderItem(long commerceOrderItemId) |
java.util.List<CommerceOrderItem> |
getCommerceOrderItems(long commerceOrderId,
int start,
int end) |
java.util.List<CommerceOrderItem> |
getCommerceOrderItems(long groupId,
long commerceAccountId,
int[] orderStatuses,
int start,
int end) |
int |
getCommerceOrderItemsCount(long commerceOrderId) |
int |
getCommerceOrderItemsCount(long commerceOrderId,
long cpInstanceId) |
int |
getCommerceOrderItemsCount(long groupId,
long commerceAccountId,
int[] orderStatuses) |
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,
long parentCommerceOrderItemId,
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 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 |
updateCommerceOrderItemDeliveryDate(long commerceOrderItemId,
java.util.Date requestedDeliveryDate) |
CommerceOrderItem |
updateCommerceOrderItemInfo(long commerceOrderItemId,
java.lang.String deliveryGroup,
long shippingAddressId,
java.lang.String printedNote) |
CommerceOrderItem |
updateCommerceOrderItemInfo(long commerceOrderItemId,
java.lang.String deliveryGroup,
long shippingAddressId,
java.lang.String printedNote,
int requestedDeliveryDateMonth,
int requestedDeliveryDateDay,
int requestedDeliveryDateYear) |
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)
Deprecated.
As of Athanasius (7.3.x)
|
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 |
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,
java.math.BigDecimal unitPriceWithTaxAmount,
java.math.BigDecimal promoPriceWithTaxAmount,
java.math.BigDecimal discountAmountWithTaxAmount,
java.math.BigDecimal finalPriceWithTaxAmount,
java.math.BigDecimal discountPercentageLevel1WithTaxAmount,
java.math.BigDecimal discountPercentageLevel2WithTaxAmount,
java.math.BigDecimal discountPercentageLevel3WithTaxAmount,
java.math.BigDecimal discountPercentageLevel4WithTaxAmount) |
CommerceOrderItem |
updateCommerceOrderItemUnitPrice(long commerceOrderItemId,
java.math.BigDecimal unitPrice)
Deprecated.
As of Athanasius (7.3.x)
|
CommerceOrderItem |
updateCommerceOrderItemUnitPrice(long commerceOrderItemId,
java.math.BigDecimal unitPrice,
int quantity) |
CommerceOrderItem |
updateCustomFields(long commerceOrderItemId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
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 int countSubscriptionCommerceOrderItems(long commerceOrderId)
throws com.liferay.portal.kernel.exception.PortalException
countSubscriptionCommerceOrderItems 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 void deleteCommerceOrderItems(long commerceOrderId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceOrderItems 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 java.util.List<CommerceOrderItem> getChildCommerceOrderItems(long parentCommerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
getChildCommerceOrderItems 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 java.util.List<CommerceOrderItem> getCommerceOrderItems(long groupId, long commerceAccountId, int[] orderStatuses, 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 getCommerceOrderItemsCount(long groupId,
long commerceAccountId,
int[] orderStatuses)
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, long parentCommerceOrderItemId, 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 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 updateCommerceOrderItemDeliveryDate(long commerceOrderItemId, java.util.Date requestedDeliveryDate) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItemDeliveryDate in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderItem updateCommerceOrderItemInfo(long commerceOrderItemId, java.lang.String deliveryGroup, long shippingAddressId, java.lang.String printedNote) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItemInfo 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) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItemInfo in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public 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 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, java.math.BigDecimal unitPriceWithTaxAmount, java.math.BigDecimal promoPriceWithTaxAmount, java.math.BigDecimal discountAmountWithTaxAmount, java.math.BigDecimal finalPriceWithTaxAmount, java.math.BigDecimal discountPercentageLevel1WithTaxAmount, java.math.BigDecimal discountPercentageLevel2WithTaxAmount, java.math.BigDecimal discountPercentageLevel3WithTaxAmount, java.math.BigDecimal discountPercentageLevel4WithTaxAmount) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItemPrices in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public CommerceOrderItem updateCommerceOrderItemUnitPrice(long commerceOrderItemId, java.math.BigDecimal unitPrice) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItemUnitPrice in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderItem updateCommerceOrderItemUnitPrice(long commerceOrderItemId, java.math.BigDecimal unitPrice, int quantity) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItemUnitPrice in interface CommerceOrderItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderItem updateCustomFields(long commerceOrderItemId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCustomFields 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>