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.FileEntryaddAttachmentFileEntry(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) voiddeleteAttachmentFileEntry(long attachmentFileEntryId, long commerceOrderId) voiddeleteCommerceOrder(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) intgetCommerceOrdersCount(long groupId) intgetCommerceOrdersCount(long groupId, long commerceAccountId) Returns the OSGi service identifier.getPendingCommerceOrders(long groupId, long commerceAccountId, String keywords, int start, int end) longgetPendingCommerceOrdersCount(long companyId, long groupId) intgetPendingCommerceOrdersCount(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) longgetPlacedCommerceOrdersCount(long companyId, long groupId) intgetPlacedCommerceOrdersCount(long groupId, long commerceAccountId, String keywords) getUserCommerceOrders(long companyId, long groupId, String keywords, int start, int end) longgetUserCommerceOrdersCount(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) longgetUserPendingCommerceOrdersCount(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) longgetUserPlacedCommerceOrdersCount(long companyId, long groupId, String keywords) voidmergeGuestCommerceOrder(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) voidsetWrappedService(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:
addAttachmentFileEntryin 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:
addCommerceOrderin 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:
addOrUpdateCommerceOrderin 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:
addOrUpdateCommerceOrderin 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:
applyCouponCodein 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:
deleteAttachmentFileEntryin interfaceCommerceOrderService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceOrder
public void deleteCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceOrderin 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:
executeWorkflowTransitionin interfaceCommerceOrderService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrder
public CommerceOrder fetchCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceOrderin 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:
fetchCommerceOrderin 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:
fetchCommerceOrderin 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:
fetchCommerceOrderin 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:
fetchCommerceOrderByExternalReferenceCodein interfaceCommerceOrderService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrder
public CommerceOrder getCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrderin 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:
getCommerceOrderByUuidAndGroupIdin 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:
getCommerceOrdersin 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:
getCommerceOrdersin 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:
getCommerceOrdersin 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:
getCommerceOrdersin interfaceCommerceOrderService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrdersCount
public int getCommerceOrdersCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrdersCountin 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:
getCommerceOrdersCountin interfaceCommerceOrderService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin 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:
getPendingCommerceOrdersin 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:
getPendingCommerceOrdersCountin 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:
getPendingCommerceOrdersCountin 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:
getPlacedCommerceOrdersin 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:
getPlacedCommerceOrdersin 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:
getPlacedCommerceOrdersCountin 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:
getPlacedCommerceOrdersCountin 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:
getUserCommerceOrdersin 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:
getUserCommerceOrdersCountin 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:
getUserOpenCommerceOrdersin 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:
getUserPendingCommerceOrdersin 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:
getUserPendingCommerceOrdersCountin 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:
getUserPlacedCommerceOrdersin 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:
getUserPlacedCommerceOrdersin 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:
getUserPlacedCommerceOrdersCountin 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:
mergeGuestCommerceOrderin 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:
recalculatePricein 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:
reorderCommerceOrderin 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:
resetCommerceOrderAddressesin 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:
resetTermsAndConditionsin 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:
updateBillingAddressin 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:
updateBillingAddressin interfaceCommerceOrderService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceOrder
public CommerceOrder updateCommerceOrder(CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceOrderin 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:
updateCommerceOrderin 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:
updateCommerceOrderin 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:
updateCommerceOrderExternalReferenceCodein 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:
updateCommerceOrderPricesin 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:
updateCommerceOrderPricesin 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:
updateCommercePaymentMethodKeyin 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:
updateCommerceShippingMethodin 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:
updateInfoin 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:
updateOrderDatein 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:
updatePaymentStatusin 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:
updatePaymentStatusAndTransactionIdin 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:
updatePrintedNotein 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:
updatePurchaseOrderNumberin 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:
updateShippingAddressin 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:
updateShippingAddressin 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:
updateTermsAndConditionsin interfaceCommerceOrderService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderService>
-