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