001    /**
002     * Copyright (c) 2000-present 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.portlet.exportimport.service.http;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.log.Log;
020    import com.liferay.portal.kernel.log.LogFactoryUtil;
021    import com.liferay.portal.kernel.util.MethodHandler;
022    import com.liferay.portal.kernel.util.MethodKey;
023    import com.liferay.portal.security.auth.HttpPrincipal;
024    import com.liferay.portal.service.http.TunnelUtil;
025    
026    import com.liferay.portlet.exportimport.service.ExportImportServiceUtil;
027    
028    /**
029     * Provides the HTTP utility for the
030     * {@link ExportImportServiceUtil} service utility. The
031     * static methods of this class calls the same methods of the service utility.
032     * However, the signatures are different because it requires an additional
033     * {@link HttpPrincipal} parameter.
034     *
035     * <p>
036     * The benefits of using the HTTP utility is that it is fast and allows for
037     * tunneling without the cost of serializing to text. The drawback is that it
038     * only works with Java.
039     * </p>
040     *
041     * <p>
042     * Set the property <b>tunnel.servlet.hosts.allowed</b> in portal.properties to
043     * configure security.
044     * </p>
045     *
046     * <p>
047     * The HTTP utility is only generated for remote services.
048     * </p>
049     *
050     * @author Brian Wing Shun Chan
051     * @see ExportImportServiceSoap
052     * @see HttpPrincipal
053     * @see ExportImportServiceUtil
054     * @generated
055     */
056    @ProviderType
057    public class ExportImportServiceHttp {
058            public static java.io.File exportLayoutsAsFile(
059                    HttpPrincipal httpPrincipal,
060                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration)
061                    throws com.liferay.portal.kernel.exception.PortalException {
062                    try {
063                            MethodKey methodKey = new MethodKey(ExportImportServiceUtil.class,
064                                            "exportLayoutsAsFile", _exportLayoutsAsFileParameterTypes0);
065    
066                            MethodHandler methodHandler = new MethodHandler(methodKey,
067                                            exportImportConfiguration);
068    
069                            Object returnObj = null;
070    
071                            try {
072                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
073                            }
074                            catch (Exception e) {
075                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
076                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
077                                    }
078    
079                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
080                            }
081    
082                            return (java.io.File)returnObj;
083                    }
084                    catch (com.liferay.portal.kernel.exception.SystemException se) {
085                            _log.error(se, se);
086    
087                            throw se;
088                    }
089            }
090    
091            public static long exportLayoutsAsFileInBackground(
092                    HttpPrincipal httpPrincipal,
093                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration)
094                    throws com.liferay.portal.kernel.exception.PortalException {
095                    try {
096                            MethodKey methodKey = new MethodKey(ExportImportServiceUtil.class,
097                                            "exportLayoutsAsFileInBackground",
098                                            _exportLayoutsAsFileInBackgroundParameterTypes1);
099    
100                            MethodHandler methodHandler = new MethodHandler(methodKey,
101                                            exportImportConfiguration);
102    
103                            Object returnObj = null;
104    
105                            try {
106                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
107                            }
108                            catch (Exception e) {
109                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
110                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
111                                    }
112    
113                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
114                            }
115    
116                            return ((Long)returnObj).longValue();
117                    }
118                    catch (com.liferay.portal.kernel.exception.SystemException se) {
119                            _log.error(se, se);
120    
121                            throw se;
122                    }
123            }
124    
125            public static long exportLayoutsAsFileInBackground(
126                    HttpPrincipal httpPrincipal, long exportImportConfigurationId)
127                    throws com.liferay.portal.kernel.exception.PortalException {
128                    try {
129                            MethodKey methodKey = new MethodKey(ExportImportServiceUtil.class,
130                                            "exportLayoutsAsFileInBackground",
131                                            _exportLayoutsAsFileInBackgroundParameterTypes2);
132    
133                            MethodHandler methodHandler = new MethodHandler(methodKey,
134                                            exportImportConfigurationId);
135    
136                            Object returnObj = null;
137    
138                            try {
139                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
140                            }
141                            catch (Exception e) {
142                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
143                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
144                                    }
145    
146                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
147                            }
148    
149                            return ((Long)returnObj).longValue();
150                    }
151                    catch (com.liferay.portal.kernel.exception.SystemException se) {
152                            _log.error(se, se);
153    
154                            throw se;
155                    }
156            }
157    
158            public static java.io.File exportPortletInfoAsFile(
159                    HttpPrincipal httpPrincipal,
160                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration)
161                    throws com.liferay.portal.kernel.exception.PortalException {
162                    try {
163                            MethodKey methodKey = new MethodKey(ExportImportServiceUtil.class,
164                                            "exportPortletInfoAsFile",
165                                            _exportPortletInfoAsFileParameterTypes3);
166    
167                            MethodHandler methodHandler = new MethodHandler(methodKey,
168                                            exportImportConfiguration);
169    
170                            Object returnObj = null;
171    
172                            try {
173                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
174                            }
175                            catch (Exception e) {
176                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
177                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
178                                    }
179    
180                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
181                            }
182    
183                            return (java.io.File)returnObj;
184                    }
185                    catch (com.liferay.portal.kernel.exception.SystemException se) {
186                            _log.error(se, se);
187    
188                            throw se;
189                    }
190            }
191    
192            public static long exportPortletInfoAsFileInBackground(
193                    HttpPrincipal httpPrincipal,
194                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration)
195                    throws com.liferay.portal.kernel.exception.PortalException {
196                    try {
197                            MethodKey methodKey = new MethodKey(ExportImportServiceUtil.class,
198                                            "exportPortletInfoAsFileInBackground",
199                                            _exportPortletInfoAsFileInBackgroundParameterTypes4);
200    
201                            MethodHandler methodHandler = new MethodHandler(methodKey,
202                                            exportImportConfiguration);
203    
204                            Object returnObj = null;
205    
206                            try {
207                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
208                            }
209                            catch (Exception e) {
210                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
211                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
212                                    }
213    
214                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
215                            }
216    
217                            return ((Long)returnObj).longValue();
218                    }
219                    catch (com.liferay.portal.kernel.exception.SystemException se) {
220                            _log.error(se, se);
221    
222                            throw se;
223                    }
224            }
225    
226            public static void importLayouts(HttpPrincipal httpPrincipal,
227                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
228                    java.io.File file)
229                    throws com.liferay.portal.kernel.exception.PortalException {
230                    try {
231                            MethodKey methodKey = new MethodKey(ExportImportServiceUtil.class,
232                                            "importLayouts", _importLayoutsParameterTypes5);
233    
234                            MethodHandler methodHandler = new MethodHandler(methodKey,
235                                            exportImportConfiguration, file);
236    
237                            try {
238                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
239                            }
240                            catch (Exception e) {
241                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
242                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
243                                    }
244    
245                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
246                            }
247                    }
248                    catch (com.liferay.portal.kernel.exception.SystemException se) {
249                            _log.error(se, se);
250    
251                            throw se;
252                    }
253            }
254    
255            public static void importLayouts(HttpPrincipal httpPrincipal,
256                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
257                    java.io.InputStream inputStream)
258                    throws com.liferay.portal.kernel.exception.PortalException {
259                    try {
260                            MethodKey methodKey = new MethodKey(ExportImportServiceUtil.class,
261                                            "importLayouts", _importLayoutsParameterTypes6);
262    
263                            MethodHandler methodHandler = new MethodHandler(methodKey,
264                                            exportImportConfiguration, inputStream);
265    
266                            try {
267                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
268                            }
269                            catch (Exception e) {
270                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
271                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
272                                    }
273    
274                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
275                            }
276                    }
277                    catch (com.liferay.portal.kernel.exception.SystemException se) {
278                            _log.error(se, se);
279    
280                            throw se;
281                    }
282            }
283    
284            public static long importLayoutsInBackground(HttpPrincipal httpPrincipal,
285                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
286                    java.io.File file)
287                    throws com.liferay.portal.kernel.exception.PortalException {
288                    try {
289                            MethodKey methodKey = new MethodKey(ExportImportServiceUtil.class,
290                                            "importLayoutsInBackground",
291                                            _importLayoutsInBackgroundParameterTypes7);
292    
293                            MethodHandler methodHandler = new MethodHandler(methodKey,
294                                            exportImportConfiguration, file);
295    
296                            Object returnObj = null;
297    
298                            try {
299                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
300                            }
301                            catch (Exception e) {
302                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
303                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
304                                    }
305    
306                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
307                            }
308    
309                            return ((Long)returnObj).longValue();
310                    }
311                    catch (com.liferay.portal.kernel.exception.SystemException se) {
312                            _log.error(se, se);
313    
314                            throw se;
315                    }
316            }
317    
318            public static long importLayoutsInBackground(HttpPrincipal httpPrincipal,
319                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
320                    java.io.InputStream inputStream)
321                    throws com.liferay.portal.kernel.exception.PortalException {
322                    try {
323                            MethodKey methodKey = new MethodKey(ExportImportServiceUtil.class,
324                                            "importLayoutsInBackground",
325                                            _importLayoutsInBackgroundParameterTypes8);
326    
327                            MethodHandler methodHandler = new MethodHandler(methodKey,
328                                            exportImportConfiguration, inputStream);
329    
330                            Object returnObj = null;
331    
332                            try {
333                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
334                            }
335                            catch (Exception e) {
336                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
337                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
338                                    }
339    
340                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
341                            }
342    
343                            return ((Long)returnObj).longValue();
344                    }
345                    catch (com.liferay.portal.kernel.exception.SystemException se) {
346                            _log.error(se, se);
347    
348                            throw se;
349                    }
350            }
351    
352            public static void importPortletInfo(HttpPrincipal httpPrincipal,
353                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
354                    java.io.File file)
355                    throws com.liferay.portal.kernel.exception.PortalException {
356                    try {
357                            MethodKey methodKey = new MethodKey(ExportImportServiceUtil.class,
358                                            "importPortletInfo", _importPortletInfoParameterTypes9);
359    
360                            MethodHandler methodHandler = new MethodHandler(methodKey,
361                                            exportImportConfiguration, file);
362    
363                            try {
364                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
365                            }
366                            catch (Exception e) {
367                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
368                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
369                                    }
370    
371                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
372                            }
373                    }
374                    catch (com.liferay.portal.kernel.exception.SystemException se) {
375                            _log.error(se, se);
376    
377                            throw se;
378                    }
379            }
380    
381            public static void importPortletInfo(HttpPrincipal httpPrincipal,
382                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
383                    java.io.InputStream inputStream)
384                    throws com.liferay.portal.kernel.exception.PortalException {
385                    try {
386                            MethodKey methodKey = new MethodKey(ExportImportServiceUtil.class,
387                                            "importPortletInfo", _importPortletInfoParameterTypes10);
388    
389                            MethodHandler methodHandler = new MethodHandler(methodKey,
390                                            exportImportConfiguration, inputStream);
391    
392                            try {
393                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
394                            }
395                            catch (Exception e) {
396                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
397                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
398                                    }
399    
400                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
401                            }
402                    }
403                    catch (com.liferay.portal.kernel.exception.SystemException se) {
404                            _log.error(se, se);
405    
406                            throw se;
407                    }
408            }
409    
410            public static long importPortletInfoInBackground(
411                    HttpPrincipal httpPrincipal,
412                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
413                    java.io.File file)
414                    throws com.liferay.portal.kernel.exception.PortalException {
415                    try {
416                            MethodKey methodKey = new MethodKey(ExportImportServiceUtil.class,
417                                            "importPortletInfoInBackground",
418                                            _importPortletInfoInBackgroundParameterTypes11);
419    
420                            MethodHandler methodHandler = new MethodHandler(methodKey,
421                                            exportImportConfiguration, file);
422    
423                            Object returnObj = null;
424    
425                            try {
426                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
427                            }
428                            catch (Exception e) {
429                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
430                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
431                                    }
432    
433                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
434                            }
435    
436                            return ((Long)returnObj).longValue();
437                    }
438                    catch (com.liferay.portal.kernel.exception.SystemException se) {
439                            _log.error(se, se);
440    
441                            throw se;
442                    }
443            }
444    
445            public static long importPortletInfoInBackground(
446                    HttpPrincipal httpPrincipal,
447                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
448                    java.io.InputStream inputStream)
449                    throws com.liferay.portal.kernel.exception.PortalException {
450                    try {
451                            MethodKey methodKey = new MethodKey(ExportImportServiceUtil.class,
452                                            "importPortletInfoInBackground",
453                                            _importPortletInfoInBackgroundParameterTypes12);
454    
455                            MethodHandler methodHandler = new MethodHandler(methodKey,
456                                            exportImportConfiguration, inputStream);
457    
458                            Object returnObj = null;
459    
460                            try {
461                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
462                            }
463                            catch (Exception e) {
464                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
465                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
466                                    }
467    
468                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
469                            }
470    
471                            return ((Long)returnObj).longValue();
472                    }
473                    catch (com.liferay.portal.kernel.exception.SystemException se) {
474                            _log.error(se, se);
475    
476                            throw se;
477                    }
478            }
479    
480            public static com.liferay.portlet.exportimport.lar.MissingReferences validateImportLayoutsFile(
481                    HttpPrincipal httpPrincipal,
482                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
483                    java.io.File file)
484                    throws com.liferay.portal.kernel.exception.PortalException {
485                    try {
486                            MethodKey methodKey = new MethodKey(ExportImportServiceUtil.class,
487                                            "validateImportLayoutsFile",
488                                            _validateImportLayoutsFileParameterTypes13);
489    
490                            MethodHandler methodHandler = new MethodHandler(methodKey,
491                                            exportImportConfiguration, file);
492    
493                            Object returnObj = null;
494    
495                            try {
496                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
497                            }
498                            catch (Exception e) {
499                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
500                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
501                                    }
502    
503                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
504                            }
505    
506                            return (com.liferay.portlet.exportimport.lar.MissingReferences)returnObj;
507                    }
508                    catch (com.liferay.portal.kernel.exception.SystemException se) {
509                            _log.error(se, se);
510    
511                            throw se;
512                    }
513            }
514    
515            public static com.liferay.portlet.exportimport.lar.MissingReferences validateImportLayoutsFile(
516                    HttpPrincipal httpPrincipal,
517                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
518                    java.io.InputStream inputStream)
519                    throws com.liferay.portal.kernel.exception.PortalException {
520                    try {
521                            MethodKey methodKey = new MethodKey(ExportImportServiceUtil.class,
522                                            "validateImportLayoutsFile",
523                                            _validateImportLayoutsFileParameterTypes14);
524    
525                            MethodHandler methodHandler = new MethodHandler(methodKey,
526                                            exportImportConfiguration, inputStream);
527    
528                            Object returnObj = null;
529    
530                            try {
531                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
532                            }
533                            catch (Exception e) {
534                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
535                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
536                                    }
537    
538                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
539                            }
540    
541                            return (com.liferay.portlet.exportimport.lar.MissingReferences)returnObj;
542                    }
543                    catch (com.liferay.portal.kernel.exception.SystemException se) {
544                            _log.error(se, se);
545    
546                            throw se;
547                    }
548            }
549    
550            public static com.liferay.portlet.exportimport.lar.MissingReferences validateImportPortletInfo(
551                    HttpPrincipal httpPrincipal,
552                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
553                    java.io.File file)
554                    throws com.liferay.portal.kernel.exception.PortalException {
555                    try {
556                            MethodKey methodKey = new MethodKey(ExportImportServiceUtil.class,
557                                            "validateImportPortletInfo",
558                                            _validateImportPortletInfoParameterTypes15);
559    
560                            MethodHandler methodHandler = new MethodHandler(methodKey,
561                                            exportImportConfiguration, file);
562    
563                            Object returnObj = null;
564    
565                            try {
566                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
567                            }
568                            catch (Exception e) {
569                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
570                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
571                                    }
572    
573                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
574                            }
575    
576                            return (com.liferay.portlet.exportimport.lar.MissingReferences)returnObj;
577                    }
578                    catch (com.liferay.portal.kernel.exception.SystemException se) {
579                            _log.error(se, se);
580    
581                            throw se;
582                    }
583            }
584    
585            public static com.liferay.portlet.exportimport.lar.MissingReferences validateImportPortletInfo(
586                    HttpPrincipal httpPrincipal,
587                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
588                    java.io.InputStream inputStream)
589                    throws com.liferay.portal.kernel.exception.PortalException {
590                    try {
591                            MethodKey methodKey = new MethodKey(ExportImportServiceUtil.class,
592                                            "validateImportPortletInfo",
593                                            _validateImportPortletInfoParameterTypes16);
594    
595                            MethodHandler methodHandler = new MethodHandler(methodKey,
596                                            exportImportConfiguration, inputStream);
597    
598                            Object returnObj = null;
599    
600                            try {
601                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
602                            }
603                            catch (Exception e) {
604                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
605                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
606                                    }
607    
608                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
609                            }
610    
611                            return (com.liferay.portlet.exportimport.lar.MissingReferences)returnObj;
612                    }
613                    catch (com.liferay.portal.kernel.exception.SystemException se) {
614                            _log.error(se, se);
615    
616                            throw se;
617                    }
618            }
619    
620            private static Log _log = LogFactoryUtil.getLog(ExportImportServiceHttp.class);
621            private static final Class<?>[] _exportLayoutsAsFileParameterTypes0 = new Class[] {
622                            com.liferay.portlet.exportimport.model.ExportImportConfiguration.class
623                    };
624            private static final Class<?>[] _exportLayoutsAsFileInBackgroundParameterTypes1 =
625                    new Class[] {
626                            com.liferay.portlet.exportimport.model.ExportImportConfiguration.class
627                    };
628            private static final Class<?>[] _exportLayoutsAsFileInBackgroundParameterTypes2 =
629                    new Class[] { long.class };
630            private static final Class<?>[] _exportPortletInfoAsFileParameterTypes3 = new Class[] {
631                            com.liferay.portlet.exportimport.model.ExportImportConfiguration.class
632                    };
633            private static final Class<?>[] _exportPortletInfoAsFileInBackgroundParameterTypes4 =
634                    new Class[] {
635                            com.liferay.portlet.exportimport.model.ExportImportConfiguration.class
636                    };
637            private static final Class<?>[] _importLayoutsParameterTypes5 = new Class[] {
638                            com.liferay.portlet.exportimport.model.ExportImportConfiguration.class,
639                            java.io.File.class
640                    };
641            private static final Class<?>[] _importLayoutsParameterTypes6 = new Class[] {
642                            com.liferay.portlet.exportimport.model.ExportImportConfiguration.class,
643                            java.io.InputStream.class
644                    };
645            private static final Class<?>[] _importLayoutsInBackgroundParameterTypes7 = new Class[] {
646                            com.liferay.portlet.exportimport.model.ExportImportConfiguration.class,
647                            java.io.File.class
648                    };
649            private static final Class<?>[] _importLayoutsInBackgroundParameterTypes8 = new Class[] {
650                            com.liferay.portlet.exportimport.model.ExportImportConfiguration.class,
651                            java.io.InputStream.class
652                    };
653            private static final Class<?>[] _importPortletInfoParameterTypes9 = new Class[] {
654                            com.liferay.portlet.exportimport.model.ExportImportConfiguration.class,
655                            java.io.File.class
656                    };
657            private static final Class<?>[] _importPortletInfoParameterTypes10 = new Class[] {
658                            com.liferay.portlet.exportimport.model.ExportImportConfiguration.class,
659                            java.io.InputStream.class
660                    };
661            private static final Class<?>[] _importPortletInfoInBackgroundParameterTypes11 =
662                    new Class[] {
663                            com.liferay.portlet.exportimport.model.ExportImportConfiguration.class,
664                            java.io.File.class
665                    };
666            private static final Class<?>[] _importPortletInfoInBackgroundParameterTypes12 =
667                    new Class[] {
668                            com.liferay.portlet.exportimport.model.ExportImportConfiguration.class,
669                            java.io.InputStream.class
670                    };
671            private static final Class<?>[] _validateImportLayoutsFileParameterTypes13 = new Class[] {
672                            com.liferay.portlet.exportimport.model.ExportImportConfiguration.class,
673                            java.io.File.class
674                    };
675            private static final Class<?>[] _validateImportLayoutsFileParameterTypes14 = new Class[] {
676                            com.liferay.portlet.exportimport.model.ExportImportConfiguration.class,
677                            java.io.InputStream.class
678                    };
679            private static final Class<?>[] _validateImportPortletInfoParameterTypes15 = new Class[] {
680                            com.liferay.portlet.exportimport.model.ExportImportConfiguration.class,
681                            java.io.File.class
682                    };
683            private static final Class<?>[] _validateImportPortletInfoParameterTypes16 = new Class[] {
684                            com.liferay.portlet.exportimport.model.ExportImportConfiguration.class,
685                            java.io.InputStream.class
686                    };
687    }