@ProviderType public class CommerceOrderServiceWrapper extends java.lang.Object implements CommerceOrderService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderService>
CommerceOrderService.CommerceOrderService| Constructor and Description |
|---|
CommerceOrderServiceWrapper(CommerceOrderService commerceOrderService) |
| Modifier and Type | Method and Description |
|---|---|
CommerceOrder |
addOrganizationCommerceOrder(long groupId,
long siteGroupId,
long orderOrganizationId,
long commerceCurrencyId,
long shippingAddressId,
java.lang.String purchaseOrderNumber) |
CommerceOrder |
addOrganizationCommerceOrder(long groupId,
long siteGroupId,
long orderOrganizationId,
long shippingAddressId,
java.lang.String purchaseOrderNumber) |
CommerceOrder |
addUserCommerceOrder(long groupId,
long userId,
long orderUserId,
long commerceCurrencyId) |
CommerceOrder |
approveCommerceOrder(long commerceOrderId) |
CommerceOrder |
cancelCommerceOrderPayment(long commerceOrderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
checkoutCommerceOrder(long commerceOrderId,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
completeCommerceOrderPayment(long commerceOrderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteCommerceOrder(long commerceOrderId) |
CommerceOrder |
executeWorkflowTransition(long commerceOrderId,
long workflowTaskId,
java.lang.String transitionName,
java.lang.String comment) |
CommerceOrder |
fetchByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode) |
CommerceOrder |
fetchCommerceOrder(long commerceOrderId) |
CommerceOrder |
fetchCommerceOrder(long groupId,
int orderStatus) |
CommerceOrder |
fetchCommerceOrder(java.lang.String uuid,
long groupId) |
int[] |
getAvailableOrderStatuses(long commerceOrderId) |
CommerceOrder |
getCommerceOrder(long commerceOrderId) |
CommerceOrder |
getCommerceOrderByUuidAndGroupId(java.lang.String uuid,
long groupId) |
java.util.List<CommerceOrder> |
getCommerceOrders(long siteGroupId,
int[] orderStatuses) |
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 orderUserId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) |
int |
getCommerceOrdersCount(long groupId) |
int |
getCommerceOrdersCount(long groupId,
long orderUserId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CommerceOrderService |
getWrappedService() |
void |
mergeGuestCommerceOrder(long guestCommerceOrderId,
long userCommerceOrderId,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
reorderCommerceOrder(long commerceOrderId,
CommerceContext commerceContext) |
void |
setWrappedService(CommerceOrderService commerceOrderService) |
java.lang.String |
startCommerceOrderPayment(long commerceOrderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
submitCommerceOrder(long commerceOrderId) |
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) |
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) |
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) |
CommerceOrder |
updateOrderStatus(long commerceOrderId,
int orderStatus) |
CommerceOrder |
updatePaymentStatus(long commerceOrderId,
int paymentStatus,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
updatePurchaseOrderNumber(long commerceOrderId,
java.lang.String purchaseOrderNumber) |
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) |
CommerceOrder |
updateUser(long commerceOrderId,
long userId) |
public CommerceOrderServiceWrapper(CommerceOrderService commerceOrderService)
public CommerceOrder addOrganizationCommerceOrder(long groupId, long siteGroupId, long orderOrganizationId, long commerceCurrencyId, long shippingAddressId, java.lang.String purchaseOrderNumber) throws com.liferay.portal.kernel.exception.PortalException
addOrganizationCommerceOrder in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder addOrganizationCommerceOrder(long groupId, long siteGroupId, long orderOrganizationId, long shippingAddressId, java.lang.String purchaseOrderNumber) throws com.liferay.portal.kernel.exception.PortalException
addOrganizationCommerceOrder in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder addUserCommerceOrder(long groupId, long userId, long orderUserId, long commerceCurrencyId) throws com.liferay.portal.kernel.exception.PortalException
addUserCommerceOrder in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder approveCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
approveCommerceOrder in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder cancelCommerceOrderPayment(long commerceOrderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
cancelCommerceOrderPayment in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder checkoutCommerceOrder(long commerceOrderId, CommerceContext commerceContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
checkoutCommerceOrder in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder completeCommerceOrderPayment(long commerceOrderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
completeCommerceOrderPayment in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCommerceOrder(long commerceOrderId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceOrder in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder executeWorkflowTransition(long commerceOrderId, long workflowTaskId, java.lang.String transitionName, java.lang.String comment) throws com.liferay.portal.kernel.exception.PortalException
executeWorkflowTransition in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder fetchByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
fetchByExternalReferenceCode in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder fetchCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
fetchCommerceOrder in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder fetchCommerceOrder(long groupId, int orderStatus) throws com.liferay.portal.kernel.exception.PortalException
fetchCommerceOrder in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder fetchCommerceOrder(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
fetchCommerceOrder in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int[] getAvailableOrderStatuses(long commerceOrderId)
throws com.liferay.portal.kernel.exception.PortalException
getAvailableOrderStatuses in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder getCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrder in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder getCommerceOrderByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderByUuidAndGroupId in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceOrder> getCommerceOrders(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrders in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceOrder> getCommerceOrders(long siteGroupId, int[] orderStatuses) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrders in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceOrder> getCommerceOrders(long groupId, long orderUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrders in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getCommerceOrdersCount(long groupId)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrdersCount in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getCommerceOrdersCount(long groupId,
long orderUserId)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrdersCount in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceOrderServicepublic void mergeGuestCommerceOrder(long guestCommerceOrderId,
long userCommerceOrderId,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
mergeGuestCommerceOrder in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder reorderCommerceOrder(long commerceOrderId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
reorderCommerceOrder in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String startCommerceOrderPayment(long commerceOrderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
startCommerceOrderPayment in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder submitCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
submitCommerceOrder in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateBillingAddress(long commerceOrderId, java.lang.String name, java.lang.String description, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long commerceRegionId, long commerceCountryId, java.lang.String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateBillingAddress in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
updateCommerceOrder in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
updateCommerceOrder in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateOrderStatus(long commerceOrderId, int orderStatus) throws com.liferay.portal.kernel.exception.PortalException
updateOrderStatus in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updatePaymentStatus(long commerceOrderId, int paymentStatus, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updatePaymentStatus in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updatePurchaseOrderNumber(long commerceOrderId, java.lang.String purchaseOrderNumber) throws com.liferay.portal.kernel.exception.PortalException
updatePurchaseOrderNumber in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateShippingAddress(long commerceOrderId, java.lang.String name, java.lang.String description, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long commerceRegionId, long commerceCountryId, java.lang.String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateShippingAddress in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateUser(long commerceOrderId, long userId) throws com.liferay.portal.kernel.exception.PortalException
updateUser in interface CommerceOrderServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderService>public void setWrappedService(CommerceOrderService commerceOrderService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderService>