public class CommerceOrderLocalServiceWrapper extends java.lang.Object implements CommerceOrderLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderLocalService>
CommerceOrderLocalService.CommerceOrderLocalService| Constructor and Description |
|---|
CommerceOrderLocalServiceWrapper() |
CommerceOrderLocalServiceWrapper(CommerceOrderLocalService commerceOrderLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CommerceOrder |
addCommerceOrder(CommerceOrder commerceOrder)
Adds the commerce order to the database.
|
CommerceOrder |
addCommerceOrder(long userId,
long groupId,
long commerceAccountId,
long commerceCurrencyId)
Deprecated.
As of Cavanaugh (7.4.x)
|
CommerceOrder |
addCommerceOrder(long userId,
long groupId,
long commerceAccountId,
long commerceCurrencyId,
long commerceOrderTypeId) |
CommerceOrder |
addCommerceOrder(long userId,
long groupId,
long billingAddressId,
long commerceAccountId,
long commerceCurrencyId,
long commerceOrderTypeId,
long commerceShippingMethodId,
long shippingAddressId,
java.lang.String commercePaymentMethodKey,
int orderDateMonth,
int orderDateDay,
int orderDateYear,
int orderDateHour,
int orderDateMinute,
int orderStatus,
int paymentStatus,
java.lang.String purchaseOrderNumber,
java.math.BigDecimal shippingAmount,
java.lang.String shippingOptionName,
java.math.BigDecimal shippingWithTaxAmount,
java.math.BigDecimal subtotal,
java.math.BigDecimal subtotalWithTaxAmount,
java.math.BigDecimal taxAmount,
java.math.BigDecimal total,
java.math.BigDecimal totalWithTaxAmount,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
addOrUpdateCommerceOrder(java.lang.String externalReferenceCode,
long userId,
long groupId,
long billingAddressId,
long commerceAccountId,
long commerceCurrencyId,
long commerceOrderTypeId,
long commerceShippingMethodId,
long shippingAddressId,
java.lang.String advanceStatus,
java.lang.String commercePaymentMethodKey,
int orderDateMonth,
int orderDateDay,
int orderDateYear,
int orderDateHour,
int orderDateMinute,
int orderStatus,
int paymentStatus,
java.lang.String purchaseOrderNumber,
java.math.BigDecimal shippingAmount,
java.lang.String shippingOptionName,
java.math.BigDecimal shippingWithTaxAmount,
java.math.BigDecimal subtotal,
java.math.BigDecimal subtotalWithTaxAmount,
java.math.BigDecimal taxAmount,
java.math.BigDecimal total,
java.math.BigDecimal totalWithTaxAmount,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
addOrUpdateCommerceOrder(java.lang.String externalReferenceCode,
long userId,
long groupId,
long commerceAccountId,
long commerceCurrencyId,
long billingAddressId,
long shippingAddressId,
java.lang.String commercePaymentMethodKey,
long commerceShippingMethodId,
java.lang.String shippingOptionName,
java.lang.String purchaseOrderNumber,
java.math.BigDecimal subtotal,
java.math.BigDecimal shippingAmount,
java.math.BigDecimal taxAmount,
java.math.BigDecimal total,
java.math.BigDecimal subtotalWithTaxAmount,
java.math.BigDecimal shippingWithTaxAmount,
java.math.BigDecimal totalWithTaxAmount,
int paymentStatus,
int orderDateMonth,
int orderDateDay,
int orderDateYear,
int orderDateHour,
int orderDateMinute,
int orderStatus,
java.lang.String advanceStatus,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Cavanaugh (7.4.x)
|
CommerceOrder |
applyCouponCode(long commerceOrderId,
java.lang.String couponCode,
CommerceContext commerceContext) |
CommerceOrder |
createCommerceOrder(long commerceOrderId)
Creates a new commerce order with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CommerceOrder |
deleteCommerceOrder(CommerceOrder commerceOrder)
Deletes the commerce order from the database.
|
CommerceOrder |
deleteCommerceOrder(long commerceOrderId)
Deletes the commerce order with the primary key from the database.
|
void |
deleteCommerceOrders(long groupId) |
void |
deleteCommerceOrders(long userId,
java.util.Date date,
int status)
Deprecated.
As of Athanasius (7.3.x), delete by commerceAccountId
|
void |
deleteCommerceOrdersByAccountId(long commerceAccountId,
java.util.Date date,
int status) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
CommerceOrder |
executeWorkflowTransition(long userId,
long commerceOrderId,
long workflowTaskId,
java.lang.String transitionName,
java.lang.String comment) |
CommerceOrder |
fetchByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CommerceOrder |
fetchCommerceOrder(long commerceOrderId) |
CommerceOrder |
fetchCommerceOrder(long commerceAccountId,
long groupId,
int orderStatus)
Deprecated.
As of Athanasius (7.3.x)
|
CommerceOrder |
fetchCommerceOrder(long commerceAccountId,
long groupId,
long userId,
int orderStatus) |
CommerceOrder |
fetchCommerceOrderByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce order with the matching external reference code and company.
|
CommerceOrder |
fetchCommerceOrderByReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
fetchCommerceOrderByExternalReferenceCode(long, String) |
CommerceOrder |
fetchCommerceOrderByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the commerce order matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
CommerceOrder |
getCommerceOrder(long commerceOrderId)
Returns the commerce order with the primary key.
|
CommerceOrder |
getCommerceOrderByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce order with the matching external reference code and company.
|
CommerceOrder |
getCommerceOrderByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the commerce order matching the UUID and group.
|
java.util.List<CommerceOrder> |
getCommerceOrders(int start,
int end)
Returns a range of all the commerce orders.
|
java.util.List<CommerceOrder> |
getCommerceOrders(long groupId,
int[] orderStatuses) |
java.util.List<CommerceOrder> |
getCommerceOrders(long groupId,
int[] orderStatuses,
int start,
int end) |
java.util.List<CommerceOrder> |
getCommerceOrders(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) |
java.util.List<CommerceOrder> |
getCommerceOrders(long groupId,
long commerceAccountId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) |
java.util.List<CommerceOrder> |
getCommerceOrders(long companyId,
long groupId,
long[] commerceAccountIds,
java.lang.String keywords,
int[] orderStatuses,
boolean excludeOrderStatus,
int start,
int end) |
java.util.List<CommerceOrder> |
getCommerceOrders(long groupId,
java.lang.String commercePaymentMethodKey) |
java.util.List<CommerceOrder> |
getCommerceOrdersByBillingAddress(long billingAddressId) |
java.util.List<CommerceOrder> |
getCommerceOrdersByCommerceAccountId(long commerceAccountId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) |
java.util.List<CommerceOrder> |
getCommerceOrdersByShippingAddress(long shippingAddressId) |
java.util.List<CommerceOrder> |
getCommerceOrdersByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the commerce orders matching the UUID and company.
|
java.util.List<CommerceOrder> |
getCommerceOrdersByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns a range of commerce orders matching the UUID and company.
|
int |
getCommerceOrdersCount()
Returns the number of commerce orders.
|
int |
getCommerceOrdersCount(long groupId) |
int |
getCommerceOrdersCount(long groupId,
long commerceAccountId) |
long |
getCommerceOrdersCount(long companyId,
long groupId,
long[] commerceAccountIds,
java.lang.String keywords,
int[] orderStatuses,
boolean excludeOrderStatus) |
int |
getCommerceOrdersCountByCommerceAccountId(long commerceAccountId) |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.util.List<CommerceOrder> |
getShippedCommerceOrdersByCommerceShipmentId(long commerceShipmentId,
int start,
int end) |
java.util.List<CommerceOrder> |
getUserCommerceOrders(long groupId,
long userId,
long commerceAccountId,
java.lang.Integer orderStatus,
boolean excludeOrderStatus,
java.lang.String keywords,
int start,
int end)
Deprecated.
As of Mueller (7.2.x)
|
int |
getUserCommerceOrdersCount(long groupId,
long userId,
long commerceAccountId,
java.lang.Integer orderStatus,
boolean excludeOrderStatus,
java.lang.String keywords)
Deprecated.
As of Mueller (7.2.x)
|
CommerceOrderLocalService |
getWrappedService() |
void |
mergeGuestCommerceOrder(long guestCommerceOrderId,
long userCommerceOrderId,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
recalculatePrice(long commerceOrderId,
CommerceContext commerceContext) |
CommerceOrder |
reorderCommerceOrder(long userId,
long commerceOrderId,
CommerceContext commerceContext) |
CommerceOrder |
resetCommerceOrderShipping(long commerceOrderId) |
CommerceOrder |
resetTermsAndConditions(long commerceOrderId,
boolean resetDeliveryCommerceTerm,
boolean resetPaymentCommerceTermEntry) |
com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrder> |
searchCommerceOrders(com.liferay.portal.kernel.search.SearchContext searchContext) |
long |
searchCommerceOrdersCount(com.liferay.portal.kernel.search.SearchContext searchContext) |
void |
setWrappedService(CommerceOrderLocalService commerceOrderLocalService) |
CommerceOrder |
updateAccount(long commerceOrderId,
long userId,
long commerceAccountId) |
CommerceOrder |
updateBillingAddress(long commerceOrderId,
long billingAddressId) |
CommerceOrder |
updateBillingAddress(long commerceOrderId,
java.lang.String name,
java.lang.String description,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long regionId,
long countryId,
java.lang.String phoneNumber,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
updateCommerceOrder(CommerceOrder commerceOrder)
Updates the commerce order in the database or adds it if it does not yet exist.
|
CommerceOrder |
updateCommerceOrder(java.lang.String externalReferenceCode,
long commerceOrderId,
long billingAddressId,
long commerceShippingMethodId,
long shippingAddressId,
java.lang.String advanceStatus,
java.lang.String commercePaymentMethodKey,
java.lang.String purchaseOrderNumber,
java.math.BigDecimal shippingAmount,
java.lang.String shippingOptionName,
java.math.BigDecimal shippingWithTaxAmount,
java.math.BigDecimal subtotal,
java.math.BigDecimal subtotalWithTaxAmount,
java.math.BigDecimal taxAmount,
java.math.BigDecimal total,
java.math.BigDecimal totalDiscountAmount,
java.math.BigDecimal totalWithTaxAmount,
CommerceContext commerceContext) |
CommerceOrder |
updateCommerceOrder(java.lang.String externalReferenceCode,
long commerceOrderId,
long billingAddressId,
long commerceShippingMethodId,
long shippingAddressId,
java.lang.String advanceStatus,
java.lang.String commercePaymentMethodKey,
java.lang.String purchaseOrderNumber,
java.math.BigDecimal shippingAmount,
java.lang.String shippingOptionName,
java.math.BigDecimal subtotal,
java.math.BigDecimal total,
CommerceContext commerceContext) |
CommerceOrder |
updateCommerceOrderExternalReferenceCode(java.lang.String externalReferenceCode,
long commerceOrderId) |
CommerceOrder |
updateCommerceOrderPrices(long commerceOrderId,
java.math.BigDecimal shippingAmount,
java.math.BigDecimal shippingDiscountAmount,
java.math.BigDecimal shippingDiscountPercentageLevel1,
java.math.BigDecimal shippingDiscountPercentageLevel2,
java.math.BigDecimal shippingDiscountPercentageLevel3,
java.math.BigDecimal shippingDiscountPercentageLevel4,
java.math.BigDecimal subtotal,
java.math.BigDecimal subtotalDiscountAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel1,
java.math.BigDecimal subtotalDiscountPercentageLevel2,
java.math.BigDecimal subtotalDiscountPercentageLevel3,
java.math.BigDecimal subtotalDiscountPercentageLevel4,
java.math.BigDecimal taxAmount,
java.math.BigDecimal total,
java.math.BigDecimal totalDiscountAmount,
java.math.BigDecimal totalDiscountPercentageLevel1,
java.math.BigDecimal totalDiscountPercentageLevel2,
java.math.BigDecimal totalDiscountPercentageLevel3,
java.math.BigDecimal totalDiscountPercentageLevel4) |
CommerceOrder |
updateCommerceOrderPrices(long commerceOrderId,
java.math.BigDecimal shippingAmount,
java.math.BigDecimal shippingDiscountAmount,
java.math.BigDecimal shippingDiscountPercentageLevel1,
java.math.BigDecimal shippingDiscountPercentageLevel2,
java.math.BigDecimal shippingDiscountPercentageLevel3,
java.math.BigDecimal shippingDiscountPercentageLevel4,
java.math.BigDecimal shippingDiscountPercentageLevel1WithTaxAmount,
java.math.BigDecimal shippingDiscountPercentageLevel2WithTaxAmount,
java.math.BigDecimal shippingDiscountPercentageLevel3WithTaxAmount,
java.math.BigDecimal shippingDiscountPercentageLevel4WithTaxAmount,
java.math.BigDecimal shippingDiscountWithTaxAmount,
java.math.BigDecimal shippingWithTaxAmount,
java.math.BigDecimal subtotal,
java.math.BigDecimal subtotalDiscountAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel1,
java.math.BigDecimal subtotalDiscountPercentageLevel2,
java.math.BigDecimal subtotalDiscountPercentageLevel3,
java.math.BigDecimal subtotalDiscountPercentageLevel4,
java.math.BigDecimal subtotalDiscountPercentageLevel1WithTaxAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel2WithTaxAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel3WithTaxAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel4WithTaxAmount,
java.math.BigDecimal subtotalDiscountWithTaxAmount,
java.math.BigDecimal subtotalWithTaxAmount,
java.math.BigDecimal taxAmount,
java.math.BigDecimal total,
java.math.BigDecimal totalDiscountAmount,
java.math.BigDecimal totalDiscountPercentageLevel1,
java.math.BigDecimal totalDiscountPercentageLevel2,
java.math.BigDecimal totalDiscountPercentageLevel3,
java.math.BigDecimal totalDiscountPercentageLevel4,
java.math.BigDecimal totalDiscountPercentageLevel1WithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel2WithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel3WithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel4WithTaxAmount,
java.math.BigDecimal totalDiscountWithTaxAmount,
java.math.BigDecimal totalWithTaxAmount) |
CommerceOrder |
updateCommercePaymentMethodKey(long commerceOrderId,
java.lang.String commercePaymentMethodKey) |
CommerceOrder |
updateCommerceShippingMethod(long commerceOrderId,
long commerceShippingMethodId,
java.lang.String commerceShippingOptionName,
java.math.BigDecimal shippingAmount,
CommerceContext commerceContext) |
CommerceOrder |
updateCommerceShippingMethod(long commerceOrderId,
long commerceShippingMethodId,
java.lang.String commerceShippingOptionName,
CommerceContext commerceContext,
java.util.Locale locale) |
CommerceOrder |
updateInfo(long commerceOrderId,
java.lang.String printedNote,
int requestedDeliveryDateMonth,
int requestedDeliveryDateDay,
int requestedDeliveryDateYear,
int requestedDeliveryDateHour,
int requestedDeliveryDateMinute,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
updateOrderDate(long commerceOrderId,
int orderDateMonth,
int orderDateDay,
int orderDateYear,
int orderDateHour,
int orderDateMinute,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
updatePaymentStatus(long userId,
long commerceOrderId,
int paymentStatus) |
CommerceOrder |
updatePaymentStatusAndTransactionId(long userId,
long commerceOrderId,
int paymentStatus,
java.lang.String transactionId) |
CommerceOrder |
updatePrintedNote(long commerceOrderId,
java.lang.String printedNote) |
CommerceOrder |
updatePurchaseOrderNumber(long commerceOrderId,
java.lang.String purchaseOrderNumber) |
CommerceOrder |
updateShippingAddress(long commerceOrderId,
long shippingAddressId) |
CommerceOrder |
updateShippingAddress(long commerceOrderId,
java.lang.String name,
java.lang.String description,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long regionId,
long countryId,
java.lang.String phoneNumber,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
updateStatus(long userId,
long commerceOrderId,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext,
java.util.Map<java.lang.String,java.io.Serializable> workflowContext) |
CommerceOrder |
updateTermsAndConditions(long commerceOrderId,
long deliveryCommerceTermEntryId,
long paymentCommerceTermEntryId,
java.lang.String languageId) |
CommerceOrder |
upsertCommerceOrder(java.lang.String externalReferenceCode,
long userId,
long groupId,
long commerceAccountId,
long commerceCurrencyId,
long billingAddressId,
long shippingAddressId,
java.lang.String commercePaymentMethodKey,
long commerceShippingMethodId,
java.lang.String shippingOptionName,
java.lang.String purchaseOrderNumber,
java.math.BigDecimal subtotal,
java.math.BigDecimal shippingAmount,
java.math.BigDecimal total,
int paymentStatus,
int orderStatus,
java.lang.String advanceStatus,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Athanasius (7.3.x)
|
public CommerceOrderLocalServiceWrapper()
public CommerceOrderLocalServiceWrapper(CommerceOrderLocalService commerceOrderLocalService)
public CommerceOrder addCommerceOrder(CommerceOrder commerceOrder)
Important: Inspect CommerceOrderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
addCommerceOrder in interface CommerceOrderLocalServicecommerceOrder - the commerce order@Deprecated public CommerceOrder addCommerceOrder(long userId, long groupId, long commerceAccountId, long commerceCurrencyId) throws com.liferay.portal.kernel.exception.PortalException
addCommerceOrder in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder addCommerceOrder(long userId, long groupId, long commerceAccountId, long commerceCurrencyId, long commerceOrderTypeId) throws com.liferay.portal.kernel.exception.PortalException
addCommerceOrder in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder addCommerceOrder(long userId, long groupId, long billingAddressId, long commerceAccountId, long commerceCurrencyId, long commerceOrderTypeId, long commerceShippingMethodId, long shippingAddressId, java.lang.String commercePaymentMethodKey, int orderDateMonth, int orderDateDay, int orderDateYear, int orderDateHour, int orderDateMinute, int orderStatus, int paymentStatus, java.lang.String purchaseOrderNumber, java.math.BigDecimal shippingAmount, java.lang.String shippingOptionName, java.math.BigDecimal shippingWithTaxAmount, java.math.BigDecimal subtotal, java.math.BigDecimal subtotalWithTaxAmount, java.math.BigDecimal taxAmount, java.math.BigDecimal total, java.math.BigDecimal totalWithTaxAmount, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceOrder in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder addOrUpdateCommerceOrder(java.lang.String externalReferenceCode, long userId, long groupId, long billingAddressId, long commerceAccountId, long commerceCurrencyId, long commerceOrderTypeId, long commerceShippingMethodId, long shippingAddressId, java.lang.String advanceStatus, java.lang.String commercePaymentMethodKey, int orderDateMonth, int orderDateDay, int orderDateYear, int orderDateHour, int orderDateMinute, int orderStatus, int paymentStatus, java.lang.String purchaseOrderNumber, java.math.BigDecimal shippingAmount, java.lang.String shippingOptionName, java.math.BigDecimal shippingWithTaxAmount, java.math.BigDecimal subtotal, java.math.BigDecimal subtotalWithTaxAmount, java.math.BigDecimal taxAmount, java.math.BigDecimal total, java.math.BigDecimal totalWithTaxAmount, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addOrUpdateCommerceOrder in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public CommerceOrder addOrUpdateCommerceOrder(java.lang.String externalReferenceCode, long userId, long groupId, long commerceAccountId, long commerceCurrencyId, long billingAddressId, long shippingAddressId, java.lang.String commercePaymentMethodKey, long commerceShippingMethodId, java.lang.String shippingOptionName, java.lang.String purchaseOrderNumber, java.math.BigDecimal subtotal, java.math.BigDecimal shippingAmount, java.math.BigDecimal taxAmount, java.math.BigDecimal total, java.math.BigDecimal subtotalWithTaxAmount, java.math.BigDecimal shippingWithTaxAmount, java.math.BigDecimal totalWithTaxAmount, int paymentStatus, int orderDateMonth, int orderDateDay, int orderDateYear, int orderDateHour, int orderDateMinute, int orderStatus, java.lang.String advanceStatus, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addOrUpdateCommerceOrder in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder applyCouponCode(long commerceOrderId, java.lang.String couponCode, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
applyCouponCode in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder createCommerceOrder(long commerceOrderId)
createCommerceOrder in interface CommerceOrderLocalServicecommerceOrderId - the primary key for the new commerce orderpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface CommerceOrderLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CommerceOrder deleteCommerceOrder(CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceOrderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteCommerceOrder in interface CommerceOrderLocalServicecommerceOrder - the commerce orderPortalExceptionpublic CommerceOrder deleteCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceOrderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteCommerceOrder in interface CommerceOrderLocalServicecommerceOrderId - the primary key of the commerce orderPortalException - if a commerce order with the primary key could not be foundpublic void deleteCommerceOrders(long groupId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceOrders in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated
public void deleteCommerceOrders(long userId,
java.util.Date date,
int status)
deleteCommerceOrders in interface CommerceOrderLocalServicepublic void deleteCommerceOrdersByAccountId(long commerceAccountId,
java.util.Date date,
int status)
deleteCommerceOrdersByAccountId in interface CommerceOrderLocalServicepublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface CommerceOrderLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CommerceOrderLocalServicedslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CommerceOrderLocalServicedslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CommerceOrderLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CommerceOrderLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.model.impl.CommerceOrderModelImpl.
dynamicQuery in interface CommerceOrderLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.model.impl.CommerceOrderModelImpl.
dynamicQuery in interface CommerceOrderLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount in interface CommerceOrderLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CommerceOrderLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic CommerceOrder executeWorkflowTransition(long userId, long commerceOrderId, long workflowTaskId, java.lang.String transitionName, java.lang.String comment) throws com.liferay.portal.kernel.exception.PortalException
executeWorkflowTransition in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder fetchByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId)
fetchByExternalReferenceCode in interface CommerceOrderLocalServicepublic CommerceOrder fetchCommerceOrder(long commerceOrderId)
fetchCommerceOrder in interface CommerceOrderLocalService@Deprecated public CommerceOrder fetchCommerceOrder(long commerceAccountId, long groupId, int orderStatus)
fetchCommerceOrder in interface CommerceOrderLocalServicepublic CommerceOrder fetchCommerceOrder(long commerceAccountId, long groupId, long userId, int orderStatus)
fetchCommerceOrder in interface CommerceOrderLocalServicepublic CommerceOrder fetchCommerceOrderByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommerceOrderByExternalReferenceCode in interface CommerceOrderLocalServicecompanyId - the primary key of the companyexternalReferenceCode - the commerce order's external reference codenull if a matching commerce order could not be found@Deprecated public CommerceOrder fetchCommerceOrderByReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommerceOrderByExternalReferenceCode(long, String)fetchCommerceOrderByReferenceCode in interface CommerceOrderLocalServicepublic CommerceOrder fetchCommerceOrderByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchCommerceOrderByUuidAndGroupId in interface CommerceOrderLocalServiceuuid - the commerce order's UUIDgroupId - the primary key of the groupnull if a matching commerce order could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CommerceOrderLocalServicepublic CommerceOrder getCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrder in interface CommerceOrderLocalServicecommerceOrderId - the primary key of the commerce orderPortalException - if a commerce order with the primary key could not be foundpublic CommerceOrder getCommerceOrderByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderByExternalReferenceCode in interface CommerceOrderLocalServicecompanyId - the primary key of the companyexternalReferenceCode - the commerce order's external reference codePortalException - if a matching commerce order could not be foundpublic CommerceOrder getCommerceOrderByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderByUuidAndGroupId in interface CommerceOrderLocalServiceuuid - the commerce order's UUIDgroupId - the primary key of the groupPortalException - if a matching commerce order could not be foundpublic java.util.List<CommerceOrder> getCommerceOrders(int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.model.impl.CommerceOrderModelImpl.
getCommerceOrders in interface CommerceOrderLocalServicestart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)public java.util.List<CommerceOrder> getCommerceOrders(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
getCommerceOrders in interface CommerceOrderLocalServicepublic java.util.List<CommerceOrder> getCommerceOrders(long groupId, int[] orderStatuses)
getCommerceOrders in interface CommerceOrderLocalServicepublic java.util.List<CommerceOrder> getCommerceOrders(long groupId, int[] orderStatuses, int start, int end)
getCommerceOrders in interface CommerceOrderLocalServicepublic java.util.List<CommerceOrder> getCommerceOrders(long groupId, long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
getCommerceOrders in interface CommerceOrderLocalServicepublic java.util.List<CommerceOrder> getCommerceOrders(long companyId, long groupId, long[] commerceAccountIds, java.lang.String keywords, int[] orderStatuses, boolean excludeOrderStatus, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrders in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceOrder> getCommerceOrders(long groupId, java.lang.String commercePaymentMethodKey)
getCommerceOrders in interface CommerceOrderLocalServicepublic java.util.List<CommerceOrder> getCommerceOrdersByBillingAddress(long billingAddressId)
getCommerceOrdersByBillingAddress in interface CommerceOrderLocalServicepublic java.util.List<CommerceOrder> getCommerceOrdersByCommerceAccountId(long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
getCommerceOrdersByCommerceAccountId in interface CommerceOrderLocalServicepublic java.util.List<CommerceOrder> getCommerceOrdersByShippingAddress(long shippingAddressId)
getCommerceOrdersByShippingAddress in interface CommerceOrderLocalServicepublic java.util.List<CommerceOrder> getCommerceOrdersByUuidAndCompanyId(java.lang.String uuid, long companyId)
getCommerceOrdersByUuidAndCompanyId in interface CommerceOrderLocalServiceuuid - the UUID of the commerce orderscompanyId - the primary key of the companypublic java.util.List<CommerceOrder> getCommerceOrdersByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
getCommerceOrdersByUuidAndCompanyId in interface CommerceOrderLocalServiceuuid - the UUID of the commerce orderscompanyId - the primary key of the companystart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getCommerceOrdersCount()
getCommerceOrdersCount in interface CommerceOrderLocalServicepublic int getCommerceOrdersCount(long groupId)
getCommerceOrdersCount in interface CommerceOrderLocalServicepublic int getCommerceOrdersCount(long groupId,
long commerceAccountId)
getCommerceOrdersCount in interface CommerceOrderLocalServicepublic long getCommerceOrdersCount(long companyId,
long groupId,
long[] commerceAccountIds,
java.lang.String keywords,
int[] orderStatuses,
boolean excludeOrderStatus)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrdersCount in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getCommerceOrdersCountByCommerceAccountId(long commerceAccountId)
getCommerceOrdersCountByCommerceAccountId in interface CommerceOrderLocalServicepublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface CommerceOrderLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CommerceOrderLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceOrderLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CommerceOrderLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic java.util.List<CommerceOrder> getShippedCommerceOrdersByCommerceShipmentId(long commerceShipmentId, int start, int end)
getShippedCommerceOrdersByCommerceShipmentId in interface CommerceOrderLocalService@Deprecated public java.util.List<CommerceOrder> getUserCommerceOrders(long groupId, long userId, long commerceAccountId, java.lang.Integer orderStatus, boolean excludeOrderStatus, java.lang.String keywords, int start, int end)
getUserCommerceOrders in interface CommerceOrderLocalService@Deprecated
public int getUserCommerceOrdersCount(long groupId,
long userId,
long commerceAccountId,
java.lang.Integer orderStatus,
boolean excludeOrderStatus,
java.lang.String keywords)
getUserCommerceOrdersCount in interface CommerceOrderLocalServicepublic void mergeGuestCommerceOrder(long guestCommerceOrderId,
long userCommerceOrderId,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
mergeGuestCommerceOrder in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder recalculatePrice(long commerceOrderId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
recalculatePrice in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder reorderCommerceOrder(long userId, long commerceOrderId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
reorderCommerceOrder in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder resetCommerceOrderShipping(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
resetCommerceOrderShipping in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder resetTermsAndConditions(long commerceOrderId, boolean resetDeliveryCommerceTerm, boolean resetPaymentCommerceTermEntry) throws com.liferay.portal.kernel.exception.PortalException
resetTermsAndConditions in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrder> searchCommerceOrders(com.liferay.portal.kernel.search.SearchContext searchContext) throws com.liferay.portal.kernel.exception.PortalException
searchCommerceOrders in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic long searchCommerceOrdersCount(com.liferay.portal.kernel.search.SearchContext searchContext)
throws com.liferay.portal.kernel.exception.PortalException
searchCommerceOrdersCount in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateAccount(long commerceOrderId, long userId, long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException
updateAccount in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateBillingAddress(long commerceOrderId, long billingAddressId) throws com.liferay.portal.kernel.exception.PortalException
updateBillingAddress in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateBillingAddress(long commerceOrderId, java.lang.String name, java.lang.String description, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long regionId, long countryId, java.lang.String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateBillingAddress in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateCommerceOrder(CommerceOrder commerceOrder)
Important: Inspect CommerceOrderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
updateCommerceOrder in interface CommerceOrderLocalServicecommerceOrder - the commerce orderpublic CommerceOrder updateCommerceOrder(java.lang.String externalReferenceCode, long commerceOrderId, long billingAddressId, long commerceShippingMethodId, long shippingAddressId, java.lang.String advanceStatus, java.lang.String commercePaymentMethodKey, java.lang.String purchaseOrderNumber, java.math.BigDecimal shippingAmount, java.lang.String shippingOptionName, java.math.BigDecimal shippingWithTaxAmount, java.math.BigDecimal subtotal, java.math.BigDecimal subtotalWithTaxAmount, java.math.BigDecimal taxAmount, java.math.BigDecimal total, java.math.BigDecimal totalDiscountAmount, java.math.BigDecimal totalWithTaxAmount, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrder in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateCommerceOrder(java.lang.String externalReferenceCode, long commerceOrderId, long billingAddressId, long commerceShippingMethodId, long shippingAddressId, java.lang.String advanceStatus, java.lang.String commercePaymentMethodKey, java.lang.String purchaseOrderNumber, java.math.BigDecimal shippingAmount, java.lang.String shippingOptionName, java.math.BigDecimal subtotal, java.math.BigDecimal total, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrder in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateCommerceOrderExternalReferenceCode(java.lang.String externalReferenceCode, long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderExternalReferenceCode in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateCommerceOrderPrices(long commerceOrderId, java.math.BigDecimal shippingAmount, java.math.BigDecimal shippingDiscountAmount, java.math.BigDecimal shippingDiscountPercentageLevel1, java.math.BigDecimal shippingDiscountPercentageLevel2, java.math.BigDecimal shippingDiscountPercentageLevel3, java.math.BigDecimal shippingDiscountPercentageLevel4, java.math.BigDecimal subtotal, java.math.BigDecimal subtotalDiscountAmount, java.math.BigDecimal subtotalDiscountPercentageLevel1, java.math.BigDecimal subtotalDiscountPercentageLevel2, java.math.BigDecimal subtotalDiscountPercentageLevel3, java.math.BigDecimal subtotalDiscountPercentageLevel4, java.math.BigDecimal taxAmount, java.math.BigDecimal total, java.math.BigDecimal totalDiscountAmount, java.math.BigDecimal totalDiscountPercentageLevel1, java.math.BigDecimal totalDiscountPercentageLevel2, java.math.BigDecimal totalDiscountPercentageLevel3, java.math.BigDecimal totalDiscountPercentageLevel4) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderPrices in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateCommerceOrderPrices(long commerceOrderId, java.math.BigDecimal shippingAmount, java.math.BigDecimal shippingDiscountAmount, java.math.BigDecimal shippingDiscountPercentageLevel1, java.math.BigDecimal shippingDiscountPercentageLevel2, java.math.BigDecimal shippingDiscountPercentageLevel3, java.math.BigDecimal shippingDiscountPercentageLevel4, java.math.BigDecimal shippingDiscountPercentageLevel1WithTaxAmount, java.math.BigDecimal shippingDiscountPercentageLevel2WithTaxAmount, java.math.BigDecimal shippingDiscountPercentageLevel3WithTaxAmount, java.math.BigDecimal shippingDiscountPercentageLevel4WithTaxAmount, java.math.BigDecimal shippingDiscountWithTaxAmount, java.math.BigDecimal shippingWithTaxAmount, java.math.BigDecimal subtotal, java.math.BigDecimal subtotalDiscountAmount, java.math.BigDecimal subtotalDiscountPercentageLevel1, java.math.BigDecimal subtotalDiscountPercentageLevel2, java.math.BigDecimal subtotalDiscountPercentageLevel3, java.math.BigDecimal subtotalDiscountPercentageLevel4, java.math.BigDecimal subtotalDiscountPercentageLevel1WithTaxAmount, java.math.BigDecimal subtotalDiscountPercentageLevel2WithTaxAmount, java.math.BigDecimal subtotalDiscountPercentageLevel3WithTaxAmount, java.math.BigDecimal subtotalDiscountPercentageLevel4WithTaxAmount, java.math.BigDecimal subtotalDiscountWithTaxAmount, java.math.BigDecimal subtotalWithTaxAmount, java.math.BigDecimal taxAmount, java.math.BigDecimal total, java.math.BigDecimal totalDiscountAmount, java.math.BigDecimal totalDiscountPercentageLevel1, java.math.BigDecimal totalDiscountPercentageLevel2, java.math.BigDecimal totalDiscountPercentageLevel3, java.math.BigDecimal totalDiscountPercentageLevel4, java.math.BigDecimal totalDiscountPercentageLevel1WithTaxAmount, java.math.BigDecimal totalDiscountPercentageLevel2WithTaxAmount, java.math.BigDecimal totalDiscountPercentageLevel3WithTaxAmount, java.math.BigDecimal totalDiscountPercentageLevel4WithTaxAmount, java.math.BigDecimal totalDiscountWithTaxAmount, java.math.BigDecimal totalWithTaxAmount) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderPrices in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateCommercePaymentMethodKey(long commerceOrderId, java.lang.String commercePaymentMethodKey) throws com.liferay.portal.kernel.exception.PortalException
updateCommercePaymentMethodKey in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateCommerceShippingMethod(long commerceOrderId, long commerceShippingMethodId, java.lang.String commerceShippingOptionName, java.math.BigDecimal shippingAmount, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceShippingMethod in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateCommerceShippingMethod(long commerceOrderId, long commerceShippingMethodId, java.lang.String commerceShippingOptionName, CommerceContext commerceContext, java.util.Locale locale) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceShippingMethod in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateInfo(long commerceOrderId, 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
updateInfo in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
updateOrderDate in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updatePaymentStatus(long userId, long commerceOrderId, int paymentStatus) throws com.liferay.portal.kernel.exception.PortalException
updatePaymentStatus in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updatePaymentStatusAndTransactionId(long userId, long commerceOrderId, int paymentStatus, java.lang.String transactionId) throws com.liferay.portal.kernel.exception.PortalException
updatePaymentStatusAndTransactionId in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updatePrintedNote(long commerceOrderId, java.lang.String printedNote) throws com.liferay.portal.kernel.exception.PortalException
updatePrintedNote in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updatePurchaseOrderNumber(long commerceOrderId, java.lang.String purchaseOrderNumber) throws com.liferay.portal.kernel.exception.PortalException
updatePurchaseOrderNumber in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateShippingAddress(long commerceOrderId, long shippingAddressId) throws com.liferay.portal.kernel.exception.PortalException
updateShippingAddress in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateShippingAddress(long commerceOrderId, java.lang.String name, java.lang.String description, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long regionId, long countryId, java.lang.String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateShippingAddress in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateStatus(long userId, long commerceOrderId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext, java.util.Map<java.lang.String,java.io.Serializable> workflowContext) throws com.liferay.portal.kernel.exception.PortalException
updateStatus in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateTermsAndConditions(long commerceOrderId, long deliveryCommerceTermEntryId, long paymentCommerceTermEntryId, java.lang.String languageId) throws com.liferay.portal.kernel.exception.PortalException
updateTermsAndConditions in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public CommerceOrder upsertCommerceOrder(java.lang.String externalReferenceCode, long userId, long groupId, long commerceAccountId, long commerceCurrencyId, long billingAddressId, long shippingAddressId, java.lang.String commercePaymentMethodKey, long commerceShippingMethodId, java.lang.String shippingOptionName, java.lang.String purchaseOrderNumber, java.math.BigDecimal subtotal, java.math.BigDecimal shippingAmount, java.math.BigDecimal total, int paymentStatus, int orderStatus, java.lang.String advanceStatus, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
upsertCommerceOrder in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderLocalService>public void setWrappedService(CommerceOrderLocalService commerceOrderLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderLocalService>