Package com.liferay.commerce.service
Class CommerceOrderItemServiceWrapper
java.lang.Object
com.liferay.commerce.service.CommerceOrderItemServiceWrapper
- All Implemented Interfaces:
CommerceOrderItemService,com.liferay.portal.kernel.service.BaseService,com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderItemService>
public class CommerceOrderItemServiceWrapper
extends Object
implements CommerceOrderItemService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderItemService>
Provides a wrapper for
CommerceOrderItemService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceOrderItemServiceWrapper(CommerceOrderItemService commerceOrderItemService) -
Method Summary
Modifier and TypeMethodDescriptionaddCommerceOrderItem(long commerceOrderId, long cpInstanceId, String json, BigDecimal quantity, long replacedCPInstanceId, BigDecimal shippedQuantity, String unitOfMeasureKey, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateCommerceOrderItem(long commerceOrderId, long cpInstanceId, String json, BigDecimal quantity, long replacedCPInstanceId, BigDecimal shippedQuantity, String unitOfMeasureKey, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) intcountSubscriptionCommerceOrderItems(long commerceOrderId) voiddeleteCommerceOrderItem(long commerceOrderItemId) voiddeleteCommerceOrderItem(long commerceOrderItemId, CommerceContext commerceContext) voiddeleteCommerceOrderItems(long commerceOrderId) voiddeleteMissingCommerceOrderItems(long commerceOrderId, Long[] commerceOrderItemIds, String[] externalReferenceCodes) fetchCommerceOrderItem(long commerceOrderItemId) fetchCommerceOrderItemByExternalReferenceCode(String externalReferenceCode, long companyId) getAvailableForShipmentCommerceOrderItems(long commerceOrderId) getChildCommerceOrderItems(long parentCommerceOrderItemId) getCommerceInventoryWarehouseItemQuantity(long commerceOrderItemId, long commerceInventoryWarehouseId) getCommerceOrderItem(long commerceOrderItemId) getCommerceOrderItems(long commerceOrderId, int start, int end) getCommerceOrderItems(long groupId, long commerceAccountId, int[] orderStatuses, int start, int end) intgetCommerceOrderItemsCount(long commerceOrderId) intgetCommerceOrderItemsCount(long commerceOrderId, long cpInstanceId) intgetCommerceOrderItemsCount(long groupId, long commerceAccountId, int[] orderStatuses) getCommerceOrderItemsQuantity(long commerceOrderId) Returns the OSGi service identifier.getSupplierCommerceOrderItems(long customerCommerceOrderItemId, int start, int end) importCommerceOrderItem(String externalReferenceCode, long commerceOrderItemId, long commerceOrderId, long cpInstanceId, String cpMeasurementUnitKey, BigDecimal quantity, BigDecimal shippedQuantity, BigDecimal unitOfMeasureIncrementalOrderQuantity, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrderItem>searchCommerceOrderItems(long commerceOrderId, long parentCommerceOrderItemId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrderItem>searchCommerceOrderItems(long commerceOrderId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrderItem>searchCommerceOrderItems(long commerceOrderId, String name, String sku, boolean andOperator, int start, int end, com.liferay.portal.kernel.search.Sort sort) voidsetWrappedService(CommerceOrderItemService commerceOrderItemService) updateCommerceOrderItem(long commerceOrderItemId, long cpMeasurementUnitId, BigDecimal quantity, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCommerceOrderItem(long commerceOrderItemId, long cpMeasurementUnitId, BigDecimal quantity, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCommerceOrderItem(long commerceOrderItemId, String json, BigDecimal quantity, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCommerceOrderItem(long commerceOrderItemId, BigDecimal quantity, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCommerceOrderItemDeliveryDate(long commerceOrderItemId, Date requestedDeliveryDate) updateCommerceOrderItemInfo(long commerceOrderItemId, long shippingAddressId, String deliveryGroupName, String printedNote) updateCommerceOrderItemInfo(long commerceOrderItemId, long shippingAddressId, String deliveryGroupName, String printedNote, int requestedDeliveryDateMonth, int requestedDeliveryDateDay, int requestedDeliveryDateYear) updateCommerceOrderItemInfo(long commerceOrderItemId, String deliveryGroupName, long shippingAddressId, 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)updateCommerceOrderItemPrices(long commerceOrderItemId, BigDecimal discountAmount, BigDecimal discountPercentageLevel1, BigDecimal discountPercentageLevel2, BigDecimal discountPercentageLevel3, BigDecimal discountPercentageLevel4, BigDecimal finalPrice, BigDecimal promoPrice, BigDecimal unitPrice) updateCommerceOrderItemPrices(long commerceOrderItemId, BigDecimal discountAmount, BigDecimal discountAmountWithTaxAmount, BigDecimal discountPercentageLevel1, BigDecimal discountPercentageLevel1WithTaxAmount, BigDecimal discountPercentageLevel2, BigDecimal discountPercentageLevel2WithTaxAmount, BigDecimal discountPercentageLevel3, BigDecimal discountPercentageLevel3WithTaxAmount, BigDecimal discountPercentageLevel4, BigDecimal discountPercentageLevel4WithTaxAmount, BigDecimal finalPrice, BigDecimal finalPriceWithTaxAmount, BigDecimal promoPrice, BigDecimal promoPriceWithTaxAmount, BigDecimal unitPrice, BigDecimal unitPriceWithTaxAmount) updateCommerceOrderItemUnitPrice(long commerceOrderItemId, BigDecimal unitPrice) Deprecated.As of Athanasius (7.3.x)updateCommerceOrderItemUnitPrice(long commerceOrderItemId, BigDecimal quantity, BigDecimal unitPrice) updateCustomFields(long commerceOrderItemId, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateExternalReferenceCode(long commerceOrderItemId, String externalReferenceCode)
-
Constructor Details
-
CommerceOrderItemServiceWrapper
public CommerceOrderItemServiceWrapper() -
CommerceOrderItemServiceWrapper
-
-
Method Details
-
addCommerceOrderItem
public CommerceOrderItem addCommerceOrderItem(long commerceOrderId, long cpInstanceId, String json, BigDecimal quantity, long replacedCPInstanceId, BigDecimal shippedQuantity, String unitOfMeasureKey, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommerceOrderItemin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommerceOrderItem
public CommerceOrderItem addOrUpdateCommerceOrderItem(long commerceOrderId, long cpInstanceId, String json, BigDecimal quantity, long replacedCPInstanceId, BigDecimal shippedQuantity, String unitOfMeasureKey, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addOrUpdateCommerceOrderItemin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
countSubscriptionCommerceOrderItems
public int countSubscriptionCommerceOrderItems(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
countSubscriptionCommerceOrderItemsin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceOrderItem
public void deleteCommerceOrderItem(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceOrderItemin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceOrderItem
public void deleteCommerceOrderItem(long commerceOrderItemId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceOrderItemin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceOrderItems
public void deleteCommerceOrderItems(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceOrderItemsin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteMissingCommerceOrderItems
public void deleteMissingCommerceOrderItems(long commerceOrderId, Long[] commerceOrderItemIds, String[] externalReferenceCodes) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteMissingCommerceOrderItemsin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrderItem
public CommerceOrderItem fetchCommerceOrderItem(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceOrderItemin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrderItemByExternalReferenceCode
public CommerceOrderItem fetchCommerceOrderItemByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceOrderItemByExternalReferenceCodein interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAvailableForShipmentCommerceOrderItems
public List<CommerceOrderItem> getAvailableForShipmentCommerceOrderItems(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getAvailableForShipmentCommerceOrderItemsin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getChildCommerceOrderItems
public List<CommerceOrderItem> getChildCommerceOrderItems(long parentCommerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getChildCommerceOrderItemsin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItemQuantity
public BigDecimal getCommerceInventoryWarehouseItemQuantity(long commerceOrderItemId, long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceInventoryWarehouseItemQuantityin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderItem
public CommerceOrderItem getCommerceOrderItem(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrderItemin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderItems
public List<CommerceOrderItem> getCommerceOrderItems(long commerceOrderId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrderItemsin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderItems
public List<CommerceOrderItem> getCommerceOrderItems(long groupId, long commerceAccountId, int[] orderStatuses, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrderItemsin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderItemsCount
public int getCommerceOrderItemsCount(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrderItemsCountin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderItemsCount
public int getCommerceOrderItemsCount(long commerceOrderId, long cpInstanceId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrderItemsCountin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderItemsCount
public int getCommerceOrderItemsCount(long groupId, long commerceAccountId, int[] orderStatuses) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrderItemsCountin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderItemsQuantity
public BigDecimal getCommerceOrderItemsQuantity(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrderItemsQuantityin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceCommerceOrderItemService- Returns:
- the OSGi service identifier
-
getSupplierCommerceOrderItems
public List<CommerceOrderItem> getSupplierCommerceOrderItems(long customerCommerceOrderItemId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getSupplierCommerceOrderItemsin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
importCommerceOrderItem
public CommerceOrderItem importCommerceOrderItem(String externalReferenceCode, long commerceOrderItemId, long commerceOrderId, long cpInstanceId, String cpMeasurementUnitKey, BigDecimal quantity, BigDecimal shippedQuantity, BigDecimal unitOfMeasureIncrementalOrderQuantity, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
importCommerceOrderItemin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCommerceOrderItems
public com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrderItem> searchCommerceOrderItems(long commerceOrderId, long parentCommerceOrderItemId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchCommerceOrderItemsin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCommerceOrderItems
public com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrderItem> searchCommerceOrderItems(long commerceOrderId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchCommerceOrderItemsin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCommerceOrderItems
public com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrderItem> searchCommerceOrderItems(long commerceOrderId, String name, String sku, boolean andOperator, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchCommerceOrderItemsin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrderItem
public CommerceOrderItem updateCommerceOrderItem(long commerceOrderItemId, BigDecimal quantity, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceOrderItemin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrderItem
public CommerceOrderItem updateCommerceOrderItem(long commerceOrderItemId, long cpMeasurementUnitId, BigDecimal quantity, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceOrderItemin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrderItem
public CommerceOrderItem updateCommerceOrderItem(long commerceOrderItemId, long cpMeasurementUnitId, BigDecimal quantity, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceOrderItemin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrderItem
public CommerceOrderItem updateCommerceOrderItem(long commerceOrderItemId, String json, BigDecimal quantity, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceOrderItemin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrderItemDeliveryDate
public CommerceOrderItem updateCommerceOrderItemDeliveryDate(long commerceOrderItemId, Date requestedDeliveryDate) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceOrderItemDeliveryDatein interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrderItemInfo
public CommerceOrderItem updateCommerceOrderItemInfo(long commerceOrderItemId, long shippingAddressId, String deliveryGroupName, String printedNote) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceOrderItemInfoin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrderItemInfo
public CommerceOrderItem updateCommerceOrderItemInfo(long commerceOrderItemId, long shippingAddressId, String deliveryGroupName, String printedNote, int requestedDeliveryDateMonth, int requestedDeliveryDateDay, int requestedDeliveryDateYear) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceOrderItemInfoin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrderItemInfo
@Deprecated public CommerceOrderItem updateCommerceOrderItemInfo(long commerceOrderItemId, String deliveryGroupName, long shippingAddressId, 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 Deprecated.As of Athanasius (7.3.x)- Specified by:
updateCommerceOrderItemInfoin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrderItemPrices
public CommerceOrderItem updateCommerceOrderItemPrices(long commerceOrderItemId, BigDecimal discountAmount, BigDecimal discountPercentageLevel1, BigDecimal discountPercentageLevel2, BigDecimal discountPercentageLevel3, BigDecimal discountPercentageLevel4, BigDecimal finalPrice, BigDecimal promoPrice, BigDecimal unitPrice) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceOrderItemPricesin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrderItemPrices
public CommerceOrderItem updateCommerceOrderItemPrices(long commerceOrderItemId, BigDecimal discountAmount, BigDecimal discountAmountWithTaxAmount, BigDecimal discountPercentageLevel1, BigDecimal discountPercentageLevel1WithTaxAmount, BigDecimal discountPercentageLevel2, BigDecimal discountPercentageLevel2WithTaxAmount, BigDecimal discountPercentageLevel3, BigDecimal discountPercentageLevel3WithTaxAmount, BigDecimal discountPercentageLevel4, BigDecimal discountPercentageLevel4WithTaxAmount, BigDecimal finalPrice, BigDecimal finalPriceWithTaxAmount, BigDecimal promoPrice, BigDecimal promoPriceWithTaxAmount, BigDecimal unitPrice, BigDecimal unitPriceWithTaxAmount) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceOrderItemPricesin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrderItemUnitPrice
@Deprecated public CommerceOrderItem updateCommerceOrderItemUnitPrice(long commerceOrderItemId, BigDecimal unitPrice) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x)- Specified by:
updateCommerceOrderItemUnitPricein interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrderItemUnitPrice
public CommerceOrderItem updateCommerceOrderItemUnitPrice(long commerceOrderItemId, BigDecimal quantity, BigDecimal unitPrice) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceOrderItemUnitPricein interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCustomFields
public CommerceOrderItem updateCustomFields(long commerceOrderItemId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCustomFieldsin interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
public CommerceOrderItem updateExternalReferenceCode(long commerceOrderItemId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateExternalReferenceCodein interfaceCommerceOrderItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderItemService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderItemService>
-