com.liferay.commerce.product.service.http.CPDefinitionServiceHttp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.commerce.product.service
Show all versions of com.liferay.commerce.product.service
Liferay Commerce Product Service
The newest version!
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.commerce.product.service.http;
import com.liferay.commerce.product.service.CPDefinitionServiceUtil;
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
* CPDefinitionServiceUtil
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 Marco Leo
* @generated
*/
public class CPDefinitionServiceHttp {
public static com.liferay.commerce.product.model.CPDefinition
addCPDefinition(
HttpPrincipal httpPrincipal, String externalReferenceCode,
long groupId, java.util.Map nameMap,
java.util.Map shortDescriptionMap,
java.util.Map descriptionMap,
java.util.Map urlTitleMap,
java.util.Map metaTitleMap,
java.util.Map metaDescriptionMap,
java.util.Map metaKeywordsMap,
String productTypeName, boolean ignoreSKUCombinations,
boolean shippable, boolean freeShipping, boolean shipSeparately,
double shippingExtraPrice, double width, double height,
double depth, double weight, long cpTaxCategoryId,
boolean taxExempt, boolean telcoOrElectronics,
String ddmStructureKey, boolean published, int displayDateMonth,
int displayDateDay, int displayDateYear, int displayDateHour,
int displayDateMinute, int expirationDateMonth,
int expirationDateDay, int expirationDateYear,
int expirationDateHour, int expirationDateMinute,
boolean neverExpire, String defaultSku,
boolean subscriptionEnabled, int subscriptionLength,
String subscriptionType,
com.liferay.portal.kernel.util.UnicodeProperties
subscriptionTypeSettingsUnicodeProperties,
long maxSubscriptionCycles, boolean deliverySubscriptionEnabled,
int deliverySubscriptionLength, String deliverySubscriptionType,
com.liferay.portal.kernel.util.UnicodeProperties
deliverySubscriptionTypeSettingsUnicodeProperties,
long deliveryMaxSubscriptionCycles, int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "addCPDefinition",
_addCPDefinitionParameterTypes0);
MethodHandler methodHandler = new MethodHandler(
methodKey, externalReferenceCode, groupId, nameMap,
shortDescriptionMap, descriptionMap, urlTitleMap, metaTitleMap,
metaDescriptionMap, metaKeywordsMap, productTypeName,
ignoreSKUCombinations, shippable, freeShipping, shipSeparately,
shippingExtraPrice, width, height, depth, weight,
cpTaxCategoryId, taxExempt, telcoOrElectronics, ddmStructureKey,
published, displayDateMonth, displayDateDay, displayDateYear,
displayDateHour, displayDateMinute, expirationDateMonth,
expirationDateDay, expirationDateYear, expirationDateHour,
expirationDateMinute, neverExpire, defaultSku,
subscriptionEnabled, subscriptionLength, subscriptionType,
subscriptionTypeSettingsUnicodeProperties,
maxSubscriptionCycles, deliverySubscriptionEnabled,
deliverySubscriptionLength, deliverySubscriptionType,
deliverySubscriptionTypeSettingsUnicodeProperties,
deliveryMaxSubscriptionCycles, status, 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.product.model.CPDefinition)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.product.model.CPDefinition
addCPDefinition(
HttpPrincipal httpPrincipal, String externalReferenceCode,
long groupId, java.util.Map nameMap,
java.util.Map shortDescriptionMap,
java.util.Map descriptionMap,
java.util.Map urlTitleMap,
java.util.Map metaTitleMap,
java.util.Map metaDescriptionMap,
java.util.Map metaKeywordsMap,
String productTypeName, boolean ignoreSKUCombinations,
boolean shippable, boolean freeShipping, boolean shipSeparately,
double shippingExtraPrice, double width, double height,
double depth, double weight, long cpTaxCategoryId,
boolean taxExempt, boolean telcoOrElectronics,
String ddmStructureKey, boolean published, int displayDateMonth,
int displayDateDay, int displayDateYear, int displayDateHour,
int displayDateMinute, int expirationDateMonth,
int expirationDateDay, int expirationDateYear,
int expirationDateHour, int expirationDateMinute,
boolean neverExpire, String defaultSku,
boolean subscriptionEnabled, int subscriptionLength,
String subscriptionType,
com.liferay.portal.kernel.util.UnicodeProperties
subscriptionTypeSettingsUnicodeProperties,
long maxSubscriptionCycles, int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "addCPDefinition",
_addCPDefinitionParameterTypes1);
MethodHandler methodHandler = new MethodHandler(
methodKey, externalReferenceCode, groupId, nameMap,
shortDescriptionMap, descriptionMap, urlTitleMap, metaTitleMap,
metaDescriptionMap, metaKeywordsMap, productTypeName,
ignoreSKUCombinations, shippable, freeShipping, shipSeparately,
shippingExtraPrice, width, height, depth, weight,
cpTaxCategoryId, taxExempt, telcoOrElectronics, ddmStructureKey,
published, displayDateMonth, displayDateDay, displayDateYear,
displayDateHour, displayDateMinute, expirationDateMonth,
expirationDateDay, expirationDateYear, expirationDateHour,
expirationDateMinute, neverExpire, defaultSku,
subscriptionEnabled, subscriptionLength, subscriptionType,
subscriptionTypeSettingsUnicodeProperties,
maxSubscriptionCycles, status, 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.product.model.CPDefinition)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.product.model.CPDefinition
addOrUpdateCPDefinition(
HttpPrincipal httpPrincipal, String externalReferenceCode,
long groupId, java.util.Map nameMap,
java.util.Map shortDescriptionMap,
java.util.Map descriptionMap,
java.util.Map urlTitleMap,
java.util.Map metaTitleMap,
java.util.Map metaDescriptionMap,
java.util.Map metaKeywordsMap,
String productTypeName, boolean ignoreSKUCombinations,
boolean shippable, boolean freeShipping, boolean shipSeparately,
double shippingExtraPrice, double width, double height,
double depth, double weight, long cpTaxCategoryId,
boolean taxExempt, boolean telcoOrElectronics,
String ddmStructureKey, boolean published, int displayDateMonth,
int displayDateDay, int displayDateYear, int displayDateHour,
int displayDateMinute, int expirationDateMonth,
int expirationDateDay, int expirationDateYear,
int expirationDateHour, int expirationDateMinute,
boolean neverExpire, String defaultSku,
boolean subscriptionEnabled, int subscriptionLength,
String subscriptionType,
com.liferay.portal.kernel.util.UnicodeProperties
subscriptionTypeSettingsUnicodeProperties,
long maxSubscriptionCycles, boolean deliverySubscriptionEnabled,
int deliverySubscriptionLength, String deliverySubscriptionType,
com.liferay.portal.kernel.util.UnicodeProperties
deliverySubscriptionTypeSettingsUnicodeProperties,
long deliveryMaxSubscriptionCycles, int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "addOrUpdateCPDefinition",
_addOrUpdateCPDefinitionParameterTypes2);
MethodHandler methodHandler = new MethodHandler(
methodKey, externalReferenceCode, groupId, nameMap,
shortDescriptionMap, descriptionMap, urlTitleMap, metaTitleMap,
metaDescriptionMap, metaKeywordsMap, productTypeName,
ignoreSKUCombinations, shippable, freeShipping, shipSeparately,
shippingExtraPrice, width, height, depth, weight,
cpTaxCategoryId, taxExempt, telcoOrElectronics, ddmStructureKey,
published, displayDateMonth, displayDateDay, displayDateYear,
displayDateHour, displayDateMinute, expirationDateMonth,
expirationDateDay, expirationDateYear, expirationDateHour,
expirationDateMinute, neverExpire, defaultSku,
subscriptionEnabled, subscriptionLength, subscriptionType,
subscriptionTypeSettingsUnicodeProperties,
maxSubscriptionCycles, deliverySubscriptionEnabled,
deliverySubscriptionLength, deliverySubscriptionType,
deliverySubscriptionTypeSettingsUnicodeProperties,
deliveryMaxSubscriptionCycles, status, 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.product.model.CPDefinition)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.product.model.CPDefinition
addOrUpdateCPDefinition(
HttpPrincipal httpPrincipal, String externalReferenceCode,
long groupId, java.util.Map nameMap,
java.util.Map shortDescriptionMap,
java.util.Map descriptionMap,
java.util.Map urlTitleMap,
java.util.Map metaTitleMap,
java.util.Map metaDescriptionMap,
java.util.Map metaKeywordsMap,
String productTypeName, boolean ignoreSKUCombinations,
boolean shippable, boolean freeShipping, boolean shipSeparately,
double shippingExtraPrice, double width, double height,
double depth, double weight, long cpTaxCategoryId,
boolean taxExempt, boolean telcoOrElectronics,
String ddmStructureKey, boolean published, int displayDateMonth,
int displayDateDay, int displayDateYear, int displayDateHour,
int displayDateMinute, int expirationDateMonth,
int expirationDateDay, int expirationDateYear,
int expirationDateHour, int expirationDateMinute,
boolean neverExpire, String defaultSku,
boolean subscriptionEnabled, int subscriptionLength,
String subscriptionType,
com.liferay.portal.kernel.util.UnicodeProperties
subscriptionTypeSettingsUnicodeProperties,
long maxSubscriptionCycles, int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "addOrUpdateCPDefinition",
_addOrUpdateCPDefinitionParameterTypes3);
MethodHandler methodHandler = new MethodHandler(
methodKey, externalReferenceCode, groupId, nameMap,
shortDescriptionMap, descriptionMap, urlTitleMap, metaTitleMap,
metaDescriptionMap, metaKeywordsMap, productTypeName,
ignoreSKUCombinations, shippable, freeShipping, shipSeparately,
shippingExtraPrice, width, height, depth, weight,
cpTaxCategoryId, taxExempt, telcoOrElectronics, ddmStructureKey,
published, displayDateMonth, displayDateDay, displayDateYear,
displayDateHour, displayDateMinute, expirationDateMonth,
expirationDateDay, expirationDateYear, expirationDateHour,
expirationDateMinute, neverExpire, defaultSku,
subscriptionEnabled, subscriptionLength, subscriptionType,
subscriptionTypeSettingsUnicodeProperties,
maxSubscriptionCycles, status, 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.product.model.CPDefinition)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.product.model.CPDefinition
cloneCPDefinition(
HttpPrincipal httpPrincipal, long cpDefinitionId, long groupId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "cloneCPDefinition",
_cloneCPDefinitionParameterTypes4);
MethodHandler methodHandler = new MethodHandler(
methodKey, cpDefinitionId, groupId, 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.product.model.CPDefinition)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.product.model.CPDefinition
copyCPDefinition(
HttpPrincipal httpPrincipal, long sourceCPDefinitionId,
long groupId, int status)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "copyCPDefinition",
_copyCPDefinitionParameterTypes5);
MethodHandler methodHandler = new MethodHandler(
methodKey, sourceCPDefinitionId, groupId, status);
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.product.model.CPDefinition)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static void deleteAssetCategoryCPDefinition(
HttpPrincipal httpPrincipal, long cpDefinitionId, long categoryId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class,
"deleteAssetCategoryCPDefinition",
_deleteAssetCategoryCPDefinitionParameterTypes6);
MethodHandler methodHandler = new MethodHandler(
methodKey, cpDefinitionId, categoryId, 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 void deleteCPDefinition(
HttpPrincipal httpPrincipal, long cpDefinitionId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "deleteCPDefinition",
_deleteCPDefinitionParameterTypes7);
MethodHandler methodHandler = new MethodHandler(
methodKey, cpDefinitionId);
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.product.model.CPDefinition
fetchCPDefinition(HttpPrincipal httpPrincipal, long cpDefinitionId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "fetchCPDefinition",
_fetchCPDefinitionParameterTypes8);
MethodHandler methodHandler = new MethodHandler(
methodKey, cpDefinitionId);
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.product.model.CPDefinition)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.product.model.CPDefinition
fetchCPDefinitionByCProductExternalReferenceCode(
HttpPrincipal httpPrincipal, String externalReferenceCode,
long companyId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class,
"fetchCPDefinitionByCProductExternalReferenceCode",
_fetchCPDefinitionByCProductExternalReferenceCodeParameterTypes9);
MethodHandler methodHandler = new MethodHandler(
methodKey, externalReferenceCode, companyId);
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.product.model.CPDefinition)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.product.model.CPDefinition
fetchCPDefinitionByCProductId(
HttpPrincipal httpPrincipal, long cProductId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "fetchCPDefinitionByCProductId",
_fetchCPDefinitionByCProductIdParameterTypes10);
MethodHandler methodHandler = new MethodHandler(
methodKey, cProductId);
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.product.model.CPDefinition)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.product.model.CPDefinition
getCPDefinition(HttpPrincipal httpPrincipal, long cpDefinitionId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "getCPDefinition",
_getCPDefinitionParameterTypes11);
MethodHandler methodHandler = new MethodHandler(
methodKey, cpDefinitionId);
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.product.model.CPDefinition)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static java.util.List
getCPDefinitions(
HttpPrincipal httpPrincipal, long groupId, int status,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "getCPDefinitions",
_getCPDefinitionsParameterTypes12);
MethodHandler methodHandler = new MethodHandler(
methodKey, groupId, status, 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 getCPDefinitionsCount(
HttpPrincipal httpPrincipal, long groupId, int status)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "getCPDefinitionsCount",
_getCPDefinitionsCountParameterTypes13);
MethodHandler methodHandler = new MethodHandler(
methodKey, groupId, status);
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 com.liferay.commerce.product.model.CPDefinition
getCProductCPDefinition(
HttpPrincipal httpPrincipal, long cProductId, int version)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "getCProductCPDefinition",
_getCProductCPDefinitionParameterTypes14);
MethodHandler methodHandler = new MethodHandler(
methodKey, cProductId, version);
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.product.model.CPDefinition)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static java.util.List
getCProductCPDefinitions(
HttpPrincipal httpPrincipal, long cProductId, int status,
int start, int end)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "getCProductCPDefinitions",
_getCProductCPDefinitionsParameterTypes15);
MethodHandler methodHandler = new MethodHandler(
methodKey, cProductId, status, 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 com.liferay.commerce.product.model.CPAttachmentFileEntry
getDefaultImageCPAttachmentFileEntry(
HttpPrincipal httpPrincipal, long cpDefinitionId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class,
"getDefaultImageCPAttachmentFileEntry",
_getDefaultImageCPAttachmentFileEntryParameterTypes16);
MethodHandler methodHandler = new MethodHandler(
methodKey, cpDefinitionId);
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.product.model.CPAttachmentFileEntry)
returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static java.util.Map getUrlTitleMap(
HttpPrincipal httpPrincipal, long cpDefinitionId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "getUrlTitleMap",
_getUrlTitleMapParameterTypes17);
MethodHandler methodHandler = new MethodHandler(
methodKey, cpDefinitionId);
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.Map)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static String getUrlTitleMapAsXML(
HttpPrincipal httpPrincipal, long cpDefinitionId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "getUrlTitleMapAsXML",
_getUrlTitleMapAsXMLParameterTypes18);
MethodHandler methodHandler = new MethodHandler(
methodKey, cpDefinitionId);
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 (String)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.portal.kernel.search.BaseModelSearchResult
searchCPDefinitions(
HttpPrincipal httpPrincipal, long companyId, String keywords,
int status, boolean ignoreCommerceAccountGroup, int start,
int end, com.liferay.portal.kernel.search.Sort sort)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "searchCPDefinitions",
_searchCPDefinitionsParameterTypes19);
MethodHandler methodHandler = new MethodHandler(
methodKey, companyId, keywords, status,
ignoreCommerceAccountGroup, start, end, sort);
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.portal.kernel.search.BaseModelSearchResult
)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.portal.kernel.search.BaseModelSearchResult
searchCPDefinitions(
HttpPrincipal httpPrincipal, long companyId, String keywords,
String filterFields, String filterValues, int start, int end,
com.liferay.portal.kernel.search.Sort sort)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "searchCPDefinitions",
_searchCPDefinitionsParameterTypes20);
MethodHandler methodHandler = new MethodHandler(
methodKey, companyId, keywords, filterFields, filterValues,
start, end, sort);
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.portal.kernel.search.BaseModelSearchResult
)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.portal.kernel.search.BaseModelSearchResult
searchCPDefinitionsByChannelGroupId(
HttpPrincipal httpPrincipal, long companyId,
long commerceChannelGroupId, String keywords, int status,
boolean ignoreCommerceAccountGroup, int start, int end,
com.liferay.portal.kernel.search.Sort sort)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class,
"searchCPDefinitionsByChannelGroupId",
_searchCPDefinitionsByChannelGroupIdParameterTypes21);
MethodHandler methodHandler = new MethodHandler(
methodKey, companyId, commerceChannelGroupId, keywords, status,
ignoreCommerceAccountGroup, start, end, sort);
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.portal.kernel.search.BaseModelSearchResult
)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.product.model.CPDefinition
updateCPDefinition(
HttpPrincipal httpPrincipal, long cpDefinitionId,
java.util.Map nameMap,
java.util.Map shortDescriptionMap,
java.util.Map descriptionMap,
java.util.Map urlTitleMap,
java.util.Map metaTitleMap,
java.util.Map metaDescriptionMap,
java.util.Map metaKeywordsMap,
boolean ignoreSKUCombinations, String ddmStructureKey,
boolean published, int displayDateMonth, int displayDateDay,
int displayDateYear, int displayDateHour, int displayDateMinute,
int expirationDateMonth, int expirationDateDay,
int expirationDateYear, int expirationDateHour,
int expirationDateMinute, boolean neverExpire,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "updateCPDefinition",
_updateCPDefinitionParameterTypes22);
MethodHandler methodHandler = new MethodHandler(
methodKey, cpDefinitionId, nameMap, shortDescriptionMap,
descriptionMap, urlTitleMap, metaTitleMap, metaDescriptionMap,
metaKeywordsMap, ignoreSKUCombinations, ddmStructureKey,
published, displayDateMonth, displayDateDay, displayDateYear,
displayDateHour, displayDateMinute, expirationDateMonth,
expirationDateDay, expirationDateYear, expirationDateHour,
expirationDateMinute, neverExpire, 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.product.model.CPDefinition)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.product.model.CPDefinition
updateCPDefinitionAccountGroupFilter(
HttpPrincipal httpPrincipal, long cpDefinitionId,
boolean enable)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class,
"updateCPDefinitionAccountGroupFilter",
_updateCPDefinitionAccountGroupFilterParameterTypes23);
MethodHandler methodHandler = new MethodHandler(
methodKey, cpDefinitionId, enable);
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.product.model.CPDefinition)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.product.model.CPDefinition
updateCPDefinitionCategorization(
HttpPrincipal httpPrincipal, long cpDefinitionId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class,
"updateCPDefinitionCategorization",
_updateCPDefinitionCategorizationParameterTypes24);
MethodHandler methodHandler = new MethodHandler(
methodKey, cpDefinitionId, 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.product.model.CPDefinition)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.product.model.CPDefinition
updateCPDefinitionChannelFilter(
HttpPrincipal httpPrincipal, long cpDefinitionId,
boolean enable)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class,
"updateCPDefinitionChannelFilter",
_updateCPDefinitionChannelFilterParameterTypes25);
MethodHandler methodHandler = new MethodHandler(
methodKey, cpDefinitionId, enable);
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.product.model.CPDefinition)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.product.model.CPDefinition
updateExternalReferenceCode(
HttpPrincipal httpPrincipal, String externalReferenceCode,
long cpDefinitionId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "updateExternalReferenceCode",
_updateExternalReferenceCodeParameterTypes26);
MethodHandler methodHandler = new MethodHandler(
methodKey, externalReferenceCode, cpDefinitionId);
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.product.model.CPDefinition)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.product.model.CPDefinition
updateShippingInfo(
HttpPrincipal httpPrincipal, long cpDefinitionId,
boolean shippable, boolean freeShipping, boolean shipSeparately,
double shippingExtraPrice, double width, double height,
double depth, double weight,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "updateShippingInfo",
_updateShippingInfoParameterTypes27);
MethodHandler methodHandler = new MethodHandler(
methodKey, cpDefinitionId, shippable, freeShipping,
shipSeparately, shippingExtraPrice, width, height, depth,
weight, 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.product.model.CPDefinition)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.product.model.CPDefinition updateStatus(
HttpPrincipal httpPrincipal, long cpDefinitionId, int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext,
java.util.Map workflowContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "updateStatus",
_updateStatusParameterTypes28);
MethodHandler methodHandler = new MethodHandler(
methodKey, cpDefinitionId, status, serviceContext,
workflowContext);
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.product.model.CPDefinition)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.product.model.CPDefinition
updateSubscriptionInfo(
HttpPrincipal httpPrincipal, long cpDefinitionId,
boolean subscriptionEnabled, int subscriptionLength,
String subscriptionType,
com.liferay.portal.kernel.util.UnicodeProperties
subscriptionTypeSettingsUnicodeProperties,
long maxSubscriptionCycles, boolean deliverySubscriptionEnabled,
int deliverySubscriptionLength, String deliverySubscriptionType,
com.liferay.portal.kernel.util.UnicodeProperties
deliverySubscriptionTypeSettingsUnicodeProperties,
long deliveryMaxSubscriptionCycles)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "updateSubscriptionInfo",
_updateSubscriptionInfoParameterTypes29);
MethodHandler methodHandler = new MethodHandler(
methodKey, cpDefinitionId, subscriptionEnabled,
subscriptionLength, subscriptionType,
subscriptionTypeSettingsUnicodeProperties,
maxSubscriptionCycles, deliverySubscriptionEnabled,
deliverySubscriptionLength, deliverySubscriptionType,
deliverySubscriptionTypeSettingsUnicodeProperties,
deliveryMaxSubscriptionCycles);
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.product.model.CPDefinition)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
public static com.liferay.commerce.product.model.CPDefinition
updateTaxCategoryInfo(
HttpPrincipal httpPrincipal, long cpDefinitionId,
long cpTaxCategoryId, boolean taxExempt,
boolean telcoOrElectronics)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(
CPDefinitionServiceUtil.class, "updateTaxCategoryInfo",
_updateTaxCategoryInfoParameterTypes30);
MethodHandler methodHandler = new MethodHandler(
methodKey, cpDefinitionId, cpTaxCategoryId, taxExempt,
telcoOrElectronics);
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.product.model.CPDefinition)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException
systemException) {
_log.error(systemException, systemException);
throw systemException;
}
}
private static Log _log = LogFactoryUtil.getLog(
CPDefinitionServiceHttp.class);
private static final Class>[] _addCPDefinitionParameterTypes0 =
new Class[] {
String.class, long.class, java.util.Map.class, java.util.Map.class,
java.util.Map.class, java.util.Map.class, java.util.Map.class,
java.util.Map.class, java.util.Map.class, String.class,
boolean.class, boolean.class, boolean.class, boolean.class,
double.class, double.class, double.class, double.class,
double.class, long.class, boolean.class, boolean.class,
String.class, boolean.class, int.class, int.class, int.class,
int.class, int.class, int.class, int.class, int.class, int.class,
int.class, boolean.class, String.class, boolean.class, int.class,
String.class,
com.liferay.portal.kernel.util.UnicodeProperties.class, long.class,
boolean.class, int.class, String.class,
com.liferay.portal.kernel.util.UnicodeProperties.class, long.class,
int.class, com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class>[] _addCPDefinitionParameterTypes1 =
new Class[] {
String.class, long.class, java.util.Map.class, java.util.Map.class,
java.util.Map.class, java.util.Map.class, java.util.Map.class,
java.util.Map.class, java.util.Map.class, String.class,
boolean.class, boolean.class, boolean.class, boolean.class,
double.class, double.class, double.class, double.class,
double.class, long.class, boolean.class, boolean.class,
String.class, boolean.class, int.class, int.class, int.class,
int.class, int.class, int.class, int.class, int.class, int.class,
int.class, boolean.class, String.class, boolean.class, int.class,
String.class,
com.liferay.portal.kernel.util.UnicodeProperties.class, long.class,
int.class, com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class>[] _addOrUpdateCPDefinitionParameterTypes2 =
new Class[] {
String.class, long.class, java.util.Map.class, java.util.Map.class,
java.util.Map.class, java.util.Map.class, java.util.Map.class,
java.util.Map.class, java.util.Map.class, String.class,
boolean.class, boolean.class, boolean.class, boolean.class,
double.class, double.class, double.class, double.class,
double.class, long.class, boolean.class, boolean.class,
String.class, boolean.class, int.class, int.class, int.class,
int.class, int.class, int.class, int.class, int.class, int.class,
int.class, boolean.class, String.class, boolean.class, int.class,
String.class,
com.liferay.portal.kernel.util.UnicodeProperties.class, long.class,
boolean.class, int.class, String.class,
com.liferay.portal.kernel.util.UnicodeProperties.class, long.class,
int.class, com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class>[] _addOrUpdateCPDefinitionParameterTypes3 =
new Class[] {
String.class, long.class, java.util.Map.class, java.util.Map.class,
java.util.Map.class, java.util.Map.class, java.util.Map.class,
java.util.Map.class, java.util.Map.class, String.class,
boolean.class, boolean.class, boolean.class, boolean.class,
double.class, double.class, double.class, double.class,
double.class, long.class, boolean.class, boolean.class,
String.class, boolean.class, int.class, int.class, int.class,
int.class, int.class, int.class, int.class, int.class, int.class,
int.class, boolean.class, String.class, boolean.class, int.class,
String.class,
com.liferay.portal.kernel.util.UnicodeProperties.class, long.class,
int.class, com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class>[] _cloneCPDefinitionParameterTypes4 =
new Class[] {
long.class, long.class,
com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class>[] _copyCPDefinitionParameterTypes5 =
new Class[] {long.class, long.class, int.class};
private static final Class>[]
_deleteAssetCategoryCPDefinitionParameterTypes6 = new Class[] {
long.class, long.class,
com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class>[] _deleteCPDefinitionParameterTypes7 =
new Class[] {long.class};
private static final Class>[] _fetchCPDefinitionParameterTypes8 =
new Class[] {long.class};
private static final Class>[]
_fetchCPDefinitionByCProductExternalReferenceCodeParameterTypes9 =
new Class[] {String.class, long.class};
private static final Class>[]
_fetchCPDefinitionByCProductIdParameterTypes10 = new Class[] {
long.class
};
private static final Class>[] _getCPDefinitionParameterTypes11 =
new Class[] {long.class};
private static final Class>[] _getCPDefinitionsParameterTypes12 =
new Class[] {
long.class, int.class, int.class, int.class,
com.liferay.portal.kernel.util.OrderByComparator.class
};
private static final Class>[] _getCPDefinitionsCountParameterTypes13 =
new Class[] {long.class, int.class};
private static final Class>[] _getCProductCPDefinitionParameterTypes14 =
new Class[] {long.class, int.class};
private static final Class>[] _getCProductCPDefinitionsParameterTypes15 =
new Class[] {long.class, int.class, int.class, int.class};
private static final Class>[]
_getDefaultImageCPAttachmentFileEntryParameterTypes16 = new Class[] {
long.class
};
private static final Class>[] _getUrlTitleMapParameterTypes17 =
new Class[] {long.class};
private static final Class>[] _getUrlTitleMapAsXMLParameterTypes18 =
new Class[] {long.class};
private static final Class>[] _searchCPDefinitionsParameterTypes19 =
new Class[] {
long.class, String.class, int.class, boolean.class, int.class,
int.class, com.liferay.portal.kernel.search.Sort.class
};
private static final Class>[] _searchCPDefinitionsParameterTypes20 =
new Class[] {
long.class, String.class, String.class, String.class, int.class,
int.class, com.liferay.portal.kernel.search.Sort.class
};
private static final Class>[]
_searchCPDefinitionsByChannelGroupIdParameterTypes21 = new Class[] {
long.class, long.class, String.class, int.class, boolean.class,
int.class, int.class, com.liferay.portal.kernel.search.Sort.class
};
private static final Class>[] _updateCPDefinitionParameterTypes22 =
new Class[] {
long.class, java.util.Map.class, java.util.Map.class,
java.util.Map.class, java.util.Map.class, java.util.Map.class,
java.util.Map.class, java.util.Map.class, boolean.class,
String.class, boolean.class, int.class, int.class, int.class,
int.class, int.class, int.class, int.class, int.class, int.class,
int.class, boolean.class,
com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class>[]
_updateCPDefinitionAccountGroupFilterParameterTypes23 = new Class[] {
long.class, boolean.class
};
private static final Class>[]
_updateCPDefinitionCategorizationParameterTypes24 = new Class[] {
long.class, com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class>[]
_updateCPDefinitionChannelFilterParameterTypes25 = new Class[] {
long.class, boolean.class
};
private static final Class>[]
_updateExternalReferenceCodeParameterTypes26 = new Class[] {
String.class, long.class
};
private static final Class>[] _updateShippingInfoParameterTypes27 =
new Class[] {
long.class, boolean.class, boolean.class, boolean.class,
double.class, double.class, double.class, double.class,
double.class, com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class>[] _updateStatusParameterTypes28 =
new Class[] {
long.class, int.class,
com.liferay.portal.kernel.service.ServiceContext.class,
java.util.Map.class
};
private static final Class>[] _updateSubscriptionInfoParameterTypes29 =
new Class[] {
long.class, boolean.class, int.class, String.class,
com.liferay.portal.kernel.util.UnicodeProperties.class, long.class,
boolean.class, int.class, String.class,
com.liferay.portal.kernel.util.UnicodeProperties.class, long.class
};
private static final Class>[] _updateTaxCategoryInfoParameterTypes30 =
new Class[] {long.class, long.class, boolean.class, boolean.class};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy