Interface CommerceOrderItemLocalService

All Superinterfaces:
com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService
All Known Implementing Classes:
CommerceOrderItemLocalServiceWrapper

@ProviderType @Transactional(isolation=PORTAL, rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class}) public interface CommerceOrderItemLocalService extends com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService
Provides the local service interface for CommerceOrderItem. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
See Also:
Generated:
  • Method Details

    • addCommerceOrderItem

      @Indexable(type=REINDEX) CommerceOrderItem addCommerceOrderItem(CommerceOrderItem commerceOrderItem)
      Adds the commerce order item to the database. Also notifies the appropriate model listeners.

      Important: Inspect CommerceOrderItemLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Parameters:
      commerceOrderItem - the commerce order item
      Returns:
      the commerce order item that was added
    • addCommerceOrderItem

      @Indexable(type=REINDEX) CommerceOrderItem addCommerceOrderItem(long userId, 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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOrUpdateCommerceOrderItem

      CommerceOrderItem addOrUpdateCommerceOrderItem(long userId, 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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • countSubscriptionCommerceOrderItems

      int countSubscriptionCommerceOrderItems(long commerceOrderId)
    • createCommerceOrderItem

      @Transactional(enabled=false) CommerceOrderItem createCommerceOrderItem(long commerceOrderItemId)
      Creates a new commerce order item with the primary key. Does not add the commerce order item to the database.
      Parameters:
      commerceOrderItemId - the primary key for the new commerce order item
      Returns:
      the new commerce order item
    • createPersistedModel

      com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceOrderItem

      @Indexable(type=DELETE) CommerceOrderItem deleteCommerceOrderItem(CommerceOrderItem commerceOrderItem)
      Deletes the commerce order item from the database. Also notifies the appropriate model listeners.

      Important: Inspect CommerceOrderItemLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Parameters:
      commerceOrderItem - the commerce order item
      Returns:
      the commerce order item that was removed
    • deleteCommerceOrderItem

      @Indexable(type=DELETE) CommerceOrderItem deleteCommerceOrderItem(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the commerce order item with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect CommerceOrderItemLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Parameters:
      commerceOrderItemId - the primary key of the commerce order item
      Returns:
      the commerce order item that was removed
      Throws:
      com.liferay.portal.kernel.exception.PortalException - if a commerce order item with the primary key could not be found
    • deleteCommerceOrderItem

      @Indexable(type=DELETE) CommerceOrderItem deleteCommerceOrderItem(long userId, CommerceOrderItem commerceOrderItem) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceOrderItem

      @Indexable(type=DELETE) CommerceOrderItem deleteCommerceOrderItem(long userId, CommerceOrderItem commerceOrderItem, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceOrderItem

      CommerceOrderItem deleteCommerceOrderItem(long userId, long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceOrderItems

      void deleteCommerceOrderItems(long userId, long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceOrderItemsByCPInstanceId

      void deleteCommerceOrderItemsByCPInstanceId(long userId, long cpInstanceId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteMissingCommerceOrderItems

      void deleteMissingCommerceOrderItems(long userId, long commerceOrderId, Long[] commerceOrderItemIds, String[] externalReferenceCodes) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deletePersistedModel

      com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • dslQuery

      @Transactional(propagation=SUPPORTS, readOnly=true) <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dslQueryCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dynamicQuery

      @Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
    • dynamicQuery

      @Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Performs a dynamic query on the database and returns the matching rows.
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the matching rows
    • dynamicQuery

      @Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      Performs a dynamic query on the database and returns a range of the matching rows.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.model.impl.CommerceOrderItemModelImpl.

      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      Returns:
      the range of matching rows
    • dynamicQuery

      @Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
      Performs a dynamic query on the database and returns an ordered range of the matching rows.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.model.impl.CommerceOrderItemModelImpl.

      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching rows
    • dynamicQueryCount

      @Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Returns the number of rows matching the dynamic query.
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the number of rows matching the dynamic query
    • dynamicQueryCount

      @Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
      Returns the number of rows matching the dynamic query.
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchCommerceOrderItem

      @Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrderItem fetchCommerceOrderItem(long commerceOrderItemId)
    • fetchCommerceOrderItemByCommerceInventoryBookedQuantityId

      @Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrderItem fetchCommerceOrderItemByCommerceInventoryBookedQuantityId(long commerceInventoryBookedQuantityId)
    • fetchCommerceOrderItemByExternalReferenceCode

      @Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrderItem fetchCommerceOrderItemByExternalReferenceCode(String externalReferenceCode, long companyId)
    • fetchCommerceOrderItemByUuidAndGroupId

      @Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrderItem fetchCommerceOrderItemByUuidAndGroupId(String uuid, long groupId)
      Returns the commerce order item matching the UUID and group.
      Parameters:
      uuid - the commerce order item's UUID
      groupId - the primary key of the group
      Returns:
      the matching commerce order item, or null if a matching commerce order item could not be found
    • getActionableDynamicQuery

      @Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
    • getAvailableForShipmentCommerceOrderItems

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrderItem> getAvailableForShipmentCommerceOrderItems(long commerceOrderId)
    • getChildCommerceOrderItems

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrderItem> getChildCommerceOrderItems(long parentCommerceOrderItemId)
    • getCommerceInventoryWarehouseItemQuantity

      @Transactional(propagation=SUPPORTS, readOnly=true) BigDecimal getCommerceInventoryWarehouseItemQuantity(long commerceOrderItemId, long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceOrderItem

      @Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrderItem getCommerceOrderItem(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the commerce order item with the primary key.
      Parameters:
      commerceOrderItemId - the primary key of the commerce order item
      Returns:
      the commerce order item
      Throws:
      com.liferay.portal.kernel.exception.PortalException - if a commerce order item with the primary key could not be found
    • getCommerceOrderItemByExternalReferenceCode

      @Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrderItem getCommerceOrderItemByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceOrderItemByUuidAndGroupId

      @Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrderItem getCommerceOrderItemByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the commerce order item matching the UUID and group.
      Parameters:
      uuid - the commerce order item's UUID
      groupId - the primary key of the group
      Returns:
      the matching commerce order item
      Throws:
      com.liferay.portal.kernel.exception.PortalException - if a matching commerce order item could not be found
    • getCommerceOrderItems

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrderItem> getCommerceOrderItems(int start, int end)
      Returns a range of all the commerce order items.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.model.impl.CommerceOrderItemModelImpl.

      Parameters:
      start - the lower bound of the range of commerce order items
      end - the upper bound of the range of commerce order items (not inclusive)
      Returns:
      the range of commerce order items
    • getCommerceOrderItems

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrderItem> getCommerceOrderItems(long commerceOrderId, int start, int end)
    • getCommerceOrderItems

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrderItem> getCommerceOrderItems(long commerceOrderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
    • getCommerceOrderItems

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrderItem> getCommerceOrderItems(long cpInstanceId, int[] orderStatuses, String unitOfMeasureKey, int start, int end)
    • getCommerceOrderItems

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrderItem> getCommerceOrderItems(long commerceOrderId, long cpInstanceId, int start, int end)
    • getCommerceOrderItems

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrderItem> getCommerceOrderItems(long commerceOrderId, long cpInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
    • getCommerceOrderItems

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrderItem> getCommerceOrderItems(long groupId, long commerceAccountId, int[] orderStatuses, int start, int end)
    • getCommerceOrderItemsByUuidAndCompanyId

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrderItem> getCommerceOrderItemsByUuidAndCompanyId(String uuid, long companyId)
      Returns all the commerce order items matching the UUID and company.
      Parameters:
      uuid - the UUID of the commerce order items
      companyId - the primary key of the company
      Returns:
      the matching commerce order items, or an empty list if no matches were found
    • getCommerceOrderItemsByUuidAndCompanyId

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrderItem> getCommerceOrderItemsByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
      Returns a range of commerce order items matching the UUID and company.
      Parameters:
      uuid - the UUID of the commerce order items
      companyId - the primary key of the company
      start - the lower bound of the range of commerce order items
      end - the upper bound of the range of commerce order items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the range of matching commerce order items, or an empty list if no matches were found
    • getCommerceOrderItemsCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceOrderItemsCount()
      Returns the number of commerce order items.
      Returns:
      the number of commerce order items
    • getCommerceOrderItemsCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceOrderItemsCount(long commerceOrderId)
    • getCommerceOrderItemsCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceOrderItemsCount(long commerceOrderId, long cpInstanceId)
    • getCommerceOrderItemsCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceOrderItemsCount(long groupId, long commerceAccountId, int[] orderStatuses)
    • getCommerceOrderItemsQuantity

      @Transactional(propagation=SUPPORTS, readOnly=true) BigDecimal getCommerceOrderItemsQuantity(long commerceOrderId)
    • getCustomerCommerceOrderIds

      @Transactional(propagation=SUPPORTS, readOnly=true) List<Long> getCustomerCommerceOrderIds(long commerceOrderId)
    • getCustomerCommerceOrderIdsCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCustomerCommerceOrderIdsCount(long commerceOrderId)
    • getExportActionableDynamicQuery

      @Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
    • getIndexableActionableDynamicQuery

      @Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
    • getOSGiServiceIdentifier

      String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • getPersistedModel

      @Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSubscriptionCommerceOrderItems

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrderItem> getSubscriptionCommerceOrderItems(long commerceOrderId)
    • getSupplierCommerceOrderIds

      @Transactional(propagation=SUPPORTS, readOnly=true) List<Long> getSupplierCommerceOrderIds(long commerceOrderId)
    • getSupplierCommerceOrderIdsCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getSupplierCommerceOrderIdsCount(long commerceOrderId)
    • getSupplierCommerceOrderItems

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrderItem> getSupplierCommerceOrderItems(long customerCommerceOrderItemId, int start, int end)
    • importCommerceOrderItem

      @Indexable(type=REINDEX) CommerceOrderItem importCommerceOrderItem(long userId, 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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • incrementShippedQuantity

      CommerceOrderItem incrementShippedQuantity(long commerceOrderItemId, BigDecimal shippedQuantity) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCommerceOrderItems

      @Transactional(propagation=SUPPORTS, readOnly=true) 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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCommerceOrderItems

      @Transactional(propagation=SUPPORTS, readOnly=true) 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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCommerceOrderItems

      @Transactional(propagation=SUPPORTS, readOnly=true) 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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceOrderItem

      @Indexable(type=REINDEX) CommerceOrderItem updateCommerceOrderItem(CommerceOrderItem commerceOrderItem)
      Updates the commerce order item in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect CommerceOrderItemLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Parameters:
      commerceOrderItem - the commerce order item
      Returns:
      the commerce order item that was updated
    • updateCommerceOrderItem

      CommerceOrderItem updateCommerceOrderItem(long commerceOrderItemId, long commerceInventoryBookedQuantityId) throws NoSuchOrderItemException
      Throws:
      NoSuchOrderItemException
    • updateCommerceOrderItem

      CommerceOrderItem updateCommerceOrderItem(long userId, long commerceOrderItemId, BigDecimal quantity, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceOrderItem

      CommerceOrderItem updateCommerceOrderItem(long userId, long commerceOrderItemId, long cpMeasurementUnitId, BigDecimal quantity, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceOrderItem

      CommerceOrderItem updateCommerceOrderItem(long userId, long commerceOrderItemId, long cpMeasurementUnitId, BigDecimal quantity, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceOrderItem

      @Indexable(type=REINDEX) CommerceOrderItem updateCommerceOrderItem(long userId, long commerceOrderItemId, String json, BigDecimal quantity, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceOrderItem

      @Indexable(type=REINDEX) CommerceOrderItem updateCommerceOrderItem(long userId, long commerceOrderItemId, String json, BigDecimal quantity, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceOrderItemDeliveryDate

      @Indexable(type=REINDEX) CommerceOrderItem updateCommerceOrderItemDeliveryDate(long commerceOrderItemId, Date requestedDeliveryDate) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceOrderItemInfo

      @Indexable(type=REINDEX) CommerceOrderItem updateCommerceOrderItemInfo(long commerceOrderItemId, long shippingAddressId, String deliveryGroupName, String printedNote) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceOrderItemInfo

      @Indexable(type=REINDEX) CommerceOrderItem updateCommerceOrderItemInfo(long commerceOrderItemId, long shippingAddressId, String deliveryGroupName, String printedNote, int requestedDeliveryDateMonth, int requestedDeliveryDateDay, int requestedDeliveryDateYear) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceOrderItemInfo

      @Deprecated 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)
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceOrderItemPrice

      @Indexable(type=REINDEX) CommerceOrderItem updateCommerceOrderItemPrice(long commerceOrderItemId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceOrderItemPrices

      @Indexable(type=REINDEX) 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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceOrderItemPrices

      @Indexable(type=REINDEX) 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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceOrderItemUnitPrice

      @Deprecated CommerceOrderItem updateCommerceOrderItemUnitPrice(long commerceOrderItemId, BigDecimal unitPrice) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      As of Athanasius (7.3.x)
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceOrderItemUnitPrice

      CommerceOrderItem updateCommerceOrderItemUnitPrice(long userId, long commerceOrderItemId, BigDecimal quantity, BigDecimal unitPrice) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCustomFields

      @Indexable(type=REINDEX) CommerceOrderItem updateCustomFields(long commerceOrderItemId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateExternalReferenceCode

      CommerceOrderItem updateExternalReferenceCode(long commerceOrderItemId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException