public class CommerceOrderLocalServiceWrapper extends java.lang.Object implements CommerceOrderLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderLocalService>
CommerceOrderLocalService
.CommerceOrderLocalService
Constructor and Description |
---|
CommerceOrderLocalServiceWrapper() |
CommerceOrderLocalServiceWrapper(CommerceOrderLocalService commerceOrderLocalService) |
Modifier and Type | Method and Description |
---|---|
CommerceOrder |
addCommerceOrder(CommerceOrder commerceOrder)
Adds the commerce order to the database.
|
CommerceOrder |
addCommerceOrder(long userId,
long groupId,
long commerceAccountId,
long commerceCurrencyId)
Deprecated.
As of Cavanaugh (7.4.x)
|
CommerceOrder |
addCommerceOrder(long userId,
long groupId,
long commerceAccountId,
long commerceCurrencyId,
long commerceOrderTypeId) |
CommerceOrder |
addCommerceOrder(long userId,
long groupId,
long billingAddressId,
long commerceAccountId,
long commerceCurrencyId,
long commerceOrderTypeId,
long commerceShippingMethodId,
long shippingAddressId,
java.lang.String commercePaymentMethodKey,
int orderDateMonth,
int orderDateDay,
int orderDateYear,
int orderDateHour,
int orderDateMinute,
int orderStatus,
int paymentStatus,
java.lang.String purchaseOrderNumber,
java.math.BigDecimal shippingAmount,
java.lang.String shippingOptionName,
java.math.BigDecimal shippingWithTaxAmount,
java.math.BigDecimal subtotal,
java.math.BigDecimal subtotalWithTaxAmount,
java.math.BigDecimal taxAmount,
java.math.BigDecimal total,
java.math.BigDecimal totalWithTaxAmount,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
addOrUpdateCommerceOrder(java.lang.String externalReferenceCode,
long userId,
long groupId,
long billingAddressId,
long commerceAccountId,
long commerceCurrencyId,
long commerceOrderTypeId,
long commerceShippingMethodId,
long shippingAddressId,
java.lang.String advanceStatus,
java.lang.String commercePaymentMethodKey,
int orderDateMonth,
int orderDateDay,
int orderDateYear,
int orderDateHour,
int orderDateMinute,
int orderStatus,
int paymentStatus,
java.lang.String purchaseOrderNumber,
java.math.BigDecimal shippingAmount,
java.lang.String shippingOptionName,
java.math.BigDecimal shippingWithTaxAmount,
java.math.BigDecimal subtotal,
java.math.BigDecimal subtotalWithTaxAmount,
java.math.BigDecimal taxAmount,
java.math.BigDecimal total,
java.math.BigDecimal totalWithTaxAmount,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
addOrUpdateCommerceOrder(java.lang.String externalReferenceCode,
long userId,
long groupId,
long commerceAccountId,
long commerceCurrencyId,
long billingAddressId,
long shippingAddressId,
java.lang.String commercePaymentMethodKey,
long commerceShippingMethodId,
java.lang.String shippingOptionName,
java.lang.String purchaseOrderNumber,
java.math.BigDecimal subtotal,
java.math.BigDecimal shippingAmount,
java.math.BigDecimal taxAmount,
java.math.BigDecimal total,
java.math.BigDecimal subtotalWithTaxAmount,
java.math.BigDecimal shippingWithTaxAmount,
java.math.BigDecimal totalWithTaxAmount,
int paymentStatus,
int orderDateMonth,
int orderDateDay,
int orderDateYear,
int orderDateHour,
int orderDateMinute,
int orderStatus,
java.lang.String advanceStatus,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Cavanaugh (7.4.x)
|
CommerceOrder |
applyCouponCode(long commerceOrderId,
java.lang.String couponCode,
CommerceContext commerceContext) |
CommerceOrder |
createCommerceOrder(long commerceOrderId)
Creates a new commerce order with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CommerceOrder |
deleteCommerceOrder(CommerceOrder commerceOrder)
Deletes the commerce order from the database.
|
CommerceOrder |
deleteCommerceOrder(long commerceOrderId)
Deletes the commerce order with the primary key from the database.
|
void |
deleteCommerceOrders(long groupId) |
void |
deleteCommerceOrders(long userId,
java.util.Date date,
int status)
Deprecated.
As of Athanasius (7.3.x), delete by commerceAccountId
|
void |
deleteCommerceOrdersByAccountId(long commerceAccountId,
java.util.Date date,
int status) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
CommerceOrder |
executeWorkflowTransition(long userId,
long commerceOrderId,
long workflowTaskId,
java.lang.String transitionName,
java.lang.String comment) |
CommerceOrder |
fetchByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CommerceOrder |
fetchCommerceOrder(long commerceOrderId) |
CommerceOrder |
fetchCommerceOrder(long commerceAccountId,
long groupId,
int orderStatus)
Deprecated.
As of Athanasius (7.3.x)
|
CommerceOrder |
fetchCommerceOrder(long commerceAccountId,
long groupId,
long userId,
int orderStatus) |
CommerceOrder |
fetchCommerceOrderByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
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() |
com.liferay.portal.kernel.service.persistence.BasePersistence<?> |
getBasePersistence() |
CommerceOrder |
getCommerceOrder(long commerceOrderId)
Returns the commerce order with the primary key.
|
CommerceOrder |
getCommerceOrderByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
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 companyId,
long groupId,
long[] commerceAccountIds,
java.lang.String keywords,
int[] orderStatuses,
boolean excludeOrderStatus,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
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 userId,
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 |
resetCommerceOrderAddresses(long commerceOrderId,
boolean billingAddress,
boolean shippingAddress) |
CommerceOrder |
resetCommerceOrderShipping(long commerceOrderId) |
void |
resetCommerceOrderShippingByAddressId(long addressId) |
CommerceOrder |
resetTermsAndConditions(long commerceOrderId,
boolean resetDeliveryCommerceTerm,
boolean resetPaymentCommerceTermEntry) |
com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrder> |
searchCommerceOrders(com.liferay.portal.kernel.search.SearchContext searchContext) |
long |
searchCommerceOrdersCount(com.liferay.portal.kernel.search.SearchContext searchContext) |
void |
setWrappedService(CommerceOrderLocalService commerceOrderLocalService) |
CommerceOrder |
updateAccount(long commerceOrderId,
long userId,
long commerceAccountId) |
CommerceOrder |
updateBillingAddress(long commerceOrderId,
long billingAddressId) |
CommerceOrder |
updateBillingAddress(long commerceOrderId,
java.lang.String name,
java.lang.String description,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long regionId,
long countryId,
java.lang.String phoneNumber,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
updateCommerceOrder(CommerceOrder commerceOrder)
Updates the commerce order in the database or adds it if it does not yet exist.
|
CommerceOrder |
updateCommerceOrder(long userId,
java.lang.String externalReferenceCode,
long commerceOrderId,
long billingAddressId,
long commerceAccountId,
long commerceCurrencyId,
long commerceOrderTypeId,
long commerceShippingMethodId,
long deliveryCommerceTermEntryId,
long paymentCommerceTermEntryId,
long shippingAddressId,
java.lang.String advanceStatus,
java.lang.String commercePaymentMethodKey,
java.lang.String couponCode,
java.lang.String deliveryCommerceTermEntryDescription,
java.lang.String deliveryCommerceTermEntryName,
java.util.Date lastPriceUpdateDate,
boolean manuallyAdjusted,
java.util.Date orderDate,
int orderStatus,
java.lang.String paymentCommerceTermEntryDescription,
java.lang.String paymentCommerceTermEntryName,
int paymentStatus,
java.lang.String printedNote,
java.lang.String purchaseOrderNumber,
java.util.Date requestedDeliveryDate,
boolean shippable,
java.math.BigDecimal shippingAmount,
java.math.BigDecimal shippingDiscountAmount,
java.math.BigDecimal shippingDiscountPercentageLevel1,
java.math.BigDecimal shippingDiscountPercentageLevel2,
java.math.BigDecimal shippingDiscountPercentageLevel3,
java.math.BigDecimal shippingDiscountPercentageLevel4,
java.math.BigDecimal shippingDiscountPercentageLevel1WithTaxAmount,
java.math.BigDecimal shippingDiscountPercentageLevel2WithTaxAmount,
java.math.BigDecimal shippingDiscountPercentageLevel3WithTaxAmount,
java.math.BigDecimal shippingDiscountPercentageLevel4WithTaxAmount,
java.math.BigDecimal shippingDiscountWithTaxAmount,
java.lang.String shippingOptionName,
java.math.BigDecimal shippingWithTaxAmount,
java.math.BigDecimal subtotal,
java.math.BigDecimal subtotalDiscountAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel1,
java.math.BigDecimal subtotalDiscountPercentageLevel2,
java.math.BigDecimal subtotalDiscountPercentageLevel3,
java.math.BigDecimal subtotalDiscountPercentageLevel4,
java.math.BigDecimal subtotalDiscountPercentageLevel1WithTaxAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel2WithTaxAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel3WithTaxAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel4WithTaxAmount,
java.math.BigDecimal subtotalDiscountWithTaxAmount,
java.math.BigDecimal subtotalWithTaxAmount,
java.math.BigDecimal taxAmount,
java.math.BigDecimal total,
java.math.BigDecimal totalDiscountAmount,
java.math.BigDecimal totalDiscountPercentageLevel1,
java.math.BigDecimal totalDiscountPercentageLevel2,
java.math.BigDecimal totalDiscountPercentageLevel3,
java.math.BigDecimal totalDiscountPercentageLevel4,
java.math.BigDecimal totalDiscountPercentageLevel1WithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel2WithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel3WithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel4WithTaxAmount,
java.math.BigDecimal totalDiscountWithTaxAmount,
java.math.BigDecimal totalWithTaxAmount,
java.lang.String transactionId,
int status,
long statusByUserId,
java.lang.String statusByUserName,
java.util.Date statusDate,
boolean recalculate,
CommerceContext commerceContext) |
CommerceOrder |
updateCommerceOrder(java.lang.String externalReferenceCode,
long commerceOrderId,
long billingAddressId,
long commerceShippingMethodId,
long shippingAddressId,
java.lang.String advanceStatus,
java.lang.String commercePaymentMethodKey,
java.lang.String purchaseOrderNumber,
java.math.BigDecimal shippingAmount,
java.lang.String shippingOptionName,
java.math.BigDecimal shippingWithTaxAmount,
java.math.BigDecimal subtotal,
java.math.BigDecimal subtotalWithTaxAmount,
java.math.BigDecimal taxAmount,
java.math.BigDecimal total,
java.math.BigDecimal totalDiscountAmount,
java.math.BigDecimal totalWithTaxAmount,
CommerceContext commerceContext) |
CommerceOrder |
updateCommerceOrder(java.lang.String externalReferenceCode,
long commerceOrderId,
long billingAddressId,
long commerceShippingMethodId,
long shippingAddressId,
java.lang.String advanceStatus,
java.lang.String commercePaymentMethodKey,
java.lang.String purchaseOrderNumber,
java.math.BigDecimal shippingAmount,
java.lang.String shippingOptionName,
java.math.BigDecimal subtotal,
java.math.BigDecimal total,
CommerceContext commerceContext) |
void |
updateCommerceOrderAddresses(long addressId) |
CommerceOrder |
updateCommerceOrderExternalReferenceCode(java.lang.String externalReferenceCode,
long commerceOrderId) |
CommerceOrder |
updateCommerceOrderPrices(long commerceOrderId,
java.math.BigDecimal shippingAmount,
java.math.BigDecimal shippingDiscountAmount,
java.math.BigDecimal shippingDiscountPercentageLevel1,
java.math.BigDecimal shippingDiscountPercentageLevel2,
java.math.BigDecimal shippingDiscountPercentageLevel3,
java.math.BigDecimal shippingDiscountPercentageLevel4,
java.math.BigDecimal subtotal,
java.math.BigDecimal subtotalDiscountAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel1,
java.math.BigDecimal subtotalDiscountPercentageLevel2,
java.math.BigDecimal subtotalDiscountPercentageLevel3,
java.math.BigDecimal subtotalDiscountPercentageLevel4,
java.math.BigDecimal taxAmount,
java.math.BigDecimal total,
java.math.BigDecimal totalDiscountAmount,
java.math.BigDecimal totalDiscountPercentageLevel1,
java.math.BigDecimal totalDiscountPercentageLevel2,
java.math.BigDecimal totalDiscountPercentageLevel3,
java.math.BigDecimal totalDiscountPercentageLevel4) |
CommerceOrder |
updateCommerceOrderPrices(long commerceOrderId,
java.math.BigDecimal shippingAmount,
java.math.BigDecimal shippingDiscountAmount,
java.math.BigDecimal shippingDiscountPercentageLevel1,
java.math.BigDecimal shippingDiscountPercentageLevel2,
java.math.BigDecimal shippingDiscountPercentageLevel3,
java.math.BigDecimal shippingDiscountPercentageLevel4,
java.math.BigDecimal shippingDiscountPercentageLevel1WithTaxAmount,
java.math.BigDecimal shippingDiscountPercentageLevel2WithTaxAmount,
java.math.BigDecimal shippingDiscountPercentageLevel3WithTaxAmount,
java.math.BigDecimal shippingDiscountPercentageLevel4WithTaxAmount,
java.math.BigDecimal shippingDiscountWithTaxAmount,
java.math.BigDecimal shippingWithTaxAmount,
java.math.BigDecimal subtotal,
java.math.BigDecimal subtotalDiscountAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel1,
java.math.BigDecimal subtotalDiscountPercentageLevel2,
java.math.BigDecimal subtotalDiscountPercentageLevel3,
java.math.BigDecimal subtotalDiscountPercentageLevel4,
java.math.BigDecimal subtotalDiscountPercentageLevel1WithTaxAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel2WithTaxAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel3WithTaxAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel4WithTaxAmount,
java.math.BigDecimal subtotalDiscountWithTaxAmount,
java.math.BigDecimal subtotalWithTaxAmount,
java.math.BigDecimal taxAmount,
java.math.BigDecimal total,
java.math.BigDecimal totalDiscountAmount,
java.math.BigDecimal totalDiscountPercentageLevel1,
java.math.BigDecimal totalDiscountPercentageLevel2,
java.math.BigDecimal totalDiscountPercentageLevel3,
java.math.BigDecimal totalDiscountPercentageLevel4,
java.math.BigDecimal totalDiscountPercentageLevel1WithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel2WithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel3WithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel4WithTaxAmount,
java.math.BigDecimal totalDiscountWithTaxAmount,
java.math.BigDecimal totalWithTaxAmount) |
CommerceOrder |
updateCommercePaymentMethodKey(long commerceOrderId,
java.lang.String commercePaymentMethodKey) |
CommerceOrder |
updateCommerceShippingMethod(long commerceOrderId,
long commerceShippingMethodId,
java.lang.String commerceShippingOptionName,
java.math.BigDecimal shippingAmount,
CommerceContext commerceContext) |
CommerceOrder |
updateCommerceShippingMethod(long commerceOrderId,
long commerceShippingMethodId,
java.lang.String commerceShippingOptionName,
CommerceContext commerceContext,
java.util.Locale locale) |
CommerceOrder |
updateInfo(long commerceOrderId,
java.lang.String printedNote,
int requestedDeliveryDateMonth,
int requestedDeliveryDateDay,
int requestedDeliveryDateYear,
int requestedDeliveryDateHour,
int requestedDeliveryDateMinute,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
updateOrderDate(long commerceOrderId,
int orderDateMonth,
int orderDateDay,
int orderDateYear,
int orderDateHour,
int orderDateMinute,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
updatePaymentStatus(long userId,
long commerceOrderId,
int paymentStatus) |
CommerceOrder |
updatePaymentStatusAndTransactionId(long userId,
long commerceOrderId,
int paymentStatus,
java.lang.String transactionId) |
CommerceOrder |
updatePrintedNote(long commerceOrderId,
java.lang.String printedNote) |
CommerceOrder |
updatePurchaseOrderNumber(long commerceOrderId,
java.lang.String purchaseOrderNumber) |
CommerceOrder |
updateShippingAddress(long commerceOrderId,
long shippingAddressId) |
CommerceOrder |
updateShippingAddress(long commerceOrderId,
java.lang.String name,
java.lang.String description,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long regionId,
long countryId,
java.lang.String phoneNumber,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
updateStatus(long userId,
long commerceOrderId,
int status,
java.util.Map<java.lang.String,java.io.Serializable> workflowContext) |
CommerceOrder |
updateTermsAndConditions(long commerceOrderId,
long deliveryCommerceTermEntryId,
long paymentCommerceTermEntryId,
java.lang.String languageId) |
CommerceOrder |
upsertCommerceOrder(java.lang.String externalReferenceCode,
long userId,
long groupId,
long commerceAccountId,
long commerceCurrencyId,
long billingAddressId,
long shippingAddressId,
java.lang.String commercePaymentMethodKey,
long commerceShippingMethodId,
java.lang.String shippingOptionName,
java.lang.String purchaseOrderNumber,
java.math.BigDecimal subtotal,
java.math.BigDecimal shippingAmount,
java.math.BigDecimal total,
int paymentStatus,
int orderStatus,
java.lang.String advanceStatus,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Athanasius (7.3.x)
|
public CommerceOrderLocalServiceWrapper()
public CommerceOrderLocalServiceWrapper(CommerceOrderLocalService commerceOrderLocalService)
public CommerceOrder addCommerceOrder(CommerceOrder commerceOrder)
Important: Inspect CommerceOrderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
addCommerceOrder
in interface 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 billingAddressId, long commerceAccountId, long commerceCurrencyId, long commerceOrderTypeId, long commerceShippingMethodId, long shippingAddressId, java.lang.String commercePaymentMethodKey, int orderDateMonth, int orderDateDay, int orderDateYear, int orderDateHour, int orderDateMinute, int orderStatus, int paymentStatus, java.lang.String purchaseOrderNumber, java.math.BigDecimal shippingAmount, java.lang.String shippingOptionName, java.math.BigDecimal shippingWithTaxAmount, java.math.BigDecimal subtotal, java.math.BigDecimal subtotalWithTaxAmount, java.math.BigDecimal taxAmount, java.math.BigDecimal total, java.math.BigDecimal totalWithTaxAmount, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceOrder
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder addOrUpdateCommerceOrder(java.lang.String externalReferenceCode, long userId, long groupId, long billingAddressId, long commerceAccountId, long commerceCurrencyId, long commerceOrderTypeId, long commerceShippingMethodId, long shippingAddressId, java.lang.String advanceStatus, java.lang.String commercePaymentMethodKey, int orderDateMonth, int orderDateDay, int orderDateYear, int orderDateHour, int orderDateMinute, int orderStatus, int paymentStatus, java.lang.String purchaseOrderNumber, java.math.BigDecimal shippingAmount, java.lang.String shippingOptionName, java.math.BigDecimal shippingWithTaxAmount, java.math.BigDecimal subtotal, java.math.BigDecimal subtotalWithTaxAmount, java.math.BigDecimal taxAmount, java.math.BigDecimal total, java.math.BigDecimal totalWithTaxAmount, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addOrUpdateCommerceOrder
in interface 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) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceOrdersByAccountId
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
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(java.lang.String externalReferenceCode, long companyId)
fetchCommerceOrderByExternalReferenceCode
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(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderByExternalReferenceCode
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 companyId, long groupId, long[] commerceAccountIds, java.lang.String keywords, int[] orderStatuses, boolean excludeOrderStatus, int start, int end, com.liferay.portal.kernel.search.Sort sort) 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 userId, 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 resetCommerceOrderAddresses(long commerceOrderId, boolean billingAddress, boolean shippingAddress) throws com.liferay.portal.kernel.exception.PortalException
resetCommerceOrderAddresses
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 void resetCommerceOrderShippingByAddressId(long addressId) throws com.liferay.portal.kernel.exception.PortalException
resetCommerceOrderShippingByAddressId
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder resetTermsAndConditions(long commerceOrderId, boolean resetDeliveryCommerceTerm, boolean resetPaymentCommerceTermEntry) throws com.liferay.portal.kernel.exception.PortalException
resetTermsAndConditions
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 userId, java.lang.String externalReferenceCode, long commerceOrderId, long billingAddressId, long commerceAccountId, long commerceCurrencyId, long commerceOrderTypeId, long commerceShippingMethodId, long deliveryCommerceTermEntryId, long paymentCommerceTermEntryId, long shippingAddressId, java.lang.String advanceStatus, java.lang.String commercePaymentMethodKey, java.lang.String couponCode, java.lang.String deliveryCommerceTermEntryDescription, java.lang.String deliveryCommerceTermEntryName, java.util.Date lastPriceUpdateDate, boolean manuallyAdjusted, java.util.Date orderDate, int orderStatus, java.lang.String paymentCommerceTermEntryDescription, java.lang.String paymentCommerceTermEntryName, int paymentStatus, java.lang.String printedNote, java.lang.String purchaseOrderNumber, java.util.Date requestedDeliveryDate, boolean shippable, java.math.BigDecimal shippingAmount, java.math.BigDecimal shippingDiscountAmount, java.math.BigDecimal shippingDiscountPercentageLevel1, java.math.BigDecimal shippingDiscountPercentageLevel2, java.math.BigDecimal shippingDiscountPercentageLevel3, java.math.BigDecimal shippingDiscountPercentageLevel4, java.math.BigDecimal shippingDiscountPercentageLevel1WithTaxAmount, java.math.BigDecimal shippingDiscountPercentageLevel2WithTaxAmount, java.math.BigDecimal shippingDiscountPercentageLevel3WithTaxAmount, java.math.BigDecimal shippingDiscountPercentageLevel4WithTaxAmount, java.math.BigDecimal shippingDiscountWithTaxAmount, java.lang.String shippingOptionName, java.math.BigDecimal shippingWithTaxAmount, java.math.BigDecimal subtotal, java.math.BigDecimal subtotalDiscountAmount, java.math.BigDecimal subtotalDiscountPercentageLevel1, java.math.BigDecimal subtotalDiscountPercentageLevel2, java.math.BigDecimal subtotalDiscountPercentageLevel3, java.math.BigDecimal subtotalDiscountPercentageLevel4, java.math.BigDecimal subtotalDiscountPercentageLevel1WithTaxAmount, java.math.BigDecimal subtotalDiscountPercentageLevel2WithTaxAmount, java.math.BigDecimal subtotalDiscountPercentageLevel3WithTaxAmount, java.math.BigDecimal subtotalDiscountPercentageLevel4WithTaxAmount, java.math.BigDecimal subtotalDiscountWithTaxAmount, java.math.BigDecimal subtotalWithTaxAmount, java.math.BigDecimal taxAmount, java.math.BigDecimal total, java.math.BigDecimal totalDiscountAmount, java.math.BigDecimal totalDiscountPercentageLevel1, java.math.BigDecimal totalDiscountPercentageLevel2, java.math.BigDecimal totalDiscountPercentageLevel3, java.math.BigDecimal totalDiscountPercentageLevel4, java.math.BigDecimal totalDiscountPercentageLevel1WithTaxAmount, java.math.BigDecimal totalDiscountPercentageLevel2WithTaxAmount, java.math.BigDecimal totalDiscountPercentageLevel3WithTaxAmount, java.math.BigDecimal totalDiscountPercentageLevel4WithTaxAmount, java.math.BigDecimal totalDiscountWithTaxAmount, java.math.BigDecimal totalWithTaxAmount, java.lang.String transactionId, int status, long statusByUserId, java.lang.String statusByUserName, java.util.Date statusDate, boolean recalculate, 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 commerceShippingMethodId, long shippingAddressId, java.lang.String advanceStatus, java.lang.String commercePaymentMethodKey, java.lang.String purchaseOrderNumber, java.math.BigDecimal shippingAmount, java.lang.String shippingOptionName, java.math.BigDecimal shippingWithTaxAmount, java.math.BigDecimal subtotal, java.math.BigDecimal subtotalWithTaxAmount, java.math.BigDecimal taxAmount, java.math.BigDecimal total, java.math.BigDecimal totalDiscountAmount, java.math.BigDecimal totalWithTaxAmount, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrder
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder updateCommerceOrder(java.lang.String externalReferenceCode, long commerceOrderId, long billingAddressId, long commerceShippingMethodId, long shippingAddressId, java.lang.String advanceStatus, java.lang.String commercePaymentMethodKey, java.lang.String purchaseOrderNumber, java.math.BigDecimal shippingAmount, java.lang.String shippingOptionName, java.math.BigDecimal subtotal, java.math.BigDecimal total, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrder
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public void updateCommerceOrderAddresses(long addressId) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderAddresses
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 shippingAmount, java.math.BigDecimal shippingDiscountAmount, java.math.BigDecimal shippingDiscountPercentageLevel1, java.math.BigDecimal shippingDiscountPercentageLevel2, java.math.BigDecimal shippingDiscountPercentageLevel3, java.math.BigDecimal shippingDiscountPercentageLevel4, java.math.BigDecimal subtotal, java.math.BigDecimal subtotalDiscountAmount, java.math.BigDecimal subtotalDiscountPercentageLevel1, java.math.BigDecimal subtotalDiscountPercentageLevel2, java.math.BigDecimal subtotalDiscountPercentageLevel3, java.math.BigDecimal subtotalDiscountPercentageLevel4, java.math.BigDecimal taxAmount, java.math.BigDecimal total, java.math.BigDecimal totalDiscountAmount, java.math.BigDecimal totalDiscountPercentageLevel1, java.math.BigDecimal totalDiscountPercentageLevel2, java.math.BigDecimal totalDiscountPercentageLevel3, java.math.BigDecimal totalDiscountPercentageLevel4) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderPrices
in interface CommerceOrderLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrder updateCommerceOrderPrices(long commerceOrderId, java.math.BigDecimal shippingAmount, java.math.BigDecimal shippingDiscountAmount, java.math.BigDecimal shippingDiscountPercentageLevel1, java.math.BigDecimal shippingDiscountPercentageLevel2, java.math.BigDecimal shippingDiscountPercentageLevel3, java.math.BigDecimal shippingDiscountPercentageLevel4, java.math.BigDecimal shippingDiscountPercentageLevel1WithTaxAmount, java.math.BigDecimal shippingDiscountPercentageLevel2WithTaxAmount, java.math.BigDecimal shippingDiscountPercentageLevel3WithTaxAmount, java.math.BigDecimal shippingDiscountPercentageLevel4WithTaxAmount, java.math.BigDecimal shippingDiscountWithTaxAmount, java.math.BigDecimal shippingWithTaxAmount, java.math.BigDecimal subtotal, java.math.BigDecimal subtotalDiscountAmount, java.math.BigDecimal subtotalDiscountPercentageLevel1, java.math.BigDecimal subtotalDiscountPercentageLevel2, java.math.BigDecimal subtotalDiscountPercentageLevel3, java.math.BigDecimal subtotalDiscountPercentageLevel4, java.math.BigDecimal subtotalDiscountPercentageLevel1WithTaxAmount, java.math.BigDecimal subtotalDiscountPercentageLevel2WithTaxAmount, java.math.BigDecimal subtotalDiscountPercentageLevel3WithTaxAmount, java.math.BigDecimal subtotalDiscountPercentageLevel4WithTaxAmount, java.math.BigDecimal subtotalDiscountWithTaxAmount, java.math.BigDecimal subtotalWithTaxAmount, java.math.BigDecimal taxAmount, java.math.BigDecimal total, java.math.BigDecimal totalDiscountAmount, java.math.BigDecimal totalDiscountPercentageLevel1, java.math.BigDecimal totalDiscountPercentageLevel2, java.math.BigDecimal totalDiscountPercentageLevel3, java.math.BigDecimal totalDiscountPercentageLevel4, java.math.BigDecimal totalDiscountPercentageLevel1WithTaxAmount, java.math.BigDecimal totalDiscountPercentageLevel2WithTaxAmount, java.math.BigDecimal totalDiscountPercentageLevel3WithTaxAmount, java.math.BigDecimal totalDiscountPercentageLevel4WithTaxAmount, java.math.BigDecimal totalDiscountWithTaxAmount, java.math.BigDecimal totalWithTaxAmount) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderPrices
in interface 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 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 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, 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 updateTermsAndConditions(long commerceOrderId, long deliveryCommerceTermEntryId, long paymentCommerceTermEntryId, java.lang.String languageId) throws com.liferay.portal.kernel.exception.PortalException
updateTermsAndConditions
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 com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
getBasePersistence
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
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>