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 void importPortletInfo(HttpPrincipal httpPrincipal,
1246                    long plid, long groupId, java.lang.String portletId,
1247                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1248                    java.io.File file)
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                                            "importPortletInfo", _importPortletInfoParameterTypes31);
1254    
1255                            MethodHandler methodHandler = new MethodHandler(methodKey, plid,
1256                                            groupId, portletId, parameterMap, file);
1257    
1258                            try {
1259                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1260                            }
1261                            catch (Exception e) {
1262                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1263                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1264                                    }
1265    
1266                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1267                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1268                                    }
1269    
1270                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1271                            }
1272                    }
1273                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1274                            _log.error(se, se);
1275    
1276                            throw se;
1277                    }
1278            }
1279    
1280            public static void importPortletInfo(HttpPrincipal httpPrincipal,
1281                    long plid, long groupId, java.lang.String portletId,
1282                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1283                    java.io.InputStream is)
1284                    throws com.liferay.portal.kernel.exception.PortalException,
1285                            com.liferay.portal.kernel.exception.SystemException {
1286                    try {
1287                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1288                                            "importPortletInfo", _importPortletInfoParameterTypes32);
1289    
1290                            MethodHandler methodHandler = new MethodHandler(methodKey, plid,
1291                                            groupId, portletId, parameterMap, is);
1292    
1293                            try {
1294                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1295                            }
1296                            catch (Exception e) {
1297                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1298                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1299                                    }
1300    
1301                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1302                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1303                                    }
1304    
1305                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1306                            }
1307                    }
1308                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1309                            _log.error(se, se);
1310    
1311                            throw se;
1312                    }
1313            }
1314    
1315            public static long importPortletInfoInBackground(
1316                    HttpPrincipal httpPrincipal, java.lang.String taskName, long plid,
1317                    long groupId, java.lang.String portletId,
1318                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1319                    java.io.File file)
1320                    throws com.liferay.portal.kernel.exception.PortalException,
1321                            com.liferay.portal.kernel.exception.SystemException {
1322                    try {
1323                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1324                                            "importPortletInfoInBackground",
1325                                            _importPortletInfoInBackgroundParameterTypes33);
1326    
1327                            MethodHandler methodHandler = new MethodHandler(methodKey,
1328                                            taskName, plid, groupId, portletId, parameterMap, file);
1329    
1330                            Object returnObj = null;
1331    
1332                            try {
1333                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1334                            }
1335                            catch (Exception e) {
1336                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1337                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1338                                    }
1339    
1340                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1341                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1342                                    }
1343    
1344                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1345                            }
1346    
1347                            return ((Long)returnObj).longValue();
1348                    }
1349                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1350                            _log.error(se, se);
1351    
1352                            throw se;
1353                    }
1354            }
1355    
1356            public static long importPortletInfoInBackground(
1357                    HttpPrincipal httpPrincipal, java.lang.String taskName, long plid,
1358                    long groupId, java.lang.String portletId,
1359                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1360                    java.io.InputStream is)
1361                    throws com.liferay.portal.kernel.exception.PortalException,
1362                            com.liferay.portal.kernel.exception.SystemException {
1363                    try {
1364                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1365                                            "importPortletInfoInBackground",
1366                                            _importPortletInfoInBackgroundParameterTypes34);
1367    
1368                            MethodHandler methodHandler = new MethodHandler(methodKey,
1369                                            taskName, plid, groupId, portletId, parameterMap, is);
1370    
1371                            Object returnObj = null;
1372    
1373                            try {
1374                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1375                            }
1376                            catch (Exception e) {
1377                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1378                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1379                                    }
1380    
1381                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1382                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1383                                    }
1384    
1385                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1386                            }
1387    
1388                            return ((Long)returnObj).longValue();
1389                    }
1390                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1391                            _log.error(se, se);
1392    
1393                            throw se;
1394                    }
1395            }
1396    
1397            public static void schedulePublishToLive(HttpPrincipal httpPrincipal,
1398                    long sourceGroupId, long targetGroupId, boolean privateLayout,
1399                    java.util.Map<java.lang.Long, java.lang.Boolean> layoutIdMap,
1400                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1401                    java.lang.String scope, java.util.Date startDate,
1402                    java.util.Date endDate, java.lang.String groupName,
1403                    java.lang.String cronText, java.util.Date schedulerStartDate,
1404                    java.util.Date schedulerEndDate, java.lang.String description)
1405                    throws com.liferay.portal.kernel.exception.PortalException,
1406                            com.liferay.portal.kernel.exception.SystemException {
1407                    try {
1408                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1409                                            "schedulePublishToLive",
1410                                            _schedulePublishToLiveParameterTypes35);
1411    
1412                            MethodHandler methodHandler = new MethodHandler(methodKey,
1413                                            sourceGroupId, targetGroupId, privateLayout, layoutIdMap,
1414                                            parameterMap, scope, startDate, endDate, groupName,
1415                                            cronText, schedulerStartDate, schedulerEndDate, description);
1416    
1417                            try {
1418                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1419                            }
1420                            catch (Exception e) {
1421                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1422                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1423                                    }
1424    
1425                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1426                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1427                                    }
1428    
1429                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1430                            }
1431                    }
1432                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1433                            _log.error(se, se);
1434    
1435                            throw se;
1436                    }
1437            }
1438    
1439            public static void schedulePublishToRemote(HttpPrincipal httpPrincipal,
1440                    long sourceGroupId, boolean privateLayout,
1441                    java.util.Map<java.lang.Long, java.lang.Boolean> layoutIdMap,
1442                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1443                    java.lang.String remoteAddress, int remotePort,
1444                    java.lang.String remotePathContext, boolean secureConnection,
1445                    long remoteGroupId, boolean remotePrivateLayout,
1446                    java.util.Date startDate, java.util.Date endDate,
1447                    java.lang.String groupName, java.lang.String cronText,
1448                    java.util.Date schedulerStartDate, java.util.Date schedulerEndDate,
1449                    java.lang.String description)
1450                    throws com.liferay.portal.kernel.exception.PortalException,
1451                            com.liferay.portal.kernel.exception.SystemException {
1452                    try {
1453                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1454                                            "schedulePublishToRemote",
1455                                            _schedulePublishToRemoteParameterTypes36);
1456    
1457                            MethodHandler methodHandler = new MethodHandler(methodKey,
1458                                            sourceGroupId, privateLayout, layoutIdMap, parameterMap,
1459                                            remoteAddress, remotePort, remotePathContext,
1460                                            secureConnection, remoteGroupId, remotePrivateLayout,
1461                                            startDate, endDate, groupName, cronText,
1462                                            schedulerStartDate, schedulerEndDate, description);
1463    
1464                            try {
1465                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1466                            }
1467                            catch (Exception e) {
1468                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1469                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1470                                    }
1471    
1472                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1473                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1474                                    }
1475    
1476                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1477                            }
1478                    }
1479                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1480                            _log.error(se, se);
1481    
1482                            throw se;
1483                    }
1484            }
1485    
1486            public static void setLayouts(HttpPrincipal httpPrincipal, long groupId,
1487                    boolean privateLayout, long parentLayoutId, long[] layoutIds,
1488                    com.liferay.portal.service.ServiceContext serviceContext)
1489                    throws com.liferay.portal.kernel.exception.PortalException,
1490                            com.liferay.portal.kernel.exception.SystemException {
1491                    try {
1492                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1493                                            "setLayouts", _setLayoutsParameterTypes37);
1494    
1495                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1496                                            privateLayout, parentLayoutId, layoutIds, serviceContext);
1497    
1498                            try {
1499                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1500                            }
1501                            catch (Exception e) {
1502                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1503                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1504                                    }
1505    
1506                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1507                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1508                                    }
1509    
1510                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1511                            }
1512                    }
1513                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1514                            _log.error(se, se);
1515    
1516                            throw se;
1517                    }
1518            }
1519    
1520            public static void unschedulePublishToLive(HttpPrincipal httpPrincipal,
1521                    long groupId, java.lang.String jobName, java.lang.String groupName)
1522                    throws com.liferay.portal.kernel.exception.PortalException,
1523                            com.liferay.portal.kernel.exception.SystemException {
1524                    try {
1525                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1526                                            "unschedulePublishToLive",
1527                                            _unschedulePublishToLiveParameterTypes38);
1528    
1529                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1530                                            jobName, groupName);
1531    
1532                            try {
1533                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1534                            }
1535                            catch (Exception e) {
1536                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1537                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1538                                    }
1539    
1540                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1541                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1542                                    }
1543    
1544                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1545                            }
1546                    }
1547                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1548                            _log.error(se, se);
1549    
1550                            throw se;
1551                    }
1552            }
1553    
1554            public static void unschedulePublishToRemote(HttpPrincipal httpPrincipal,
1555                    long groupId, java.lang.String jobName, java.lang.String groupName)
1556                    throws com.liferay.portal.kernel.exception.PortalException,
1557                            com.liferay.portal.kernel.exception.SystemException {
1558                    try {
1559                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1560                                            "unschedulePublishToRemote",
1561                                            _unschedulePublishToRemoteParameterTypes39);
1562    
1563                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1564                                            jobName, groupName);
1565    
1566                            try {
1567                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1568                            }
1569                            catch (Exception e) {
1570                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1571                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1572                                    }
1573    
1574                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1575                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1576                                    }
1577    
1578                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1579                            }
1580                    }
1581                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1582                            _log.error(se, se);
1583    
1584                            throw se;
1585                    }
1586            }
1587    
1588            public static com.liferay.portal.model.Layout updateLayout(
1589                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1590                    long layoutId, long parentLayoutId,
1591                    java.util.Map<java.util.Locale, java.lang.String> localeNamesMap,
1592                    java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap,
1593                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1594                    java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
1595                    java.util.Map<java.util.Locale, java.lang.String> robotsMap,
1596                    java.lang.String type, boolean hidden,
1597                    java.util.Map<java.util.Locale, java.lang.String> friendlyURLMap,
1598                    java.lang.Boolean iconImage, byte[] iconBytes,
1599                    com.liferay.portal.service.ServiceContext serviceContext)
1600                    throws com.liferay.portal.kernel.exception.PortalException,
1601                            com.liferay.portal.kernel.exception.SystemException {
1602                    try {
1603                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1604                                            "updateLayout", _updateLayoutParameterTypes40);
1605    
1606                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1607                                            privateLayout, layoutId, parentLayoutId, localeNamesMap,
1608                                            localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
1609                                            type, hidden, friendlyURLMap, iconImage, iconBytes,
1610                                            serviceContext);
1611    
1612                            Object returnObj = null;
1613    
1614                            try {
1615                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1616                            }
1617                            catch (Exception e) {
1618                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1619                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1620                                    }
1621    
1622                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1623                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1624                                    }
1625    
1626                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1627                            }
1628    
1629                            return (com.liferay.portal.model.Layout)returnObj;
1630                    }
1631                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1632                            _log.error(se, se);
1633    
1634                            throw se;
1635                    }
1636            }
1637    
1638            public static com.liferay.portal.model.Layout updateLayout(
1639                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1640                    long layoutId, long parentLayoutId,
1641                    java.util.Map<java.util.Locale, java.lang.String> localeNamesMap,
1642                    java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap,
1643                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1644                    java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
1645                    java.util.Map<java.util.Locale, java.lang.String> robotsMap,
1646                    java.lang.String type, boolean hidden, java.lang.String friendlyURL,
1647                    java.lang.Boolean iconImage, byte[] iconBytes,
1648                    com.liferay.portal.service.ServiceContext serviceContext)
1649                    throws com.liferay.portal.kernel.exception.PortalException,
1650                            com.liferay.portal.kernel.exception.SystemException {
1651                    try {
1652                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1653                                            "updateLayout", _updateLayoutParameterTypes41);
1654    
1655                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1656                                            privateLayout, layoutId, parentLayoutId, localeNamesMap,
1657                                            localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
1658                                            type, hidden, friendlyURL, iconImage, iconBytes,
1659                                            serviceContext);
1660    
1661                            Object returnObj = null;
1662    
1663                            try {
1664                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1665                            }
1666                            catch (Exception e) {
1667                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1668                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1669                                    }
1670    
1671                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1672                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1673                                    }
1674    
1675                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1676                            }
1677    
1678                            return (com.liferay.portal.model.Layout)returnObj;
1679                    }
1680                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1681                            _log.error(se, se);
1682    
1683                            throw se;
1684                    }
1685            }
1686    
1687            public static com.liferay.portal.model.Layout updateLayout(
1688                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1689                    long layoutId, java.lang.String typeSettings)
1690                    throws com.liferay.portal.kernel.exception.PortalException,
1691                            com.liferay.portal.kernel.exception.SystemException {
1692                    try {
1693                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1694                                            "updateLayout", _updateLayoutParameterTypes42);
1695    
1696                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1697                                            privateLayout, layoutId, typeSettings);
1698    
1699                            Object returnObj = null;
1700    
1701                            try {
1702                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1703                            }
1704                            catch (Exception e) {
1705                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1706                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1707                                    }
1708    
1709                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1710                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1711                                    }
1712    
1713                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1714                            }
1715    
1716                            return (com.liferay.portal.model.Layout)returnObj;
1717                    }
1718                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1719                            _log.error(se, se);
1720    
1721                            throw se;
1722                    }
1723            }
1724    
1725            public static com.liferay.portal.model.Layout updateLookAndFeel(
1726                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1727                    long layoutId, java.lang.String themeId,
1728                    java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
1729                    throws com.liferay.portal.kernel.exception.PortalException,
1730                            com.liferay.portal.kernel.exception.SystemException {
1731                    try {
1732                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1733                                            "updateLookAndFeel", _updateLookAndFeelParameterTypes43);
1734    
1735                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1736                                            privateLayout, layoutId, themeId, colorSchemeId, css,
1737                                            wapTheme);
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 updateName(
1766                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1767                    long layoutId, java.lang.String name, java.lang.String languageId)
1768                    throws com.liferay.portal.kernel.exception.PortalException,
1769                            com.liferay.portal.kernel.exception.SystemException {
1770                    try {
1771                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1772                                            "updateName", _updateNameParameterTypes44);
1773    
1774                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1775                                            privateLayout, layoutId, name, languageId);
1776    
1777                            Object returnObj = null;
1778    
1779                            try {
1780                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1781                            }
1782                            catch (Exception e) {
1783                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1784                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1785                                    }
1786    
1787                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1788                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1789                                    }
1790    
1791                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1792                            }
1793    
1794                            return (com.liferay.portal.model.Layout)returnObj;
1795                    }
1796                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1797                            _log.error(se, se);
1798    
1799                            throw se;
1800                    }
1801            }
1802    
1803            public static com.liferay.portal.model.Layout updateName(
1804                    HttpPrincipal httpPrincipal, long plid, java.lang.String name,
1805                    java.lang.String languageId)
1806                    throws com.liferay.portal.kernel.exception.PortalException,
1807                            com.liferay.portal.kernel.exception.SystemException {
1808                    try {
1809                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1810                                            "updateName", _updateNameParameterTypes45);
1811    
1812                            MethodHandler methodHandler = new MethodHandler(methodKey, plid,
1813                                            name, languageId);
1814    
1815                            Object returnObj = null;
1816    
1817                            try {
1818                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1819                            }
1820                            catch (Exception e) {
1821                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1822                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1823                                    }
1824    
1825                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1826                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1827                                    }
1828    
1829                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1830                            }
1831    
1832                            return (com.liferay.portal.model.Layout)returnObj;
1833                    }
1834                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1835                            _log.error(se, se);
1836    
1837                            throw se;
1838                    }
1839            }
1840    
1841            public static com.liferay.portal.model.Layout updateParentLayoutId(
1842                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1843                    long layoutId, long parentLayoutId)
1844                    throws com.liferay.portal.kernel.exception.PortalException,
1845                            com.liferay.portal.kernel.exception.SystemException {
1846                    try {
1847                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1848                                            "updateParentLayoutId",
1849                                            _updateParentLayoutIdParameterTypes46);
1850    
1851                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1852                                            privateLayout, layoutId, parentLayoutId);
1853    
1854                            Object returnObj = null;
1855    
1856                            try {
1857                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1858                            }
1859                            catch (Exception e) {
1860                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1861                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1862                                    }
1863    
1864                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1865                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1866                                    }
1867    
1868                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1869                            }
1870    
1871                            return (com.liferay.portal.model.Layout)returnObj;
1872                    }
1873                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1874                            _log.error(se, se);
1875    
1876                            throw se;
1877                    }
1878            }
1879    
1880            public static com.liferay.portal.model.Layout updateParentLayoutId(
1881                    HttpPrincipal httpPrincipal, long plid, long parentPlid)
1882                    throws com.liferay.portal.kernel.exception.PortalException,
1883                            com.liferay.portal.kernel.exception.SystemException {
1884                    try {
1885                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1886                                            "updateParentLayoutId",
1887                                            _updateParentLayoutIdParameterTypes47);
1888    
1889                            MethodHandler methodHandler = new MethodHandler(methodKey, plid,
1890                                            parentPlid);
1891    
1892                            Object returnObj = null;
1893    
1894                            try {
1895                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1896                            }
1897                            catch (Exception e) {
1898                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1899                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1900                                    }
1901    
1902                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1903                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1904                                    }
1905    
1906                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1907                            }
1908    
1909                            return (com.liferay.portal.model.Layout)returnObj;
1910                    }
1911                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1912                            _log.error(se, se);
1913    
1914                            throw se;
1915                    }
1916            }
1917    
1918            public static com.liferay.portal.model.Layout updatePriority(
1919                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1920                    long layoutId, int priority)
1921                    throws com.liferay.portal.kernel.exception.PortalException,
1922                            com.liferay.portal.kernel.exception.SystemException {
1923                    try {
1924                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1925                                            "updatePriority", _updatePriorityParameterTypes48);
1926    
1927                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1928                                            privateLayout, layoutId, priority);
1929    
1930                            Object returnObj = null;
1931    
1932                            try {
1933                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1934                            }
1935                            catch (Exception e) {
1936                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1937                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1938                                    }
1939    
1940                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1941                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1942                                    }
1943    
1944                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1945                            }
1946    
1947                            return (com.liferay.portal.model.Layout)returnObj;
1948                    }
1949                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1950                            _log.error(se, se);
1951    
1952                            throw se;
1953                    }
1954            }
1955    
1956            public static com.liferay.portal.model.Layout updatePriority(
1957                    HttpPrincipal httpPrincipal, long plid, int priority)
1958                    throws com.liferay.portal.kernel.exception.PortalException,
1959                            com.liferay.portal.kernel.exception.SystemException {
1960                    try {
1961                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
1962                                            "updatePriority", _updatePriorityParameterTypes49);
1963    
1964                            MethodHandler methodHandler = new MethodHandler(methodKey, plid,
1965                                            priority);
1966    
1967                            Object returnObj = null;
1968    
1969                            try {
1970                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1971                            }
1972                            catch (Exception e) {
1973                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1974                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1975                                    }
1976    
1977                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1978                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1979                                    }
1980    
1981                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1982                            }
1983    
1984                            return (com.liferay.portal.model.Layout)returnObj;
1985                    }
1986                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1987                            _log.error(se, se);
1988    
1989                            throw se;
1990                    }
1991            }
1992    
1993            public static com.liferay.portal.kernel.lar.MissingReferences validateImportLayoutsFile(
1994                    HttpPrincipal httpPrincipal, long groupId, boolean privateLayout,
1995                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1996                    java.io.File file)
1997                    throws com.liferay.portal.kernel.exception.PortalException,
1998                            com.liferay.portal.kernel.exception.SystemException {
1999                    try {
2000                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2001                                            "validateImportLayoutsFile",
2002                                            _validateImportLayoutsFileParameterTypes50);
2003    
2004                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2005                                            privateLayout, parameterMap, file);
2006    
2007                            Object returnObj = null;
2008    
2009                            try {
2010                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2011                            }
2012                            catch (Exception e) {
2013                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2014                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2015                                    }
2016    
2017                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2018                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2019                                    }
2020    
2021                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2022                            }
2023    
2024                            return (com.liferay.portal.kernel.lar.MissingReferences)returnObj;
2025                    }
2026                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2027                            _log.error(se, se);
2028    
2029                            throw se;
2030                    }
2031            }
2032    
2033            public static com.liferay.portal.kernel.lar.MissingReferences validateImportPortletInfo(
2034                    HttpPrincipal httpPrincipal, long plid, long groupId,
2035                    java.lang.String portletId,
2036                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
2037                    java.io.File file)
2038                    throws com.liferay.portal.kernel.exception.PortalException,
2039                            com.liferay.portal.kernel.exception.SystemException {
2040                    try {
2041                            MethodKey methodKey = new MethodKey(LayoutServiceUtil.class,
2042                                            "validateImportPortletInfo",
2043                                            _validateImportPortletInfoParameterTypes51);
2044    
2045                            MethodHandler methodHandler = new MethodHandler(methodKey, plid,
2046                                            groupId, portletId, parameterMap, file);
2047    
2048                            Object returnObj = null;
2049    
2050                            try {
2051                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2052                            }
2053                            catch (Exception e) {
2054                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2055                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2056                                    }
2057    
2058                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2059                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2060                                    }
2061    
2062                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2063                            }
2064    
2065                            return (com.liferay.portal.kernel.lar.MissingReferences)returnObj;
2066                    }
2067                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2068                            _log.error(se, se);
2069    
2070                            throw se;
2071                    }
2072            }
2073    
2074            private static Log _log = LogFactoryUtil.getLog(LayoutServiceHttp.class);
2075            private static final Class<?>[] _addLayoutParameterTypes0 = new Class[] {
2076                            long.class, boolean.class, long.class, java.util.Map.class,
2077                            java.util.Map.class, java.util.Map.class, java.util.Map.class,
2078                            java.util.Map.class, java.lang.String.class, boolean.class,
2079                            java.lang.String.class,
2080                            com.liferay.portal.service.ServiceContext.class
2081                    };
2082            private static final Class<?>[] _addLayoutParameterTypes1 = new Class[] {
2083                            long.class, boolean.class, long.class, java.util.Map.class,
2084                            java.util.Map.class, java.util.Map.class, java.util.Map.class,
2085                            java.util.Map.class, java.lang.String.class, java.lang.String.class,
2086                            boolean.class, java.util.Map.class,
2087                            com.liferay.portal.service.ServiceContext.class
2088                    };
2089            private static final Class<?>[] _addLayoutParameterTypes2 = new Class[] {
2090                            long.class, boolean.class, long.class, java.lang.String.class,
2091                            java.lang.String.class, java.lang.String.class,
2092                            java.lang.String.class, boolean.class, java.lang.String.class,
2093                            com.liferay.portal.service.ServiceContext.class
2094                    };
2095            private static final Class<?>[] _addTempFileEntryParameterTypes3 = new Class[] {
2096                            long.class, java.lang.String.class, java.lang.String.class,
2097                            java.io.InputStream.class, java.lang.String.class
2098                    };
2099            private static final Class<?>[] _deleteLayoutParameterTypes4 = new Class[] {
2100                            long.class, boolean.class, long.class,
2101                            com.liferay.portal.service.ServiceContext.class
2102                    };
2103            private static final Class<?>[] _deleteLayoutParameterTypes5 = new Class[] {
2104                            long.class, com.liferay.portal.service.ServiceContext.class
2105                    };
2106            private static final Class<?>[] _deleteTempFileEntryParameterTypes6 = new Class[] {
2107                            long.class, java.lang.String.class, java.lang.String.class
2108                    };
2109            private static final Class<?>[] _exportLayoutsParameterTypes7 = new Class[] {
2110                            long.class, boolean.class, long[].class, java.util.Map.class,
2111                            java.util.Date.class, java.util.Date.class
2112                    };
2113            private static final Class<?>[] _exportLayoutsParameterTypes8 = new Class[] {
2114                            long.class, boolean.class, java.util.Map.class, java.util.Date.class,
2115                            java.util.Date.class
2116                    };
2117            private static final Class<?>[] _exportLayoutsAsFileParameterTypes9 = new Class[] {
2118                            long.class, boolean.class, long[].class, java.util.Map.class,
2119                            java.util.Date.class, java.util.Date.class
2120                    };
2121            private static final Class<?>[] _exportLayoutsAsFileInBackgroundParameterTypes10 =
2122                    new Class[] {
2123                            java.lang.String.class, long.class, boolean.class, long[].class,
2124                            java.util.Map.class, java.util.Date.class, java.util.Date.class,
2125                            java.lang.String.class
2126                    };
2127            private static final Class<?>[] _exportPortletInfoParameterTypes11 = new Class[] {
2128                            long.class, long.class, java.lang.String.class, java.util.Map.class,
2129                            java.util.Date.class, java.util.Date.class
2130                    };
2131            private static final Class<?>[] _exportPortletInfoParameterTypes12 = new Class[] {
2132                            long.class, java.lang.String.class, java.util.Map.class,
2133                            java.util.Date.class, java.util.Date.class
2134                    };
2135            private static final Class<?>[] _exportPortletInfoAsFileParameterTypes13 = new Class[] {
2136                            long.class, long.class, java.lang.String.class, java.util.Map.class,
2137                            java.util.Date.class, java.util.Date.class
2138                    };
2139            private static final Class<?>[] _exportPortletInfoAsFileParameterTypes14 = new Class[] {
2140                            long.class, java.lang.String.class, java.util.Map.class,
2141                            java.util.Date.class, java.util.Date.class
2142                    };
2143            private static final Class<?>[] _exportPortletInfoAsFileInBackgroundParameterTypes15 =
2144                    new Class[] {
2145                            long.class, java.lang.String.class, java.lang.String.class,
2146                            java.util.Map.class, java.util.Date.class, java.util.Date.class,
2147                            java.lang.String.class
2148                    };
2149            private static final Class<?>[] _exportPortletInfoAsFileInBackgroundParameterTypes16 =
2150                    new Class[] {
2151                            java.lang.String.class, long.class, long.class,
2152                            java.lang.String.class, java.util.Map.class, java.util.Date.class,
2153                            java.util.Date.class, java.lang.String.class
2154                    };
2155            private static final Class<?>[] _getAncestorLayoutsParameterTypes17 = new Class[] {
2156                            long.class
2157                    };
2158            private static final Class<?>[] _getDefaultPlidParameterTypes18 = new Class[] {
2159                            long.class, long.class, boolean.class, java.lang.String.class
2160                    };
2161            private static final Class<?>[] _getDefaultPlidParameterTypes19 = new Class[] {
2162                            long.class, long.class, java.lang.String.class
2163                    };
2164            private static final Class<?>[] _getLayoutByUuidAndGroupIdParameterTypes20 = new Class[] {
2165                            java.lang.String.class, long.class, boolean.class
2166                    };
2167            private static final Class<?>[] _getLayoutNameParameterTypes21 = new Class[] {
2168                            long.class, boolean.class, long.class, java.lang.String.class
2169                    };
2170            private static final Class<?>[] _getLayoutReferencesParameterTypes22 = new Class[] {
2171                            long.class, java.lang.String.class, java.lang.String.class,
2172                            java.lang.String.class
2173                    };
2174            private static final Class<?>[] _getLayoutsParameterTypes23 = new Class[] {
2175                            long.class, boolean.class
2176                    };
2177            private static final Class<?>[] _getLayoutsParameterTypes24 = new Class[] {
2178                            long.class, boolean.class, long.class
2179                    };
2180            private static final Class<?>[] _getLayoutsParameterTypes25 = new Class[] {
2181                            long.class, boolean.class, long.class, boolean.class, int.class,
2182                            int.class
2183                    };
2184            private static final Class<?>[] _getTempFileEntryNamesParameterTypes26 = new Class[] {
2185                            long.class, java.lang.String.class
2186                    };
2187            private static final Class<?>[] _importLayoutsParameterTypes27 = new Class[] {
2188                            long.class, boolean.class, java.util.Map.class, byte[].class
2189                    };
2190            private static final Class<?>[] _importLayoutsParameterTypes28 = new Class[] {
2191                            long.class, boolean.class, java.util.Map.class, java.io.File.class
2192                    };
2193            private static final Class<?>[] _importLayoutsParameterTypes29 = new Class[] {
2194                            long.class, boolean.class, java.util.Map.class,
2195                            java.io.InputStream.class
2196                    };
2197            private static final Class<?>[] _importLayoutsInBackgroundParameterTypes30 = new Class[] {
2198                            java.lang.String.class, long.class, boolean.class,
2199                            java.util.Map.class, java.io.File.class
2200                    };
2201            private static final Class<?>[] _importPortletInfoParameterTypes31 = new Class[] {
2202                            long.class, long.class, java.lang.String.class, java.util.Map.class,
2203                            java.io.File.class
2204                    };
2205            private static final Class<?>[] _importPortletInfoParameterTypes32 = new Class[] {
2206                            long.class, long.class, java.lang.String.class, java.util.Map.class,
2207                            java.io.InputStream.class
2208                    };
2209            private static final Class<?>[] _importPortletInfoInBackgroundParameterTypes33 =
2210                    new Class[] {
2211                            java.lang.String.class, long.class, long.class,
2212                            java.lang.String.class, java.util.Map.class, java.io.File.class
2213                    };
2214            private static final Class<?>[] _importPortletInfoInBackgroundParameterTypes34 =
2215                    new Class[] {
2216                            java.lang.String.class, long.class, long.class,
2217                            java.lang.String.class, java.util.Map.class,
2218                            java.io.InputStream.class
2219                    };
2220            private static final Class<?>[] _schedulePublishToLiveParameterTypes35 = new Class[] {
2221                            long.class, long.class, boolean.class, java.util.Map.class,
2222                            java.util.Map.class, java.lang.String.class, java.util.Date.class,
2223                            java.util.Date.class, java.lang.String.class, java.lang.String.class,
2224                            java.util.Date.class, java.util.Date.class, java.lang.String.class
2225                    };
2226            private static final Class<?>[] _schedulePublishToRemoteParameterTypes36 = new Class[] {
2227                            long.class, boolean.class, java.util.Map.class, java.util.Map.class,
2228                            java.lang.String.class, int.class, java.lang.String.class,
2229                            boolean.class, long.class, boolean.class, java.util.Date.class,
2230                            java.util.Date.class, java.lang.String.class, java.lang.String.class,
2231                            java.util.Date.class, java.util.Date.class, java.lang.String.class
2232                    };
2233            private static final Class<?>[] _setLayoutsParameterTypes37 = new Class[] {
2234                            long.class, boolean.class, long.class, long[].class,
2235                            com.liferay.portal.service.ServiceContext.class
2236                    };
2237            private static final Class<?>[] _unschedulePublishToLiveParameterTypes38 = new Class[] {
2238                            long.class, java.lang.String.class, java.lang.String.class
2239                    };
2240            private static final Class<?>[] _unschedulePublishToRemoteParameterTypes39 = new Class[] {
2241                            long.class, java.lang.String.class, java.lang.String.class
2242                    };
2243            private static final Class<?>[] _updateLayoutParameterTypes40 = new Class[] {
2244                            long.class, boolean.class, long.class, long.class,
2245                            java.util.Map.class, java.util.Map.class, java.util.Map.class,
2246                            java.util.Map.class, java.util.Map.class, java.lang.String.class,
2247                            boolean.class, java.util.Map.class, java.lang.Boolean.class,
2248                            byte[].class, com.liferay.portal.service.ServiceContext.class
2249                    };
2250            private static final Class<?>[] _updateLayoutParameterTypes41 = new Class[] {
2251                            long.class, boolean.class, long.class, long.class,
2252                            java.util.Map.class, java.util.Map.class, java.util.Map.class,
2253                            java.util.Map.class, java.util.Map.class, java.lang.String.class,
2254                            boolean.class, java.lang.String.class, java.lang.Boolean.class,
2255                            byte[].class, com.liferay.portal.service.ServiceContext.class
2256                    };
2257            private static final Class<?>[] _updateLayoutParameterTypes42 = new Class[] {
2258                            long.class, boolean.class, long.class, java.lang.String.class
2259                    };
2260            private static final Class<?>[] _updateLookAndFeelParameterTypes43 = new Class[] {
2261                            long.class, boolean.class, long.class, java.lang.String.class,
2262                            java.lang.String.class, java.lang.String.class, boolean.class
2263                    };
2264            private static final Class<?>[] _updateNameParameterTypes44 = new Class[] {
2265                            long.class, boolean.class, long.class, java.lang.String.class,
2266                            java.lang.String.class
2267                    };
2268            private static final Class<?>[] _updateNameParameterTypes45 = new Class[] {
2269                            long.class, java.lang.String.class, java.lang.String.class
2270                    };
2271            private static final Class<?>[] _updateParentLayoutIdParameterTypes46 = new Class[] {
2272                            long.class, boolean.class, long.class, long.class
2273                    };
2274            private static final Class<?>[] _updateParentLayoutIdParameterTypes47 = new Class[] {
2275                            long.class, long.class
2276                    };
2277            private static final Class<?>[] _updatePriorityParameterTypes48 = new Class[] {
2278                            long.class, boolean.class, long.class, int.class
2279                    };
2280            private static final Class<?>[] _updatePriorityParameterTypes49 = new Class[] {
2281                            long.class, int.class
2282                    };
2283            private static final Class<?>[] _validateImportLayoutsFileParameterTypes50 = new Class[] {
2284                            long.class, boolean.class, java.util.Map.class, java.io.File.class
2285                    };
2286            private static final Class<?>[] _validateImportPortletInfoParameterTypes51 = new Class[] {
2287                            long.class, long.class, java.lang.String.class, java.util.Map.class,
2288                            java.io.File.class
2289                    };
2290    }