001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.service.http;
016    
017    import com.liferay.portal.kernel.log.Log;
018    import com.liferay.portal.kernel.log.LogFactoryUtil;
019    import com.liferay.portal.kernel.util.MethodHandler;
020    import com.liferay.portal.kernel.util.MethodKey;
021    import com.liferay.portal.security.auth.HttpPrincipal;
022    import com.liferay.portal.service.LayoutServiceUtil;
023    
024    /**
025     * Provides the HTTP utility for the
026     * {@link com.liferay.portal.service.LayoutServiceUtil} service utility. The
027     * static methods of this class calls the same methods of the service utility.
028     * However, the signatures are different because it requires an additional
029     * {@link com.liferay.portal.security.auth.HttpPrincipal} parameter.
030     *
031     * <p>
032     * The benefits of using the HTTP utility is that it is fast and allows for
033     * tunneling without the cost of serializing to text. The drawback is that it
034     * only works with Java.
035     * </p>
036     *
037     * <p>
038     * Set the property <b>tunnel.servlet.hosts.allowed</b> in portal.properties to
039     * configure security.
040     * </p>
041     *
042     * <p>
043     * The HTTP utility is only generated for remote services.
044     * </p>
045     *
046     * @author Brian Wing Shun Chan
047     * @see LayoutServiceSoap
048     * @see com.liferay.portal.security.auth.HttpPrincipal
049     * @see com.liferay.portal.service.LayoutServiceUtil
050     * @generated
051     */
052    public class LayoutServiceHttp {
053            public static com.liferay.portal.model.Layout addLayout(
054                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
055                    long parentLayoutId,
056                    java.util.Map<java.util.Locale, java.lang.String> localeNamesMap,
057                    java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap,
058                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
059                    java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
060                    java.util.Map<java.util.Locale, java.lang.String> robotsMap,
061                    java.lang.String type, boolean hidden, java.lang.String friendlyURL,
062                    com.liferay.portal.service.ServiceContext serviceContext)
063                    throws com.liferay.portal.kernel.exception.PortalException,
064                            com.liferay.portal.kernel.exception.SystemException {
065                    try {
066                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
067                                            "addLayout", _addLayoutParameterTypes0);
068    
069                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
070                                            privateLayout, parentLayoutId, localeNamesMap,
071                                            localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
072                                            type, hidden, friendlyURL, serviceContext);
073    
074                            Object returnObj = null;
075    
076                            try {
077                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
078                            }
079                            catch (Exception e) {
080                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
081                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
082                                    }
083    
084                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
085                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
086                                    }
087    
088                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
089                            }
090    
091                            return (com.liferay.portal.model.Layout)returnObj;
092                    }
093                    catch (com.liferay.portal.kernel.exception.SystemException se) {
094                            _log.error(se, se);
095    
096                            throw se;
097                    }
098            }
099    
100            public static com.liferay.portal.model.Layout addLayout(
101                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
102                    long parentLayoutId,
103                    java.util.Map<java.util.Locale, java.lang.String> localeNamesMap,
104                    java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap,
105                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
106                    java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
107                    java.util.Map<java.util.Locale, java.lang.String> robotsMap,
108                    java.lang.String type, java.lang.String typeSettings, boolean hidden,
109                    java.util.Map<java.util.Locale, java.lang.String> friendlyURLMap,
110                    com.liferay.portal.service.ServiceContext serviceContext)
111                    throws com.liferay.portal.kernel.exception.PortalException,
112                            com.liferay.portal.kernel.exception.SystemException {
113                    try {
114                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
115                                            "addLayout", _addLayoutParameterTypes1);
116    
117                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
118                                            privateLayout, parentLayoutId, localeNamesMap,
119                                            localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
120                                            type, typeSettings, hidden, friendlyURLMap, serviceContext);
121    
122                            Object returnObj = null;
123    
124                            try {
125                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
126                            }
127                            catch (Exception e) {
128                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
129                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
130                                    }
131    
132                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
133                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
134                                    }
135    
136                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
137                            }
138    
139                            return (com.liferay.portal.model.Layout)returnObj;
140                    }
141                    catch (com.liferay.portal.kernel.exception.SystemException se) {
142                            _log.error(se, se);
143    
144                            throw se;
145                    }
146            }
147    
148            public static com.liferay.portal.model.Layout addLayout(
149                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
150                    long parentLayoutId, java.lang.String name, java.lang.String title,
151                    java.lang.String description, java.lang.String type, boolean hidden,
152                    java.lang.String friendlyURL,
153                    com.liferay.portal.service.ServiceContext serviceContext)
154                    throws com.liferay.portal.kernel.exception.PortalException,
155                            com.liferay.portal.kernel.exception.SystemException {
156                    try {
157                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
158                                            "addLayout", _addLayoutParameterTypes2);
159    
160                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
161                                            privateLayout, parentLayoutId, name, title, description,
162                                            type, hidden, friendlyURL, serviceContext);
163    
164                            Object returnObj = null;
165    
166                            try {
167                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
168                            }
169                            catch (Exception e) {
170                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
171                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
172                                    }
173    
174                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
175                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
176                                    }
177    
178                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
179                            }
180    
181                            return (com.liferay.portal.model.Layout)returnObj;
182                    }
183                    catch (com.liferay.portal.kernel.exception.SystemException se) {
184                            _log.error(se, se);
185    
186                            throw se;
187                    }
188            }
189    
190            public static com.liferay.portal.kernel.repository.model.FileEntry addTempFileEntry(
191                    HttpPrincipal httpPrincipal, long groupId, java.lang.String fileName,
192                    java.lang.String tempFolderName, java.io.InputStream inputStream,
193                    java.lang.String mimeType)
194                    throws com.liferay.portal.kernel.exception.PortalException,
195                            com.liferay.portal.kernel.exception.SystemException {
196                    try {
197                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
198                                            "addTempFileEntry", _addTempFileEntryParameterTypes3);
199    
200                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
201                                            fileName, tempFolderName, inputStream, mimeType);
202    
203                            Object returnObj = null;
204    
205                            try {
206                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
207                            }
208                            catch (Exception e) {
209                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
210                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
211                                    }
212    
213                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
214                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
215                                    }
216    
217                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
218                            }
219    
220                            return (com.liferay.portal.kernel.repository.model.FileEntry)returnObj;
221                    }
222                    catch (com.liferay.portal.kernel.exception.SystemException se) {
223                            _log.error(se, se);
224    
225                            throw se;
226                    }
227            }
228    
229            public static void deleteLayout(HttpPrincipal httpPrincipal, long groupId,
230                    boolean privateLayout, long layoutId,
231                    com.liferay.portal.service.ServiceContext serviceContext)
232                    throws com.liferay.portal.kernel.exception.PortalException,
233                            com.liferay.portal.kernel.exception.SystemException {
234                    try {
235                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
236                                            "deleteLayout", _deleteLayoutParameterTypes4);
237    
238                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
239                                            privateLayout, layoutId, serviceContext);
240    
241                            try {
242                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
243                            }
244                            catch (Exception e) {
245                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
246                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
247                                    }
248    
249                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
250                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
251                                    }
252    
253                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
254                            }
255                    }
256                    catch (com.liferay.portal.kernel.exception.SystemException se) {
257                            _log.error(se, se);
258    
259                            throw se;
260                    }
261            }
262    
263            public static void deleteLayout(HttpPrincipal httpPrincipal, long plid,
264                    com.liferay.portal.service.ServiceContext serviceContext)
265                    throws com.liferay.portal.kernel.exception.PortalException,
266                            com.liferay.portal.kernel.exception.SystemException {
267                    try {
268                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
269                                            "deleteLayout", _deleteLayoutParameterTypes5);
270    
271                            MethodHandler methodHandler = new MethodHandler(methodKey, plid,
272                                            serviceContext);
273    
274                            try {
275                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
276                            }
277                            catch (Exception e) {
278                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
279                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
280                                    }
281    
282                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
283                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
284                                    }
285    
286                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
287                            }
288                    }
289                    catch (com.liferay.portal.kernel.exception.SystemException se) {
290                            _log.error(se, se);
291    
292                            throw se;
293                    }
294            }
295    
296            public static void deleteTempFileEntry(HttpPrincipal httpPrincipal,
297                    long groupId, java.lang.String fileName, java.lang.String tempFolderName)
298                    throws com.liferay.portal.kernel.exception.PortalException,
299                            com.liferay.portal.kernel.exception.SystemException {
300                    try {
301                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
302                                            "deleteTempFileEntry", _deleteTempFileEntryParameterTypes6);
303    
304                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
305                                            fileName, tempFolderName);
306    
307                            try {
308                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
309                            }
310                            catch (Exception e) {
311                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
312                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
313                                    }
314    
315                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
316                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
317                                    }
318    
319                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
320                            }
321                    }
322                    catch (com.liferay.portal.kernel.exception.SystemException se) {
323                            _log.error(se, se);
324    
325                            throw se;
326                    }
327            }
328    
329            public static byte[] exportLayouts(HttpPrincipal httpPrincipal,
330                    long groupId, boolean privateLayout, long[] layoutIds,
331                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
332                    java.util.Date startDate, java.util.Date endDate)
333                    throws com.liferay.portal.kernel.exception.PortalException,
334                            com.liferay.portal.kernel.exception.SystemException {
335                    try {
336                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
337                                            "exportLayouts", _exportLayoutsParameterTypes7);
338    
339                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
340                                            privateLayout, layoutIds, parameterMap, startDate, endDate);
341    
342                            Object returnObj = null;
343    
344                            try {
345                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
346                            }
347                            catch (Exception e) {
348                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
349                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
350                                    }
351    
352                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
353                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
354                                    }
355    
356                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
357                            }
358    
359                            return (byte[])returnObj;
360                    }
361                    catch (com.liferay.portal.kernel.exception.SystemException se) {
362                            _log.error(se, se);
363    
364                            throw se;
365                    }
366            }
367    
368            public static byte[] exportLayouts(HttpPrincipal httpPrincipal,
369                    long groupId, boolean privateLayout,
370                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
371                    java.util.Date startDate, java.util.Date endDate)
372                    throws com.liferay.portal.kernel.exception.PortalException,
373                            com.liferay.portal.kernel.exception.SystemException {
374                    try {
375                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
376                                            "exportLayouts", _exportLayoutsParameterTypes8);
377    
378                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
379                                            privateLayout, parameterMap, startDate, endDate);
380    
381                            Object returnObj = null;
382    
383                            try {
384                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
385                            }
386                            catch (Exception e) {
387                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
388                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
389                                    }
390    
391                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
392                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
393                                    }
394    
395                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
396                            }
397    
398                            return (byte[])returnObj;
399                    }
400                    catch (com.liferay.portal.kernel.exception.SystemException se) {
401                            _log.error(se, se);
402    
403                            throw se;
404                    }
405            }
406    
407            public static java.io.File exportLayoutsAsFile(
408                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
409                    long[] layoutIds,
410                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
411                    java.util.Date startDate, java.util.Date endDate)
412                    throws com.liferay.portal.kernel.exception.PortalException,
413                            com.liferay.portal.kernel.exception.SystemException {
414                    try {
415                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
416                                            "exportLayoutsAsFile", _exportLayoutsAsFileParameterTypes9);
417    
418                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
419                                            privateLayout, layoutIds, parameterMap, startDate, endDate);
420    
421                            Object returnObj = null;
422    
423                            try {
424                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
425                            }
426                            catch (Exception e) {
427                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
428                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
429                                    }
430    
431                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
432                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
433                                    }
434    
435                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
436                            }
437    
438                            return (java.io.File)returnObj;
439                    }
440                    catch (com.liferay.portal.kernel.exception.SystemException se) {
441                            _log.error(se, se);
442    
443                            throw se;
444                    }
445            }
446    
447            public static long exportLayoutsAsFileInBackground(
448                    HttpPrincipal httpPrincipal, java.lang.String taskName, long groupId,
449                    boolean privateLayout, long[] layoutIds,
450                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
451                    java.util.Date startDate, java.util.Date endDate,
452                    java.lang.String fileName)
453                    throws com.liferay.portal.kernel.exception.PortalException,
454                            com.liferay.portal.kernel.exception.SystemException {
455                    try {
456                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
457                                            "exportLayoutsAsFileInBackground",
458                                            _exportLayoutsAsFileInBackgroundParameterTypes10);
459    
460                            MethodHandler methodHandler = new MethodHandler(methodKey,
461                                            taskName, groupId, privateLayout, layoutIds, parameterMap,
462                                            startDate, endDate, fileName);
463    
464                            Object returnObj = null;
465    
466                            try {
467                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
468                            }
469                            catch (Exception e) {
470                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
471                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
472                                    }
473    
474                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
475                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
476                                    }
477    
478                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
479                            }
480    
481                            return ((Long)returnObj).longValue();
482                    }
483                    catch (com.liferay.portal.kernel.exception.SystemException se) {
484                            _log.error(se, se);
485    
486                            throw se;
487                    }
488            }
489    
490            public static byte[] exportPortletInfo(HttpPrincipal httpPrincipal,
491                    long plid, long groupId, java.lang.String portletId,
492                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
493                    java.util.Date startDate, java.util.Date endDate)
494                    throws com.liferay.portal.kernel.exception.PortalException,
495                            com.liferay.portal.kernel.exception.SystemException {
496                    try {
497                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
498                                            "exportPortletInfo", _exportPortletInfoParameterTypes11);
499    
500                            MethodHandler methodHandler = new MethodHandler(methodKey, plid,
501                                            groupId, portletId, parameterMap, startDate, endDate);
502    
503                            Object returnObj = null;
504    
505                            try {
506                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
507                            }
508                            catch (Exception e) {
509                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
510                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
511                                    }
512    
513                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
514                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
515                                    }
516    
517                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
518                            }
519    
520                            return (byte[])returnObj;
521                    }
522                    catch (com.liferay.portal.kernel.exception.SystemException se) {
523                            _log.error(se, se);
524    
525                            throw se;
526                    }
527            }
528    
529            public static byte[] exportPortletInfo(HttpPrincipal httpPrincipal,
530                    long companyId, java.lang.String portletId,
531                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
532                    java.util.Date startDate, java.util.Date endDate)
533                    throws com.liferay.portal.kernel.exception.PortalException,
534                            com.liferay.portal.kernel.exception.SystemException {
535                    try {
536                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
537                                            "exportPortletInfo", _exportPortletInfoParameterTypes12);
538    
539                            MethodHandler methodHandler = new MethodHandler(methodKey,
540                                            companyId, portletId, parameterMap, startDate, endDate);
541    
542                            Object returnObj = null;
543    
544                            try {
545                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
546                            }
547                            catch (Exception e) {
548                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
549                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
550                                    }
551    
552                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
553                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
554                                    }
555    
556                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
557                            }
558    
559                            return (byte[])returnObj;
560                    }
561                    catch (com.liferay.portal.kernel.exception.SystemException se) {
562                            _log.error(se, se);
563    
564                            throw se;
565                    }
566            }
567    
568            public static java.io.File exportPortletInfoAsFile(
569                    HttpPrincipal httpPrincipal, long plid, long groupId,
570                    java.lang.String portletId,
571                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
572                    java.util.Date startDate, java.util.Date endDate)
573                    throws com.liferay.portal.kernel.exception.PortalException,
574                            com.liferay.portal.kernel.exception.SystemException {
575                    try {
576                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
577                                            "exportPortletInfoAsFile",
578                                            _exportPortletInfoAsFileParameterTypes13);
579    
580                            MethodHandler methodHandler = new MethodHandler(methodKey, plid,
581                                            groupId, portletId, parameterMap, startDate, endDate);
582    
583                            Object returnObj = null;
584    
585                            try {
586                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
587                            }
588                            catch (Exception e) {
589                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
590                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
591                                    }
592    
593                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
594                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
595                                    }
596    
597                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
598                            }
599    
600                            return (java.io.File)returnObj;
601                    }
602                    catch (com.liferay.portal.kernel.exception.SystemException se) {
603                            _log.error(se, se);
604    
605                            throw se;
606                    }
607            }
608    
609            public static java.io.File exportPortletInfoAsFile(
610                    HttpPrincipal httpPrincipal, long companyId,
611                    java.lang.String portletId,
612                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
613                    java.util.Date startDate, java.util.Date endDate)
614                    throws com.liferay.portal.kernel.exception.PortalException,
615                            com.liferay.portal.kernel.exception.SystemException {
616                    try {
617                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
618                                            "exportPortletInfoAsFile",
619                                            _exportPortletInfoAsFileParameterTypes14);
620    
621                            MethodHandler methodHandler = new MethodHandler(methodKey,
622                                            companyId, portletId, parameterMap, startDate, endDate);
623    
624                            Object returnObj = null;
625    
626                            try {
627                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
628                            }
629                            catch (Exception e) {
630                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
631                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
632                                    }
633    
634                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
635                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
636                                    }
637    
638                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
639                            }
640    
641                            return (java.io.File)returnObj;
642                    }
643                    catch (com.liferay.portal.kernel.exception.SystemException se) {
644                            _log.error(se, se);
645    
646                            throw se;
647                    }
648            }
649    
650            public static long exportPortletInfoAsFileInBackground(
651                    HttpPrincipal httpPrincipal, long userId, java.lang.String taskName,
652                    java.lang.String portletId,
653                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
654                    java.util.Date startDate, java.util.Date endDate,
655                    java.lang.String fileName)
656                    throws com.liferay.portal.kernel.exception.PortalException,
657                            com.liferay.portal.kernel.exception.SystemException {
658                    try {
659                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
660                                            "exportPortletInfoAsFileInBackground",
661                                            _exportPortletInfoAsFileInBackgroundParameterTypes15);
662    
663                            MethodHandler methodHandler = new MethodHandler(methodKey, userId,
664                                            taskName, portletId, parameterMap, startDate, endDate,
665                                            fileName);
666    
667                            Object returnObj = null;
668    
669                            try {
670                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
671                            }
672                            catch (Exception e) {
673                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
674                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
675                                    }
676    
677                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
678                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
679                                    }
680    
681                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
682                            }
683    
684                            return ((Long)returnObj).longValue();
685                    }
686                    catch (com.liferay.portal.kernel.exception.SystemException se) {
687                            _log.error(se, se);
688    
689                            throw se;
690                    }
691            }
692    
693            public static long exportPortletInfoAsFileInBackground(
694                    HttpPrincipal httpPrincipal, java.lang.String taskName, long plid,
695                    long groupId, java.lang.String portletId,
696                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
697                    java.util.Date startDate, java.util.Date endDate,
698                    java.lang.String fileName)
699                    throws com.liferay.portal.kernel.exception.PortalException,
700                            com.liferay.portal.kernel.exception.SystemException {
701                    try {
702                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
703                                            "exportPortletInfoAsFileInBackground",
704                                            _exportPortletInfoAsFileInBackgroundParameterTypes16);
705    
706                            MethodHandler methodHandler = new MethodHandler(methodKey,
707                                            taskName, plid, groupId, portletId, parameterMap,
708                                            startDate, endDate, fileName);
709    
710                            Object returnObj = null;
711    
712                            try {
713                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
714                            }
715                            catch (Exception e) {
716                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
717                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
718                                    }
719    
720                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
721                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
722                                    }
723    
724                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
725                            }
726    
727                            return ((Long)returnObj).longValue();
728                    }
729                    catch (com.liferay.portal.kernel.exception.SystemException se) {
730                            _log.error(se, se);
731    
732                            throw se;
733                    }
734            }
735    
736            public static java.util.List<com.liferay.portal.model.Layout> getAncestorLayouts(
737                    HttpPrincipal httpPrincipal, long plid)
738                    throws com.liferay.portal.kernel.exception.PortalException,
739                            com.liferay.portal.kernel.exception.SystemException {
740                    try {
741                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
742                                            "getAncestorLayouts", _getAncestorLayoutsParameterTypes17);
743    
744                            MethodHandler methodHandler = new MethodHandler(methodKey, plid);
745    
746                            Object returnObj = null;
747    
748                            try {
749                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
750                            }
751                            catch (Exception e) {
752                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
753                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
754                                    }
755    
756                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
757                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
758                                    }
759    
760                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
761                            }
762    
763                            return (java.util.List<com.liferay.portal.model.Layout>)returnObj;
764                    }
765                    catch (com.liferay.portal.kernel.exception.SystemException se) {
766                            _log.error(se, se);
767    
768                            throw se;
769                    }
770            }
771    
772            public static long getDefaultPlid(HttpPrincipal httpPrincipal,
773                    long groupId, long scopeGroupId, boolean privateLayout,
774                    java.lang.String portletId)
775                    throws com.liferay.portal.kernel.exception.PortalException,
776                            com.liferay.portal.kernel.exception.SystemException {
777                    try {
778                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
779                                            "getDefaultPlid", _getDefaultPlidParameterTypes18);
780    
781                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
782                                            scopeGroupId, privateLayout, portletId);
783    
784                            Object returnObj = null;
785    
786                            try {
787                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
788                            }
789                            catch (Exception e) {
790                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
791                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
792                                    }
793    
794                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
795                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
796                                    }
797    
798                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
799                            }
800    
801                            return ((Long)returnObj).longValue();
802                    }
803                    catch (com.liferay.portal.kernel.exception.SystemException se) {
804                            _log.error(se, se);
805    
806                            throw se;
807                    }
808            }
809    
810            public static long getDefaultPlid(HttpPrincipal httpPrincipal,
811                    long groupId, long scopeGroupId, java.lang.String portletId)
812                    throws com.liferay.portal.kernel.exception.PortalException,
813                            com.liferay.portal.kernel.exception.SystemException {
814                    try {
815                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
816                                            "getDefaultPlid", _getDefaultPlidParameterTypes19);
817    
818                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
819                                            scopeGroupId, portletId);
820    
821                            Object returnObj = null;
822    
823                            try {
824                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
825                            }
826                            catch (Exception e) {
827                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
828                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
829                                    }
830    
831                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
832                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
833                                    }
834    
835                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
836                            }
837    
838                            return ((Long)returnObj).longValue();
839                    }
840                    catch (com.liferay.portal.kernel.exception.SystemException se) {
841                            _log.error(se, se);
842    
843                            throw se;
844                    }
845            }
846    
847            public static com.liferay.portal.model.Layout getLayoutByUuidAndGroupId(
848                    HttpPrincipal httpPrincipal, java.lang.String uuid, long groupId,
849                    boolean privateLayout)
850                    throws com.liferay.portal.kernel.exception.PortalException,
851                            com.liferay.portal.kernel.exception.SystemException {
852                    try {
853                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
854                                            "getLayoutByUuidAndGroupId",
855                                            _getLayoutByUuidAndGroupIdParameterTypes20);
856    
857                            MethodHandler methodHandler = new MethodHandler(methodKey, uuid,
858                                            groupId, privateLayout);
859    
860                            Object returnObj = null;
861    
862                            try {
863                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
864                            }
865                            catch (Exception e) {
866                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
867                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
868                                    }
869    
870                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
871                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
872                                    }
873    
874                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
875                            }
876    
877                            return (com.liferay.portal.model.Layout)returnObj;
878                    }
879                    catch (com.liferay.portal.kernel.exception.SystemException se) {
880                            _log.error(se, se);
881    
882                            throw se;
883                    }
884            }
885    
886            public static java.lang.String getLayoutName(HttpPrincipal httpPrincipal,
887                    long groupId, boolean privateLayout, long layoutId,
888                    java.lang.String languageId)
889                    throws com.liferay.portal.kernel.exception.PortalException,
890                            com.liferay.portal.kernel.exception.SystemException {
891                    try {
892                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
893                                            "getLayoutName", _getLayoutNameParameterTypes21);
894    
895                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
896                                            privateLayout, layoutId, languageId);
897    
898                            Object returnObj = null;
899    
900                            try {
901                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
902                            }
903                            catch (Exception e) {
904                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
905                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
906                                    }
907    
908                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
909                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
910                                    }
911    
912                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
913                            }
914    
915                            return (java.lang.String)returnObj;
916                    }
917                    catch (com.liferay.portal.kernel.exception.SystemException se) {
918                            _log.error(se, se);
919    
920                            throw se;
921                    }
922            }
923    
924            public static com.liferay.portal.model.LayoutReference[] getLayoutReferences(
925                    HttpPrincipal httpPrincipal, long companyId,
926                    java.lang.String portletId, java.lang.String preferencesKey,
927                    java.lang.String preferencesValue)
928                    throws com.liferay.portal.kernel.exception.SystemException {
929                    try {
930                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
931                                            "getLayoutReferences", _getLayoutReferencesParameterTypes22);
932    
933                            MethodHandler methodHandler = new MethodHandler(methodKey,
934                                            companyId, portletId, preferencesKey, preferencesValue);
935    
936                            Object returnObj = null;
937    
938                            try {
939                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
940                            }
941                            catch (Exception e) {
942                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
943                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
944                                    }
945    
946                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
947                            }
948    
949                            return (com.liferay.portal.model.LayoutReference[])returnObj;
950                    }
951                    catch (com.liferay.portal.kernel.exception.SystemException se) {
952                            _log.error(se, se);
953    
954                            throw se;
955                    }
956            }
957    
958            public static java.util.List<com.liferay.portal.model.Layout> getLayouts(
959                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout)
960                    throws com.liferay.portal.kernel.exception.SystemException {
961                    try {
962                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
963                                            "getLayouts", _getLayoutsParameterTypes23);
964    
965                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
966                                            privateLayout);
967    
968                            Object returnObj = null;
969    
970                            try {
971                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
972                            }
973                            catch (Exception e) {
974                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
975                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
976                                    }
977    
978                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
979                            }
980    
981                            return (java.util.List<com.liferay.portal.model.Layout>)returnObj;
982                    }
983                    catch (com.liferay.portal.kernel.exception.SystemException se) {
984                            _log.error(se, se);
985    
986                            throw se;
987                    }
988            }
989    
990            public static java.util.List<com.liferay.portal.model.Layout> getLayouts(
991                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
992                    long parentLayoutId)
993                    throws com.liferay.portal.kernel.exception.SystemException {
994                    try {
995                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
996                                            "getLayouts", _getLayoutsParameterTypes24);
997    
998                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
999                                            privateLayout, parentLayoutId);
1000    
1001                            Object returnObj = null;
1002    
1003                            try {
1004                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1005                            }
1006                            catch (Exception e) {
1007                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1008                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1009                                    }
1010    
1011                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1012                            }
1013    
1014                            return (java.util.List<com.liferay.portal.model.Layout>)returnObj;
1015                    }
1016                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1017                            _log.error(se, se);
1018    
1019                            throw se;
1020                    }
1021            }
1022    
1023            public static java.util.List<com.liferay.portal.model.Layout> getLayouts(
1024                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1025                    long parentLayoutId, boolean incomplete, int start, int end)
1026                    throws com.liferay.portal.kernel.exception.PortalException,
1027                            com.liferay.portal.kernel.exception.SystemException {
1028                    try {
1029                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1030                                            "getLayouts", _getLayoutsParameterTypes25);
1031    
1032                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1033                                            privateLayout, parentLayoutId, incomplete, start, end);
1034    
1035                            Object returnObj = null;
1036    
1037                            try {
1038                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1039                            }
1040                            catch (Exception e) {
1041                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1042                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1043                                    }
1044    
1045                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1046                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1047                                    }
1048    
1049                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1050                            }
1051    
1052                            return (java.util.List<com.liferay.portal.model.Layout>)returnObj;
1053                    }
1054                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1055                            _log.error(se, se);
1056    
1057                            throw se;
1058                    }
1059            }
1060    
1061            public static java.lang.String[] getTempFileEntryNames(
1062                    HttpPrincipal httpPrincipal, long groupId,
1063                    java.lang.String tempFolderName)
1064                    throws com.liferay.portal.kernel.exception.PortalException,
1065                            com.liferay.portal.kernel.exception.SystemException {
1066                    try {
1067                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1068                                            "getTempFileEntryNames",
1069                                            _getTempFileEntryNamesParameterTypes26);
1070    
1071                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1072                                            tempFolderName);
1073    
1074                            Object returnObj = null;
1075    
1076                            try {
1077                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1078                            }
1079                            catch (Exception e) {
1080                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1081                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1082                                    }
1083    
1084                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1085                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1086                                    }
1087    
1088                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1089                            }
1090    
1091                            return (java.lang.String[])returnObj;
1092                    }
1093                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1094                            _log.error(se, se);
1095    
1096                            throw se;
1097                    }
1098            }
1099    
1100            public static void importLayouts(HttpPrincipal httpPrincipal, long groupId,
1101                    boolean privateLayout,
1102                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1103                    byte[] bytes)
1104                    throws com.liferay.portal.kernel.exception.PortalException,
1105                            com.liferay.portal.kernel.exception.SystemException {
1106                    try {
1107                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1108                                            "importLayouts", _importLayoutsParameterTypes27);
1109    
1110                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1111                                            privateLayout, parameterMap, bytes);
1112    
1113                            try {
1114                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1115                            }
1116                            catch (Exception e) {
1117                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1118                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1119                                    }
1120    
1121                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1122                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1123                                    }
1124    
1125                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1126                            }
1127                    }
1128                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1129                            _log.error(se, se);
1130    
1131                            throw se;
1132                    }
1133            }
1134    
1135            public static void importLayouts(HttpPrincipal httpPrincipal, long groupId,
1136                    boolean privateLayout,
1137                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1138                    java.io.File file)
1139                    throws com.liferay.portal.kernel.exception.PortalException,
1140                            com.liferay.portal.kernel.exception.SystemException {
1141                    try {
1142                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1143                                            "importLayouts", _importLayoutsParameterTypes28);
1144    
1145                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1146                                            privateLayout, parameterMap, file);
1147    
1148                            try {
1149                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1150                            }
1151                            catch (Exception e) {
1152                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1153                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1154                                    }
1155    
1156                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1157                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1158                                    }
1159    
1160                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1161                            }
1162                    }
1163                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1164                            _log.error(se, se);
1165    
1166                            throw se;
1167                    }
1168            }
1169    
1170            public static void importLayouts(HttpPrincipal httpPrincipal, long groupId,
1171                    boolean privateLayout,
1172                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1173                    java.io.InputStream is)
1174                    throws com.liferay.portal.kernel.exception.PortalException,
1175                            com.liferay.portal.kernel.exception.SystemException {
1176                    try {
1177                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1178                                            "importLayouts", _importLayoutsParameterTypes29);
1179    
1180                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1181                                            privateLayout, parameterMap, is);
1182    
1183                            try {
1184                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1185                            }
1186                            catch (Exception e) {
1187                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1188                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1189                                    }
1190    
1191                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1192                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1193                                    }
1194    
1195                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1196                            }
1197                    }
1198                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1199                            _log.error(se, se);
1200    
1201                            throw se;
1202                    }
1203            }
1204    
1205            public static long importLayoutsInBackground(HttpPrincipal httpPrincipal,
1206                    java.lang.String taskName, long groupId, boolean privateLayout,
1207                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1208                    java.io.File file)
1209                    throws com.liferay.portal.kernel.exception.PortalException,
1210                            com.liferay.portal.kernel.exception.SystemException {
1211                    try {
1212                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1213                                            "importLayoutsInBackground",
1214                                            _importLayoutsInBackgroundParameterTypes30);
1215    
1216                            MethodHandler methodHandler = new MethodHandler(methodKey,
1217                                            taskName, groupId, privateLayout, parameterMap, file);
1218    
1219                            Object returnObj = null;
1220    
1221                            try {
1222                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1223                            }
1224                            catch (Exception e) {
1225                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1226                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1227                                    }
1228    
1229                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1230                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1231                                    }
1232    
1233                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1234                            }
1235    
1236                            return ((Long)returnObj).longValue();
1237                    }
1238                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1239                            _log.error(se, se);
1240    
1241                            throw se;
1242                    }
1243            }
1244    
1245            public static long importLayoutsInBackground(HttpPrincipal httpPrincipal,
1246                    java.lang.String taskName, long groupId, boolean privateLayout,
1247                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1248                    java.io.InputStream inputStream)
1249                    throws com.liferay.portal.kernel.exception.PortalException,
1250                            com.liferay.portal.kernel.exception.SystemException {
1251                    try {
1252                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1253                                            "importLayoutsInBackground",
1254                                            _importLayoutsInBackgroundParameterTypes31);
1255    
1256                            MethodHandler methodHandler = new MethodHandler(methodKey,
1257                                            taskName, groupId, privateLayout, parameterMap, inputStream);
1258    
1259                            Object returnObj = null;
1260    
1261                            try {
1262                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1263                            }
1264                            catch (Exception e) {
1265                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1266                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1267                                    }
1268    
1269                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1270                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1271                                    }
1272    
1273                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1274                            }
1275    
1276                            return ((Long)returnObj).longValue();
1277                    }
1278                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1279                            _log.error(se, se);
1280    
1281                            throw se;
1282                    }
1283            }
1284    
1285            public static void importPortletInfo(HttpPrincipal httpPrincipal,
1286                    long plid, long groupId, java.lang.String portletId,
1287                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1288                    java.io.File file)
1289                    throws com.liferay.portal.kernel.exception.PortalException,
1290                            com.liferay.portal.kernel.exception.SystemException {
1291                    try {
1292                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1293                                            "importPortletInfo", _importPortletInfoParameterTypes32);
1294    
1295                            MethodHandler methodHandler = new MethodHandler(methodKey, plid,
1296                                            groupId, portletId, parameterMap, file);
1297    
1298                            try {
1299                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1300                            }
1301                            catch (Exception e) {
1302                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1303                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1304                                    }
1305    
1306                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1307                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1308                                    }
1309    
1310                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1311                            }
1312                    }
1313                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1314                            _log.error(se, se);
1315    
1316                            throw se;
1317                    }
1318            }
1319    
1320            public static void importPortletInfo(HttpPrincipal httpPrincipal,
1321                    long plid, long groupId, java.lang.String portletId,
1322                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1323                    java.io.InputStream is)
1324                    throws com.liferay.portal.kernel.exception.PortalException,
1325                            com.liferay.portal.kernel.exception.SystemException {
1326                    try {
1327                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1328                                            "importPortletInfo", _importPortletInfoParameterTypes33);
1329    
1330                            MethodHandler methodHandler = new MethodHandler(methodKey, plid,
1331                                            groupId, portletId, parameterMap, is);
1332    
1333                            try {
1334                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1335                            }
1336                            catch (Exception e) {
1337                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1338                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1339                                    }
1340    
1341                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1342                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1343                                    }
1344    
1345                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1346                            }
1347                    }
1348                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1349                            _log.error(se, se);
1350    
1351                            throw se;
1352                    }
1353            }
1354    
1355            public static long importPortletInfoInBackground(
1356                    HttpPrincipal httpPrincipal, java.lang.String taskName, long plid,
1357                    long groupId, java.lang.String portletId,
1358                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1359                    java.io.File file)
1360                    throws com.liferay.portal.kernel.exception.PortalException,
1361                            com.liferay.portal.kernel.exception.SystemException {
1362                    try {
1363                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1364                                            "importPortletInfoInBackground",
1365                                            _importPortletInfoInBackgroundParameterTypes34);
1366    
1367                            MethodHandler methodHandler = new MethodHandler(methodKey,
1368                                            taskName, plid, groupId, portletId, parameterMap, file);
1369    
1370                            Object returnObj = null;
1371    
1372                            try {
1373                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1374                            }
1375                            catch (Exception e) {
1376                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1377                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1378                                    }
1379    
1380                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1381                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1382                                    }
1383    
1384                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1385                            }
1386    
1387                            return ((Long)returnObj).longValue();
1388                    }
1389                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1390                            _log.error(se, se);
1391    
1392                            throw se;
1393                    }
1394            }
1395    
1396            public static long importPortletInfoInBackground(
1397                    HttpPrincipal httpPrincipal, java.lang.String taskName, long plid,
1398                    long groupId, java.lang.String portletId,
1399                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1400                    java.io.InputStream is)
1401                    throws com.liferay.portal.kernel.exception.PortalException,
1402                            com.liferay.portal.kernel.exception.SystemException {
1403                    try {
1404                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1405                                            "importPortletInfoInBackground",
1406                                            _importPortletInfoInBackgroundParameterTypes35);
1407    
1408                            MethodHandler methodHandler = new MethodHandler(methodKey,
1409                                            taskName, plid, groupId, portletId, parameterMap, is);
1410    
1411                            Object returnObj = null;
1412    
1413                            try {
1414                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1415                            }
1416                            catch (Exception e) {
1417                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1418                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1419                                    }
1420    
1421                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1422                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1423                                    }
1424    
1425                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1426                            }
1427    
1428                            return ((Long)returnObj).longValue();
1429                    }
1430                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1431                            _log.error(se, se);
1432    
1433                            throw se;
1434                    }
1435            }
1436    
1437            public static void schedulePublishToLive(HttpPrincipal httpPrincipal,
1438                    long sourceGroupId, long targetGroupId, boolean privateLayout,
1439                    java.util.Map<java.lang.Long, java.lang.Boolean> layoutIdMap,
1440                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1441                    java.lang.String scope, java.util.Date startDate,
1442                    java.util.Date endDate, java.lang.String groupName,
1443                    java.lang.String cronText, java.util.Date schedulerStartDate,
1444                    java.util.Date schedulerEndDate, java.lang.String description)
1445                    throws com.liferay.portal.kernel.exception.PortalException,
1446                            com.liferay.portal.kernel.exception.SystemException {
1447                    try {
1448                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1449                                            "schedulePublishToLive",
1450                                            _schedulePublishToLiveParameterTypes36);
1451    
1452                            MethodHandler methodHandler = new MethodHandler(methodKey,
1453                                            sourceGroupId, targetGroupId, privateLayout, layoutIdMap,
1454                                            parameterMap, scope, startDate, endDate, groupName,
1455                                            cronText, schedulerStartDate, schedulerEndDate, description);
1456    
1457                            try {
1458                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1459                            }
1460                            catch (Exception e) {
1461                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1462                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1463                                    }
1464    
1465                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1466                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1467                                    }
1468    
1469                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1470                            }
1471                    }
1472                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1473                            _log.error(se, se);
1474    
1475                            throw se;
1476                    }
1477            }
1478    
1479            public static void schedulePublishToRemote(HttpPrincipal httpPrincipal,
1480                    long sourceGroupId, boolean privateLayout,
1481                    java.util.Map<java.lang.Long, java.lang.Boolean> layoutIdMap,
1482                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1483                    java.lang.String remoteAddress, int remotePort,
1484                    java.lang.String remotePathContext, boolean secureConnection,
1485                    long remoteGroupId, boolean remotePrivateLayout,
1486                    java.util.Date startDate, java.util.Date endDate,
1487                    java.lang.String groupName, java.lang.String cronText,
1488                    java.util.Date schedulerStartDate, java.util.Date schedulerEndDate,
1489                    java.lang.String description)
1490                    throws com.liferay.portal.kernel.exception.PortalException,
1491                            com.liferay.portal.kernel.exception.SystemException {
1492                    try {
1493                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1494                                            "schedulePublishToRemote",
1495                                            _schedulePublishToRemoteParameterTypes37);
1496    
1497                            MethodHandler methodHandler = new MethodHandler(methodKey,
1498                                            sourceGroupId, privateLayout, layoutIdMap, parameterMap,
1499                                            remoteAddress, remotePort, remotePathContext,
1500                                            secureConnection, remoteGroupId, remotePrivateLayout,
1501                                            startDate, endDate, groupName, cronText,
1502                                            schedulerStartDate, schedulerEndDate, description);
1503    
1504                            try {
1505                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1506                            }
1507                            catch (Exception e) {
1508                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1509                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1510                                    }
1511    
1512                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1513                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1514                                    }
1515    
1516                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1517                            }
1518                    }
1519                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1520                            _log.error(se, se);
1521    
1522                            throw se;
1523                    }
1524            }
1525    
1526            public static void setLayouts(HttpPrincipal httpPrincipal, long groupId,
1527                    boolean privateLayout, long parentLayoutId, long[] layoutIds,
1528                    com.liferay.portal.service.ServiceContext serviceContext)
1529                    throws com.liferay.portal.kernel.exception.PortalException,
1530                            com.liferay.portal.kernel.exception.SystemException {
1531                    try {
1532                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1533                                            "setLayouts", _setLayoutsParameterTypes38);
1534    
1535                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1536                                            privateLayout, parentLayoutId, layoutIds, serviceContext);
1537    
1538                            try {
1539                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1540                            }
1541                            catch (Exception e) {
1542                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1543                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1544                                    }
1545    
1546                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1547                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1548                                    }
1549    
1550                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1551                            }
1552                    }
1553                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1554                            _log.error(se, se);
1555    
1556                            throw se;
1557                    }
1558            }
1559    
1560            public static void unschedulePublishToLive(HttpPrincipal httpPrincipal,
1561                    long groupId, java.lang.String jobName, java.lang.String groupName)
1562                    throws com.liferay.portal.kernel.exception.PortalException,
1563                            com.liferay.portal.kernel.exception.SystemException {
1564                    try {
1565                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1566                                            "unschedulePublishToLive",
1567                                            _unschedulePublishToLiveParameterTypes39);
1568    
1569                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1570                                            jobName, groupName);
1571    
1572                            try {
1573                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1574                            }
1575                            catch (Exception e) {
1576                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1577                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1578                                    }
1579    
1580                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1581                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1582                                    }
1583    
1584                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1585                            }
1586                    }
1587                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1588                            _log.error(se, se);
1589    
1590                            throw se;
1591                    }
1592            }
1593    
1594            public static void unschedulePublishToRemote(HttpPrincipal httpPrincipal,
1595                    long groupId, java.lang.String jobName, java.lang.String groupName)
1596                    throws com.liferay.portal.kernel.exception.PortalException,
1597                            com.liferay.portal.kernel.exception.SystemException {
1598                    try {
1599                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1600                                            "unschedulePublishToRemote",
1601                                            _unschedulePublishToRemoteParameterTypes40);
1602    
1603                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1604                                            jobName, groupName);
1605    
1606                            try {
1607                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1608                            }
1609                            catch (Exception e) {
1610                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1611                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1612                                    }
1613    
1614                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1615                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1616                                    }
1617    
1618                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1619                            }
1620                    }
1621                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1622                            _log.error(se, se);
1623    
1624                            throw se;
1625                    }
1626            }
1627    
1628            public static com.liferay.portal.model.Layout updateLayout(
1629                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1630                    long layoutId, long parentLayoutId,
1631                    java.util.Map<java.util.Locale, java.lang.String> localeNamesMap,
1632                    java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap,
1633                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1634                    java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
1635                    java.util.Map<java.util.Locale, java.lang.String> robotsMap,
1636                    java.lang.String type, boolean hidden,
1637                    java.util.Map<java.util.Locale, java.lang.String> friendlyURLMap,
1638                    java.lang.Boolean iconImage, byte[] iconBytes,
1639                    com.liferay.portal.service.ServiceContext serviceContext)
1640                    throws com.liferay.portal.kernel.exception.PortalException,
1641                            com.liferay.portal.kernel.exception.SystemException {
1642                    try {
1643                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1644                                            "updateLayout", _updateLayoutParameterTypes41);
1645    
1646                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1647                                            privateLayout, layoutId, parentLayoutId, localeNamesMap,
1648                                            localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
1649                                            type, hidden, friendlyURLMap, iconImage, iconBytes,
1650                                            serviceContext);
1651    
1652                            Object returnObj = null;
1653    
1654                            try {
1655                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1656                            }
1657                            catch (Exception e) {
1658                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1659                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1660                                    }
1661    
1662                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1663                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1664                                    }
1665    
1666                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1667                            }
1668    
1669                            return (com.liferay.portal.model.Layout)returnObj;
1670                    }
1671                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1672                            _log.error(se, se);
1673    
1674                            throw se;
1675                    }
1676            }
1677    
1678            public static com.liferay.portal.model.Layout updateLayout(
1679                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1680                    long layoutId, long parentLayoutId,
1681                    java.util.Map<java.util.Locale, java.lang.String> localeNamesMap,
1682                    java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap,
1683                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1684                    java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
1685                    java.util.Map<java.util.Locale, java.lang.String> robotsMap,
1686                    java.lang.String type, boolean hidden, java.lang.String friendlyURL,
1687                    java.lang.Boolean iconImage, byte[] iconBytes,
1688                    com.liferay.portal.service.ServiceContext serviceContext)
1689                    throws com.liferay.portal.kernel.exception.PortalException,
1690                            com.liferay.portal.kernel.exception.SystemException {
1691                    try {
1692                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1693                                            "updateLayout", _updateLayoutParameterTypes42);
1694    
1695                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1696                                            privateLayout, layoutId, parentLayoutId, localeNamesMap,
1697                                            localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
1698                                            type, hidden, friendlyURL, iconImage, iconBytes,
1699                                            serviceContext);
1700    
1701                            Object returnObj = null;
1702    
1703                            try {
1704                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1705                            }
1706                            catch (Exception e) {
1707                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1708                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1709                                    }
1710    
1711                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1712                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1713                                    }
1714    
1715                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1716                            }
1717    
1718                            return (com.liferay.portal.model.Layout)returnObj;
1719                    }
1720                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1721                            _log.error(se, se);
1722    
1723                            throw se;
1724                    }
1725            }
1726    
1727            public static com.liferay.portal.model.Layout updateLayout(
1728                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1729                    long layoutId, java.lang.String typeSettings)
1730                    throws com.liferay.portal.kernel.exception.PortalException,
1731                            com.liferay.portal.kernel.exception.SystemException {
1732                    try {
1733                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1734                                            "updateLayout", _updateLayoutParameterTypes43);
1735    
1736                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1737                                            privateLayout, layoutId, typeSettings);
1738    
1739                            Object returnObj = null;
1740    
1741                            try {
1742                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1743                            }
1744                            catch (Exception e) {
1745                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1746                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1747                                    }
1748    
1749                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1750                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1751                                    }
1752    
1753                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1754                            }
1755    
1756                            return (com.liferay.portal.model.Layout)returnObj;
1757                    }
1758                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1759                            _log.error(se, se);
1760    
1761                            throw se;
1762                    }
1763            }
1764    
1765            public static com.liferay.portal.model.Layout updateLookAndFeel(
1766                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1767                    long layoutId, java.lang.String themeId,
1768                    java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
1769                    throws com.liferay.portal.kernel.exception.PortalException,
1770                            com.liferay.portal.kernel.exception.SystemException {
1771                    try {
1772                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1773                                            "updateLookAndFeel", _updateLookAndFeelParameterTypes44);
1774    
1775                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1776                                            privateLayout, layoutId, themeId, colorSchemeId, css,
1777                                            wapTheme);
1778    
1779                            Object returnObj = null;
1780    
1781                            try {
1782                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1783                            }
1784                            catch (Exception e) {
1785                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1786                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1787                                    }
1788    
1789                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1790                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1791                                    }
1792    
1793                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1794                            }
1795    
1796                            return (com.liferay.portal.model.Layout)returnObj;
1797                    }
1798                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1799                            _log.error(se, se);
1800    
1801                            throw se;
1802                    }
1803            }
1804    
1805            public static com.liferay.portal.model.Layout updateName(
1806                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1807                    long layoutId, java.lang.String name, java.lang.String languageId)
1808                    throws com.liferay.portal.kernel.exception.PortalException,
1809                            com.liferay.portal.kernel.exception.SystemException {
1810                    try {
1811                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1812                                            "updateName", _updateNameParameterTypes45);
1813    
1814                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1815                                            privateLayout, layoutId, name, languageId);
1816    
1817                            Object returnObj = null;
1818    
1819                            try {
1820                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1821                            }
1822                            catch (Exception e) {
1823                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1824                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1825                                    }
1826    
1827                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1828                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1829                                    }
1830    
1831                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1832                            }
1833    
1834                            return (com.liferay.portal.model.Layout)returnObj;
1835                    }
1836                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1837                            _log.error(se, se);
1838    
1839                            throw se;
1840                    }
1841            }
1842    
1843            public static com.liferay.portal.model.Layout updateName(
1844                    HttpPrincipal httpPrincipal, long plid, java.lang.String name,
1845                    java.lang.String languageId)
1846                    throws com.liferay.portal.kernel.exception.PortalException,
1847                            com.liferay.portal.kernel.exception.SystemException {
1848                    try {
1849                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1850                                            "updateName", _updateNameParameterTypes46);
1851    
1852                            MethodHandler methodHandler = new MethodHandler(methodKey, plid,
1853                                            name, languageId);
1854    
1855                            Object returnObj = null;
1856    
1857                            try {
1858                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1859                            }
1860                            catch (Exception e) {
1861                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1862                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1863                                    }
1864    
1865                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1866                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1867                                    }
1868    
1869                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1870                            }
1871    
1872                            return (com.liferay.portal.model.Layout)returnObj;
1873                    }
1874                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1875                            _log.error(se, se);
1876    
1877                            throw se;
1878                    }
1879            }
1880    
1881            public static com.liferay.portal.model.Layout updateParentLayoutId(
1882                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1883                    long layoutId, long parentLayoutId)
1884                    throws com.liferay.portal.kernel.exception.PortalException,
1885                            com.liferay.portal.kernel.exception.SystemException {
1886                    try {
1887                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1888                                            "updateParentLayoutId",
1889                                            _updateParentLayoutIdParameterTypes47);
1890    
1891                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1892                                            privateLayout, layoutId, parentLayoutId);
1893    
1894                            Object returnObj = null;
1895    
1896                            try {
1897                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1898                            }
1899                            catch (Exception e) {
1900                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1901                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1902                                    }
1903    
1904                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1905                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1906                                    }
1907    
1908                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1909                            }
1910    
1911                            return (com.liferay.portal.model.Layout)returnObj;
1912                    }
1913                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1914                            _log.error(se, se);
1915    
1916                            throw se;
1917                    }
1918            }
1919    
1920            public static com.liferay.portal.model.Layout updateParentLayoutId(
1921                    HttpPrincipal httpPrincipal, long plid, long parentPlid)
1922                    throws com.liferay.portal.kernel.exception.PortalException,
1923                            com.liferay.portal.kernel.exception.SystemException {
1924                    try {
1925                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1926                                            "updateParentLayoutId",
1927                                            _updateParentLayoutIdParameterTypes48);
1928    
1929                            MethodHandler methodHandler = new MethodHandler(methodKey, plid,
1930                                            parentPlid);
1931    
1932                            Object returnObj = null;
1933    
1934                            try {
1935                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1936                            }
1937                            catch (Exception e) {
1938                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1939                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1940                                    }
1941    
1942                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1943                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1944                                    }
1945    
1946                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1947                            }
1948    
1949                            return (com.liferay.portal.model.Layout)returnObj;
1950                    }
1951                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1952                            _log.error(se, se);
1953    
1954                            throw se;
1955                    }
1956            }
1957    
1958            public static com.liferay.portal.model.Layout updatePriority(
1959                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1960                    long layoutId, int priority)
1961                    throws com.liferay.portal.kernel.exception.PortalException,
1962                            com.liferay.portal.kernel.exception.SystemException {
1963                    try {
1964                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1965                                            "updatePriority", _updatePriorityParameterTypes49);
1966    
1967                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1968                                            privateLayout, layoutId, priority);
1969    
1970                            Object returnObj = null;
1971    
1972                            try {
1973                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1974                            }
1975                            catch (Exception e) {
1976                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1977                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1978                                    }
1979    
1980                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1981                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1982                                    }
1983    
1984                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1985                            }
1986    
1987                            return (com.liferay.portal.model.Layout)returnObj;
1988                    }
1989                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1990                            _log.error(se, se);
1991    
1992                            throw se;
1993                    }
1994            }
1995    
1996            public static com.liferay.portal.model.Layout updatePriority(
1997                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1998                    long layoutId, long nextLayoutId, long previousLayoutId)
1999                    throws com.liferay.portal.kernel.exception.PortalException,
2000                            com.liferay.portal.kernel.exception.SystemException {
2001                    try {
2002                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2003                                            "updatePriority", _updatePriorityParameterTypes50);
2004    
2005                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2006                                            privateLayout, layoutId, nextLayoutId, previousLayoutId);
2007    
2008                            Object returnObj = null;
2009    
2010                            try {
2011                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2012                            }
2013                            catch (Exception e) {
2014                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2015                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2016                                    }
2017    
2018                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2019                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2020                                    }
2021    
2022                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2023                            }
2024    
2025                            return (com.liferay.portal.model.Layout)returnObj;
2026                    }
2027                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2028                            _log.error(se, se);
2029    
2030                            throw se;
2031                    }
2032            }
2033    
2034            public static com.liferay.portal.model.Layout updatePriority(
2035                    HttpPrincipal httpPrincipal, long plid, int priority)
2036                    throws com.liferay.portal.kernel.exception.PortalException,
2037                            com.liferay.portal.kernel.exception.SystemException {
2038                    try {
2039                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2040                                            "updatePriority", _updatePriorityParameterTypes51);
2041    
2042                            MethodHandler methodHandler = new MethodHandler(methodKey, plid,
2043                                            priority);
2044    
2045                            Object returnObj = null;
2046    
2047                            try {
2048                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2049                            }
2050                            catch (Exception e) {
2051                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2052                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2053                                    }
2054    
2055                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2056                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2057                                    }
2058    
2059                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2060                            }
2061    
2062                            return (com.liferay.portal.model.Layout)returnObj;
2063                    }
2064                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2065                            _log.error(se, se);
2066    
2067                            throw se;
2068                    }
2069            }
2070    
2071            public static com.liferay.portal.kernel.lar.MissingReferences validateImportLayoutsFile(
2072                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
2073                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
2074                    java.io.File file)
2075                    throws com.liferay.portal.kernel.exception.PortalException,
2076                            com.liferay.portal.kernel.exception.SystemException {
2077                    try {
2078                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2079                                            "validateImportLayoutsFile",
2080                                            _validateImportLayoutsFileParameterTypes52);
2081    
2082                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2083                                            privateLayout, parameterMap, file);
2084    
2085                            Object returnObj = null;
2086    
2087                            try {
2088                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2089                            }
2090                            catch (Exception e) {
2091                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2092                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2093                                    }
2094    
2095                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2096                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2097                                    }
2098    
2099                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2100                            }
2101    
2102                            return (com.liferay.portal.kernel.lar.MissingReferences)returnObj;
2103                    }
2104                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2105                            _log.error(se, se);
2106    
2107                            throw se;
2108                    }
2109            }
2110    
2111            public static com.liferay.portal.kernel.lar.MissingReferences validateImportLayoutsFile(
2112                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
2113                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
2114                    java.io.InputStream inputStream)
2115                    throws com.liferay.portal.kernel.exception.PortalException,
2116                            com.liferay.portal.kernel.exception.SystemException {
2117                    try {
2118                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2119                                            "validateImportLayoutsFile",
2120                                            _validateImportLayoutsFileParameterTypes53);
2121    
2122                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2123                                            privateLayout, parameterMap, inputStream);
2124    
2125                            Object returnObj = null;
2126    
2127                            try {
2128                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2129                            }
2130                            catch (Exception e) {
2131                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2132                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2133                                    }
2134    
2135                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2136                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2137                                    }
2138    
2139                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2140                            }
2141    
2142                            return (com.liferay.portal.kernel.lar.MissingReferences)returnObj;
2143                    }
2144                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2145                            _log.error(se, se);
2146    
2147                            throw se;
2148                    }
2149            }
2150    
2151            public static com.liferay.portal.kernel.lar.MissingReferences validateImportPortletInfo(
2152                    HttpPrincipal httpPrincipal, long plid, long groupId,
2153                    java.lang.String portletId,
2154                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
2155                    java.io.File file)
2156                    throws com.liferay.portal.kernel.exception.PortalException,
2157                            com.liferay.portal.kernel.exception.SystemException {
2158                    try {
2159                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2160                                            "validateImportPortletInfo",
2161                                            _validateImportPortletInfoParameterTypes54);
2162    
2163                            MethodHandler methodHandler = new MethodHandler(methodKey, plid,
2164                                            groupId, portletId, parameterMap, file);
2165    
2166                            Object returnObj = null;
2167    
2168                            try {
2169                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2170                            }
2171                            catch (Exception e) {
2172                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2173                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2174                                    }
2175    
2176                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2177                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2178                                    }
2179    
2180                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2181                            }
2182    
2183                            return (com.liferay.portal.kernel.lar.MissingReferences)returnObj;
2184                    }
2185                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2186                            _log.error(se, se);
2187    
2188                            throw se;
2189                    }
2190            }
2191    
2192            public static com.liferay.portal.kernel.lar.MissingReferences validateImportPortletInfo(
2193                    HttpPrincipal httpPrincipal, long plid, long groupId,
2194                    java.lang.String portletId,
2195                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
2196                    java.io.InputStream inputStream)
2197                    throws com.liferay.portal.kernel.exception.PortalException,
2198                            com.liferay.portal.kernel.exception.SystemException {
2199                    try {
2200                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2201                                            "validateImportPortletInfo",
2202                                            _validateImportPortletInfoParameterTypes55);
2203    
2204                            MethodHandler methodHandler = new MethodHandler(methodKey, plid,
2205                                            groupId, portletId, parameterMap, inputStream);
2206    
2207                            Object returnObj = null;
2208    
2209                            try {
2210                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2211                            }
2212                            catch (Exception e) {
2213                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2214                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2215                                    }
2216    
2217                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2218                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2219                                    }
2220    
2221                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2222                            }
2223    
2224                            return (com.liferay.portal.kernel.lar.MissingReferences)returnObj;
2225                    }
2226                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2227                            _log.error(se, se);
2228    
2229                            throw se;
2230                    }
2231            }
2232    
2233            private static Log _log = LogFactoryUtil.getLog(LayoutServiceHttp.class);
2234            private static final Class<?>[] _addLayoutParameterTypes0 = new Class[] {
2235                            long.class, boolean.class, long.class, java.util.Map.class,
2236                            java.util.Map.class, java.util.Map.class, java.util.Map.class,
2237                            java.util.Map.class, java.lang.String.class, boolean.class,
2238                            java.lang.String.class,
2239                            com.liferay.portal.service.ServiceContext.class
2240                    };
2241            private static final Class<?>[] _addLayoutParameterTypes1 = new Class[] {
2242                            long.class, boolean.class, long.class, java.util.Map.class,
2243                            java.util.Map.class, java.util.Map.class, java.util.Map.class,
2244                            java.util.Map.class, java.lang.String.class, java.lang.String.class,
2245                            boolean.class, java.util.Map.class,
2246                            com.liferay.portal.service.ServiceContext.class
2247                    };
2248            private static final Class<?>[] _addLayoutParameterTypes2 = new Class[] {
2249                            long.class, boolean.class, long.class, java.lang.String.class,
2250                            java.lang.String.class, java.lang.String.class,
2251                            java.lang.String.class, boolean.class, java.lang.String.class,
2252                            com.liferay.portal.service.ServiceContext.class
2253                    };
2254            private static final Class<?>[] _addTempFileEntryParameterTypes3 = new Class[] {
2255                            long.class, java.lang.String.class, java.lang.String.class,
2256                            java.io.InputStream.class, java.lang.String.class
2257                    };
2258            private static final Class<?>[] _deleteLayoutParameterTypes4 = new Class[] {
2259                            long.class, boolean.class, long.class,
2260                            com.liferay.portal.service.ServiceContext.class
2261                    };
2262            private static final Class<?>[] _deleteLayoutParameterTypes5 = new Class[] {
2263                            long.class, com.liferay.portal.service.ServiceContext.class
2264                    };
2265            private static final Class<?>[] _deleteTempFileEntryParameterTypes6 = new Class[] {
2266                            long.class, java.lang.String.class, java.lang.String.class
2267                    };
2268            private static final Class<?>[] _exportLayoutsParameterTypes7 = new Class[] {
2269                            long.class, boolean.class, long[].class, java.util.Map.class,
2270                            java.util.Date.class, java.util.Date.class
2271                    };
2272            private static final Class<?>[] _exportLayoutsParameterTypes8 = new Class[] {
2273                            long.class, boolean.class, java.util.Map.class, java.util.Date.class,
2274                            java.util.Date.class
2275                    };
2276            private static final Class<?>[] _exportLayoutsAsFileParameterTypes9 = new Class[] {
2277                            long.class, boolean.class, long[].class, java.util.Map.class,
2278                            java.util.Date.class, java.util.Date.class
2279                    };
2280            private static final Class<?>[] _exportLayoutsAsFileInBackgroundParameterTypes10 =
2281                    new Class[] {
2282                            java.lang.String.class, long.class, boolean.class, long[].class,
2283                            java.util.Map.class, java.util.Date.class, java.util.Date.class,
2284                            java.lang.String.class
2285                    };
2286            private static final Class<?>[] _exportPortletInfoParameterTypes11 = new Class[] {
2287                            long.class, long.class, java.lang.String.class, java.util.Map.class,
2288                            java.util.Date.class, java.util.Date.class
2289                    };
2290            private static final Class<?>[] _exportPortletInfoParameterTypes12 = new Class[] {
2291                            long.class, java.lang.String.class, java.util.Map.class,
2292                            java.util.Date.class, java.util.Date.class
2293                    };
2294            private static final Class<?>[] _exportPortletInfoAsFileParameterTypes13 = new Class[] {
2295                            long.class, long.class, java.lang.String.class, java.util.Map.class,
2296                            java.util.Date.class, java.util.Date.class
2297                    };
2298            private static final Class<?>[] _exportPortletInfoAsFileParameterTypes14 = new Class[] {
2299                            long.class, java.lang.String.class, java.util.Map.class,
2300                            java.util.Date.class, java.util.Date.class
2301                    };
2302            private static final Class<?>[] _exportPortletInfoAsFileInBackgroundParameterTypes15 =
2303                    new Class[] {
2304                            long.class, java.lang.String.class, java.lang.String.class,
2305                            java.util.Map.class, java.util.Date.class, java.util.Date.class,
2306                            java.lang.String.class
2307                    };
2308            private static final Class<?>[] _exportPortletInfoAsFileInBackgroundParameterTypes16 =
2309                    new Class[] {
2310                            java.lang.String.class, long.class, long.class,
2311                            java.lang.String.class, java.util.Map.class, java.util.Date.class,
2312                            java.util.Date.class, java.lang.String.class
2313                    };
2314            private static final Class<?>[] _getAncestorLayoutsParameterTypes17 = new Class[] {
2315                            long.class
2316                    };
2317            private static final Class<?>[] _getDefaultPlidParameterTypes18 = new Class[] {
2318                            long.class, long.class, boolean.class, java.lang.String.class
2319                    };
2320            private static final Class<?>[] _getDefaultPlidParameterTypes19 = new Class[] {
2321                            long.class, long.class, java.lang.String.class
2322                    };
2323            private static final Class<?>[] _getLayoutByUuidAndGroupIdParameterTypes20 = new Class[] {
2324                            java.lang.String.class, long.class, boolean.class
2325                    };
2326            private static final Class<?>[] _getLayoutNameParameterTypes21 = new Class[] {
2327                            long.class, boolean.class, long.class, java.lang.String.class
2328                    };
2329            private static final Class<?>[] _getLayoutReferencesParameterTypes22 = new Class[] {
2330                            long.class, java.lang.String.class, java.lang.String.class,
2331                            java.lang.String.class
2332                    };
2333            private static final Class<?>[] _getLayoutsParameterTypes23 = new Class[] {
2334                            long.class, boolean.class
2335                    };
2336            private static final Class<?>[] _getLayoutsParameterTypes24 = new Class[] {
2337                            long.class, boolean.class, long.class
2338                    };
2339            private static final Class<?>[] _getLayoutsParameterTypes25 = new Class[] {
2340                            long.class, boolean.class, long.class, boolean.class, int.class,
2341                            int.class
2342                    };
2343            private static final Class<?>[] _getTempFileEntryNamesParameterTypes26 = new Class[] {
2344                            long.class, java.lang.String.class
2345                    };
2346            private static final Class<?>[] _importLayoutsParameterTypes27 = new Class[] {
2347                            long.class, boolean.class, java.util.Map.class, byte[].class
2348                    };
2349            private static final Class<?>[] _importLayoutsParameterTypes28 = new Class[] {
2350                            long.class, boolean.class, java.util.Map.class, java.io.File.class
2351                    };
2352            private static final Class<?>[] _importLayoutsParameterTypes29 = new Class[] {
2353                            long.class, boolean.class, java.util.Map.class,
2354                            java.io.InputStream.class
2355                    };
2356            private static final Class<?>[] _importLayoutsInBackgroundParameterTypes30 = new Class[] {
2357                            java.lang.String.class, long.class, boolean.class,
2358                            java.util.Map.class, java.io.File.class
2359                    };
2360            private static final Class<?>[] _importLayoutsInBackgroundParameterTypes31 = new Class[] {
2361                            java.lang.String.class, long.class, boolean.class,
2362                            java.util.Map.class, java.io.InputStream.class
2363                    };
2364            private static final Class<?>[] _importPortletInfoParameterTypes32 = new Class[] {
2365                            long.class, long.class, java.lang.String.class, java.util.Map.class,
2366                            java.io.File.class
2367                    };
2368            private static final Class<?>[] _importPortletInfoParameterTypes33 = new Class[] {
2369                            long.class, long.class, java.lang.String.class, java.util.Map.class,
2370                            java.io.InputStream.class
2371                    };
2372            private static final Class<?>[] _importPortletInfoInBackgroundParameterTypes34 =
2373                    new Class[] {
2374                            java.lang.String.class, long.class, long.class,
2375                            java.lang.String.class, java.util.Map.class, java.io.File.class
2376                    };
2377            private static final Class<?>[] _importPortletInfoInBackgroundParameterTypes35 =
2378                    new Class[] {
2379                            java.lang.String.class, long.class, long.class,
2380                            java.lang.String.class, java.util.Map.class,
2381                            java.io.InputStream.class
2382                    };
2383            private static final Class<?>[] _schedulePublishToLiveParameterTypes36 = new Class[] {
2384                            long.class, long.class, boolean.class, java.util.Map.class,
2385                            java.util.Map.class, java.lang.String.class, java.util.Date.class,
2386                            java.util.Date.class, java.lang.String.class, java.lang.String.class,
2387                            java.util.Date.class, java.util.Date.class, java.lang.String.class
2388                    };
2389            private static final Class<?>[] _schedulePublishToRemoteParameterTypes37 = new Class[] {
2390                            long.class, boolean.class, java.util.Map.class, java.util.Map.class,
2391                            java.lang.String.class, int.class, java.lang.String.class,
2392                            boolean.class, long.class, boolean.class, java.util.Date.class,
2393                            java.util.Date.class, java.lang.String.class, java.lang.String.class,
2394                            java.util.Date.class, java.util.Date.class, java.lang.String.class
2395                    };
2396            private static final Class<?>[] _setLayoutsParameterTypes38 = new Class[] {
2397                            long.class, boolean.class, long.class, long[].class,
2398                            com.liferay.portal.service.ServiceContext.class
2399                    };
2400            private static final Class<?>[] _unschedulePublishToLiveParameterTypes39 = new Class[] {
2401                            long.class, java.lang.String.class, java.lang.String.class
2402                    };
2403            private static final Class<?>[] _unschedulePublishToRemoteParameterTypes40 = new Class[] {
2404                            long.class, java.lang.String.class, java.lang.String.class
2405                    };
2406            private static final Class<?>[] _updateLayoutParameterTypes41 = new Class[] {
2407                            long.class, boolean.class, long.class, long.class,
2408                            java.util.Map.class, java.util.Map.class, java.util.Map.class,
2409                            java.util.Map.class, java.util.Map.class, java.lang.String.class,
2410                            boolean.class, java.util.Map.class, java.lang.Boolean.class,
2411                            byte[].class, com.liferay.portal.service.ServiceContext.class
2412                    };
2413            private static final Class<?>[] _updateLayoutParameterTypes42 = new Class[] {
2414                            long.class, boolean.class, long.class, long.class,
2415                            java.util.Map.class, java.util.Map.class, java.util.Map.class,
2416                            java.util.Map.class, java.util.Map.class, java.lang.String.class,
2417                            boolean.class, java.lang.String.class, java.lang.Boolean.class,
2418                            byte[].class, com.liferay.portal.service.ServiceContext.class
2419                    };
2420            private static final Class<?>[] _updateLayoutParameterTypes43 = new Class[] {
2421                            long.class, boolean.class, long.class, java.lang.String.class
2422                    };
2423            private static final Class<?>[] _updateLookAndFeelParameterTypes44 = new Class[] {
2424                            long.class, boolean.class, long.class, java.lang.String.class,
2425                            java.lang.String.class, java.lang.String.class, boolean.class
2426                    };
2427            private static final Class<?>[] _updateNameParameterTypes45 = new Class[] {
2428                            long.class, boolean.class, long.class, java.lang.String.class,
2429                            java.lang.String.class
2430                    };
2431            private static final Class<?>[] _updateNameParameterTypes46 = new Class[] {
2432                            long.class, java.lang.String.class, java.lang.String.class
2433                    };
2434            private static final Class<?>[] _updateParentLayoutIdParameterTypes47 = new Class[] {
2435                            long.class, boolean.class, long.class, long.class
2436                    };
2437            private static final Class<?>[] _updateParentLayoutIdParameterTypes48 = new Class[] {
2438                            long.class, long.class
2439                    };
2440            private static final Class<?>[] _updatePriorityParameterTypes49 = new Class[] {
2441                            long.class, boolean.class, long.class, int.class
2442                    };
2443            private static final Class<?>[] _updatePriorityParameterTypes50 = new Class[] {
2444                            long.class, boolean.class, long.class, long.class, long.class
2445                    };
2446            private static final Class<?>[] _updatePriorityParameterTypes51 = new Class[] {
2447                            long.class, int.class
2448                    };
2449            private static final Class<?>[] _validateImportLayoutsFileParameterTypes52 = new Class[] {
2450                            long.class, boolean.class, java.util.Map.class, java.io.File.class
2451                    };
2452            private static final Class<?>[] _validateImportLayoutsFileParameterTypes53 = new Class[] {
2453                            long.class, boolean.class, java.util.Map.class,
2454                            java.io.InputStream.class
2455                    };
2456            private static final Class<?>[] _validateImportPortletInfoParameterTypes54 = new Class[] {
2457                            long.class, long.class, java.lang.String.class, java.util.Map.class,
2458                            java.io.File.class
2459                    };
2460            private static final Class<?>[] _validateImportPortletInfoParameterTypes55 = new Class[] {
2461                            long.class, long.class, java.lang.String.class, java.util.Map.class,
2462                            java.io.InputStream.class
2463                    };
2464    }