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 Details

    • CommerceOrderItemServiceWrapper

      public CommerceOrderItemServiceWrapper()
    • CommerceOrderItemServiceWrapper

      public CommerceOrderItemServiceWrapper(CommerceOrderItemService commerceOrderItemService)
  • 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:
      addCommerceOrderItem in interface CommerceOrderItemService
      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:
      addOrUpdateCommerceOrderItem in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • countSubscriptionCommerceOrderItems

      public int countSubscriptionCommerceOrderItems(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      countSubscriptionCommerceOrderItems in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceOrderItem

      public void deleteCommerceOrderItem(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCommerceOrderItem in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceOrderItem

      public void deleteCommerceOrderItem(long commerceOrderItemId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCommerceOrderItem in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceOrderItems

      public void deleteCommerceOrderItems(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCommerceOrderItems in interface CommerceOrderItemService
      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:
      deleteMissingCommerceOrderItems in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommerceOrderItem

      public CommerceOrderItem fetchCommerceOrderItem(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      fetchCommerceOrderItem in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommerceOrderItemByExternalReferenceCode

      public CommerceOrderItem fetchCommerceOrderItemByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      fetchCommerceOrderItemByExternalReferenceCode in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAvailableForShipmentCommerceOrderItems

      public List<CommerceOrderItem> getAvailableForShipmentCommerceOrderItems(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAvailableForShipmentCommerceOrderItems in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getChildCommerceOrderItems

      public List<CommerceOrderItem> getChildCommerceOrderItems(long parentCommerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getChildCommerceOrderItems in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceInventoryWarehouseItemQuantity

      public BigDecimal getCommerceInventoryWarehouseItemQuantity(long commerceOrderItemId, long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceInventoryWarehouseItemQuantity in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceOrderItem

      public CommerceOrderItem getCommerceOrderItem(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceOrderItem in interface CommerceOrderItemService
      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:
      getCommerceOrderItems in interface CommerceOrderItemService
      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:
      getCommerceOrderItems in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceOrderItemsCount

      public int getCommerceOrderItemsCount(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceOrderItemsCount in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceOrderItemsCount

      public int getCommerceOrderItemsCount(long commerceOrderId, long cpInstanceId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceOrderItemsCount in interface CommerceOrderItemService
      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:
      getCommerceOrderItemsCount in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceOrderItemsQuantity

      public BigDecimal getCommerceOrderItemsQuantity(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceOrderItemsQuantity in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface CommerceOrderItemService
      Returns:
      the OSGi service identifier
    • getParentCommerceOrderItems

      public List<CommerceOrderItem> getParentCommerceOrderItems(long commerceOrderId, long parentCommerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getParentCommerceOrderItems in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getParentCommerceOrderItemsCount

      public int getParentCommerceOrderItemsCount(long commerceOrderId, long parentCommerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getParentCommerceOrderItemsCount in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSupplierCommerceOrderItems

      public List<CommerceOrderItem> getSupplierCommerceOrderItems(long customerCommerceOrderItemId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSupplierCommerceOrderItems in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • importCommerceOrderItem

      public CommerceOrderItem importCommerceOrderItem(String externalReferenceCode, long commerceOrderItemId, long commerceOrderId, long cpInstanceId, String cpMeasurementUnitKey, String json, BigDecimal quantity, BigDecimal shippedQuantity, BigDecimal unitOfMeasureIncrementalOrderQuantity, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      importCommerceOrderItem in interface CommerceOrderItemService
      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:
      searchCommerceOrderItems in interface CommerceOrderItemService
      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:
      searchCommerceOrderItems in interface CommerceOrderItemService
      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:
      searchCommerceOrderItems in interface CommerceOrderItemService
      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:
      updateCommerceOrderItem in interface CommerceOrderItemService
      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:
      updateCommerceOrderItem in interface CommerceOrderItemService
      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:
      updateCommerceOrderItem in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceOrderItem

      public CommerceOrderItem updateCommerceOrderItem(String externalReferenceCode, long commerceOrderItemId, String json, BigDecimal quantity, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCommerceOrderItem in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceOrderItemDeliveryDate

      public CommerceOrderItem updateCommerceOrderItemDeliveryDate(long commerceOrderItemId, Date requestedDeliveryDate) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCommerceOrderItemDeliveryDate in interface CommerceOrderItemService
      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:
      updateCommerceOrderItemInfo in interface CommerceOrderItemService
      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:
      updateCommerceOrderItemInfo in interface CommerceOrderItemService
      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:
      updateCommerceOrderItemInfo in interface CommerceOrderItemService
      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:
      updateCommerceOrderItemPrices in interface CommerceOrderItemService
      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:
      updateCommerceOrderItemPrices in interface CommerceOrderItemService
      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:
      updateCommerceOrderItemUnitPrice in interface CommerceOrderItemService
      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:
      updateCommerceOrderItemUnitPrice in interface CommerceOrderItemService
      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:
      updateCustomFields in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateExternalReferenceCode

      public CommerceOrderItem updateExternalReferenceCode(long commerceOrderItemId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateExternalReferenceCode in interface CommerceOrderItemService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWrappedService

      public CommerceOrderItemService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderItemService>
    • setWrappedService

      public void setWrappedService(CommerceOrderItemService commerceOrderItemService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderItemService>