Package com.liferay.commerce.service
Class CommerceOrderServiceWrapper
java.lang.Object
com.liferay.commerce.service.CommerceOrderServiceWrapper
- All Implemented Interfaces:
CommerceOrderService
,com.liferay.portal.kernel.service.BaseService
,com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderService>
public class CommerceOrderServiceWrapper
extends Object
implements CommerceOrderService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderService>
Provides a wrapper for
CommerceOrderService
.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.repository.model.FileEntry
addAttachmentFileEntry
(String externalReferenceCode, long userId, long commerceOrderId, String fileName, InputStream inputStream) addCommerceOrder
(long groupId, long commerceAccountId, String commerceCurrencyCode, long commerceOrderTypeId) addOrUpdateCommerceOrder
(String externalReferenceCode, long groupId, long billingAddressId, long commerceAccountId, String commerceCurrencyCode, long commerceOrderTypeId, long commerceShippingMethodId, long shippingAddressId, String advanceStatus, String commercePaymentMethodKey, String name, int orderDateMonth, int orderDateDay, int orderDateYear, int orderDateHour, int orderDateMinute, int orderStatus, int paymentStatus, String purchaseOrderNumber, BigDecimal shippingAmount, String shippingOptionName, BigDecimal shippingWithTaxAmount, BigDecimal subtotal, BigDecimal subtotalWithTaxAmount, BigDecimal taxAmount, BigDecimal total, BigDecimal totalWithTaxAmount, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateCommerceOrder
(String externalReferenceCode, long groupId, long billingAddressId, long commerceAccountId, String commerceCurrencyCode, long commerceOrderTypeId, long commerceShippingMethodId, long shippingAddressId, String advanceStatus, String commercePaymentMethodKey, String name, int orderStatus, int paymentStatus, String purchaseOrderNumber, BigDecimal shippingAmount, String shippingOptionName, BigDecimal shippingWithTaxAmount, BigDecimal subtotal, BigDecimal subtotalWithTaxAmount, BigDecimal taxAmount, BigDecimal total, BigDecimal totalWithTaxAmount, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) applyCouponCode
(long commerceOrderId, String couponCode, CommerceContext commerceContext) void
deleteAttachmentFileEntry
(long attachmentFileEntryId, long commerceOrderId) void
deleteCommerceOrder
(long commerceOrderId) executeWorkflowTransition
(long commerceOrderId, long workflowTaskId, String transitionName, String comment) fetchCommerceOrder
(long commerceOrderId) fetchCommerceOrder
(long commerceAccountId, long groupId, int orderStatus) Deprecated.As of Athanasius (7.3.x)fetchCommerceOrder
(long commerceAccountId, long groupId, long userId, int orderStatus) fetchCommerceOrder
(String uuid, long groupId) fetchCommerceOrderByExternalReferenceCode
(String externalReferenceCode, long companyId) getCommerceOrder
(long commerceOrderId) getCommerceOrderByUuidAndGroupId
(String uuid, long groupId) getCommerceOrders
(long groupId, int[] orderStatuses) getCommerceOrders
(long groupId, int[] orderStatuses, int start, int end) getCommerceOrders
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) getCommerceOrders
(long groupId, long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) int
getCommerceOrdersCount
(long groupId) int
getCommerceOrdersCount
(long groupId, long commerceAccountId) Returns the OSGi service identifier.getPendingCommerceOrders
(long groupId, long commerceAccountId, String keywords, int start, int end) long
getPendingCommerceOrdersCount
(long companyId, long groupId) int
getPendingCommerceOrdersCount
(long groupId, long commerceAccountId, String keywords) getPlacedCommerceOrders
(long companyId, long groupId, int start, int end) getPlacedCommerceOrders
(long groupId, long commerceAccountId, String keywords, int start, int end) long
getPlacedCommerceOrdersCount
(long companyId, long groupId) int
getPlacedCommerceOrdersCount
(long groupId, long commerceAccountId, String keywords) getUserCommerceOrders
(long companyId, long groupId, String keywords, int start, int end) long
getUserCommerceOrdersCount
(long companyId, long groupId, String keywords) getUserOpenCommerceOrders
(long companyId, long groupId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) getUserPendingCommerceOrders
(long companyId, long groupId, String keywords, int start, int end) long
getUserPendingCommerceOrdersCount
(long companyId, long groupId, String keywords) getUserPlacedCommerceOrders
(long companyId, long groupId, String keywords, int start, int end) getUserPlacedCommerceOrders
(long companyId, long groupId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) long
getUserPlacedCommerceOrdersCount
(long companyId, long groupId, String keywords) void
mergeGuestCommerceOrder
(long guestCommerceOrderId, long userCommerceOrderId, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) recalculatePrice
(long commerceOrderId, CommerceContext commerceContext) reorderCommerceOrder
(long commerceOrderId, CommerceContext commerceContext) resetCommerceOrderAddresses
(long commerceOrderId, boolean billingAddress, boolean shippingAddress) resetTermsAndConditions
(long commerceOrderId, boolean deliveryCommerceTermEntry, boolean paymentCommerceTermEntry) void
setWrappedService
(CommerceOrderService commerceOrderService) updateBillingAddress
(long commerceOrderId, long billingAddressId) updateBillingAddress
(long commerceOrderId, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCommerceOrder
(CommerceOrder commerceOrder) updateCommerceOrder
(String externalReferenceCode, long commerceOrderId, long billingAddressId, long commerceShippingMethodId, long shippingAddressId, String advanceStatus, String commercePaymentMethodKey, String name, String purchaseOrderNumber, BigDecimal shippingAmount, String shippingOptionName, BigDecimal subtotal, BigDecimal total) updateCommerceOrder
(String externalReferenceCode, long commerceOrderId, long billingAddressId, long commerceShippingMethodId, long shippingAddressId, String advanceStatus, String commercePaymentMethodKey, String name, String purchaseOrderNumber, BigDecimal shippingAmount, String shippingOptionName, BigDecimal shippingWithTaxAmount, BigDecimal subtotal, BigDecimal subtotalWithTaxAmount, BigDecimal taxAmount, BigDecimal total, BigDecimal totalDiscountAmount, BigDecimal totalWithTaxAmount) updateCommerceOrderExternalReferenceCode
(String externalReferenceCode, long commerceOrderId) updateCommerceOrderPrices
(long commerceOrderId, BigDecimal shippingAmount, BigDecimal shippingDiscountAmount, BigDecimal shippingDiscountPercentageLevel1, BigDecimal shippingDiscountPercentageLevel2, BigDecimal shippingDiscountPercentageLevel3, BigDecimal shippingDiscountPercentageLevel4, BigDecimal subtotal, BigDecimal subtotalDiscountAmount, BigDecimal subtotalDiscountPercentageLevel1, BigDecimal subtotalDiscountPercentageLevel2, BigDecimal subtotalDiscountPercentageLevel3, BigDecimal subtotalDiscountPercentageLevel4, BigDecimal taxAmount, BigDecimal total, BigDecimal totalDiscountAmount, BigDecimal totalDiscountPercentageLevel1, BigDecimal totalDiscountPercentageLevel2, BigDecimal totalDiscountPercentageLevel3, BigDecimal totalDiscountPercentageLevel4) updateCommerceOrderPrices
(long commerceOrderId, BigDecimal shippingAmount, BigDecimal shippingDiscountAmount, BigDecimal shippingDiscountPercentageLevel1, BigDecimal shippingDiscountPercentageLevel2, BigDecimal shippingDiscountPercentageLevel3, BigDecimal shippingDiscountPercentageLevel4, BigDecimal shippingDiscountPercentageLevel1WithTaxAmount, BigDecimal shippingDiscountPercentageLevel2WithTaxAmount, BigDecimal shippingDiscountPercentageLevel3WithTaxAmount, BigDecimal shippingDiscountPercentageLevel4WithTaxAmount, BigDecimal shippingDiscountWithTaxAmount, BigDecimal shippingWithTaxAmount, BigDecimal subtotal, BigDecimal subtotalDiscountAmount, BigDecimal subtotalDiscountPercentageLevel1, BigDecimal subtotalDiscountPercentageLevel2, BigDecimal subtotalDiscountPercentageLevel3, BigDecimal subtotalDiscountPercentageLevel4, BigDecimal subtotalDiscountPercentageLevel1WithTaxAmount, BigDecimal subtotalDiscountPercentageLevel2WithTaxAmount, BigDecimal subtotalDiscountPercentageLevel3WithTaxAmount, BigDecimal subtotalDiscountPercentageLevel4WithTaxAmount, BigDecimal subtotalDiscountWithTaxAmount, BigDecimal subtotalWithTaxAmount, BigDecimal taxAmount, BigDecimal total, BigDecimal totalDiscountAmount, BigDecimal totalDiscountPercentageLevel1, BigDecimal totalDiscountPercentageLevel2, BigDecimal totalDiscountPercentageLevel3, BigDecimal totalDiscountPercentageLevel4, BigDecimal totalDiscountPercentageLevel1WithTaxAmount, BigDecimal totalDiscountPercentageLevel2WithTaxAmount, BigDecimal totalDiscountPercentageLevel3WithTaxAmount, BigDecimal totalDiscountPercentageLevel4WithTaxAmount, BigDecimal totalDiscountWithTaxAmount, BigDecimal totalWithTaxAmount) updateCommercePaymentMethodKey
(long commerceOrderId, String commercePaymentMethodKey) updateCommerceShippingMethod
(long commerceOrderId, long commerceShippingMethodId, String commerceShippingOptionName, CommerceContext commerceContext, Locale locale) updateInfo
(long commerceOrderId, String printedNote, int requestedDeliveryDateMonth, int requestedDeliveryDateDay, int requestedDeliveryDateYear, int requestedDeliveryDateHour, int requestedDeliveryDateMinute, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateOrderDate
(long commerceOrderId, int orderDateMonth, int orderDateDay, int orderDateYear, int orderDateHour, int orderDateMinute, com.liferay.portal.kernel.service.ServiceContext serviceContext) updatePaymentStatus
(long commerceOrderId, int paymentStatus) Deprecated.As of Athanasius (7.3.x), with no direct replacement.updatePaymentStatusAndTransactionId
(long commerceOrderId, int paymentStatus, String transactionId) Deprecated.As of Athanasius (7.3.x), with no direct replacement.updatePrintedNote
(long commerceOrderId, String printedNote) updatePurchaseOrderNumber
(long commerceOrderId, String purchaseOrderNumber) updateShippingAddress
(long commerceOrderId, long shippingAddressId) updateShippingAddress
(long commerceOrderId, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateTermsAndConditions
(long commerceOrderId, long deliveryCommerceTermEntryId, long paymentCommerceTermEntryId, String languageId)
-
Constructor Details
-
CommerceOrderServiceWrapper
public CommerceOrderServiceWrapper() -
CommerceOrderServiceWrapper
-
-
Method Details
-
addAttachmentFileEntry
public com.liferay.portal.kernel.repository.model.FileEntry addAttachmentFileEntry(String externalReferenceCode, long userId, long commerceOrderId, String fileName, InputStream inputStream) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addAttachmentFileEntry
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceOrder
public CommerceOrder addCommerceOrder(long groupId, long commerceAccountId, String commerceCurrencyCode, long commerceOrderTypeId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommerceOrder
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommerceOrder
public CommerceOrder addOrUpdateCommerceOrder(String externalReferenceCode, long groupId, long billingAddressId, long commerceAccountId, String commerceCurrencyCode, long commerceOrderTypeId, long commerceShippingMethodId, long shippingAddressId, String advanceStatus, String commercePaymentMethodKey, String name, int orderDateMonth, int orderDateDay, int orderDateYear, int orderDateHour, int orderDateMinute, int orderStatus, int paymentStatus, String purchaseOrderNumber, BigDecimal shippingAmount, String shippingOptionName, BigDecimal shippingWithTaxAmount, BigDecimal subtotal, BigDecimal subtotalWithTaxAmount, BigDecimal taxAmount, BigDecimal total, BigDecimal totalWithTaxAmount, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addOrUpdateCommerceOrder
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommerceOrder
public CommerceOrder addOrUpdateCommerceOrder(String externalReferenceCode, long groupId, long billingAddressId, long commerceAccountId, String commerceCurrencyCode, long commerceOrderTypeId, long commerceShippingMethodId, long shippingAddressId, String advanceStatus, String commercePaymentMethodKey, String name, int orderStatus, int paymentStatus, String purchaseOrderNumber, BigDecimal shippingAmount, String shippingOptionName, BigDecimal shippingWithTaxAmount, BigDecimal subtotal, BigDecimal subtotalWithTaxAmount, BigDecimal taxAmount, BigDecimal total, BigDecimal totalWithTaxAmount, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addOrUpdateCommerceOrder
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
applyCouponCode
public CommerceOrder applyCouponCode(long commerceOrderId, String couponCode, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
applyCouponCode
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteAttachmentFileEntry
public void deleteAttachmentFileEntry(long attachmentFileEntryId, long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteAttachmentFileEntry
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceOrder
public void deleteCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceOrder
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
executeWorkflowTransition
public CommerceOrder executeWorkflowTransition(long commerceOrderId, long workflowTaskId, String transitionName, String comment) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
executeWorkflowTransition
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrder
public CommerceOrder fetchCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceOrder
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrder
@Deprecated public CommerceOrder fetchCommerceOrder(long commerceAccountId, long groupId, int orderStatus) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x)- Specified by:
fetchCommerceOrder
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrder
public CommerceOrder fetchCommerceOrder(long commerceAccountId, long groupId, long userId, int orderStatus) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceOrder
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrder
public CommerceOrder fetchCommerceOrder(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceOrder
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrderByExternalReferenceCode
public CommerceOrder fetchCommerceOrderByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceOrderByExternalReferenceCode
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrder
public CommerceOrder getCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrder
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderByUuidAndGroupId
public CommerceOrder getCommerceOrderByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrderByUuidAndGroupId
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrders
public List<CommerceOrder> getCommerceOrders(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrders
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrders
public List<CommerceOrder> getCommerceOrders(long groupId, int[] orderStatuses) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrders
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrders
public List<CommerceOrder> getCommerceOrders(long groupId, int[] orderStatuses, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrders
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrders
public List<CommerceOrder> getCommerceOrders(long groupId, long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrders
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrdersCount
public int getCommerceOrdersCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrdersCount
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrdersCount
public int getCommerceOrdersCount(long groupId, long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrdersCount
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceCommerceOrderService
- Returns:
- the OSGi service identifier
-
getPendingCommerceOrders
public List<CommerceOrder> getPendingCommerceOrders(long groupId, long commerceAccountId, String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPendingCommerceOrders
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPendingCommerceOrdersCount
public long getPendingCommerceOrdersCount(long companyId, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPendingCommerceOrdersCount
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPendingCommerceOrdersCount
public int getPendingCommerceOrdersCount(long groupId, long commerceAccountId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPendingCommerceOrdersCount
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPlacedCommerceOrders
public List<CommerceOrder> getPlacedCommerceOrders(long companyId, long groupId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPlacedCommerceOrders
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPlacedCommerceOrders
public List<CommerceOrder> getPlacedCommerceOrders(long groupId, long commerceAccountId, String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPlacedCommerceOrders
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPlacedCommerceOrdersCount
public long getPlacedCommerceOrdersCount(long companyId, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPlacedCommerceOrdersCount
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPlacedCommerceOrdersCount
public int getPlacedCommerceOrdersCount(long groupId, long commerceAccountId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPlacedCommerceOrdersCount
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserCommerceOrders
public List<CommerceOrder> getUserCommerceOrders(long companyId, long groupId, String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getUserCommerceOrders
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserCommerceOrdersCount
public long getUserCommerceOrdersCount(long companyId, long groupId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getUserCommerceOrdersCount
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserOpenCommerceOrders
public List<CommerceOrder> getUserOpenCommerceOrders(long companyId, long groupId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getUserOpenCommerceOrders
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserPendingCommerceOrders
public List<CommerceOrder> getUserPendingCommerceOrders(long companyId, long groupId, String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getUserPendingCommerceOrders
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserPendingCommerceOrdersCount
public long getUserPendingCommerceOrdersCount(long companyId, long groupId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getUserPendingCommerceOrdersCount
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserPlacedCommerceOrders
public List<CommerceOrder> getUserPlacedCommerceOrders(long companyId, long groupId, String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getUserPlacedCommerceOrders
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserPlacedCommerceOrders
public List<CommerceOrder> getUserPlacedCommerceOrders(long companyId, long groupId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getUserPlacedCommerceOrders
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserPlacedCommerceOrdersCount
public long getUserPlacedCommerceOrdersCount(long companyId, long groupId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getUserPlacedCommerceOrdersCount
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
mergeGuestCommerceOrder
public void mergeGuestCommerceOrder(long guestCommerceOrderId, long userCommerceOrderId, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
mergeGuestCommerceOrder
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
recalculatePrice
public CommerceOrder recalculatePrice(long commerceOrderId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
recalculatePrice
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
reorderCommerceOrder
public CommerceOrder reorderCommerceOrder(long commerceOrderId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
reorderCommerceOrder
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
resetCommerceOrderAddresses
public CommerceOrder resetCommerceOrderAddresses(long commerceOrderId, boolean billingAddress, boolean shippingAddress) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
resetCommerceOrderAddresses
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
resetTermsAndConditions
public CommerceOrder resetTermsAndConditions(long commerceOrderId, boolean deliveryCommerceTermEntry, boolean paymentCommerceTermEntry) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
resetTermsAndConditions
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateBillingAddress
public CommerceOrder updateBillingAddress(long commerceOrderId, long billingAddressId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateBillingAddress
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateBillingAddress
public CommerceOrder updateBillingAddress(long commerceOrderId, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateBillingAddress
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrder
public CommerceOrder updateCommerceOrder(CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceOrder
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrder
public CommerceOrder updateCommerceOrder(String externalReferenceCode, long commerceOrderId, long billingAddressId, long commerceShippingMethodId, long shippingAddressId, String advanceStatus, String commercePaymentMethodKey, String name, String purchaseOrderNumber, BigDecimal shippingAmount, String shippingOptionName, BigDecimal subtotal, BigDecimal total) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceOrder
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrder
public CommerceOrder updateCommerceOrder(String externalReferenceCode, long commerceOrderId, long billingAddressId, long commerceShippingMethodId, long shippingAddressId, String advanceStatus, String commercePaymentMethodKey, String name, String purchaseOrderNumber, BigDecimal shippingAmount, String shippingOptionName, BigDecimal shippingWithTaxAmount, BigDecimal subtotal, BigDecimal subtotalWithTaxAmount, BigDecimal taxAmount, BigDecimal total, BigDecimal totalDiscountAmount, BigDecimal totalWithTaxAmount) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceOrder
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrderExternalReferenceCode
public CommerceOrder updateCommerceOrderExternalReferenceCode(String externalReferenceCode, long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceOrderExternalReferenceCode
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrderPrices
public CommerceOrder updateCommerceOrderPrices(long commerceOrderId, BigDecimal shippingAmount, BigDecimal shippingDiscountAmount, BigDecimal shippingDiscountPercentageLevel1, BigDecimal shippingDiscountPercentageLevel2, BigDecimal shippingDiscountPercentageLevel3, BigDecimal shippingDiscountPercentageLevel4, BigDecimal subtotal, BigDecimal subtotalDiscountAmount, BigDecimal subtotalDiscountPercentageLevel1, BigDecimal subtotalDiscountPercentageLevel2, BigDecimal subtotalDiscountPercentageLevel3, BigDecimal subtotalDiscountPercentageLevel4, BigDecimal taxAmount, BigDecimal total, BigDecimal totalDiscountAmount, BigDecimal totalDiscountPercentageLevel1, BigDecimal totalDiscountPercentageLevel2, BigDecimal totalDiscountPercentageLevel3, BigDecimal totalDiscountPercentageLevel4) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceOrderPrices
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrderPrices
public CommerceOrder updateCommerceOrderPrices(long commerceOrderId, BigDecimal shippingAmount, BigDecimal shippingDiscountAmount, BigDecimal shippingDiscountPercentageLevel1, BigDecimal shippingDiscountPercentageLevel2, BigDecimal shippingDiscountPercentageLevel3, BigDecimal shippingDiscountPercentageLevel4, BigDecimal shippingDiscountPercentageLevel1WithTaxAmount, BigDecimal shippingDiscountPercentageLevel2WithTaxAmount, BigDecimal shippingDiscountPercentageLevel3WithTaxAmount, BigDecimal shippingDiscountPercentageLevel4WithTaxAmount, BigDecimal shippingDiscountWithTaxAmount, BigDecimal shippingWithTaxAmount, BigDecimal subtotal, BigDecimal subtotalDiscountAmount, BigDecimal subtotalDiscountPercentageLevel1, BigDecimal subtotalDiscountPercentageLevel2, BigDecimal subtotalDiscountPercentageLevel3, BigDecimal subtotalDiscountPercentageLevel4, BigDecimal subtotalDiscountPercentageLevel1WithTaxAmount, BigDecimal subtotalDiscountPercentageLevel2WithTaxAmount, BigDecimal subtotalDiscountPercentageLevel3WithTaxAmount, BigDecimal subtotalDiscountPercentageLevel4WithTaxAmount, BigDecimal subtotalDiscountWithTaxAmount, BigDecimal subtotalWithTaxAmount, BigDecimal taxAmount, BigDecimal total, BigDecimal totalDiscountAmount, BigDecimal totalDiscountPercentageLevel1, BigDecimal totalDiscountPercentageLevel2, BigDecimal totalDiscountPercentageLevel3, BigDecimal totalDiscountPercentageLevel4, BigDecimal totalDiscountPercentageLevel1WithTaxAmount, BigDecimal totalDiscountPercentageLevel2WithTaxAmount, BigDecimal totalDiscountPercentageLevel3WithTaxAmount, BigDecimal totalDiscountPercentageLevel4WithTaxAmount, BigDecimal totalDiscountWithTaxAmount, BigDecimal totalWithTaxAmount) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceOrderPrices
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommercePaymentMethodKey
public CommerceOrder updateCommercePaymentMethodKey(long commerceOrderId, String commercePaymentMethodKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommercePaymentMethodKey
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceShippingMethod
public CommerceOrder updateCommerceShippingMethod(long commerceOrderId, long commerceShippingMethodId, String commerceShippingOptionName, CommerceContext commerceContext, Locale locale) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceShippingMethod
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateInfo
public CommerceOrder updateInfo(long commerceOrderId, 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 - Specified by:
updateInfo
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateOrderDate
public CommerceOrder updateOrderDate(long commerceOrderId, int orderDateMonth, int orderDateDay, int orderDateYear, int orderDateHour, int orderDateMinute, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateOrderDate
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updatePaymentStatus
@Deprecated public CommerceOrder updatePaymentStatus(long commerceOrderId, int paymentStatus) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x), with no direct replacement. See CommercePaymentEngine.updateOrderPaymentStatus.- Specified by:
updatePaymentStatus
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updatePaymentStatusAndTransactionId
@Deprecated public CommerceOrder updatePaymentStatusAndTransactionId(long commerceOrderId, int paymentStatus, String transactionId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x), with no direct replacement. See CommercePaymentEngine.updateOrderPaymentStatus.- Specified by:
updatePaymentStatusAndTransactionId
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updatePrintedNote
public CommerceOrder updatePrintedNote(long commerceOrderId, String printedNote) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updatePrintedNote
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updatePurchaseOrderNumber
public CommerceOrder updatePurchaseOrderNumber(long commerceOrderId, String purchaseOrderNumber) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updatePurchaseOrderNumber
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateShippingAddress
public CommerceOrder updateShippingAddress(long commerceOrderId, long shippingAddressId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateShippingAddress
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateShippingAddress
public CommerceOrder updateShippingAddress(long commerceOrderId, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateShippingAddress
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateTermsAndConditions
public CommerceOrder updateTermsAndConditions(long commerceOrderId, long deliveryCommerceTermEntryId, long paymentCommerceTermEntryId, String languageId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateTermsAndConditions
in interfaceCommerceOrderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderService>
-