public class CommerceOrderItemServiceWrapper extends java.lang.Object implements CommerceOrderItemService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderItemService>
CommerceOrderItemService
.CommerceOrderItemService
Constructor and Description |
---|
CommerceOrderItemServiceWrapper() |
CommerceOrderItemServiceWrapper(CommerceOrderItemService commerceOrderItemService) |
Modifier and Type | Method and Description |
---|---|
CommerceOrderItem |
addCommerceOrderItem(long commerceOrderId,
long cpInstanceId,
java.lang.String json,
int quantity,
int shippedQuantity,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrderItem |
addOrUpdateCommerceOrderItem(long commerceOrderId,
long cpInstanceId,
java.lang.String json,
int quantity,
int shippedQuantity,
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(java.lang.String externalReferenceCode,
long companyId) |
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() |
CommerceOrderItem |
importCommerceOrderItem(long commerceOrderId,
long cpInstanceId,
java.lang.String cpMeasurementUnitKey,
java.math.BigDecimal decimalQuantity,
int shippedQuantity,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrderItem> |
searchCommerceOrderItems(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> |
searchCommerceOrderItems(long commerceOrderId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrderItem> |
searchCommerceOrderItems(long commerceOrderId,
java.lang.String name,
java.lang.String sku,
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,
long cpMeasurementUnitId,
int quantity,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrderItem |
updateCommerceOrderItem(long commerceOrderItemId,
java.lang.String json,
int quantity,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrderItem |
updateCommerceOrderItemDeliveryDate(long commerceOrderItemId,
java.util.Date requestedDeliveryDate) |
CommerceOrderItem |
updateCommerceOrderItemInfo(long commerceOrderItemId,
long shippingAddressId,
java.lang.String deliveryGroup,
java.lang.String printedNote) |
CommerceOrderItem |
updateCommerceOrderItemInfo(long commerceOrderItemId,
long shippingAddressId,
java.lang.String deliveryGroup,
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 discountAmount,
java.math.BigDecimal discountPercentageLevel1,
java.math.BigDecimal discountPercentageLevel2,
java.math.BigDecimal discountPercentageLevel3,
java.math.BigDecimal discountPercentageLevel4,
java.math.BigDecimal finalPrice,
java.math.BigDecimal promoPrice,
java.math.BigDecimal unitPrice) |
CommerceOrderItem |
updateCommerceOrderItemPrices(long commerceOrderItemId,
java.math.BigDecimal discountAmount,
java.math.BigDecimal discountAmountWithTaxAmount,
java.math.BigDecimal discountPercentageLevel1,
java.math.BigDecimal discountPercentageLevel1WithTaxAmount,
java.math.BigDecimal discountPercentageLevel2,
java.math.BigDecimal discountPercentageLevel2WithTaxAmount,
java.math.BigDecimal discountPercentageLevel3,
java.math.BigDecimal discountPercentageLevel3WithTaxAmount,
java.math.BigDecimal discountPercentageLevel4,
java.math.BigDecimal discountPercentageLevel4WithTaxAmount,
java.math.BigDecimal finalPrice,
java.math.BigDecimal finalPriceWithTaxAmount,
java.math.BigDecimal promoPrice,
java.math.BigDecimal promoPriceWithTaxAmount,
java.math.BigDecimal unitPrice,
java.math.BigDecimal unitPriceWithTaxAmount) |
CommerceOrderItem |
updateCommerceOrderItemUnitPrice(long commerceOrderItemId,
java.math.BigDecimal unitPrice)
Deprecated.
As of Athanasius (7.3.x)
|
CommerceOrderItem |
updateCommerceOrderItemUnitPrice(long commerceOrderItemId,
java.math.BigDecimal decimalQuantity,
java.math.BigDecimal unitPrice) |
CommerceOrderItem |
updateCommerceOrderItemUnitPrice(long commerceOrderItemId,
int quantity,
java.math.BigDecimal unitPrice) |
CommerceOrderItem |
updateCustomFields(long commerceOrderItemId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public CommerceOrderItemServiceWrapper()
public CommerceOrderItemServiceWrapper(CommerceOrderItemService commerceOrderItemService)
public CommerceOrderItem addCommerceOrderItem(long commerceOrderId, long cpInstanceId, java.lang.String json, int quantity, int shippedQuantity, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceOrderItem
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrderItem addOrUpdateCommerceOrderItem(long commerceOrderId, long cpInstanceId, java.lang.String json, int quantity, int shippedQuantity, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addOrUpdateCommerceOrderItem
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public int countSubscriptionCommerceOrderItems(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
countSubscriptionCommerceOrderItems
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public void deleteCommerceOrderItem(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceOrderItem
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public void deleteCommerceOrderItem(long commerceOrderItemId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceOrderItem
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public void deleteCommerceOrderItems(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceOrderItems
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrderItem fetchByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
fetchByExternalReferenceCode
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrderItem fetchCommerceOrderItem(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
fetchCommerceOrderItem
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<CommerceOrderItem> getAvailableForShipmentCommerceOrderItems(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
getAvailableForShipmentCommerceOrderItems
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<CommerceOrderItem> getChildCommerceOrderItems(long parentCommerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
getChildCommerceOrderItems
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public int getCommerceInventoryWarehouseItemQuantity(long commerceOrderItemId, long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceInventoryWarehouseItemQuantity
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrderItem getCommerceOrderItem(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderItem
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<CommerceOrderItem> getCommerceOrderItems(long commerceOrderId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderItems
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public int getCommerceOrderItemsCount(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderItemsCount
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public int getCommerceOrderItemsCount(long commerceOrderId, long cpInstanceId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderItemsCount
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public int getCommerceOrderItemsCount(long groupId, long commerceAccountId, int[] orderStatuses) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderItemsCount
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public int getCommerceOrderItemsQuantity(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderItemsQuantity
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CommerceOrderItemService
public CommerceOrderItem importCommerceOrderItem(long commerceOrderId, long cpInstanceId, java.lang.String cpMeasurementUnitKey, java.math.BigDecimal decimalQuantity, int shippedQuantity, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
importCommerceOrderItem
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrderItem> searchCommerceOrderItems(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
searchCommerceOrderItems
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrderItem> searchCommerceOrderItems(long commerceOrderId, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
searchCommerceOrderItems
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrderItem> searchCommerceOrderItems(long commerceOrderId, java.lang.String name, java.lang.String sku, boolean andOperator, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
searchCommerceOrderItems
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrderItem updateCommerceOrderItem(long commerceOrderItemId, long cpMeasurementUnitId, int quantity, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItem
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrderItem updateCommerceOrderItem(long commerceOrderItemId, java.lang.String json, int quantity, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItem
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrderItem updateCommerceOrderItemDeliveryDate(long commerceOrderItemId, java.util.Date requestedDeliveryDate) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItemDeliveryDate
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrderItem updateCommerceOrderItemInfo(long commerceOrderItemId, long shippingAddressId, java.lang.String deliveryGroup, java.lang.String printedNote) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItemInfo
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrderItem updateCommerceOrderItemInfo(long commerceOrderItemId, long shippingAddressId, java.lang.String deliveryGroup, java.lang.String printedNote, int requestedDeliveryDateMonth, int requestedDeliveryDateDay, int requestedDeliveryDateYear) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItemInfo
in interface CommerceOrderItemService
com.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 CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrderItem updateCommerceOrderItemPrices(long commerceOrderItemId, java.math.BigDecimal discountAmount, java.math.BigDecimal discountPercentageLevel1, java.math.BigDecimal discountPercentageLevel2, java.math.BigDecimal discountPercentageLevel3, java.math.BigDecimal discountPercentageLevel4, java.math.BigDecimal finalPrice, java.math.BigDecimal promoPrice, java.math.BigDecimal unitPrice) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItemPrices
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrderItem updateCommerceOrderItemPrices(long commerceOrderItemId, java.math.BigDecimal discountAmount, java.math.BigDecimal discountAmountWithTaxAmount, java.math.BigDecimal discountPercentageLevel1, java.math.BigDecimal discountPercentageLevel1WithTaxAmount, java.math.BigDecimal discountPercentageLevel2, java.math.BigDecimal discountPercentageLevel2WithTaxAmount, java.math.BigDecimal discountPercentageLevel3, java.math.BigDecimal discountPercentageLevel3WithTaxAmount, java.math.BigDecimal discountPercentageLevel4, java.math.BigDecimal discountPercentageLevel4WithTaxAmount, java.math.BigDecimal finalPrice, java.math.BigDecimal finalPriceWithTaxAmount, java.math.BigDecimal promoPrice, java.math.BigDecimal promoPriceWithTaxAmount, java.math.BigDecimal unitPrice, java.math.BigDecimal unitPriceWithTaxAmount) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItemPrices
in interface CommerceOrderItemService
com.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 CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrderItem updateCommerceOrderItemUnitPrice(long commerceOrderItemId, java.math.BigDecimal decimalQuantity, java.math.BigDecimal unitPrice) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItemUnitPrice
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrderItem updateCommerceOrderItemUnitPrice(long commerceOrderItemId, int quantity, java.math.BigDecimal unitPrice) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItemUnitPrice
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrderItem updateCustomFields(long commerceOrderItemId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCustomFields
in interface CommerceOrderItemService
com.liferay.portal.kernel.exception.PortalException
public 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>