com.liferay.commerce.service.http.CommerceOrderServiceHttp Maven / Gradle / Ivy
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.commerce.service.http;
import com.liferay.commerce.service.CommerceOrderServiceUtil;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.security.auth.HttpPrincipal;
import com.liferay.portal.kernel.service.http.TunnelUtil;
import com.liferay.portal.kernel.util.MethodHandler;
import com.liferay.portal.kernel.util.MethodKey;
/**
* Provides the HTTP utility for the
* CommerceOrderServiceUtil
service
* utility. The
* static methods of this class calls the same methods of the service utility.
* However, the signatures are different because it requires an additional
* HttpPrincipal
parameter.
*
*
* The benefits of using the HTTP utility is that it is fast and allows for
* tunneling without the cost of serializing to text. The drawback is that it
* only works with Java.
*
*
*
* Set the property tunnel.servlet.hosts.allowed in portal.properties to
* configure security.
*
*
*
* The HTTP utility is only generated for remote services.
*
*
* @author Alessio Antonio Rendina
* @see CommerceOrderServiceSoap
* @generated
*/
public class CommerceOrderServiceHttp {
public static com.liferay.commerce.model.CommerceOrder addCommerceOrder(
HttpPrincipal httpPrincipal, long userId, long groupId,
long commerceAccountId, long commerceCurrencyId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "addCommerceOrder",
_addCommerceOrderParameterTypes0);
MethodHandler methodHandler = new MethodHandler(
methodKey, userId, groupId, commerceAccountId,
commerceCurrencyId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder addCommerceOrder(
HttpPrincipal httpPrincipal, long groupId, long commerceAccountId,
long commerceCurrencyId, long shippingAddressId,
String purchaseOrderNumber)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "addCommerceOrder",
_addCommerceOrderParameterTypes1);
MethodHandler methodHandler = new MethodHandler(
methodKey, groupId, commerceAccountId, commerceCurrencyId,
shippingAddressId, purchaseOrderNumber);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder addCommerceOrder(
HttpPrincipal httpPrincipal, long groupId, long commerceAccountId,
long shippingAddressId, String purchaseOrderNumber)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "addCommerceOrder",
_addCommerceOrderParameterTypes2);
MethodHandler methodHandler = new MethodHandler(
methodKey, groupId, commerceAccountId, shippingAddressId,
purchaseOrderNumber);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder applyCouponCode(
HttpPrincipal httpPrincipal, long commerceOrderId,
String couponCode,
com.liferay.commerce.context.CommerceContext commerceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "applyCouponCode",
_applyCouponCodeParameterTypes3);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, couponCode, commerceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static void deleteCommerceOrder(
HttpPrincipal httpPrincipal, long commerceOrderId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "deleteCommerceOrder",
_deleteCommerceOrderParameterTypes4);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder
executeWorkflowTransition(
HttpPrincipal httpPrincipal, long commerceOrderId,
long workflowTaskId, String transitionName, String comment)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "executeWorkflowTransition",
_executeWorkflowTransitionParameterTypes5);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, workflowTaskId, transitionName,
comment);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder
fetchByExternalReferenceCode(
HttpPrincipal httpPrincipal, long companyId,
String externalReferenceCode)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "fetchByExternalReferenceCode",
_fetchByExternalReferenceCodeParameterTypes6);
MethodHandler methodHandler = new MethodHandler(
methodKey, companyId, externalReferenceCode);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder fetchCommerceOrder(
HttpPrincipal httpPrincipal, long commerceOrderId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "fetchCommerceOrder",
_fetchCommerceOrderParameterTypes7);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder fetchCommerceOrder(
HttpPrincipal httpPrincipal, long commerceAccountId, long groupId,
int orderStatus)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "fetchCommerceOrder",
_fetchCommerceOrderParameterTypes8);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceAccountId, groupId, orderStatus);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder fetchCommerceOrder(
HttpPrincipal httpPrincipal, long commerceAccountId, long groupId,
long userId, int orderStatus)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "fetchCommerceOrder",
_fetchCommerceOrderParameterTypes9);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceAccountId, groupId, userId, orderStatus);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder fetchCommerceOrder(
HttpPrincipal httpPrincipal, String uuid, long groupId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "fetchCommerceOrder",
_fetchCommerceOrderParameterTypes10);
MethodHandler methodHandler = new MethodHandler(
methodKey, uuid, groupId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder getCommerceOrder(
HttpPrincipal httpPrincipal, long commerceOrderId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "getCommerceOrder",
_getCommerceOrderParameterTypes11);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder
getCommerceOrderByUuidAndGroupId(
HttpPrincipal httpPrincipal, String uuid, long groupId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class,
"getCommerceOrderByUuidAndGroupId",
_getCommerceOrderByUuidAndGroupIdParameterTypes12);
MethodHandler methodHandler = new MethodHandler(
methodKey, uuid, groupId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static java.util.List
getCommerceOrders(
HttpPrincipal httpPrincipal, long groupId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "getCommerceOrders",
_getCommerceOrdersParameterTypes13);
MethodHandler methodHandler = new MethodHandler(
methodKey, groupId, start, end, orderByComparator);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (java.util.List)
returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static java.util.List
getCommerceOrders(
HttpPrincipal httpPrincipal, long groupId, int[] orderStatuses)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "getCommerceOrders",
_getCommerceOrdersParameterTypes14);
MethodHandler methodHandler = new MethodHandler(
methodKey, groupId, orderStatuses);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (java.util.List)
returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static java.util.List
getCommerceOrders(
HttpPrincipal httpPrincipal, long groupId, int[] orderStatuses,
int start, int end)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "getCommerceOrders",
_getCommerceOrdersParameterTypes15);
MethodHandler methodHandler = new MethodHandler(
methodKey, groupId, orderStatuses, start, end);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (java.util.List)
returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static java.util.List
getCommerceOrders(
HttpPrincipal httpPrincipal, long groupId,
long commerceAccountId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "getCommerceOrders",
_getCommerceOrdersParameterTypes16);
MethodHandler methodHandler = new MethodHandler(
methodKey, groupId, commerceAccountId, start, end,
orderByComparator);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (java.util.List)
returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static int getCommerceOrdersCount(
HttpPrincipal httpPrincipal, long groupId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "getCommerceOrdersCount",
_getCommerceOrdersCountParameterTypes17);
MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return ((Integer)returnObj).intValue();
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static int getCommerceOrdersCount(
HttpPrincipal httpPrincipal, long groupId, long commerceAccountId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "getCommerceOrdersCount",
_getCommerceOrdersCountParameterTypes18);
MethodHandler methodHandler = new MethodHandler(
methodKey, groupId, commerceAccountId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return ((Integer)returnObj).intValue();
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static java.util.List
getPendingCommerceOrders(
HttpPrincipal httpPrincipal, long groupId,
long commerceAccountId, String keywords, int start, int end)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "getPendingCommerceOrders",
_getPendingCommerceOrdersParameterTypes19);
MethodHandler methodHandler = new MethodHandler(
methodKey, groupId, commerceAccountId, keywords, start, end);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (java.util.List)
returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static long getPendingCommerceOrdersCount(
HttpPrincipal httpPrincipal, long companyId, long groupId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "getPendingCommerceOrdersCount",
_getPendingCommerceOrdersCountParameterTypes20);
MethodHandler methodHandler = new MethodHandler(
methodKey, companyId, groupId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return ((Long)returnObj).longValue();
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static int getPendingCommerceOrdersCount(
HttpPrincipal httpPrincipal, long groupId, long commerceAccountId,
String keywords)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "getPendingCommerceOrdersCount",
_getPendingCommerceOrdersCountParameterTypes21);
MethodHandler methodHandler = new MethodHandler(
methodKey, groupId, commerceAccountId, keywords);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return ((Integer)returnObj).intValue();
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static java.util.List
getPlacedCommerceOrders(
HttpPrincipal httpPrincipal, long companyId, long groupId,
int start, int end)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "getPlacedCommerceOrders",
_getPlacedCommerceOrdersParameterTypes22);
MethodHandler methodHandler = new MethodHandler(
methodKey, companyId, groupId, start, end);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (java.util.List)
returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static java.util.List
getPlacedCommerceOrders(
HttpPrincipal httpPrincipal, long groupId,
long commerceAccountId, String keywords, int start, int end)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "getPlacedCommerceOrders",
_getPlacedCommerceOrdersParameterTypes23);
MethodHandler methodHandler = new MethodHandler(
methodKey, groupId, commerceAccountId, keywords, start, end);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (java.util.List)
returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static long getPlacedCommerceOrdersCount(
HttpPrincipal httpPrincipal, long companyId, long groupId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "getPlacedCommerceOrdersCount",
_getPlacedCommerceOrdersCountParameterTypes24);
MethodHandler methodHandler = new MethodHandler(
methodKey, companyId, groupId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return ((Long)returnObj).longValue();
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static int getPlacedCommerceOrdersCount(
HttpPrincipal httpPrincipal, long groupId, long commerceAccountId,
String keywords)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "getPlacedCommerceOrdersCount",
_getPlacedCommerceOrdersCountParameterTypes25);
MethodHandler methodHandler = new MethodHandler(
methodKey, groupId, commerceAccountId, keywords);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return ((Integer)returnObj).intValue();
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static java.util.List
getUserPendingCommerceOrders(
HttpPrincipal httpPrincipal, long companyId, long groupId,
String keywords, int start, int end)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "getUserPendingCommerceOrders",
_getUserPendingCommerceOrdersParameterTypes26);
MethodHandler methodHandler = new MethodHandler(
methodKey, companyId, groupId, keywords, start, end);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (java.util.List)
returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static long getUserPendingCommerceOrdersCount(
HttpPrincipal httpPrincipal, long companyId, long groupId,
String keywords)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class,
"getUserPendingCommerceOrdersCount",
_getUserPendingCommerceOrdersCountParameterTypes27);
MethodHandler methodHandler = new MethodHandler(
methodKey, companyId, groupId, keywords);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return ((Long)returnObj).longValue();
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static java.util.List
getUserPlacedCommerceOrders(
HttpPrincipal httpPrincipal, long companyId, long groupId,
String keywords, int start, int end)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "getUserPlacedCommerceOrders",
_getUserPlacedCommerceOrdersParameterTypes28);
MethodHandler methodHandler = new MethodHandler(
methodKey, companyId, groupId, keywords, start, end);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (java.util.List)
returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static long getUserPlacedCommerceOrdersCount(
HttpPrincipal httpPrincipal, long companyId, long groupId,
String keywords)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class,
"getUserPlacedCommerceOrdersCount",
_getUserPlacedCommerceOrdersCountParameterTypes29);
MethodHandler methodHandler = new MethodHandler(
methodKey, companyId, groupId, keywords);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return ((Long)returnObj).longValue();
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static void mergeGuestCommerceOrder(
HttpPrincipal httpPrincipal, long guestCommerceOrderId,
long userCommerceOrderId,
com.liferay.commerce.context.CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "mergeGuestCommerceOrder",
_mergeGuestCommerceOrderParameterTypes30);
MethodHandler methodHandler = new MethodHandler(
methodKey, guestCommerceOrderId, userCommerceOrderId,
commerceContext, serviceContext);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder recalculatePrice(
HttpPrincipal httpPrincipal, long commerceOrderId,
com.liferay.commerce.context.CommerceContext commerceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "recalculatePrice",
_recalculatePriceParameterTypes31);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, commerceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder reorderCommerceOrder(
HttpPrincipal httpPrincipal, long commerceOrderId,
com.liferay.commerce.context.CommerceContext commerceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "reorderCommerceOrder",
_reorderCommerceOrderParameterTypes32);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, commerceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder updateBillingAddress(
HttpPrincipal httpPrincipal, long commerceOrderId,
long billingAddressId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "updateBillingAddress",
_updateBillingAddressParameterTypes33);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, billingAddressId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder updateBillingAddress(
HttpPrincipal httpPrincipal, long commerceOrderId, String name,
String description, String street1, String street2, String street3,
String city, String zip, long commerceRegionId,
long commerceCountryId, String phoneNumber,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "updateBillingAddress",
_updateBillingAddressParameterTypes34);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, name, description, street1, street2,
street3, city, zip, commerceRegionId, commerceCountryId,
phoneNumber, serviceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder updateCommerceOrder(
HttpPrincipal httpPrincipal,
com.liferay.commerce.model.CommerceOrder commerceOrder)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "updateCommerceOrder",
_updateCommerceOrderParameterTypes35);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrder);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder updateCommerceOrder(
HttpPrincipal httpPrincipal, long commerceOrderId,
long billingAddressId, long shippingAddressId,
String commercePaymentMethodKey, long commerceShippingMethodId,
String shippingOptionName, String purchaseOrderNumber,
java.math.BigDecimal subtotal, java.math.BigDecimal shippingAmount,
java.math.BigDecimal total,
java.math.BigDecimal subtotalWithTaxAmount,
java.math.BigDecimal shippingWithTaxAmount,
java.math.BigDecimal totalWithTaxAmount, String advanceStatus,
String externalReferenceCode,
com.liferay.commerce.context.CommerceContext commerceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "updateCommerceOrder",
_updateCommerceOrderParameterTypes36);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, billingAddressId, shippingAddressId,
commercePaymentMethodKey, commerceShippingMethodId,
shippingOptionName, purchaseOrderNumber, subtotal,
shippingAmount, total, subtotalWithTaxAmount,
shippingWithTaxAmount, totalWithTaxAmount, advanceStatus,
externalReferenceCode, commerceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder updateCommerceOrder(
HttpPrincipal httpPrincipal, long commerceOrderId,
long billingAddressId, long shippingAddressId,
String commercePaymentMethodKey, long commerceShippingMethodId,
String shippingOptionName, String purchaseOrderNumber,
java.math.BigDecimal subtotal, java.math.BigDecimal shippingAmount,
java.math.BigDecimal total, String advanceStatus,
com.liferay.commerce.context.CommerceContext commerceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "updateCommerceOrder",
_updateCommerceOrderParameterTypes37);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, billingAddressId, shippingAddressId,
commercePaymentMethodKey, commerceShippingMethodId,
shippingOptionName, purchaseOrderNumber, subtotal,
shippingAmount, total, advanceStatus, commerceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder updateCommerceOrder(
HttpPrincipal httpPrincipal, long commerceOrderId,
long billingAddressId, long shippingAddressId,
String commercePaymentMethodKey, long commerceShippingMethodId,
String shippingOptionName, String purchaseOrderNumber,
java.math.BigDecimal subtotal, java.math.BigDecimal shippingAmount,
java.math.BigDecimal total, String advanceStatus,
String externalReferenceCode,
com.liferay.commerce.context.CommerceContext commerceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "updateCommerceOrder",
_updateCommerceOrderParameterTypes38);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, billingAddressId, shippingAddressId,
commercePaymentMethodKey, commerceShippingMethodId,
shippingOptionName, purchaseOrderNumber, subtotal,
shippingAmount, total, advanceStatus, externalReferenceCode,
commerceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder
updateCommerceOrderExternalReferenceCode(
HttpPrincipal httpPrincipal, long commerceOrderId,
String externalReferenceCode)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class,
"updateCommerceOrderExternalReferenceCode",
_updateCommerceOrderExternalReferenceCodeParameterTypes39);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, externalReferenceCode);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder
updateCommerceOrderPrices(
HttpPrincipal httpPrincipal, long commerceOrderId,
java.math.BigDecimal subtotal,
java.math.BigDecimal subtotalDiscountAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel1,
java.math.BigDecimal subtotalDiscountPercentageLevel2,
java.math.BigDecimal subtotalDiscountPercentageLevel3,
java.math.BigDecimal subtotalDiscountPercentageLevel4,
java.math.BigDecimal shippingAmount,
java.math.BigDecimal shippingDiscountAmount,
java.math.BigDecimal shippingDiscountPercentageLevel1,
java.math.BigDecimal shippingDiscountPercentageLevel2,
java.math.BigDecimal shippingDiscountPercentageLevel3,
java.math.BigDecimal shippingDiscountPercentageLevel4,
java.math.BigDecimal taxAmount, java.math.BigDecimal total,
java.math.BigDecimal totalDiscountAmount,
java.math.BigDecimal totalDiscountPercentageLevel1,
java.math.BigDecimal totalDiscountPercentageLevel2,
java.math.BigDecimal totalDiscountPercentageLevel3,
java.math.BigDecimal totalDiscountPercentageLevel4)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "updateCommerceOrderPrices",
_updateCommerceOrderPricesParameterTypes40);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, subtotal, subtotalDiscountAmount,
subtotalDiscountPercentageLevel1,
subtotalDiscountPercentageLevel2,
subtotalDiscountPercentageLevel3,
subtotalDiscountPercentageLevel4, shippingAmount,
shippingDiscountAmount, shippingDiscountPercentageLevel1,
shippingDiscountPercentageLevel2,
shippingDiscountPercentageLevel3,
shippingDiscountPercentageLevel4, taxAmount, total,
totalDiscountAmount, totalDiscountPercentageLevel1,
totalDiscountPercentageLevel2, totalDiscountPercentageLevel3,
totalDiscountPercentageLevel4);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder
updateCommerceOrderPrices(
HttpPrincipal httpPrincipal, long commerceOrderId,
java.math.BigDecimal subtotal,
java.math.BigDecimal subtotalDiscountAmount,
java.math.BigDecimal subtotalDiscountPercentageLevel1,
java.math.BigDecimal subtotalDiscountPercentageLevel2,
java.math.BigDecimal subtotalDiscountPercentageLevel3,
java.math.BigDecimal subtotalDiscountPercentageLevel4,
java.math.BigDecimal shippingAmount,
java.math.BigDecimal shippingDiscountAmount,
java.math.BigDecimal shippingDiscountPercentageLevel1,
java.math.BigDecimal shippingDiscountPercentageLevel2,
java.math.BigDecimal shippingDiscountPercentageLevel3,
java.math.BigDecimal shippingDiscountPercentageLevel4,
java.math.BigDecimal taxAmount, java.math.BigDecimal total,
java.math.BigDecimal totalDiscountAmount,
java.math.BigDecimal totalDiscountPercentageLevel1,
java.math.BigDecimal totalDiscountPercentageLevel2,
java.math.BigDecimal totalDiscountPercentageLevel3,
java.math.BigDecimal totalDiscountPercentageLevel4,
java.math.BigDecimal subtotalWithTaxAmount,
java.math.BigDecimal subtotalDiscountWithTaxAmount,
java.math.BigDecimal
subtotalDiscountPercentageLevel1WithTaxAmount,
java.math.BigDecimal
subtotalDiscountPercentageLevel2WithTaxAmount,
java.math.BigDecimal
subtotalDiscountPercentageLevel3WithTaxAmount,
java.math.BigDecimal
subtotalDiscountPercentageLevel4WithTaxAmount,
java.math.BigDecimal shippingWithTaxAmount,
java.math.BigDecimal shippingDiscountWithTaxAmount,
java.math.BigDecimal
shippingDiscountPercentageLevel1WithTaxAmount,
java.math.BigDecimal
shippingDiscountPercentageLevel2WithTaxAmount,
java.math.BigDecimal
shippingDiscountPercentageLevel3WithTaxAmount,
java.math.BigDecimal
shippingDiscountPercentageLevel4WithTaxAmount,
java.math.BigDecimal totalWithTaxAmount,
java.math.BigDecimal totalDiscountWithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel1WithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel2WithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel3WithTaxAmount,
java.math.BigDecimal totalDiscountPercentageLevel4WithTaxAmount)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "updateCommerceOrderPrices",
_updateCommerceOrderPricesParameterTypes41);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, subtotal, subtotalDiscountAmount,
subtotalDiscountPercentageLevel1,
subtotalDiscountPercentageLevel2,
subtotalDiscountPercentageLevel3,
subtotalDiscountPercentageLevel4, shippingAmount,
shippingDiscountAmount, shippingDiscountPercentageLevel1,
shippingDiscountPercentageLevel2,
shippingDiscountPercentageLevel3,
shippingDiscountPercentageLevel4, taxAmount, total,
totalDiscountAmount, totalDiscountPercentageLevel1,
totalDiscountPercentageLevel2, totalDiscountPercentageLevel3,
totalDiscountPercentageLevel4, subtotalWithTaxAmount,
subtotalDiscountWithTaxAmount,
subtotalDiscountPercentageLevel1WithTaxAmount,
subtotalDiscountPercentageLevel2WithTaxAmount,
subtotalDiscountPercentageLevel3WithTaxAmount,
subtotalDiscountPercentageLevel4WithTaxAmount,
shippingWithTaxAmount, shippingDiscountWithTaxAmount,
shippingDiscountPercentageLevel1WithTaxAmount,
shippingDiscountPercentageLevel2WithTaxAmount,
shippingDiscountPercentageLevel3WithTaxAmount,
shippingDiscountPercentageLevel4WithTaxAmount,
totalWithTaxAmount, totalDiscountWithTaxAmount,
totalDiscountPercentageLevel1WithTaxAmount,
totalDiscountPercentageLevel2WithTaxAmount,
totalDiscountPercentageLevel3WithTaxAmount,
totalDiscountPercentageLevel4WithTaxAmount);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder
updateCommercePaymentMethodKey(
HttpPrincipal httpPrincipal, long commerceOrderId,
String commercePaymentMethodKey)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class,
"updateCommercePaymentMethodKey",
_updateCommercePaymentMethodKeyParameterTypes42);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, commercePaymentMethodKey);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder updateCustomFields(
HttpPrincipal httpPrincipal, long commerceOrderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "updateCustomFields",
_updateCustomFieldsParameterTypes43);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, serviceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder updateInfo(
HttpPrincipal httpPrincipal, long commerceOrderId,
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 {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "updateInfo",
_updateInfoParameterTypes44);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, printedNote,
requestedDeliveryDateMonth, requestedDeliveryDateDay,
requestedDeliveryDateYear, requestedDeliveryDateHour,
requestedDeliveryDateMinute, serviceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder updateOrderDate(
HttpPrincipal httpPrincipal, 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 {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "updateOrderDate",
_updateOrderDateParameterTypes45);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, orderDateMonth, orderDateDay,
orderDateYear, orderDateHour, orderDateMinute, serviceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder updatePaymentStatus(
HttpPrincipal httpPrincipal, long commerceOrderId,
int paymentStatus)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "updatePaymentStatus",
_updatePaymentStatusParameterTypes46);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, paymentStatus);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder
updatePaymentStatusAndTransactionId(
HttpPrincipal httpPrincipal, long commerceOrderId,
int paymentStatus, String transactionId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class,
"updatePaymentStatusAndTransactionId",
_updatePaymentStatusAndTransactionIdParameterTypes47);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, paymentStatus, transactionId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder updatePrintedNote(
HttpPrincipal httpPrincipal, long commerceOrderId,
String printedNote)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "updatePrintedNote",
_updatePrintedNoteParameterTypes48);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, printedNote);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder
updatePurchaseOrderNumber(
HttpPrincipal httpPrincipal, long commerceOrderId,
String purchaseOrderNumber)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "updatePurchaseOrderNumber",
_updatePurchaseOrderNumberParameterTypes49);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, purchaseOrderNumber);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder
updateShippingAddress(
HttpPrincipal httpPrincipal, long commerceOrderId,
long shippingAddressId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "updateShippingAddress",
_updateShippingAddressParameterTypes50);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, shippingAddressId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder
updateShippingAddress(
HttpPrincipal httpPrincipal, long commerceOrderId, String name,
String description, String street1, String street2,
String street3, String city, String zip, long commerceRegionId,
long commerceCountryId, String phoneNumber,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "updateShippingAddress",
_updateShippingAddressParameterTypes51);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, name, description, street1, street2,
street3, city, zip, commerceRegionId, commerceCountryId,
phoneNumber, serviceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder updateTransactionId(
HttpPrincipal httpPrincipal, long commerceOrderId,
String transactionId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "updateTransactionId",
_updateTransactionIdParameterTypes52);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, transactionId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder updateUser(
HttpPrincipal httpPrincipal, long commerceOrderId, long userId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "updateUser",
_updateUserParameterTypes53);
MethodHandler methodHandler = new MethodHandler(
methodKey, commerceOrderId, userId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder upsertCommerceOrder(
HttpPrincipal httpPrincipal, long userId, long groupId,
long commerceAccountId, long commerceCurrencyId,
long billingAddressId, long shippingAddressId,
String commercePaymentMethodKey, long commerceShippingMethodId,
String shippingOptionName, String purchaseOrderNumber,
java.math.BigDecimal subtotal, java.math.BigDecimal shippingAmount,
java.math.BigDecimal total,
java.math.BigDecimal subtotalWithTaxAmount,
java.math.BigDecimal shippingWithTaxAmount,
java.math.BigDecimal totalWithTaxAmount, int paymentStatus,
int orderStatus, String advanceStatus, String externalReferenceCode,
com.liferay.commerce.context.CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "upsertCommerceOrder",
_upsertCommerceOrderParameterTypes54);
MethodHandler methodHandler = new MethodHandler(
methodKey, userId, groupId, commerceAccountId,
commerceCurrencyId, billingAddressId, shippingAddressId,
commercePaymentMethodKey, commerceShippingMethodId,
shippingOptionName, purchaseOrderNumber, subtotal,
shippingAmount, total, subtotalWithTaxAmount,
shippingWithTaxAmount, totalWithTaxAmount, paymentStatus,
orderStatus, advanceStatus, externalReferenceCode,
commerceContext, serviceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.model.CommerceOrder upsertCommerceOrder(
HttpPrincipal httpPrincipal, long userId, long groupId,
long commerceAccountId, long commerceCurrencyId,
long billingAddressId, long shippingAddressId,
String commercePaymentMethodKey, long commerceShippingMethodId,
String shippingOptionName, String purchaseOrderNumber,
java.math.BigDecimal subtotal, java.math.BigDecimal shippingAmount,
java.math.BigDecimal total, int paymentStatus, int orderStatus,
String advanceStatus, String externalReferenceCode,
com.liferay.commerce.context.CommerceContext commerceContext,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CommerceOrderServiceUtil.class, "upsertCommerceOrder",
_upsertCommerceOrderParameterTypes55);
MethodHandler methodHandler = new MethodHandler(
methodKey, userId, groupId, commerceAccountId,
commerceCurrencyId, billingAddressId, shippingAddressId,
commercePaymentMethodKey, commerceShippingMethodId,
shippingOptionName, purchaseOrderNumber, subtotal,
shippingAmount, total, paymentStatus, orderStatus,
advanceStatus, externalReferenceCode, commerceContext,
serviceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception exception) {
if (exception instanceof
com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)
exception;
}
throw new com.liferay.portal.kernel.exception.SystemException(
exception);
}
return (com.liferay.commerce.model.CommerceOrder)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
private static Log _log = LogFactoryUtil.getLog(
CommerceOrderServiceHttp.class);
private static final Class>[] _addCommerceOrderParameterTypes0 =
new Class[] {long.class, long.class, long.class, long.class};
private static final Class>[] _addCommerceOrderParameterTypes1 =
new Class[] {
long.class, long.class, long.class, long.class, String.class
};
private static final Class>[] _addCommerceOrderParameterTypes2 =
new Class[] {long.class, long.class, long.class, String.class};
private static final Class>[] _applyCouponCodeParameterTypes3 =
new Class[] {
long.class, String.class,
com.liferay.commerce.context.CommerceContext.class
};
private static final Class>[] _deleteCommerceOrderParameterTypes4 =
new Class[] {long.class};
private static final Class>[] _executeWorkflowTransitionParameterTypes5 =
new Class[] {long.class, long.class, String.class, String.class};
private static final Class>[]
_fetchByExternalReferenceCodeParameterTypes6 = new Class[] {
long.class, String.class
};
private static final Class>[] _fetchCommerceOrderParameterTypes7 =
new Class[] {long.class};
private static final Class>[] _fetchCommerceOrderParameterTypes8 =
new Class[] {long.class, long.class, int.class};
private static final Class>[] _fetchCommerceOrderParameterTypes9 =
new Class[] {long.class, long.class, long.class, int.class};
private static final Class>[] _fetchCommerceOrderParameterTypes10 =
new Class[] {String.class, long.class};
private static final Class>[] _getCommerceOrderParameterTypes11 =
new Class[] {long.class};
private static final Class>[]
_getCommerceOrderByUuidAndGroupIdParameterTypes12 = new Class[] {
String.class, long.class
};
private static final Class>[] _getCommerceOrdersParameterTypes13 =
new Class[] {
long.class, int.class, int.class,
com.liferay.portal.kernel.util.OrderByComparator.class
};
private static final Class>[] _getCommerceOrdersParameterTypes14 =
new Class[] {long.class, int[].class};
private static final Class>[] _getCommerceOrdersParameterTypes15 =
new Class[] {long.class, int[].class, int.class, int.class};
private static final Class>[] _getCommerceOrdersParameterTypes16 =
new Class[] {
long.class, long.class, int.class, int.class,
com.liferay.portal.kernel.util.OrderByComparator.class
};
private static final Class>[] _getCommerceOrdersCountParameterTypes17 =
new Class[] {long.class};
private static final Class>[] _getCommerceOrdersCountParameterTypes18 =
new Class[] {long.class, long.class};
private static final Class>[] _getPendingCommerceOrdersParameterTypes19 =
new Class[] {
long.class, long.class, String.class, int.class, int.class
};
private static final Class>[]
_getPendingCommerceOrdersCountParameterTypes20 = new Class[] {
long.class, long.class
};
private static final Class>[]
_getPendingCommerceOrdersCountParameterTypes21 = new Class[] {
long.class, long.class, String.class
};
private static final Class>[] _getPlacedCommerceOrdersParameterTypes22 =
new Class[] {long.class, long.class, int.class, int.class};
private static final Class>[] _getPlacedCommerceOrdersParameterTypes23 =
new Class[] {
long.class, long.class, String.class, int.class, int.class
};
private static final Class>[]
_getPlacedCommerceOrdersCountParameterTypes24 = new Class[] {
long.class, long.class
};
private static final Class>[]
_getPlacedCommerceOrdersCountParameterTypes25 = new Class[] {
long.class, long.class, String.class
};
private static final Class>[]
_getUserPendingCommerceOrdersParameterTypes26 = new Class[] {
long.class, long.class, String.class, int.class, int.class
};
private static final Class>[]
_getUserPendingCommerceOrdersCountParameterTypes27 = new Class[] {
long.class, long.class, String.class
};
private static final Class>[]
_getUserPlacedCommerceOrdersParameterTypes28 = new Class[] {
long.class, long.class, String.class, int.class, int.class
};
private static final Class>[]
_getUserPlacedCommerceOrdersCountParameterTypes29 = new Class[] {
long.class, long.class, String.class
};
private static final Class>[] _mergeGuestCommerceOrderParameterTypes30 =
new Class[] {
long.class, long.class,
com.liferay.commerce.context.CommerceContext.class,
com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class>[] _recalculatePriceParameterTypes31 =
new Class[] {
long.class, com.liferay.commerce.context.CommerceContext.class
};
private static final Class>[] _reorderCommerceOrderParameterTypes32 =
new Class[] {
long.class, com.liferay.commerce.context.CommerceContext.class
};
private static final Class>[] _updateBillingAddressParameterTypes33 =
new Class[] {long.class, long.class};
private static final Class>[] _updateBillingAddressParameterTypes34 =
new Class[] {
long.class, String.class, String.class, String.class, String.class,
String.class, String.class, String.class, long.class, long.class,
String.class, com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class>[] _updateCommerceOrderParameterTypes35 =
new Class[] {com.liferay.commerce.model.CommerceOrder.class};
private static final Class>[] _updateCommerceOrderParameterTypes36 =
new Class[] {
long.class, long.class, long.class, String.class, long.class,
String.class, String.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, String.class, String.class,
com.liferay.commerce.context.CommerceContext.class
};
private static final Class>[] _updateCommerceOrderParameterTypes37 =
new Class[] {
long.class, long.class, long.class, String.class, long.class,
String.class, String.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
String.class, com.liferay.commerce.context.CommerceContext.class
};
private static final Class>[] _updateCommerceOrderParameterTypes38 =
new Class[] {
long.class, long.class, long.class, String.class, long.class,
String.class, String.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
String.class, String.class,
com.liferay.commerce.context.CommerceContext.class
};
private static final Class>[]
_updateCommerceOrderExternalReferenceCodeParameterTypes39 =
new Class[] {long.class, String.class};
private static final Class>[] _updateCommerceOrderPricesParameterTypes40 =
new Class[] {
long.class, java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class
};
private static final Class>[] _updateCommerceOrderPricesParameterTypes41 =
new Class[] {
long.class, java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class
};
private static final Class>[]
_updateCommercePaymentMethodKeyParameterTypes42 = new Class[] {
long.class, String.class
};
private static final Class>[] _updateCustomFieldsParameterTypes43 =
new Class[] {
long.class, com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class>[] _updateInfoParameterTypes44 = new Class[] {
long.class, String.class, int.class, int.class, int.class, int.class,
int.class, com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class>[] _updateOrderDateParameterTypes45 =
new Class[] {
long.class, int.class, int.class, int.class, int.class, int.class,
com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class>[] _updatePaymentStatusParameterTypes46 =
new Class[] {long.class, int.class};
private static final Class>[]
_updatePaymentStatusAndTransactionIdParameterTypes47 = new Class[] {
long.class, int.class, String.class
};
private static final Class>[] _updatePrintedNoteParameterTypes48 =
new Class[] {long.class, String.class};
private static final Class>[] _updatePurchaseOrderNumberParameterTypes49 =
new Class[] {long.class, String.class};
private static final Class>[] _updateShippingAddressParameterTypes50 =
new Class[] {long.class, long.class};
private static final Class>[] _updateShippingAddressParameterTypes51 =
new Class[] {
long.class, String.class, String.class, String.class, String.class,
String.class, String.class, String.class, long.class, long.class,
String.class, com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class>[] _updateTransactionIdParameterTypes52 =
new Class[] {long.class, String.class};
private static final Class>[] _updateUserParameterTypes53 = new Class[] {
long.class, long.class
};
private static final Class>[] _upsertCommerceOrderParameterTypes54 =
new Class[] {
long.class, long.class, long.class, long.class, long.class,
long.class, String.class, long.class, String.class, String.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, java.math.BigDecimal.class, int.class,
int.class, String.class, String.class,
com.liferay.commerce.context.CommerceContext.class,
com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class>[] _upsertCommerceOrderParameterTypes55 =
new Class[] {
long.class, long.class, long.class, long.class, long.class,
long.class, String.class, long.class, String.class, String.class,
java.math.BigDecimal.class, java.math.BigDecimal.class,
java.math.BigDecimal.class, int.class, int.class, String.class,
String.class, com.liferay.commerce.context.CommerceContext.class,
com.liferay.portal.kernel.service.ServiceContext.class
};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy