@ProviderType public class CommerceOrderLocalServiceWrapper extends java.lang.Object implements CommerceOrderLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderLocalService>
CommerceOrderLocalService.CommerceOrderLocalService| Constructor and Description |
|---|
CommerceOrderLocalServiceWrapper(CommerceOrderLocalService commerceOrderLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CommerceOrder |
addCommerceOrder(CommerceOrder commerceOrder)
Adds the commerce order to the database.
|
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) |
CommerceOrder |
addOrganizationCommerceOrder(long groupId,
long userId,
long siteGroupId,
long orderOrganizationId,
long commerceCurrencyId,
long shippingAddressId,
java.lang.String purchaseOrderNumber) |
CommerceOrder |
addOrganizationCommerceOrder(long groupId,
long userId,
long siteGroupId,
long orderOrganizationId,
long shippingAddressId,
java.lang.String purchaseOrderNumber) |
CommerceOrder |
addUserCommerceOrder(long groupId,
long userId) |
CommerceOrder |
addUserCommerceOrder(long groupId,
long userId,
long orderUserId) |
CommerceOrder |
addUserCommerceOrder(long groupId,
long userId,
long orderUserId,
long commerceCurrencyId) |
CommerceOrder |
approveCommerceOrder(long userId,
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) |
CommerceOrder |
createCommerceOrder(long commerceOrderId)
Creates a new commerce order with the primary key.
|
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) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
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(long companyId,
java.lang.String externalReferenceCode) |
CommerceOrder |
fetchCommerceOrder(long commerceOrderId) |
CommerceOrder |
fetchCommerceOrder(long groupId,
long userId,
int orderStatus) |
CommerceOrder |
fetchCommerceOrderByReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce order with the matching external reference code and company.
|
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() |
int[] |
getAvailableOrderStatuses(long commerceOrderId) |
CommerceOrder |
getCommerceOrder(long commerceOrderId)
Returns the commerce order with the primary key.
|
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 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) |
java.util.List<CommerceOrder> |
getCommerceOrdersByBillingAddress(long billingAddressId) |
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 orderUserId) |
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) |
CommerceOrderLocalService |
getWrappedService() |
void |
mergeGuestCommerceOrder(long guestCommerceOrderId,
long userCommerceOrderId,
CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
recalculatePrice(long commerceOrderId,
CommerceContext commerceContext) |
CommerceOrder |
reorderCommerceOrder(long userId,
long commerceOrderId,
CommerceContext commerceContext) |
CommerceOrder |
resetCommerceOrderShipping(long commerceOrderId) |
com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceOrder> |
searchCommerceOrders(com.liferay.portal.kernel.search.SearchContext searchContext) |
long |
searchCommerceOrdersCount(com.liferay.portal.kernel.search.SearchContext searchContext) |
void |
setWrappedService(CommerceOrderLocalService commerceOrderLocalService) |
java.lang.String |
startCommerceOrderPayment(long commerceOrderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrder |
submitCommerceOrder(long userId,
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(CommerceOrder commerceOrder)
Updates the commerce order in the database or adds it if it does not yet exist.
|
CommerceOrder |
updateCommerceOrder(long commerceOrderId,
long billingAddressId,
long shippingAddressId,
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 |
updateShippingMethod(long commerceOrderId,
long commerceShippingMethodId,
java.lang.String shippingOptionName,
java.math.BigDecimal shippingAmount,
CommerceContext commerceContext) |
CommerceOrder |
updateStatus(long userId,
long commerceOrderId,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext,
java.util.Map<java.lang.String,java.io.Serializable> workflowContext) |
CommerceOrder |
updateUser(long commerceOrderId,
long userId) |
public CommerceOrderLocalServiceWrapper(CommerceOrderLocalService commerceOrderLocalService)
public CommerceOrder addCommerceOrder(CommerceOrder commerceOrder)
addCommerceOrder in interface CommerceOrderLocalServicecommerceOrder - the commerce orderpublic 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
addCommerceOrder in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
addOrganizationCommerceOrder in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder addOrganizationCommerceOrder(long groupId, long userId, long siteGroupId, long orderOrganizationId, long shippingAddressId, java.lang.String purchaseOrderNumber) throws com.liferay.portal.kernel.exception.PortalException
addOrganizationCommerceOrder in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder addUserCommerceOrder(long groupId, long userId) throws com.liferay.portal.kernel.exception.PortalException
addUserCommerceOrder in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder addUserCommerceOrder(long groupId, long userId, long orderUserId) throws com.liferay.portal.kernel.exception.PortalException
addUserCommerceOrder in interface CommerceOrderLocalServicecom.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 CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder approveCommerceOrder(long userId, long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
approveCommerceOrder in interface CommerceOrderLocalServicecom.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 CommerceOrderLocalServicecom.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 CommerceOrderLocalServicecom.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 CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder createCommerceOrder(long commerceOrderId)
createCommerceOrder in interface CommerceOrderLocalServicecommerceOrderId - the primary key for the new commerce orderpublic CommerceOrder deleteCommerceOrder(CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceOrder in interface CommerceOrderLocalServicecommerceOrder - the commerce orderPortalExceptionpublic CommerceOrder deleteCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceOrder in interface CommerceOrderLocalServicecommerceOrderId - 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 CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCommerceOrders(long userId,
java.util.Date date,
int status)
deleteCommerceOrders in interface CommerceOrderLocalServicepublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface CommerceOrderLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CommerceOrderLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CommerceOrderLocalServicedynamicQuery - 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 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 in interface CommerceOrderLocalServicedynamicQuery - 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 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 in interface CommerceOrderLocalServicedynamicQuery - 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 CommerceOrderLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CommerceOrderLocalServicedynamicQuery - 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 CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder fetchByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchByExternalReferenceCode in interface CommerceOrderLocalServicepublic CommerceOrder fetchCommerceOrder(long commerceOrderId)
fetchCommerceOrder in interface CommerceOrderLocalServicepublic CommerceOrder fetchCommerceOrder(long groupId, long userId, int orderStatus)
fetchCommerceOrder in interface CommerceOrderLocalServicepublic CommerceOrder fetchCommerceOrderByReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommerceOrderByReferenceCode in interface CommerceOrderLocalServicecompanyId - the primary key of the companyexternalReferenceCode - the commerce order's external reference codenull if a matching commerce order could not be foundpublic CommerceOrder fetchCommerceOrderByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchCommerceOrderByUuidAndGroupId in interface CommerceOrderLocalServiceuuid - 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 CommerceOrderLocalServicepublic int[] getAvailableOrderStatuses(long commerceOrderId)
throws com.liferay.portal.kernel.exception.PortalException
getAvailableOrderStatuses in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder getCommerceOrder(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrder in interface CommerceOrderLocalServicecommerceOrderId - the primary key of the commerce orderPortalException - if a commerce order with the primary key could not be foundpublic CommerceOrder getCommerceOrderByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderByUuidAndGroupId in interface CommerceOrderLocalServiceuuid - 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 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.
getCommerceOrders in interface CommerceOrderLocalServicestart - 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 CommerceOrderLocalServicepublic java.util.List<CommerceOrder> getCommerceOrders(long siteGroupId, int[] orderStatuses)
getCommerceOrders in interface CommerceOrderLocalServicepublic java.util.List<CommerceOrder> getCommerceOrders(long groupId, long orderUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
getCommerceOrders in interface CommerceOrderLocalServicepublic java.util.List<CommerceOrder> getCommerceOrdersByBillingAddress(long billingAddressId)
getCommerceOrdersByBillingAddress in interface CommerceOrderLocalServicepublic java.util.List<CommerceOrder> getCommerceOrdersByShippingAddress(long shippingAddressId)
getCommerceOrdersByShippingAddress in interface CommerceOrderLocalServicepublic java.util.List<CommerceOrder> getCommerceOrdersByUuidAndCompanyId(java.lang.String uuid, long companyId)
getCommerceOrdersByUuidAndCompanyId in interface CommerceOrderLocalServiceuuid - 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 CommerceOrderLocalServiceuuid - 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 CommerceOrderLocalServicepublic int getCommerceOrdersCount(long groupId)
getCommerceOrdersCount in interface CommerceOrderLocalServicepublic int getCommerceOrdersCount(long groupId,
long orderUserId)
getCommerceOrdersCount in interface CommerceOrderLocalServicepublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface CommerceOrderLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CommerceOrderLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceOrderLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CommerceOrderLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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 CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder recalculatePrice(long commerceOrderId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
recalculatePrice in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder reorderCommerceOrder(long userId, long commerceOrderId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
reorderCommerceOrder in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder resetCommerceOrderShipping(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
resetCommerceOrderShipping in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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 CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic long searchCommerceOrdersCount(com.liferay.portal.kernel.search.SearchContext searchContext)
throws com.liferay.portal.kernel.exception.PortalException
searchCommerceOrdersCount in interface CommerceOrderLocalServicecom.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 CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder submitCommerceOrder(long userId, long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
submitCommerceOrder in interface CommerceOrderLocalServicecom.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 CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateCommerceOrder(CommerceOrder commerceOrder)
updateCommerceOrder in interface CommerceOrderLocalServicecommerceOrder - the commerce orderpublic 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 CommerceOrderLocalServicecom.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 CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateOrderStatus(long commerceOrderId, int orderStatus) throws com.liferay.portal.kernel.exception.PortalException
updateOrderStatus in interface CommerceOrderLocalServicecom.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 CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updatePurchaseOrderNumber(long commerceOrderId, java.lang.String purchaseOrderNumber) throws com.liferay.portal.kernel.exception.PortalException
updatePurchaseOrderNumber in interface CommerceOrderLocalServicecom.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 CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateShippingMethod(long commerceOrderId, long commerceShippingMethodId, java.lang.String shippingOptionName, java.math.BigDecimal shippingAmount, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
updateShippingMethod in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateStatus(long userId, long commerceOrderId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext, java.util.Map<java.lang.String,java.io.Serializable> workflowContext) throws com.liferay.portal.kernel.exception.PortalException
updateStatus in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrder updateUser(long commerceOrderId, long userId) throws com.liferay.portal.kernel.exception.PortalException
updateUser in interface CommerceOrderLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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>