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

com.liferay.portal.service.http.LayoutServiceHttp 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.portal.service.http;

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.LayoutServiceUtil;
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
 * LayoutServiceUtil 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 LayoutServiceHttp { public static com.liferay.portal.kernel.model.Layout addLayout( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId, long classNameId, long classPK, java.util.Map localeNamesMap, java.util.Map localeTitlesMap, java.util.Map descriptionMap, java.util.Map keywordsMap, java.util.Map robotsMap, String type, String typeSettings, boolean hidden, boolean system, java.util.Map friendlyURLMap, long masterLayoutPlid, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "addLayout", _addLayoutParameterTypes0); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, parentLayoutId, classNameId, classPK, localeNamesMap, localeTitlesMap, descriptionMap, keywordsMap, robotsMap, type, typeSettings, hidden, system, friendlyURLMap, masterLayoutPlid, 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.portal.kernel.model.Layout)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.portal.kernel.model.Layout addLayout( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId, java.util.Map localeNamesMap, java.util.Map localeTitlesMap, java.util.Map descriptionMap, java.util.Map keywordsMap, java.util.Map robotsMap, String type, String typeSettings, boolean hidden, java.util.Map friendlyURLMap, long masterLayoutPlid, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "addLayout", _addLayoutParameterTypes1); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, parentLayoutId, localeNamesMap, localeTitlesMap, descriptionMap, keywordsMap, robotsMap, type, typeSettings, hidden, friendlyURLMap, masterLayoutPlid, 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.portal.kernel.model.Layout)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.portal.kernel.model.Layout addLayout( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId, java.util.Map localeNamesMap, java.util.Map localeTitlesMap, java.util.Map descriptionMap, java.util.Map keywordsMap, java.util.Map robotsMap, String type, String typeSettings, boolean hidden, java.util.Map friendlyURLMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "addLayout", _addLayoutParameterTypes2); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, parentLayoutId, localeNamesMap, localeTitlesMap, descriptionMap, keywordsMap, robotsMap, type, typeSettings, hidden, friendlyURLMap, 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.portal.kernel.model.Layout)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.portal.kernel.model.Layout addLayout( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId, String name, String title, String description, String type, boolean hidden, String friendlyURL, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "addLayout", _addLayoutParameterTypes3); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, parentLayoutId, name, title, description, type, hidden, friendlyURL, 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.portal.kernel.model.Layout)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.portal.kernel.repository.model.FileEntry addTempFileEntry( HttpPrincipal httpPrincipal, long groupId, String folderName, String fileName, java.io.InputStream inputStream, String mimeType) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "addTempFileEntry", _addTempFileEntryParameterTypes4); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, folderName, fileName, inputStream, mimeType); 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.repository.model.FileEntry) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static void deleteLayout( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "deleteLayout", _deleteLayoutParameterTypes5); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, layoutId, 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 deleteLayout( HttpPrincipal httpPrincipal, long plid, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "deleteLayout", _deleteLayoutParameterTypes6); MethodHandler methodHandler = new MethodHandler( methodKey, plid, 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 deleteTempFileEntry( HttpPrincipal httpPrincipal, long groupId, String folderName, String fileName) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "deleteTempFileEntry", _deleteTempFileEntryParameterTypes7); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, folderName, fileName); 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.portal.kernel.model.Layout fetchLayout( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "fetchLayout", _fetchLayoutParameterTypes8); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, layoutId); 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.model.Layout)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static java.util.List getAncestorLayouts(HttpPrincipal httpPrincipal, long plid) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getAncestorLayouts", _getAncestorLayoutsParameterTypes9); MethodHandler methodHandler = new MethodHandler(methodKey, plid); 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 getControlPanelLayoutPlid(HttpPrincipal httpPrincipal) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getControlPanelLayoutPlid", _getControlPanelLayoutPlidParameterTypes10); MethodHandler methodHandler = new MethodHandler(methodKey); 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 long getDefaultPlid( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout) { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getDefaultPlid", _getDefaultPlidParameterTypes11); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception 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 long getDefaultPlid( HttpPrincipal httpPrincipal, long groupId, long scopeGroupId, boolean privateLayout, String portletId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getDefaultPlid", _getDefaultPlidParameterTypes12); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, scopeGroupId, privateLayout, portletId); 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 long getDefaultPlid( HttpPrincipal httpPrincipal, long groupId, long scopeGroupId, String portletId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getDefaultPlid", _getDefaultPlidParameterTypes13); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, scopeGroupId, portletId); 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 com.liferay.portal.kernel.model.Layout getLayoutByUuidAndGroupId( HttpPrincipal httpPrincipal, String uuid, long groupId, boolean privateLayout) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getLayoutByUuidAndGroupId", _getLayoutByUuidAndGroupIdParameterTypes14); MethodHandler methodHandler = new MethodHandler( methodKey, uuid, groupId, privateLayout); 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.model.Layout)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static String getLayoutName( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, String languageId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getLayoutName", _getLayoutNameParameterTypes15); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, layoutId, languageId); 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 long getLayoutPlid( HttpPrincipal httpPrincipal, String uuid, long groupId, boolean privateLayout) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getLayoutPlid", _getLayoutPlidParameterTypes16); MethodHandler methodHandler = new MethodHandler( methodKey, uuid, groupId, privateLayout); 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 com.liferay.portal.kernel.model.LayoutReference[] getLayoutReferences( HttpPrincipal httpPrincipal, long companyId, String portletId, String preferencesKey, String preferencesValue) { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getLayoutReferences", _getLayoutReferencesParameterTypes17); MethodHandler methodHandler = new MethodHandler( methodKey, companyId, portletId, preferencesKey, preferencesValue); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception exception) { throw new com.liferay.portal.kernel.exception.SystemException( exception); } return (com.liferay.portal.kernel.model.LayoutReference[])returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static java.util.List getLayouts( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout) { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getLayouts", _getLayoutsParameterTypes18); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout); 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 getLayouts( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getLayouts", _getLayoutsParameterTypes19); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, parentLayoutId); 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 getLayouts( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId, boolean incomplete, int start, int end) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getLayouts", _getLayoutsParameterTypes20); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, parentLayoutId, incomplete, 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 getLayouts( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, String type) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getLayouts", _getLayoutsParameterTypes21); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, type); 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 getLayouts( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, String type, int start, int end) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getLayouts", _getLayoutsParameterTypes22); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, type, 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 getLayouts( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, String keywords, String[] types, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getLayouts", _getLayoutsParameterTypes23); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, keywords, types, 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 getLayouts( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, String keywords, String[] types, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getLayouts", _getLayoutsParameterTypes24); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, keywords, types, statuses, 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 getLayouts(HttpPrincipal httpPrincipal, long groupId, String type) { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getLayouts", _getLayoutsParameterTypes25); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, type); 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 getLayouts( HttpPrincipal httpPrincipal, long groupId, String type, int start, int end) { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getLayouts", _getLayoutsParameterTypes26); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, type, start, end); 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 getLayoutsCount( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout) { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getLayoutsCount", _getLayoutsCountParameterTypes27); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout); 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 getLayoutsCount( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId) { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getLayoutsCount", _getLayoutsCountParameterTypes28); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, parentLayoutId); 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 getLayoutsCount( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId, int priority) { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getLayoutsCount", _getLayoutsCountParameterTypes29); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, parentLayoutId, priority); 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 getLayoutsCount( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, String type) { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getLayoutsCount", _getLayoutsCountParameterTypes30); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, type); 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 getLayoutsCount( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, String keywords, String[] types) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getLayoutsCount", _getLayoutsCountParameterTypes31); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, keywords, types); 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 getLayoutsCount( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, String keywords, String[] types, int[] statuses) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getLayoutsCount", _getLayoutsCountParameterTypes32); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, keywords, types, statuses); 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 getLayoutsCount( HttpPrincipal httpPrincipal, long groupId, String type) { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getLayoutsCount", _getLayoutsCountParameterTypes33); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, type); 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 String[] getTempFileNames( HttpPrincipal httpPrincipal, long groupId, String folderName) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "getTempFileNames", _getTempFileNamesParameterTypes34); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, folderName); 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 boolean hasLayout( HttpPrincipal httpPrincipal, String uuid, long groupId, boolean privateLayout) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "hasLayout", _hasLayoutParameterTypes35); MethodHandler methodHandler = new MethodHandler( methodKey, uuid, groupId, privateLayout); 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 ((Boolean)returnObj).booleanValue(); } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static boolean hasPortletId( HttpPrincipal httpPrincipal, long plid, String portletId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "hasPortletId", _hasPortletIdParameterTypes36); MethodHandler methodHandler = new MethodHandler( methodKey, plid, portletId); 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 ((Boolean)returnObj).booleanValue(); } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.portal.kernel.model.Layout publishLayout( HttpPrincipal httpPrincipal, long plid) throws Exception { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "publishLayout", _publishLayoutParameterTypes37); MethodHandler methodHandler = new MethodHandler(methodKey, plid); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception exception) { if (exception instanceof Exception) { throw (Exception)exception; } throw new com.liferay.portal.kernel.exception.SystemException( exception); } return (com.liferay.portal.kernel.model.Layout)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static void schedulePublishToLive( HttpPrincipal httpPrincipal, long sourceGroupId, long targetGroupId, boolean privateLayout, long[] layoutIds, java.util.Map parameterMap, String groupName, String cronText, java.util.Date schedulerStartDate, java.util.Date schedulerEndDate, String description) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "schedulePublishToLive", _schedulePublishToLiveParameterTypes38); MethodHandler methodHandler = new MethodHandler( methodKey, sourceGroupId, targetGroupId, privateLayout, layoutIds, parameterMap, groupName, cronText, schedulerStartDate, schedulerEndDate, description); 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 schedulePublishToRemote( HttpPrincipal httpPrincipal, long sourceGroupId, boolean privateLayout, java.util.Map layoutIdMap, java.util.Map parameterMap, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, boolean remotePrivateLayout, java.util.Date startDate, java.util.Date endDate, String groupName, String cronText, java.util.Date schedulerStartDate, java.util.Date schedulerEndDate, String description) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "schedulePublishToRemote", _schedulePublishToRemoteParameterTypes39); MethodHandler methodHandler = new MethodHandler( methodKey, sourceGroupId, privateLayout, layoutIdMap, parameterMap, remoteAddress, remotePort, remotePathContext, secureConnection, remoteGroupId, remotePrivateLayout, startDate, endDate, groupName, cronText, schedulerStartDate, schedulerEndDate, description); 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 setLayouts( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId, long[] layoutIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "setLayouts", _setLayoutsParameterTypes40); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, parentLayoutId, layoutIds, 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 unschedulePublishToLive( HttpPrincipal httpPrincipal, long groupId, String jobName, String groupName) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "unschedulePublishToLive", _unschedulePublishToLiveParameterTypes41); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, jobName, groupName); 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 unschedulePublishToRemote( HttpPrincipal httpPrincipal, long groupId, String jobName, String groupName) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "unschedulePublishToRemote", _unschedulePublishToRemoteParameterTypes42); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, jobName, groupName); 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.portal.kernel.model.Layout updateIconImage( HttpPrincipal httpPrincipal, long plid, byte[] bytes) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "updateIconImage", _updateIconImageParameterTypes43); MethodHandler methodHandler = new MethodHandler( methodKey, plid, bytes); 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.model.Layout)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.portal.kernel.model.Layout updateLayout( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, long parentLayoutId, java.util.Map localeNamesMap, java.util.Map localeTitlesMap, java.util.Map descriptionMap, java.util.Map keywordsMap, java.util.Map robotsMap, String type, boolean hidden, java.util.Map friendlyURLMap, boolean hasIconImage, byte[] iconBytes, long styleBookEntryId, long faviconFileEntryId, long masterLayoutPlid, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "updateLayout", _updateLayoutParameterTypes44); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, layoutId, parentLayoutId, localeNamesMap, localeTitlesMap, descriptionMap, keywordsMap, robotsMap, type, hidden, friendlyURLMap, hasIconImage, iconBytes, styleBookEntryId, faviconFileEntryId, masterLayoutPlid, 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.portal.kernel.model.Layout)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.portal.kernel.model.Layout updateLayout( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, String typeSettings) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "updateLayout", _updateLayoutParameterTypes45); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, layoutId, typeSettings); 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.model.Layout)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.portal.kernel.model.Layout updateLookAndFeel( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, String themeId, String colorSchemeId, String css) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "updateLookAndFeel", _updateLookAndFeelParameterTypes46); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, layoutId, themeId, colorSchemeId, css); 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.model.Layout)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.portal.kernel.model.Layout updateName( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, String name, String languageId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "updateName", _updateNameParameterTypes47); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, layoutId, name, languageId); 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.model.Layout)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.portal.kernel.model.Layout updateName( HttpPrincipal httpPrincipal, long plid, String name, String languageId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "updateName", _updateNameParameterTypes48); MethodHandler methodHandler = new MethodHandler( methodKey, plid, name, languageId); 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.model.Layout)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.portal.kernel.model.Layout updateParentLayoutId( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, long parentLayoutId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "updateParentLayoutId", _updateParentLayoutIdParameterTypes49); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, layoutId, parentLayoutId); 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.model.Layout)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.portal.kernel.model.Layout updateParentLayoutId( HttpPrincipal httpPrincipal, long plid, long parentPlid) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "updateParentLayoutId", _updateParentLayoutIdParameterTypes50); MethodHandler methodHandler = new MethodHandler( methodKey, plid, parentPlid); 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.model.Layout)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.portal.kernel.model.Layout updateParentLayoutIdAndPriority( HttpPrincipal httpPrincipal, long plid, long parentPlid, int priority) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "updateParentLayoutIdAndPriority", _updateParentLayoutIdAndPriorityParameterTypes51); MethodHandler methodHandler = new MethodHandler( methodKey, plid, parentPlid, priority); 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.model.Layout)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.portal.kernel.model.Layout updatePriority( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, int priority) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "updatePriority", _updatePriorityParameterTypes52); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, layoutId, priority); 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.model.Layout)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.portal.kernel.model.Layout updatePriority( HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, long nextLayoutId, long previousLayoutId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "updatePriority", _updatePriorityParameterTypes53); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, privateLayout, layoutId, nextLayoutId, previousLayoutId); 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.model.Layout)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.portal.kernel.model.Layout updatePriority( HttpPrincipal httpPrincipal, long plid, int priority) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "updatePriority", _updatePriorityParameterTypes54); MethodHandler methodHandler = new MethodHandler( methodKey, plid, priority); 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.model.Layout)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } public static com.liferay.portal.kernel.model.Layout updateType( HttpPrincipal httpPrincipal, long plid, String type) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( LayoutServiceUtil.class, "updateType", _updateTypeParameterTypes55); MethodHandler methodHandler = new MethodHandler( methodKey, plid, type); 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.model.Layout)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException systemException) { _log.error(systemException, systemException); throw systemException; } } private static Log _log = LogFactoryUtil.getLog(LayoutServiceHttp.class); private static final Class[] _addLayoutParameterTypes0 = new Class[] { long.class, boolean.class, long.class, long.class, long.class, java.util.Map.class, java.util.Map.class, java.util.Map.class, java.util.Map.class, java.util.Map.class, String.class, String.class, boolean.class, boolean.class, java.util.Map.class, long.class, com.liferay.portal.kernel.service.ServiceContext.class }; private static final Class[] _addLayoutParameterTypes1 = new Class[] { long.class, boolean.class, long.class, java.util.Map.class, java.util.Map.class, java.util.Map.class, java.util.Map.class, java.util.Map.class, String.class, String.class, boolean.class, java.util.Map.class, long.class, com.liferay.portal.kernel.service.ServiceContext.class }; private static final Class[] _addLayoutParameterTypes2 = new Class[] { long.class, boolean.class, long.class, java.util.Map.class, java.util.Map.class, java.util.Map.class, java.util.Map.class, java.util.Map.class, String.class, String.class, boolean.class, java.util.Map.class, com.liferay.portal.kernel.service.ServiceContext.class }; private static final Class[] _addLayoutParameterTypes3 = new Class[] { long.class, boolean.class, long.class, String.class, String.class, String.class, String.class, boolean.class, String.class, com.liferay.portal.kernel.service.ServiceContext.class }; private static final Class[] _addTempFileEntryParameterTypes4 = new Class[] { long.class, String.class, String.class, java.io.InputStream.class, String.class }; private static final Class[] _deleteLayoutParameterTypes5 = new Class[] { long.class, boolean.class, long.class, com.liferay.portal.kernel.service.ServiceContext.class }; private static final Class[] _deleteLayoutParameterTypes6 = new Class[] { long.class, com.liferay.portal.kernel.service.ServiceContext.class }; private static final Class[] _deleteTempFileEntryParameterTypes7 = new Class[] {long.class, String.class, String.class}; private static final Class[] _fetchLayoutParameterTypes8 = new Class[] { long.class, boolean.class, long.class }; private static final Class[] _getAncestorLayoutsParameterTypes9 = new Class[] {long.class}; private static final Class[] _getControlPanelLayoutPlidParameterTypes10 = new Class[] {}; private static final Class[] _getDefaultPlidParameterTypes11 = new Class[] {long.class, boolean.class}; private static final Class[] _getDefaultPlidParameterTypes12 = new Class[] {long.class, long.class, boolean.class, String.class}; private static final Class[] _getDefaultPlidParameterTypes13 = new Class[] {long.class, long.class, String.class}; private static final Class[] _getLayoutByUuidAndGroupIdParameterTypes14 = new Class[] {String.class, long.class, boolean.class}; private static final Class[] _getLayoutNameParameterTypes15 = new Class[] {long.class, boolean.class, long.class, String.class}; private static final Class[] _getLayoutPlidParameterTypes16 = new Class[] {String.class, long.class, boolean.class}; private static final Class[] _getLayoutReferencesParameterTypes17 = new Class[] {long.class, String.class, String.class, String.class}; private static final Class[] _getLayoutsParameterTypes18 = new Class[] { long.class, boolean.class }; private static final Class[] _getLayoutsParameterTypes19 = new Class[] { long.class, boolean.class, long.class }; private static final Class[] _getLayoutsParameterTypes20 = new Class[] { long.class, boolean.class, long.class, boolean.class, int.class, int.class }; private static final Class[] _getLayoutsParameterTypes21 = new Class[] { long.class, boolean.class, String.class }; private static final Class[] _getLayoutsParameterTypes22 = new Class[] { long.class, boolean.class, String.class, int.class, int.class }; private static final Class[] _getLayoutsParameterTypes23 = new Class[] { long.class, boolean.class, String.class, String[].class, int.class, int.class, com.liferay.portal.kernel.util.OrderByComparator.class }; private static final Class[] _getLayoutsParameterTypes24 = new Class[] { long.class, boolean.class, String.class, String[].class, int[].class, int.class, int.class, com.liferay.portal.kernel.util.OrderByComparator.class }; private static final Class[] _getLayoutsParameterTypes25 = new Class[] { long.class, String.class }; private static final Class[] _getLayoutsParameterTypes26 = new Class[] { long.class, String.class, int.class, int.class }; private static final Class[] _getLayoutsCountParameterTypes27 = new Class[] {long.class, boolean.class}; private static final Class[] _getLayoutsCountParameterTypes28 = new Class[] {long.class, boolean.class, long.class}; private static final Class[] _getLayoutsCountParameterTypes29 = new Class[] {long.class, boolean.class, long.class, int.class}; private static final Class[] _getLayoutsCountParameterTypes30 = new Class[] {long.class, boolean.class, String.class}; private static final Class[] _getLayoutsCountParameterTypes31 = new Class[] {long.class, boolean.class, String.class, String[].class}; private static final Class[] _getLayoutsCountParameterTypes32 = new Class[] { long.class, boolean.class, String.class, String[].class, int[].class }; private static final Class[] _getLayoutsCountParameterTypes33 = new Class[] {long.class, String.class}; private static final Class[] _getTempFileNamesParameterTypes34 = new Class[] {long.class, String.class}; private static final Class[] _hasLayoutParameterTypes35 = new Class[] { String.class, long.class, boolean.class }; private static final Class[] _hasPortletIdParameterTypes36 = new Class[] {long.class, String.class}; private static final Class[] _publishLayoutParameterTypes37 = new Class[] {long.class}; private static final Class[] _schedulePublishToLiveParameterTypes38 = new Class[] { long.class, long.class, boolean.class, long[].class, java.util.Map.class, String.class, String.class, java.util.Date.class, java.util.Date.class, String.class }; private static final Class[] _schedulePublishToRemoteParameterTypes39 = new Class[] { long.class, boolean.class, java.util.Map.class, java.util.Map.class, String.class, int.class, String.class, boolean.class, long.class, boolean.class, java.util.Date.class, java.util.Date.class, String.class, String.class, java.util.Date.class, java.util.Date.class, String.class }; private static final Class[] _setLayoutsParameterTypes40 = new Class[] { long.class, boolean.class, long.class, long[].class, com.liferay.portal.kernel.service.ServiceContext.class }; private static final Class[] _unschedulePublishToLiveParameterTypes41 = new Class[] {long.class, String.class, String.class}; private static final Class[] _unschedulePublishToRemoteParameterTypes42 = new Class[] {long.class, String.class, String.class}; private static final Class[] _updateIconImageParameterTypes43 = new Class[] {long.class, byte[].class}; private static final Class[] _updateLayoutParameterTypes44 = new Class[] { long.class, boolean.class, long.class, long.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, java.util.Map.class, boolean.class, byte[].class, long.class, long.class, long.class, com.liferay.portal.kernel.service.ServiceContext.class }; private static final Class[] _updateLayoutParameterTypes45 = new Class[] {long.class, boolean.class, long.class, String.class}; private static final Class[] _updateLookAndFeelParameterTypes46 = new Class[] { long.class, boolean.class, long.class, String.class, String.class, String.class }; private static final Class[] _updateNameParameterTypes47 = new Class[] { long.class, boolean.class, long.class, String.class, String.class }; private static final Class[] _updateNameParameterTypes48 = new Class[] { long.class, String.class, String.class }; private static final Class[] _updateParentLayoutIdParameterTypes49 = new Class[] {long.class, boolean.class, long.class, long.class}; private static final Class[] _updateParentLayoutIdParameterTypes50 = new Class[] {long.class, long.class}; private static final Class[] _updateParentLayoutIdAndPriorityParameterTypes51 = new Class[] { long.class, long.class, int.class }; private static final Class[] _updatePriorityParameterTypes52 = new Class[] {long.class, boolean.class, long.class, int.class}; private static final Class[] _updatePriorityParameterTypes53 = new Class[] { long.class, boolean.class, long.class, long.class, long.class }; private static final Class[] _updatePriorityParameterTypes54 = new Class[] {long.class, int.class}; private static final Class[] _updateTypeParameterTypes55 = new Class[] { long.class, String.class }; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy