@ProviderType
public class CommerceOrderLocalServiceUtil
extends java.lang.Object
com.liferay.commerce.service.impl.CommerceOrderLocalServiceImpl and is the
primary access point for service operations in application layer code running
on the local server. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be
accessed from within the same VM.CommerceOrderLocalService,
com.liferay.commerce.service.base.CommerceOrderLocalServiceBaseImpl,
com.liferay.commerce.service.impl.CommerceOrderLocalServiceImpl| Constructor and Description |
|---|
CommerceOrderLocalServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static CommerceOrder |
addCommerceOrder(CommerceOrder commerceOrder)
Adds the commerce order to the database.
|
static CommerceOrder |
addCommerceOrder(long siteGroupId,
long orderOrganizationId,
long orderUserId,
long commerceCurrencyId,
long billingAddressId,
long shippingAddressId,
long commercePaymentMethodId,
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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceOrder |
addOrganizationCommerceOrder(long groupId,
long userId,
long siteGroupId,
long orderOrganizationId,
long commerceCurrencyId,
long shippingAddressId,
java.lang.String purchaseOrderNumber) |
static CommerceOrder |
addOrganizationCommerceOrder(long groupId,
long userId,
long siteGroupId,
long orderOrganizationId,
long shippingAddressId,
java.lang.String purchaseOrderNumber) |
static CommerceOrder |
addUserCommerceOrder(long groupId,
long userId) |
static CommerceOrder |
addUserCommerceOrder(long groupId,
long userId,
long orderUserId) |
static CommerceOrder |
addUserCommerceOrder(long groupId,
long userId,
long orderUserId,
long commerceCurrencyId) |
static CommerceOrder |
approveCommerceOrder(long userId,
long commerceOrderId) |
static CommerceOrder |
cancelCommerceOrderPayment(long commerceOrderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceOrder |
checkoutCommerceOrder(long commerceOrderId,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceOrder |
completeCommerceOrderPayment(long commerceOrderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceOrder |
createCommerceOrder(long commerceOrderId)
Creates a new commerce order with the primary key.
|
static CommerceOrder |
deleteCommerceOrder(CommerceOrder commerceOrder)
Deletes the commerce order from the database.
|
static CommerceOrder |
deleteCommerceOrder(long commerceOrderId)
Deletes the commerce order with the primary key from the database.
|
static void |
deleteCommerceOrders(long groupId) |
static void |
deleteCommerceOrders(long userId,
java.util.Date date,
int status) |
static com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
static com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
static <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.
|
static <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.
|
static <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.
|
static long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
static 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.
|
static CommerceOrder |
executeWorkflowTransition(long userId,
long commerceOrderId,
long workflowTaskId,
java.lang.String transitionName,
java.lang.String comment) |
static CommerceOrder |
fetchByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode) |
static CommerceOrder |
fetchCommerceOrder(long commerceOrderId) |
static CommerceOrder |
fetchCommerceOrder(long groupId,
long userId,
int orderStatus) |
static CommerceOrder |
fetchCommerceOrderByReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce order with the matching external reference code and company.
|
static CommerceOrder |
fetchCommerceOrderByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the commerce order matching the UUID and group.
|
static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
static int[] |
getAvailableOrderStatuses(long commerceOrderId) |
static CommerceOrder |
getCommerceOrder(long commerceOrderId)
Returns the commerce order with the primary key.
|
static CommerceOrder |
getCommerceOrderByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the commerce order matching the UUID and group.
|
static java.util.List<CommerceOrder> |
getCommerceOrders(int start,
int end)
Returns a range of all the commerce orders.
|
static java.util.List<CommerceOrder> |
getCommerceOrders(long siteGroupId,
int[] orderStatuses) |
static java.util.List<CommerceOrder> |
getCommerceOrders(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) |
static java.util.List<CommerceOrder> |
getCommerceOrders(long groupId,
long orderUserId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) |
static java.util.List<CommerceOrder> |
getCommerceOrdersByBillingAddress(long billingAddressId) |
static java.util.List<CommerceOrder> |
getCommerceOrdersByShippingAddress(long shippingAddressId) |
static java.util.List<CommerceOrder> |
getCommerceOrdersByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the commerce orders matching the UUID and company.
|
static 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.
|
static int |
getCommerceOrdersCount()
Returns the number of commerce orders.
|
static int |
getCommerceOrdersCount(long groupId) |
static int |
getCommerceOrdersCount(long groupId,
long orderUserId) |
static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
static CommerceOrderLocalService |
getService() |
static void |
mergeGuestCommerceOrder(long guestCommerceOrderId,
long userCommerceOrderId,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceOrder |
recalculatePrice(long commerceOrderId,
CommerceContext commerceContext) |
static CommerceOrder |
reorderCommerceOrder(long userId,
long commerceOrderId,
CommerceContext commerceContext) |
static CommerceOrder |
resetCommerceOrderShipping(long commerceOrderId) |
static com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrder> |
searchCommerceOrders(com.liferay.portal.kernel.search.SearchContext searchContext) |
static long |
searchCommerceOrdersCount(com.liferay.portal.kernel.search.SearchContext searchContext) |
static java.lang.String |
startCommerceOrderPayment(long commerceOrderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceOrder |
submitCommerceOrder(long userId,
long commerceOrderId) |
static 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 commerceRegionId,
long commerceCountryId,
java.lang.String phoneNumber,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceOrder |
updateCommerceOrder(CommerceOrder commerceOrder)
Updates the commerce order in the database or adds it if it does not yet exist.
|
static CommerceOrder |
updateCommerceOrder(long commerceOrderId,
long billingAddressId,
long shippingAddressId,
long commercePaymentMethodId,
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) |
static CommerceOrder |
updateCommerceOrder(long commerceOrderId,
long billingAddressId,
long shippingAddressId,
long commercePaymentMethodId,
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,
java.lang.String externalReferenceCode,
CommerceContext commerceContext) |
static CommerceOrder |
updateOrderStatus(long commerceOrderId,
int orderStatus) |
static CommerceOrder |
updatePaymentStatus(long commerceOrderId,
int paymentStatus,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceOrder |
updatePurchaseOrderNumber(long commerceOrderId,
java.lang.String purchaseOrderNumber) |
static 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 commerceRegionId,
long commerceCountryId,
java.lang.String phoneNumber,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceOrder |
updateShippingMethod(long commerceOrderId,
long commerceShippingMethodId,
java.lang.String shippingOptionName,
java.math.BigDecimal shippingAmount,
CommerceContext commerceContext) |
static 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) |
static CommerceOrder |
updateUser(long commerceOrderId,
long userId) |
public static CommerceOrder addCommerceOrder(CommerceOrder commerceOrder)
commerceOrder - the commerce orderpublic static CommerceOrder addCommerceOrder(long siteGroupId, long orderOrganizationId, long orderUserId, long commerceCurrencyId, long billingAddressId, long shippingAddressId, long commercePaymentMethodId, 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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceOrder addOrganizationCommerceOrder(long groupId, long userId, long siteGroupId, long orderOrganizationId, long commerceCurrencyId, long shippingAddressId, java.lang.String purchaseOrderNumber) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceOrder addOrganizationCommerceOrder(long groupId, long userId, long siteGroupId, long orderOrganizationId, long shippingAddressId, java.lang.String purchaseOrderNumber) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceOrder addUserCommerceOrder(long groupId, long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceOrder addUserCommerceOrder(long groupId, long userId, long orderUserId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceOrder addUserCommerceOrder(long groupId, long userId, long orderUserId, long commerceCurrencyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceOrder approveCommerceOrder(long userId, long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceOrder cancelCommerceOrderPayment(long commerceOrderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceOrder checkoutCommerceOrder(long commerceOrderId, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceOrder completeCommerceOrderPayment(long commerceOrderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceOrder createCommerceOrder(long commerceOrderId)
commerceOrderId - the primary key for the new commerce orderpublic static CommerceOrder deleteCommerceOrder(CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException
commerceOrder - the commerce orderPortalExceptionpublic static CommerceOrder deleteCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
commerceOrderId - the primary key of the commerce orderPortalException - if a commerce order with the primary key could not be foundpublic static void deleteCommerceOrders(long groupId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void deleteCommerceOrders(long userId,
java.util.Date date,
int status)
public static com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
PortalExceptionpublic static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
public static <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery - the dynamic querypublic static <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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.commerce.model.impl.CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 static <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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.commerce.model.impl.CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 static long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery - the dynamic querypublic static 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 querypublic static CommerceOrder 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.PortalExceptionpublic static CommerceOrder fetchByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
public static CommerceOrder fetchCommerceOrder(long commerceOrderId)
public static CommerceOrder fetchCommerceOrder(long groupId, long userId, int orderStatus)
public static CommerceOrder fetchCommerceOrderByReferenceCode(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 foundpublic static 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 foundpublic static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
public static int[] getAvailableOrderStatuses(long commerceOrderId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceOrder getCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
commerceOrderId - the primary key of the commerce orderPortalException - if a commerce order with the primary key could not be foundpublic static 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 groupPortalException - if a matching commerce order could not be foundpublic static 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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.commerce.model.impl.CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)public static java.util.List<CommerceOrder> getCommerceOrders(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
public static java.util.List<CommerceOrder> getCommerceOrders(long siteGroupId, int[] orderStatuses)
public static java.util.List<CommerceOrder> getCommerceOrders(long groupId, long orderUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
public static java.util.List<CommerceOrder> getCommerceOrdersByBillingAddress(long billingAddressId)
public static java.util.List<CommerceOrder> getCommerceOrdersByShippingAddress(long shippingAddressId)
public static java.util.List<CommerceOrder> getCommerceOrdersByUuidAndCompanyId(java.lang.String uuid, long companyId)
uuid - the UUID of the commerce orderscompanyId - the primary key of the companypublic static 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)public static int getCommerceOrdersCount()
public static int getCommerceOrdersCount(long groupId)
public static int getCommerceOrdersCount(long groupId,
long orderUserId)
public static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
public static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
public static java.lang.String getOSGiServiceIdentifier()
public static com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static 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.PortalExceptionpublic static CommerceOrder recalculatePrice(long commerceOrderId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceOrder reorderCommerceOrder(long userId, long commerceOrderId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceOrder resetCommerceOrderShipping(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static 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.PortalExceptionpublic static long searchCommerceOrdersCount(com.liferay.portal.kernel.search.SearchContext searchContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.lang.String startCommerceOrderPayment(long commerceOrderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceOrder submitCommerceOrder(long userId, long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static 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 commerceRegionId, long commerceCountryId, java.lang.String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceOrder updateCommerceOrder(CommerceOrder commerceOrder)
commerceOrder - the commerce orderpublic static CommerceOrder updateCommerceOrder(long commerceOrderId, long billingAddressId, long shippingAddressId, long commercePaymentMethodId, 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.PortalExceptionpublic static CommerceOrder updateCommerceOrder(long commerceOrderId, long billingAddressId, long shippingAddressId, long commercePaymentMethodId, 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, java.lang.String externalReferenceCode, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceOrder updateOrderStatus(long commerceOrderId, int orderStatus) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceOrder updatePaymentStatus(long commerceOrderId, int paymentStatus, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceOrder updatePurchaseOrderNumber(long commerceOrderId, java.lang.String purchaseOrderNumber) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static 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 commerceRegionId, long commerceCountryId, java.lang.String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceOrder updateShippingMethod(long commerceOrderId, long commerceShippingMethodId, java.lang.String shippingOptionName, java.math.BigDecimal shippingAmount, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static 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.PortalExceptionpublic static CommerceOrder updateUser(long commerceOrderId, long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceOrderLocalService getService()