@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CommerceOrderLocalService
extends com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService
CommerceOrderLocalServiceUtil
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)
|
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) |
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)
|
@Indexable(type=REINDEX) 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.
commerceOrder
- the commerce order@Deprecated CommerceOrder addCommerceOrder(long userId, long groupId, long commerceAccountId, long commerceCurrencyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CommerceOrder addCommerceOrder(long userId, long groupId, long commerceAccountId, long commerceCurrencyId, long commerceOrderTypeId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) 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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
@Deprecated 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
com.liferay.portal.kernel.exception.PortalException
CommerceOrder applyCouponCode(long commerceOrderId, java.lang.String couponCode, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(enabled=false) CommerceOrder createCommerceOrder(long commerceOrderId)
commerceOrderId
- the primary key for the new commerce ordercom.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=DELETE) @SystemEvent(type=1) 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.
commerceOrder
- the commerce ordercom.liferay.portal.kernel.exception.PortalException
@Indexable(type=DELETE) 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.
commerceOrderId
- the primary key of the commerce ordercom.liferay.portal.kernel.exception.PortalException
- if a commerce order with the primary key could not be foundvoid deleteCommerceOrders(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated void deleteCommerceOrders(long userId, java.util.Date date, int status)
void deleteCommerceOrdersByAccountId(long commerceAccountId, java.util.Date date, int status)
com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
@Transactional(propagation=SUPPORTS, readOnly=true) int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
@Transactional(propagation=SUPPORTS, readOnly=true) <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic query@Transactional(propagation=SUPPORTS, readOnly=true) <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
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)@Transactional(propagation=SUPPORTS, readOnly=true) <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
- 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
)@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic query@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the queryCommerceOrder executeWorkflowTransition(long userId, long commerceOrderId, long workflowTaskId, java.lang.String transitionName, java.lang.String comment) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrder fetchByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId)
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrder fetchCommerceOrder(long commerceOrderId)
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrder fetchCommerceOrder(long commerceAccountId, long groupId, int orderStatus)
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrder fetchCommerceOrder(long commerceAccountId, long groupId, long userId, int orderStatus)
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrder fetchCommerceOrderByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
companyId
- the primary key of the companyexternalReferenceCode
- the commerce order's external reference codenull
if a matching commerce order could not be found@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrder fetchCommerceOrderByReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommerceOrderByExternalReferenceCode(long, String)
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrder fetchCommerceOrderByUuidAndGroupId(java.lang.String uuid, long groupId)
uuid
- the commerce order's UUIDgroupId
- the primary key of the groupnull
if a matching commerce order could not be found@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrder getCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
commerceOrderId
- the primary key of the commerce ordercom.liferay.portal.kernel.exception.PortalException
- if a commerce order with the primary key could not be found@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrder getCommerceOrderByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
companyId
- the primary key of the companyexternalReferenceCode
- the commerce order's external reference codecom.liferay.portal.kernel.exception.PortalException
- if a matching commerce order could not be found@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrder getCommerceOrderByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
uuid
- the commerce order's UUIDgroupId
- the primary key of the groupcom.liferay.portal.kernel.exception.PortalException
- if a matching commerce order could not be found@Transactional(propagation=SUPPORTS, readOnly=true) 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
.
start
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CommerceOrder> getCommerceOrders(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CommerceOrder> getCommerceOrders(long groupId, int[] orderStatuses)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CommerceOrder> getCommerceOrders(long groupId, int[] orderStatuses, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CommerceOrder> getCommerceOrders(long groupId, long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) 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
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CommerceOrder> getCommerceOrders(long groupId, java.lang.String commercePaymentMethodKey)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CommerceOrder> getCommerceOrdersByBillingAddress(long billingAddressId)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CommerceOrder> getCommerceOrdersByCommerceAccountId(long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CommerceOrder> getCommerceOrdersByShippingAddress(long shippingAddressId)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CommerceOrder> getCommerceOrdersByUuidAndCompanyId(java.lang.String uuid, long companyId)
uuid
- the UUID of the commerce orderscompanyId
- the primary key of the company@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CommerceOrder> getCommerceOrdersByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
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
)@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceOrdersCount()
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceOrdersCount(long groupId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceOrdersCount(long groupId, long commerceAccountId)
@Transactional(propagation=SUPPORTS, readOnly=true) long getCommerceOrdersCount(long companyId, long groupId, long[] commerceAccountIds, java.lang.String keywords, int[] orderStatuses, boolean excludeOrderStatus) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceOrdersCountByCommerceAccountId(long commerceAccountId)
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
java.lang.String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CommerceOrder> getShippedCommerceOrdersByCommerceShipmentId(long commerceShipmentId, int start, int end)
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) 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 @Transactional(propagation=SUPPORTS, readOnly=true) int getUserCommerceOrdersCount(long groupId, long userId, long commerceAccountId, java.lang.Integer orderStatus, boolean excludeOrderStatus, java.lang.String keywords)
void mergeGuestCommerceOrder(long guestCommerceOrderId, long userCommerceOrderId, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) CommerceOrder recalculatePrice(long commerceOrderId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CommerceOrder reorderCommerceOrder(long userId, long commerceOrderId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) CommerceOrder resetCommerceOrderShipping(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrder> searchCommerceOrders(com.liferay.portal.kernel.search.SearchContext searchContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) long searchCommerceOrdersCount(com.liferay.portal.kernel.search.SearchContext searchContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CommerceOrder updateAccount(long commerceOrderId, long userId, long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) CommerceOrder updateBillingAddress(long commerceOrderId, long billingAddressId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) 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
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) 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.
commerceOrder
- the commerce order@Indexable(type=REINDEX) 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
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) 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
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) 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
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) CommerceOrder updateCommerceOrderExternalReferenceCode(java.lang.String externalReferenceCode, long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) 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
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) 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
com.liferay.portal.kernel.exception.PortalException
CommerceOrder updateCommercePaymentMethodKey(long commerceOrderId, java.lang.String commercePaymentMethodKey) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) CommerceOrder updateCommerceShippingMethod(long commerceOrderId, long commerceShippingMethodId, java.lang.String commerceShippingOptionName, java.math.BigDecimal shippingAmount, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) CommerceOrder updateCommerceShippingMethod(long commerceOrderId, long commerceShippingMethodId, java.lang.String commerceShippingOptionName, CommerceContext commerceContext, java.util.Locale locale) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) CommerceOrder updateCustomFields(long commerceOrderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) 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
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) 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
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) CommerceOrder updateOrderStatus(long commerceOrderId, int orderStatus) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) CommerceOrder updatePaymentStatus(long userId, long commerceOrderId, int paymentStatus) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) CommerceOrder updatePaymentStatusAndTransactionId(long userId, long commerceOrderId, int paymentStatus, java.lang.String transactionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) CommerceOrder updatePrintedNote(long commerceOrderId, java.lang.String printedNote) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) CommerceOrder updatePurchaseOrderNumber(long commerceOrderId, java.lang.String purchaseOrderNumber) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) CommerceOrder updateShippingAddress(long commerceOrderId, long shippingAddressId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) 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
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) 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
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) CommerceOrder updateTransactionId(long commerceOrderId, java.lang.String transactionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CommerceOrder updateUser(long commerceOrderId, long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated 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
com.liferay.portal.kernel.exception.PortalException