public class CommerceOrderItemLocalServiceWrapper extends java.lang.Object implements CommerceOrderItemLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderItemLocalService>
CommerceOrderItemLocalService.CommerceOrderItemLocalService| Constructor and Description |
|---|
CommerceOrderItemLocalServiceWrapper(CommerceOrderItemLocalService commerceOrderItemLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CommerceOrderItem |
addCommerceOrderItem(CommerceOrderItem commerceOrderItem)
Adds the commerce order item to the database.
|
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) |
CommerceOrderItem |
createCommerceOrderItem(long commerceOrderItemId)
Creates a new commerce order item with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CommerceOrderItem |
deleteCommerceOrderItem(CommerceOrderItem commerceOrderItem)
Deletes the commerce order item from the database.
|
CommerceOrderItem |
deleteCommerceOrderItem(CommerceOrderItem commerceOrderItem,
CommerceContext commerceContext) |
CommerceOrderItem |
deleteCommerceOrderItem(long commerceOrderItemId)
Deletes the commerce order item with the primary key from the database.
|
void |
deleteCommerceOrderItems(long commerceOrderId) |
void |
deleteCommerceOrderItemsByCPInstanceId(long cpInstanceId) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.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.
|
<T> java.util.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.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
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.
|
CommerceOrderItem |
fetchByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode) |
CommerceOrderItem |
fetchCommerceOrderItem(long commerceOrderItemId) |
CommerceOrderItem |
fetchCommerceOrderItemByBookedQuantityId(long bookedQuantityId) |
CommerceOrderItem |
fetchCommerceOrderItemByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
|
CommerceOrderItem |
fetchCommerceOrderItemByReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
java.util.List<CommerceOrderItem> |
getAvailableForShipmentCommerceOrderItems(long commerceOrderId) |
java.util.List<CommerceOrderItem> |
getChildCommerceOrderItems(long parentCommerceOrderItemId) |
int |
getCommerceInventoryWarehouseItemQuantity(long commerceOrderItemId,
long commerceInventoryWarehouseId) |
CommerceOrderItem |
getCommerceOrderItem(long commerceOrderItemId)
Returns the commerce order item with the primary key.
|
CommerceOrderItem |
getCommerceOrderItemByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
|
java.util.List<CommerceOrderItem> |
getCommerceOrderItems(int start,
int end)
Returns a range of all the commerce order items.
|
java.util.List<CommerceOrderItem> |
getCommerceOrderItems(long commerceOrderId,
int start,
int end) |
java.util.List<CommerceOrderItem> |
getCommerceOrderItems(long commerceOrderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) |
java.util.List<CommerceOrderItem> |
getCommerceOrderItems(long groupId,
long commerceAccountId,
int[] orderStatuses,
int start,
int end) |
java.util.List<CommerceOrderItem> |
getCommerceOrderItems(long commerceOrderId,
long cpInstanceId,
int start,
int end) |
java.util.List<CommerceOrderItem> |
getCommerceOrderItems(long commerceOrderId,
long cpInstanceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) |
int |
getCommerceOrderItemsCount()
Returns the number of commerce order items.
|
int |
getCommerceOrderItemsCount(long commerceOrderId) |
int |
getCommerceOrderItemsCount(long commerceOrderId,
long cpInstanceId) |
int |
getCommerceOrderItemsCount(long groupId,
long commerceAccountId,
int[] orderStatuses) |
int |
getCommerceOrderItemsQuantity(long commerceOrderId) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.util.List<CommerceOrderItem> |
getSubscriptionCommerceOrderItems(long commerceOrderId) |
CommerceOrderItemLocalService |
getWrappedService() |
CommerceOrderItem |
incrementShippedQuantity(long commerceOrderItemId,
int shippedQuantity) |
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(CommerceOrderItemLocalService commerceOrderItemLocalService) |
CommerceOrderItem |
updateCommerceOrderItem(CommerceOrderItem commerceOrderItem)
Updates the commerce order item in the database or adds it if it does not yet exist.
|
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 |
updateCommerceOrderItem(long commerceOrderItemId,
long bookedQuantityId) |
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 |
updateCommerceOrderItemPrice(long commerceOrderItemId,
CommerceContext commerceContext) |
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 userId,
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,
CommerceContext commerceContext,
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 CommerceOrderItemLocalServiceWrapper(CommerceOrderItemLocalService commerceOrderItemLocalService)
public CommerceOrderItem addCommerceOrderItem(CommerceOrderItem commerceOrderItem)
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.
addCommerceOrderItem in interface CommerceOrderItemLocalServicecommerceOrderItem - the commerce order itempublic 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 CommerceOrderItemLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int countSubscriptionCommerceOrderItems(long commerceOrderId)
countSubscriptionCommerceOrderItems in interface CommerceOrderItemLocalServicepublic CommerceOrderItem createCommerceOrderItem(long commerceOrderItemId)
createCommerceOrderItem in interface CommerceOrderItemLocalServicecommerceOrderItemId - the primary key for the new commerce order itempublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface CommerceOrderItemLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CommerceOrderItem deleteCommerceOrderItem(CommerceOrderItem commerceOrderItem) throws com.liferay.portal.kernel.exception.PortalException
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.
deleteCommerceOrderItem in interface CommerceOrderItemLocalServicecommerceOrderItem - the commerce order itemPortalExceptionpublic CommerceOrderItem deleteCommerceOrderItem(CommerceOrderItem commerceOrderItem, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceOrderItem in interface CommerceOrderItemLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderItem deleteCommerceOrderItem(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
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.
deleteCommerceOrderItem in interface CommerceOrderItemLocalServicecommerceOrderItemId - the primary key of the commerce order itemPortalException - if a commerce order item with the primary key could not be foundpublic void deleteCommerceOrderItems(long commerceOrderId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceOrderItems in interface CommerceOrderItemLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCommerceOrderItemsByCPInstanceId(long cpInstanceId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceOrderItemsByCPInstanceId in interface CommerceOrderItemLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface CommerceOrderItemLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CommerceOrderItemLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CommerceOrderItemLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CommerceOrderItemLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CommerceOrderItemLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
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.
dynamicQuery in interface CommerceOrderItemLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
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.
dynamicQuery in interface CommerceOrderItemLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount in interface CommerceOrderItemLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CommerceOrderItemLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic CommerceOrderItem fetchByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchByExternalReferenceCode in interface CommerceOrderItemLocalServicepublic CommerceOrderItem fetchCommerceOrderItem(long commerceOrderItemId)
fetchCommerceOrderItem in interface CommerceOrderItemLocalServicepublic CommerceOrderItem fetchCommerceOrderItemByBookedQuantityId(long bookedQuantityId)
fetchCommerceOrderItemByBookedQuantityId in interface CommerceOrderItemLocalService@Deprecated public CommerceOrderItem fetchCommerceOrderItemByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommerceOrderItemByExternalReferenceCode in interface CommerceOrderItemLocalService@Deprecated public CommerceOrderItem fetchCommerceOrderItemByReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommerceOrderItemByReferenceCode in interface CommerceOrderItemLocalServicepublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CommerceOrderItemLocalServicepublic java.util.List<CommerceOrderItem> getAvailableForShipmentCommerceOrderItems(long commerceOrderId)
getAvailableForShipmentCommerceOrderItems in interface CommerceOrderItemLocalServicepublic java.util.List<CommerceOrderItem> getChildCommerceOrderItems(long parentCommerceOrderItemId)
getChildCommerceOrderItems in interface CommerceOrderItemLocalServicepublic int getCommerceInventoryWarehouseItemQuantity(long commerceOrderItemId,
long commerceInventoryWarehouseId)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceInventoryWarehouseItemQuantity in interface CommerceOrderItemLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderItem getCommerceOrderItem(long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderItem in interface CommerceOrderItemLocalServicecommerceOrderItemId - the primary key of the commerce order itemPortalException - if a commerce order item with the primary key could not be found@Deprecated public CommerceOrderItem getCommerceOrderItemByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderItemByExternalReferenceCode in interface CommerceOrderItemLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceOrderItem> getCommerceOrderItems(int start, int end)
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.
getCommerceOrderItems in interface CommerceOrderItemLocalServicestart - the lower bound of the range of commerce order itemsend - the upper bound of the range of commerce order items (not inclusive)public java.util.List<CommerceOrderItem> getCommerceOrderItems(long commerceOrderId, int start, int end)
getCommerceOrderItems in interface CommerceOrderItemLocalServicepublic java.util.List<CommerceOrderItem> getCommerceOrderItems(long commerceOrderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
getCommerceOrderItems in interface CommerceOrderItemLocalServicepublic java.util.List<CommerceOrderItem> getCommerceOrderItems(long commerceOrderId, long cpInstanceId, int start, int end)
getCommerceOrderItems in interface CommerceOrderItemLocalServicepublic java.util.List<CommerceOrderItem> getCommerceOrderItems(long commerceOrderId, long cpInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
getCommerceOrderItems in interface CommerceOrderItemLocalServicepublic java.util.List<CommerceOrderItem> getCommerceOrderItems(long groupId, long commerceAccountId, int[] orderStatuses, int start, int end)
getCommerceOrderItems in interface CommerceOrderItemLocalServicepublic int getCommerceOrderItemsCount()
getCommerceOrderItemsCount in interface CommerceOrderItemLocalServicepublic int getCommerceOrderItemsCount(long commerceOrderId)
getCommerceOrderItemsCount in interface CommerceOrderItemLocalServicepublic int getCommerceOrderItemsCount(long commerceOrderId,
long cpInstanceId)
getCommerceOrderItemsCount in interface CommerceOrderItemLocalServicepublic int getCommerceOrderItemsCount(long groupId,
long commerceAccountId,
int[] orderStatuses)
getCommerceOrderItemsCount in interface CommerceOrderItemLocalServicepublic int getCommerceOrderItemsQuantity(long commerceOrderId)
getCommerceOrderItemsQuantity in interface CommerceOrderItemLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CommerceOrderItemLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceOrderItemLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CommerceOrderItemLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic java.util.List<CommerceOrderItem> getSubscriptionCommerceOrderItems(long commerceOrderId)
getSubscriptionCommerceOrderItems in interface CommerceOrderItemLocalServicepublic CommerceOrderItem incrementShippedQuantity(long commerceOrderItemId, int shippedQuantity) throws com.liferay.portal.kernel.exception.PortalException
incrementShippedQuantity in interface CommerceOrderItemLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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 CommerceOrderItemLocalServicecom.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 CommerceOrderItemLocalServicecom.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 CommerceOrderItemLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderItem updateCommerceOrderItem(CommerceOrderItem commerceOrderItem)
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.
updateCommerceOrderItem in interface CommerceOrderItemLocalServicecommerceOrderItem - the commerce order itempublic 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 CommerceOrderItemLocalServicecom.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 CommerceOrderItemLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderItem updateCommerceOrderItem(long commerceOrderItemId, long bookedQuantityId) throws NoSuchOrderItemException
updateCommerceOrderItem in interface CommerceOrderItemLocalServiceNoSuchOrderItemExceptionpublic CommerceOrderItem updateCommerceOrderItemDeliveryDate(long commerceOrderItemId, java.util.Date requestedDeliveryDate) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItemDeliveryDate in interface CommerceOrderItemLocalServicecom.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 CommerceOrderItemLocalServicecom.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 CommerceOrderItemLocalServicecom.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 CommerceOrderItemLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderItem updateCommerceOrderItemPrice(long commerceOrderItemId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItemPrice in interface CommerceOrderItemLocalServicecom.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 CommerceOrderItemLocalServicecom.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 CommerceOrderItemLocalServicecom.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 CommerceOrderItemLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderItem updateCommerceOrderItemUnitPrice(long userId, long commerceOrderItemId, java.math.BigDecimal unitPrice, int quantity) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderItemUnitPrice in interface CommerceOrderItemLocalServicecom.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 CommerceOrderItemLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderItem upsertCommerceOrderItem(long commerceOrderId, long cpInstanceId, int quantity, int shippedQuantity, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
upsertCommerceOrderItem in interface CommerceOrderItemLocalServicecom.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 CommerceOrderItemLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderItemLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderItemLocalService>public void setWrappedService(CommerceOrderItemLocalService commerceOrderItemLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderItemLocalService>