All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.dynamic.data.mapping.service.http.DDMStructureServiceHttp Maven / Gradle / Ivy

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.dynamic.data.mapping.service.http;

import com.liferay.dynamic.data.mapping.service.DDMStructureServiceUtil;
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
 * DDMStructureServiceUtil 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 Brian Wing Shun Chan * @generated */ public class DDMStructureServiceHttp { public static com.liferay.dynamic.data.mapping.model.DDMStructure addStructure( HttpPrincipal httpPrincipal, long groupId, long parentStructureId, long classNameId, String structureKey, java.util.Map nameMap, java.util.Map descriptionMap, com.liferay.dynamic.data.mapping.model.DDMForm ddmForm, com.liferay.dynamic.data.mapping.model.DDMFormLayout ddmFormLayout, String storageType, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "addStructure", _addStructureParameterTypes0); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, parentStructureId, classNameId, structureKey, nameMap, descriptionMap, ddmForm, ddmFormLayout, storageType, type, 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.dynamic.data.mapping.model.DDMStructure) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.dynamic.data.mapping.model.DDMStructure addStructure( HttpPrincipal httpPrincipal, long groupId, long classNameId, java.util.Map nameMap, java.util.Map descriptionMap, com.liferay.dynamic.data.mapping.model.DDMForm ddmForm, com.liferay.dynamic.data.mapping.model.DDMFormLayout ddmFormLayout, String storageType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "addStructure", _addStructureParameterTypes1); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, classNameId, nameMap, descriptionMap, ddmForm, ddmFormLayout, storageType, 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.dynamic.data.mapping.model.DDMStructure) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.dynamic.data.mapping.model.DDMStructure addStructure( HttpPrincipal httpPrincipal, long groupId, String parentStructureKey, long classNameId, String structureKey, java.util.Map nameMap, java.util.Map descriptionMap, com.liferay.dynamic.data.mapping.model.DDMForm ddmForm, com.liferay.dynamic.data.mapping.model.DDMFormLayout ddmFormLayout, String storageType, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "addStructure", _addStructureParameterTypes2); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, parentStructureKey, classNameId, structureKey, nameMap, descriptionMap, ddmForm, ddmFormLayout, storageType, type, 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.dynamic.data.mapping.model.DDMStructure) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.dynamic.data.mapping.model.DDMStructure copyStructure( HttpPrincipal httpPrincipal, long sourceStructureId, java.util.Map nameMap, java.util.Map descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "copyStructure", _copyStructureParameterTypes3); MethodHandler methodHandler = new MethodHandler( methodKey, sourceStructureId, nameMap, descriptionMap, 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.dynamic.data.mapping.model.DDMStructure) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.dynamic.data.mapping.model.DDMStructure copyStructure( HttpPrincipal httpPrincipal, long sourceStructureId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "copyStructure", _copyStructureParameterTypes4); MethodHandler methodHandler = new MethodHandler( methodKey, sourceStructureId, 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.dynamic.data.mapping.model.DDMStructure) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static void deleteStructure( HttpPrincipal httpPrincipal, long structureId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "deleteStructure", _deleteStructureParameterTypes5); MethodHandler methodHandler = new MethodHandler( methodKey, structureId); 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.dynamic.data.mapping.model.DDMStructure fetchStructure( HttpPrincipal httpPrincipal, long groupId, long classNameId, String structureKey) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "fetchStructure", _fetchStructureParameterTypes6); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, classNameId, structureKey); 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.dynamic.data.mapping.model.DDMStructure) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.dynamic.data.mapping.model.DDMStructure fetchStructure( HttpPrincipal httpPrincipal, long groupId, long classNameId, String structureKey, boolean includeAncestorStructures) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "fetchStructure", _fetchStructureParameterTypes7); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, classNameId, structureKey, includeAncestorStructures); 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.dynamic.data.mapping.model.DDMStructure) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.dynamic.data.mapping.model.DDMStructure fetchStructureByExternalReferenceCode( HttpPrincipal httpPrincipal, String externalReferenceCode, long groupId, long classNameId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "fetchStructureByExternalReferenceCode", _fetchStructureByExternalReferenceCodeParameterTypes8); MethodHandler methodHandler = new MethodHandler( methodKey, externalReferenceCode, groupId, classNameId); 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.dynamic.data.mapping.model.DDMStructure) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.dynamic.data.mapping.model.DDMStructure getStructure(HttpPrincipal httpPrincipal, long structureId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "getStructure", _getStructureParameterTypes9); MethodHandler methodHandler = new MethodHandler( methodKey, structureId); 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.dynamic.data.mapping.model.DDMStructure) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.dynamic.data.mapping.model.DDMStructure getStructure( HttpPrincipal httpPrincipal, long groupId, long classNameId, String structureKey) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "getStructure", _getStructureParameterTypes10); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, classNameId, structureKey); 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.dynamic.data.mapping.model.DDMStructure) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.dynamic.data.mapping.model.DDMStructure getStructure( HttpPrincipal httpPrincipal, long groupId, long classNameId, String structureKey, boolean includeAncestorStructures) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "getStructure", _getStructureParameterTypes11); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, classNameId, structureKey, includeAncestorStructures); 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.dynamic.data.mapping.model.DDMStructure) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.dynamic.data.mapping.model.DDMStructure getStructureByExternalReferenceCode( HttpPrincipal httpPrincipal, String externalReferenceCode, long groupId, long classNameId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "getStructureByExternalReferenceCode", _getStructureByExternalReferenceCodeParameterTypes12); MethodHandler methodHandler = new MethodHandler( methodKey, externalReferenceCode, groupId, classNameId); 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.dynamic.data.mapping.model.DDMStructure) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static java.util.List getStructures( HttpPrincipal httpPrincipal, long companyId, long[] groupIds, long classNameId, int status) { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "getStructures", _getStructuresParameterTypes13); MethodHandler methodHandler = new MethodHandler( methodKey, companyId, groupIds, classNameId, status); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception 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 getStructures( HttpPrincipal httpPrincipal, long companyId, long[] groupIds, long classNameId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "getStructures", _getStructuresParameterTypes14); MethodHandler methodHandler = new MethodHandler( methodKey, companyId, groupIds, classNameId, status, start, end, orderByComparator); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception 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 getStructures( HttpPrincipal httpPrincipal, long companyId, long[] groupIds, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "getStructures", _getStructuresParameterTypes15); MethodHandler methodHandler = new MethodHandler( methodKey, companyId, groupIds, classNameId, start, end, orderByComparator); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception 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 getStructures( HttpPrincipal httpPrincipal, long companyId, long[] groupIds, long classNameId, String keywords, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "getStructures", _getStructuresParameterTypes16); MethodHandler methodHandler = new MethodHandler( methodKey, companyId, groupIds, classNameId, keywords, status, start, end, orderByComparator); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception 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 getStructuresCount( HttpPrincipal httpPrincipal, long companyId, long[] groupIds, long classNameId) { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "getStructuresCount", _getStructuresCountParameterTypes17); MethodHandler methodHandler = new MethodHandler( methodKey, companyId, groupIds, classNameId); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception 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 getStructuresCount( HttpPrincipal httpPrincipal, long companyId, long[] groupIds, long classNameId, String keywords, int status) { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "getStructuresCount", _getStructuresCountParameterTypes18); MethodHandler methodHandler = new MethodHandler( methodKey, companyId, groupIds, classNameId, keywords, status); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception 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 void revertStructure( HttpPrincipal httpPrincipal, long structureId, String version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "revertStructure", _revertStructureParameterTypes19); MethodHandler methodHandler = new MethodHandler( methodKey, structureId, version, 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 java.util.List search( HttpPrincipal httpPrincipal, long companyId, long[] groupIds, long classNameId, long classPK, String keywords, 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( DDMStructureServiceUtil.class, "search", _searchParameterTypes20); MethodHandler methodHandler = new MethodHandler( methodKey, companyId, groupIds, classNameId, classPK, keywords, 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 java.util.List search( HttpPrincipal httpPrincipal, long companyId, long[] groupIds, long classNameId, String keywords, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "search", _searchParameterTypes21); MethodHandler methodHandler = new MethodHandler( methodKey, companyId, groupIds, classNameId, keywords, type, status, start, end, orderByComparator); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception 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 search( HttpPrincipal httpPrincipal, long companyId, long[] groupIds, long classNameId, String keywords, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "search", _searchParameterTypes22); MethodHandler methodHandler = new MethodHandler( methodKey, companyId, groupIds, classNameId, keywords, status, start, end, orderByComparator); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception 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 search( HttpPrincipal httpPrincipal, long companyId, long[] groupIds, long classNameId, String name, String description, String storageType, int type, int status, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "search", _searchParameterTypes23); MethodHandler methodHandler = new MethodHandler( methodKey, companyId, groupIds, classNameId, name, description, storageType, type, status, andOperator, start, end, orderByComparator); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception 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 searchCount( HttpPrincipal httpPrincipal, long companyId, long[] groupIds, long classNameId, long classPK, String keywords, int status) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "searchCount", _searchCountParameterTypes24); MethodHandler methodHandler = new MethodHandler( methodKey, companyId, groupIds, classNameId, classPK, keywords, 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 int searchCount( HttpPrincipal httpPrincipal, long companyId, long[] groupIds, long classNameId, String keywords, int status) { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "searchCount", _searchCountParameterTypes25); MethodHandler methodHandler = new MethodHandler( methodKey, companyId, groupIds, classNameId, keywords, status); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception 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 searchCount( HttpPrincipal httpPrincipal, long companyId, long[] groupIds, long classNameId, String keywords, int type, int status) { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "searchCount", _searchCountParameterTypes26); MethodHandler methodHandler = new MethodHandler( methodKey, companyId, groupIds, classNameId, keywords, type, status); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception 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 searchCount( HttpPrincipal httpPrincipal, long companyId, long[] groupIds, long classNameId, String name, String description, String storageType, int type, int status, boolean andOperator) { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "searchCount", _searchCountParameterTypes27); MethodHandler methodHandler = new MethodHandler( methodKey, companyId, groupIds, classNameId, name, description, storageType, type, status, andOperator); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception 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.dynamic.data.mapping.model.DDMStructure updateStructure( HttpPrincipal httpPrincipal, long groupId, long parentStructureId, long classNameId, String structureKey, java.util.Map nameMap, java.util.Map descriptionMap, com.liferay.dynamic.data.mapping.model.DDMForm ddmForm, com.liferay.dynamic.data.mapping.model.DDMFormLayout ddmFormLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "updateStructure", _updateStructureParameterTypes28); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, parentStructureId, classNameId, structureKey, nameMap, descriptionMap, ddmForm, ddmFormLayout, 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.dynamic.data.mapping.model.DDMStructure) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.dynamic.data.mapping.model.DDMStructure updateStructure( HttpPrincipal httpPrincipal, long structureId, long parentStructureId, java.util.Map nameMap, java.util.Map descriptionMap, com.liferay.dynamic.data.mapping.model.DDMForm ddmForm, com.liferay.dynamic.data.mapping.model.DDMFormLayout ddmFormLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( DDMStructureServiceUtil.class, "updateStructure", _updateStructureParameterTypes29); MethodHandler methodHandler = new MethodHandler( methodKey, structureId, parentStructureId, nameMap, descriptionMap, ddmForm, ddmFormLayout, 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.dynamic.data.mapping.model.DDMStructure) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } private static Log _log = LogFactoryUtil.getLog( DDMStructureServiceHttp.class); private static final Class[] _addStructureParameterTypes0 = new Class[] { long.class, long.class, long.class, String.class, java.util.Map.class, java.util.Map.class, com.liferay.dynamic.data.mapping.model.DDMForm.class, com.liferay.dynamic.data.mapping.model.DDMFormLayout.class, String.class, int.class, com.liferay.portal.kernel.service.ServiceContext.class }; private static final Class[] _addStructureParameterTypes1 = new Class[] { long.class, long.class, java.util.Map.class, java.util.Map.class, com.liferay.dynamic.data.mapping.model.DDMForm.class, com.liferay.dynamic.data.mapping.model.DDMFormLayout.class, String.class, com.liferay.portal.kernel.service.ServiceContext.class }; private static final Class[] _addStructureParameterTypes2 = new Class[] { long.class, String.class, long.class, String.class, java.util.Map.class, java.util.Map.class, com.liferay.dynamic.data.mapping.model.DDMForm.class, com.liferay.dynamic.data.mapping.model.DDMFormLayout.class, String.class, int.class, com.liferay.portal.kernel.service.ServiceContext.class }; private static final Class[] _copyStructureParameterTypes3 = new Class[] { long.class, java.util.Map.class, java.util.Map.class, com.liferay.portal.kernel.service.ServiceContext.class }; private static final Class[] _copyStructureParameterTypes4 = new Class[] { long.class, com.liferay.portal.kernel.service.ServiceContext.class }; private static final Class[] _deleteStructureParameterTypes5 = new Class[] {long.class}; private static final Class[] _fetchStructureParameterTypes6 = new Class[] {long.class, long.class, String.class}; private static final Class[] _fetchStructureParameterTypes7 = new Class[] {long.class, long.class, String.class, boolean.class}; private static final Class[] _fetchStructureByExternalReferenceCodeParameterTypes8 = new Class[] { String.class, long.class, long.class }; private static final Class[] _getStructureParameterTypes9 = new Class[] { long.class }; private static final Class[] _getStructureParameterTypes10 = new Class[] {long.class, long.class, String.class}; private static final Class[] _getStructureParameterTypes11 = new Class[] {long.class, long.class, String.class, boolean.class}; private static final Class[] _getStructureByExternalReferenceCodeParameterTypes12 = new Class[] { String.class, long.class, long.class }; private static final Class[] _getStructuresParameterTypes13 = new Class[] {long.class, long[].class, long.class, int.class}; private static final Class[] _getStructuresParameterTypes14 = new Class[] { long.class, long[].class, long.class, int.class, int.class, int.class, com.liferay.portal.kernel.util.OrderByComparator.class }; private static final Class[] _getStructuresParameterTypes15 = new Class[] { long.class, long[].class, long.class, int.class, int.class, com.liferay.portal.kernel.util.OrderByComparator.class }; private static final Class[] _getStructuresParameterTypes16 = new Class[] { long.class, long[].class, long.class, String.class, int.class, int.class, int.class, com.liferay.portal.kernel.util.OrderByComparator.class }; private static final Class[] _getStructuresCountParameterTypes17 = new Class[] {long.class, long[].class, long.class}; private static final Class[] _getStructuresCountParameterTypes18 = new Class[] { long.class, long[].class, long.class, String.class, int.class }; private static final Class[] _revertStructureParameterTypes19 = new Class[] { long.class, String.class, com.liferay.portal.kernel.service.ServiceContext.class }; private static final Class[] _searchParameterTypes20 = new Class[] { long.class, long[].class, long.class, long.class, String.class, int.class, int.class, int.class, com.liferay.portal.kernel.util.OrderByComparator.class }; private static final Class[] _searchParameterTypes21 = new Class[] { long.class, long[].class, long.class, String.class, int.class, int.class, int.class, int.class, com.liferay.portal.kernel.util.OrderByComparator.class }; private static final Class[] _searchParameterTypes22 = new Class[] { long.class, long[].class, long.class, String.class, int.class, int.class, int.class, com.liferay.portal.kernel.util.OrderByComparator.class }; private static final Class[] _searchParameterTypes23 = new Class[] { long.class, long[].class, long.class, String.class, String.class, String.class, int.class, int.class, boolean.class, int.class, int.class, com.liferay.portal.kernel.util.OrderByComparator.class }; private static final Class[] _searchCountParameterTypes24 = new Class[] { long.class, long[].class, long.class, long.class, String.class, int.class }; private static final Class[] _searchCountParameterTypes25 = new Class[] { long.class, long[].class, long.class, String.class, int.class }; private static final Class[] _searchCountParameterTypes26 = new Class[] { long.class, long[].class, long.class, String.class, int.class, int.class }; private static final Class[] _searchCountParameterTypes27 = new Class[] { long.class, long[].class, long.class, String.class, String.class, String.class, int.class, int.class, boolean.class }; private static final Class[] _updateStructureParameterTypes28 = new Class[] { long.class, long.class, long.class, String.class, java.util.Map.class, java.util.Map.class, com.liferay.dynamic.data.mapping.model.DDMForm.class, com.liferay.dynamic.data.mapping.model.DDMFormLayout.class, com.liferay.portal.kernel.service.ServiceContext.class }; private static final Class[] _updateStructureParameterTypes29 = new Class[] { long.class, long.class, java.util.Map.class, java.util.Map.class, com.liferay.dynamic.data.mapping.model.DDMForm.class, com.liferay.dynamic.data.mapping.model.DDMFormLayout.class, com.liferay.portal.kernel.service.ServiceContext.class }; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy