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 commerceAccountId,
long commerceCurrencyId,
long commerceOrderTypeId,
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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
addOrUpdateCommerceOrder(java.lang.String externalReferenceCode,
long userId,
long groupId,
long commerceAccountId,
long commerceCurrencyId,
long commerceOrderTypeId,
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) |
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) |
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(long commerceOrderId,
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,
java.lang.String advanceStatus,
CommerceContext commerceContext) |
CommerceOrder |
updateCommerceOrder(java.lang.String externalReferenceCode,
long commerceOrderId,
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,
java.lang.String advanceStatus,
CommerceContext commerceContext) |
CommerceOrder |
updateCommerceOrder(java.lang.String externalReferenceCode,
long commerceOrderId,
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,
java.lang.String advanceStatus,
CommerceContext commerceContext) |
CommerceOrder |
updateCommerceOrderExternalReferenceCode(java.lang.String externalReferenceCode,
long commerceOrderId) |
CommerceOrder |
updateCommerceOrderPrices(long commerceOrderId,
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 shippingAmount,
java.math.BigDecimal shippingDiscountAmount,
java.math.BigDecimal shippingDiscountPercentageLevel1,
java.math.BigDecimal shippingDiscountPercentageLevel2,
java.math.BigDecimal shippingDiscountPercentageLevel3,
java.math.BigDecimal shippingDiscountPercentageLevel4,
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 subtotal,
java.math.BigDecimal subtotalDiscountAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel1,
java.math.BigDecimal subtotalDiscountPercentageLevel2,
java.math.BigDecimal subtotalDiscountPercentageLevel3,
java.math.BigDecimal subtotalDiscountPercentageLevel4,
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 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 subtotalWithTaxAmount,
java.math.BigDecimal subtotalDiscountWithTaxAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel1WithTaxAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel2WithTaxAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel3WithTaxAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel4WithTaxAmount,
java.math.BigDecimal shippingWithTaxAmount,
java.math.BigDecimal shippingDiscountWithTaxAmount,
java.math.BigDecimal shippingDiscountPercentageLevel1WithTaxAmount,
java.math.BigDecimal shippingDiscountPercentageLevel2WithTaxAmount,
java.math.BigDecimal shippingDiscountPercentageLevel3WithTaxAmount,
java.math.BigDecimal shippingDiscountPercentageLevel4WithTaxAmount,
java.math.BigDecimal totalWithTaxAmount,
java.math.BigDecimal totalDiscountWithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel1WithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel2WithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel3WithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel4WithTaxAmount) |
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 |
updateCustomFields(long commerceOrderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
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 |
updateOrderStatus(long commerceOrderId,
int orderStatus) |
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 |
updateTransactionId(long commerceOrderId,
java.lang.String transactionId) |
CommerceOrder |
updateUser(long commerceOrderId,
long userId) |
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 CommerceOrderLocalService
commerceOrder
- 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 CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder addCommerceOrder(long userId, long groupId, long commerceAccountId, long commerceCurrencyId, long commerceOrderTypeId) throws com.liferay.portal.kernel.exception.PortalException
addCommerceOrder
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder addCommerceOrder(long userId, long groupId, long commerceAccountId, long commerceCurrencyId, long commerceOrderTypeId, 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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceOrder
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder addOrUpdateCommerceOrder(java.lang.String externalReferenceCode, long userId, long groupId, long commerceAccountId, long commerceCurrencyId, long commerceOrderTypeId, 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 CommerceOrderLocalService
com.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 CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder applyCouponCode(long commerceOrderId, java.lang.String couponCode, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
applyCouponCode
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder createCommerceOrder(long commerceOrderId)
createCommerceOrder
in interface CommerceOrderLocalService
commerceOrderId
- 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 CommerceOrderLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public 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 CommerceOrderLocalService
commerceOrder
- the commerce orderPortalException
public 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 CommerceOrderLocalService
commerceOrderId
- 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 CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
@Deprecated public void deleteCommerceOrders(long userId, java.util.Date date, int status)
deleteCommerceOrders
in interface CommerceOrderLocalService
public void deleteCommerceOrdersByAccountId(long commerceAccountId, java.util.Date date, int status)
deleteCommerceOrdersByAccountId
in interface CommerceOrderLocalService
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface CommerceOrderLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface CommerceOrderLocalService
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface CommerceOrderLocalService
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface CommerceOrderLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface CommerceOrderLocalService
dynamicQuery
- 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 CommerceOrderLocalService
dynamicQuery
- 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 CommerceOrderLocalService
dynamicQuery
- 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 CommerceOrderLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface CommerceOrderLocalService
dynamicQuery
- 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 CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder fetchByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId)
fetchByExternalReferenceCode
in interface CommerceOrderLocalService
public CommerceOrder fetchCommerceOrder(long commerceOrderId)
fetchCommerceOrder
in interface CommerceOrderLocalService
@Deprecated public CommerceOrder fetchCommerceOrder(long commerceAccountId, long groupId, int orderStatus)
fetchCommerceOrder
in interface CommerceOrderLocalService
public CommerceOrder fetchCommerceOrder(long commerceAccountId, long groupId, long userId, int orderStatus)
fetchCommerceOrder
in interface CommerceOrderLocalService
public CommerceOrder fetchCommerceOrderByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommerceOrderByExternalReferenceCode
in interface CommerceOrderLocalService
companyId
- 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 CommerceOrderLocalService
public CommerceOrder fetchCommerceOrderByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchCommerceOrderByUuidAndGroupId
in interface CommerceOrderLocalService
uuid
- 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 CommerceOrderLocalService
public CommerceOrder getCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrder
in interface CommerceOrderLocalService
commerceOrderId
- 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 CommerceOrderLocalService
companyId
- 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 CommerceOrderLocalService
uuid
- 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 CommerceOrderLocalService
start
- 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 CommerceOrderLocalService
public java.util.List<CommerceOrder> getCommerceOrders(long groupId, int[] orderStatuses)
getCommerceOrders
in interface CommerceOrderLocalService
public java.util.List<CommerceOrder> getCommerceOrders(long groupId, int[] orderStatuses, int start, int end)
getCommerceOrders
in interface CommerceOrderLocalService
public java.util.List<CommerceOrder> getCommerceOrders(long groupId, long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
getCommerceOrders
in interface CommerceOrderLocalService
public 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 CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<CommerceOrder> getCommerceOrders(long groupId, java.lang.String commercePaymentMethodKey)
getCommerceOrders
in interface CommerceOrderLocalService
public java.util.List<CommerceOrder> getCommerceOrdersByBillingAddress(long billingAddressId)
getCommerceOrdersByBillingAddress
in interface CommerceOrderLocalService
public java.util.List<CommerceOrder> getCommerceOrdersByCommerceAccountId(long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
getCommerceOrdersByCommerceAccountId
in interface CommerceOrderLocalService
public java.util.List<CommerceOrder> getCommerceOrdersByShippingAddress(long shippingAddressId)
getCommerceOrdersByShippingAddress
in interface CommerceOrderLocalService
public java.util.List<CommerceOrder> getCommerceOrdersByUuidAndCompanyId(java.lang.String uuid, long companyId)
getCommerceOrdersByUuidAndCompanyId
in interface CommerceOrderLocalService
uuid
- 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 CommerceOrderLocalService
uuid
- 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 CommerceOrderLocalService
public int getCommerceOrdersCount(long groupId)
getCommerceOrdersCount
in interface CommerceOrderLocalService
public int getCommerceOrdersCount(long groupId, long commerceAccountId)
getCommerceOrdersCount
in interface CommerceOrderLocalService
public 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 CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public int getCommerceOrdersCountByCommerceAccountId(long commerceAccountId)
getCommerceOrdersCountByCommerceAccountId
in interface CommerceOrderLocalService
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface CommerceOrderLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface CommerceOrderLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CommerceOrderLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface CommerceOrderLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public 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 CommerceOrderLocalService
public 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 CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder recalculatePrice(long commerceOrderId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
recalculatePrice
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder reorderCommerceOrder(long userId, long commerceOrderId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
reorderCommerceOrder
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder resetCommerceOrderShipping(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
resetCommerceOrderShipping
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public long searchCommerceOrdersCount(com.liferay.portal.kernel.search.SearchContext searchContext) throws com.liferay.portal.kernel.exception.PortalException
searchCommerceOrdersCount
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder updateAccount(long commerceOrderId, long userId, long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException
updateAccount
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder updateBillingAddress(long commerceOrderId, long billingAddressId) throws com.liferay.portal.kernel.exception.PortalException
updateBillingAddress
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceOrderLocalService
commerceOrder
- the commerce orderpublic CommerceOrder updateCommerceOrder(long commerceOrderId, 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, java.lang.String advanceStatus, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrder
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder updateCommerceOrder(java.lang.String externalReferenceCode, long commerceOrderId, 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, java.lang.String advanceStatus, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrder
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder updateCommerceOrder(java.lang.String externalReferenceCode, long commerceOrderId, 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, java.lang.String advanceStatus, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrder
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder updateCommerceOrderExternalReferenceCode(java.lang.String externalReferenceCode, long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderExternalReferenceCode
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder updateCommerceOrderPrices(long commerceOrderId, 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 shippingAmount, java.math.BigDecimal shippingDiscountAmount, java.math.BigDecimal shippingDiscountPercentageLevel1, java.math.BigDecimal shippingDiscountPercentageLevel2, java.math.BigDecimal shippingDiscountPercentageLevel3, java.math.BigDecimal shippingDiscountPercentageLevel4, 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 CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder updateCommerceOrderPrices(long commerceOrderId, 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 shippingAmount, java.math.BigDecimal shippingDiscountAmount, java.math.BigDecimal shippingDiscountPercentageLevel1, java.math.BigDecimal shippingDiscountPercentageLevel2, java.math.BigDecimal shippingDiscountPercentageLevel3, java.math.BigDecimal shippingDiscountPercentageLevel4, 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 subtotalWithTaxAmount, java.math.BigDecimal subtotalDiscountWithTaxAmount, java.math.BigDecimal subtotalDiscountPercentageLevel1WithTaxAmount, java.math.BigDecimal subtotalDiscountPercentageLevel2WithTaxAmount, java.math.BigDecimal subtotalDiscountPercentageLevel3WithTaxAmount, java.math.BigDecimal subtotalDiscountPercentageLevel4WithTaxAmount, java.math.BigDecimal shippingWithTaxAmount, java.math.BigDecimal shippingDiscountWithTaxAmount, java.math.BigDecimal shippingDiscountPercentageLevel1WithTaxAmount, java.math.BigDecimal shippingDiscountPercentageLevel2WithTaxAmount, java.math.BigDecimal shippingDiscountPercentageLevel3WithTaxAmount, java.math.BigDecimal shippingDiscountPercentageLevel4WithTaxAmount, java.math.BigDecimal totalWithTaxAmount, java.math.BigDecimal totalDiscountWithTaxAmount, java.math.BigDecimal totalDiscountPercentageLevel1WithTaxAmount, java.math.BigDecimal totalDiscountPercentageLevel2WithTaxAmount, java.math.BigDecimal totalDiscountPercentageLevel3WithTaxAmount, java.math.BigDecimal totalDiscountPercentageLevel4WithTaxAmount) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderPrices
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder updateCommercePaymentMethodKey(long commerceOrderId, java.lang.String commercePaymentMethodKey) throws com.liferay.portal.kernel.exception.PortalException
updateCommercePaymentMethodKey
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder updateCustomFields(long commerceOrderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCustomFields
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
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
updateOrderDate
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder updateOrderStatus(long commerceOrderId, int orderStatus) throws com.liferay.portal.kernel.exception.PortalException
updateOrderStatus
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder updatePaymentStatus(long userId, long commerceOrderId, int paymentStatus) throws com.liferay.portal.kernel.exception.PortalException
updatePaymentStatus
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder updatePaymentStatusAndTransactionId(long userId, long commerceOrderId, int paymentStatus, java.lang.String transactionId) throws com.liferay.portal.kernel.exception.PortalException
updatePaymentStatusAndTransactionId
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder updatePrintedNote(long commerceOrderId, java.lang.String printedNote) throws com.liferay.portal.kernel.exception.PortalException
updatePrintedNote
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder updatePurchaseOrderNumber(long commerceOrderId, java.lang.String purchaseOrderNumber) throws com.liferay.portal.kernel.exception.PortalException
updatePurchaseOrderNumber
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder updateShippingAddress(long commerceOrderId, long shippingAddressId) throws com.liferay.portal.kernel.exception.PortalException
updateShippingAddress
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder updateTransactionId(long commerceOrderId, java.lang.String transactionId) throws com.liferay.portal.kernel.exception.PortalException
updateTransactionId
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder updateUser(long commerceOrderId, long userId) throws com.liferay.portal.kernel.exception.PortalException
updateUser
in interface CommerceOrderLocalService
com.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 CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public 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>