001    /**
002     * Copyright (c) 2000-2012 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.journal.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.http.TunnelUtil;
023    
024    import com.liferay.portlet.journal.service.JournalTemplateServiceUtil;
025    
026    /**
027     * <p>
028     * This class provides a HTTP utility for the
029     * {@link com.liferay.portlet.journal.service.JournalTemplateServiceUtil} service utility. The
030     * static methods of this class calls the same methods of the service utility.
031     * However, the signatures are different because it requires an additional
032     * {@link com.liferay.portal.security.auth.HttpPrincipal} parameter.
033     * </p>
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       JournalTemplateServiceSoap
052     * @see       com.liferay.portal.security.auth.HttpPrincipal
053     * @see       com.liferay.portlet.journal.service.JournalTemplateServiceUtil
054     * @generated
055     */
056    public class JournalTemplateServiceHttp {
057            public static com.liferay.portlet.journal.model.JournalTemplate addTemplate(
058                    HttpPrincipal httpPrincipal, long groupId, java.lang.String templateId,
059                    boolean autoTemplateId, java.lang.String structureId,
060                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
061                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
062                    java.lang.String xsl, boolean formatXsl, java.lang.String langType,
063                    boolean cacheable, boolean smallImage, java.lang.String smallImageURL,
064                    java.io.File smallFile,
065                    com.liferay.portal.service.ServiceContext serviceContext)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    try {
069                            MethodKey methodKey = new MethodKey(JournalTemplateServiceUtil.class.getName(),
070                                            "addTemplate", _addTemplateParameterTypes0);
071    
072                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
073                                            templateId, autoTemplateId, structureId, nameMap,
074                                            descriptionMap, xsl, formatXsl, langType, cacheable,
075                                            smallImage, smallImageURL, smallFile, serviceContext);
076    
077                            Object returnObj = null;
078    
079                            try {
080                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
081                            }
082                            catch (Exception e) {
083                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
084                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
085                                    }
086    
087                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
088                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
089                                    }
090    
091                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
092                            }
093    
094                            return (com.liferay.portlet.journal.model.JournalTemplate)returnObj;
095                    }
096                    catch (com.liferay.portal.kernel.exception.SystemException se) {
097                            _log.error(se, se);
098    
099                            throw se;
100                    }
101            }
102    
103            public static com.liferay.portlet.journal.model.JournalTemplate addTemplate(
104                    HttpPrincipal httpPrincipal, long groupId, java.lang.String templateId,
105                    boolean autoTemplateId, java.lang.String structureId,
106                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
107                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
108                    java.lang.String xsl, boolean formatXsl, java.lang.String langType,
109                    boolean cacheable,
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(JournalTemplateServiceUtil.class.getName(),
115                                            "addTemplate", _addTemplateParameterTypes1);
116    
117                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
118                                            templateId, autoTemplateId, structureId, nameMap,
119                                            descriptionMap, xsl, formatXsl, langType, cacheable,
120                                            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.portlet.journal.model.JournalTemplate)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.portlet.journal.model.JournalTemplate copyTemplate(
149                    HttpPrincipal httpPrincipal, long groupId,
150                    java.lang.String oldTemplateId, java.lang.String newTemplateId,
151                    boolean autoTemplateId)
152                    throws com.liferay.portal.kernel.exception.PortalException,
153                            com.liferay.portal.kernel.exception.SystemException {
154                    try {
155                            MethodKey methodKey = new MethodKey(JournalTemplateServiceUtil.class.getName(),
156                                            "copyTemplate", _copyTemplateParameterTypes2);
157    
158                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
159                                            oldTemplateId, newTemplateId, autoTemplateId);
160    
161                            Object returnObj = null;
162    
163                            try {
164                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
165                            }
166                            catch (Exception e) {
167                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
168                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
169                                    }
170    
171                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
172                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
173                                    }
174    
175                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
176                            }
177    
178                            return (com.liferay.portlet.journal.model.JournalTemplate)returnObj;
179                    }
180                    catch (com.liferay.portal.kernel.exception.SystemException se) {
181                            _log.error(se, se);
182    
183                            throw se;
184                    }
185            }
186    
187            public static void deleteTemplate(HttpPrincipal httpPrincipal,
188                    long groupId, java.lang.String templateId)
189                    throws com.liferay.portal.kernel.exception.PortalException,
190                            com.liferay.portal.kernel.exception.SystemException {
191                    try {
192                            MethodKey methodKey = new MethodKey(JournalTemplateServiceUtil.class.getName(),
193                                            "deleteTemplate", _deleteTemplateParameterTypes3);
194    
195                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
196                                            templateId);
197    
198                            try {
199                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
200                            }
201                            catch (Exception e) {
202                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
203                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
204                                    }
205    
206                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
207                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
208                                    }
209    
210                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
211                            }
212                    }
213                    catch (com.liferay.portal.kernel.exception.SystemException se) {
214                            _log.error(se, se);
215    
216                            throw se;
217                    }
218            }
219    
220            public static java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getStructureTemplates(
221                    HttpPrincipal httpPrincipal, long groupId, java.lang.String structureId)
222                    throws com.liferay.portal.kernel.exception.SystemException {
223                    try {
224                            MethodKey methodKey = new MethodKey(JournalTemplateServiceUtil.class.getName(),
225                                            "getStructureTemplates",
226                                            _getStructureTemplatesParameterTypes4);
227    
228                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
229                                            structureId);
230    
231                            Object returnObj = null;
232    
233                            try {
234                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
235                            }
236                            catch (Exception e) {
237                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
238                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
239                                    }
240    
241                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
242                            }
243    
244                            return (java.util.List<com.liferay.portlet.journal.model.JournalTemplate>)returnObj;
245                    }
246                    catch (com.liferay.portal.kernel.exception.SystemException se) {
247                            _log.error(se, se);
248    
249                            throw se;
250                    }
251            }
252    
253            public static com.liferay.portlet.journal.model.JournalTemplate getTemplate(
254                    HttpPrincipal httpPrincipal, long groupId, java.lang.String templateId)
255                    throws com.liferay.portal.kernel.exception.PortalException,
256                            com.liferay.portal.kernel.exception.SystemException {
257                    try {
258                            MethodKey methodKey = new MethodKey(JournalTemplateServiceUtil.class.getName(),
259                                            "getTemplate", _getTemplateParameterTypes5);
260    
261                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
262                                            templateId);
263    
264                            Object returnObj = null;
265    
266                            try {
267                                    returnObj = 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                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
275                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
276                                    }
277    
278                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
279                            }
280    
281                            return (com.liferay.portlet.journal.model.JournalTemplate)returnObj;
282                    }
283                    catch (com.liferay.portal.kernel.exception.SystemException se) {
284                            _log.error(se, se);
285    
286                            throw se;
287                    }
288            }
289    
290            public static java.util.List<com.liferay.portlet.journal.model.JournalTemplate> search(
291                    HttpPrincipal httpPrincipal, long companyId, long[] groupIds,
292                    java.lang.String keywords, java.lang.String structureId,
293                    java.lang.String structureIdComparator, int start, int end,
294                    com.liferay.portal.kernel.util.OrderByComparator obc)
295                    throws com.liferay.portal.kernel.exception.SystemException {
296                    try {
297                            MethodKey methodKey = new MethodKey(JournalTemplateServiceUtil.class.getName(),
298                                            "search", _searchParameterTypes6);
299    
300                            MethodHandler methodHandler = new MethodHandler(methodKey,
301                                            companyId, groupIds, keywords, structureId,
302                                            structureIdComparator, start, end, obc);
303    
304                            Object returnObj = null;
305    
306                            try {
307                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
308                            }
309                            catch (Exception e) {
310                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
311                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
312                                    }
313    
314                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
315                            }
316    
317                            return (java.util.List<com.liferay.portlet.journal.model.JournalTemplate>)returnObj;
318                    }
319                    catch (com.liferay.portal.kernel.exception.SystemException se) {
320                            _log.error(se, se);
321    
322                            throw se;
323                    }
324            }
325    
326            public static java.util.List<com.liferay.portlet.journal.model.JournalTemplate> search(
327                    HttpPrincipal httpPrincipal, long companyId, long[] groupIds,
328                    java.lang.String templateId, java.lang.String structureId,
329                    java.lang.String structureIdComparator, java.lang.String name,
330                    java.lang.String description, boolean andOperator, int start, int end,
331                    com.liferay.portal.kernel.util.OrderByComparator obc)
332                    throws com.liferay.portal.kernel.exception.SystemException {
333                    try {
334                            MethodKey methodKey = new MethodKey(JournalTemplateServiceUtil.class.getName(),
335                                            "search", _searchParameterTypes7);
336    
337                            MethodHandler methodHandler = new MethodHandler(methodKey,
338                                            companyId, groupIds, templateId, structureId,
339                                            structureIdComparator, name, description, andOperator,
340                                            start, end, obc);
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.SystemException) {
349                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
350                                    }
351    
352                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
353                            }
354    
355                            return (java.util.List<com.liferay.portlet.journal.model.JournalTemplate>)returnObj;
356                    }
357                    catch (com.liferay.portal.kernel.exception.SystemException se) {
358                            _log.error(se, se);
359    
360                            throw se;
361                    }
362            }
363    
364            public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
365                    long[] groupIds, java.lang.String keywords,
366                    java.lang.String structureId, java.lang.String structureIdComparator)
367                    throws com.liferay.portal.kernel.exception.SystemException {
368                    try {
369                            MethodKey methodKey = new MethodKey(JournalTemplateServiceUtil.class.getName(),
370                                            "searchCount", _searchCountParameterTypes8);
371    
372                            MethodHandler methodHandler = new MethodHandler(methodKey,
373                                            companyId, groupIds, keywords, structureId,
374                                            structureIdComparator);
375    
376                            Object returnObj = null;
377    
378                            try {
379                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
380                            }
381                            catch (Exception e) {
382                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
383                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
384                                    }
385    
386                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
387                            }
388    
389                            return ((Integer)returnObj).intValue();
390                    }
391                    catch (com.liferay.portal.kernel.exception.SystemException se) {
392                            _log.error(se, se);
393    
394                            throw se;
395                    }
396            }
397    
398            public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
399                    long[] groupIds, java.lang.String templateId,
400                    java.lang.String structureId, java.lang.String structureIdComparator,
401                    java.lang.String name, java.lang.String description, boolean andOperator)
402                    throws com.liferay.portal.kernel.exception.SystemException {
403                    try {
404                            MethodKey methodKey = new MethodKey(JournalTemplateServiceUtil.class.getName(),
405                                            "searchCount", _searchCountParameterTypes9);
406    
407                            MethodHandler methodHandler = new MethodHandler(methodKey,
408                                            companyId, groupIds, templateId, structureId,
409                                            structureIdComparator, name, description, andOperator);
410    
411                            Object returnObj = null;
412    
413                            try {
414                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
415                            }
416                            catch (Exception e) {
417                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
418                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
419                                    }
420    
421                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
422                            }
423    
424                            return ((Integer)returnObj).intValue();
425                    }
426                    catch (com.liferay.portal.kernel.exception.SystemException se) {
427                            _log.error(se, se);
428    
429                            throw se;
430                    }
431            }
432    
433            public static com.liferay.portlet.journal.model.JournalTemplate updateTemplate(
434                    HttpPrincipal httpPrincipal, long groupId, java.lang.String templateId,
435                    java.lang.String structureId,
436                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
437                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
438                    java.lang.String xsl, boolean formatXsl, java.lang.String langType,
439                    boolean cacheable, boolean smallImage, java.lang.String smallImageURL,
440                    java.io.File smallFile,
441                    com.liferay.portal.service.ServiceContext serviceContext)
442                    throws com.liferay.portal.kernel.exception.PortalException,
443                            com.liferay.portal.kernel.exception.SystemException {
444                    try {
445                            MethodKey methodKey = new MethodKey(JournalTemplateServiceUtil.class.getName(),
446                                            "updateTemplate", _updateTemplateParameterTypes10);
447    
448                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
449                                            templateId, structureId, nameMap, descriptionMap, xsl,
450                                            formatXsl, langType, cacheable, smallImage, smallImageURL,
451                                            smallFile, serviceContext);
452    
453                            Object returnObj = null;
454    
455                            try {
456                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
457                            }
458                            catch (Exception e) {
459                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
460                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
461                                    }
462    
463                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
464                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
465                                    }
466    
467                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
468                            }
469    
470                            return (com.liferay.portlet.journal.model.JournalTemplate)returnObj;
471                    }
472                    catch (com.liferay.portal.kernel.exception.SystemException se) {
473                            _log.error(se, se);
474    
475                            throw se;
476                    }
477            }
478    
479            public static com.liferay.portlet.journal.model.JournalTemplate updateTemplate(
480                    HttpPrincipal httpPrincipal, long groupId, java.lang.String templateId,
481                    java.lang.String structureId,
482                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
483                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
484                    java.lang.String xsl, boolean formatXsl, java.lang.String langType,
485                    boolean cacheable,
486                    com.liferay.portal.service.ServiceContext serviceContext)
487                    throws com.liferay.portal.kernel.exception.PortalException,
488                            com.liferay.portal.kernel.exception.SystemException {
489                    try {
490                            MethodKey methodKey = new MethodKey(JournalTemplateServiceUtil.class.getName(),
491                                            "updateTemplate", _updateTemplateParameterTypes11);
492    
493                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
494                                            templateId, structureId, nameMap, descriptionMap, xsl,
495                                            formatXsl, langType, cacheable, serviceContext);
496    
497                            Object returnObj = null;
498    
499                            try {
500                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
501                            }
502                            catch (Exception e) {
503                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
504                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
505                                    }
506    
507                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
508                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
509                                    }
510    
511                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
512                            }
513    
514                            return (com.liferay.portlet.journal.model.JournalTemplate)returnObj;
515                    }
516                    catch (com.liferay.portal.kernel.exception.SystemException se) {
517                            _log.error(se, se);
518    
519                            throw se;
520                    }
521            }
522    
523            private static Log _log = LogFactoryUtil.getLog(JournalTemplateServiceHttp.class);
524            private static final Class<?>[] _addTemplateParameterTypes0 = new Class[] {
525                            long.class, java.lang.String.class, boolean.class,
526                            java.lang.String.class, java.util.Map.class, java.util.Map.class,
527                            java.lang.String.class, boolean.class, java.lang.String.class,
528                            boolean.class, boolean.class, java.lang.String.class,
529                            java.io.File.class, com.liferay.portal.service.ServiceContext.class
530                    };
531            private static final Class<?>[] _addTemplateParameterTypes1 = new Class[] {
532                            long.class, java.lang.String.class, boolean.class,
533                            java.lang.String.class, java.util.Map.class, java.util.Map.class,
534                            java.lang.String.class, boolean.class, java.lang.String.class,
535                            boolean.class, com.liferay.portal.service.ServiceContext.class
536                    };
537            private static final Class<?>[] _copyTemplateParameterTypes2 = new Class[] {
538                            long.class, java.lang.String.class, java.lang.String.class,
539                            boolean.class
540                    };
541            private static final Class<?>[] _deleteTemplateParameterTypes3 = new Class[] {
542                            long.class, java.lang.String.class
543                    };
544            private static final Class<?>[] _getStructureTemplatesParameterTypes4 = new Class[] {
545                            long.class, java.lang.String.class
546                    };
547            private static final Class<?>[] _getTemplateParameterTypes5 = new Class[] {
548                            long.class, java.lang.String.class
549                    };
550            private static final Class<?>[] _searchParameterTypes6 = new Class[] {
551                            long.class, long[].class, java.lang.String.class,
552                            java.lang.String.class, java.lang.String.class, int.class, int.class,
553                            com.liferay.portal.kernel.util.OrderByComparator.class
554                    };
555            private static final Class<?>[] _searchParameterTypes7 = new Class[] {
556                            long.class, long[].class, java.lang.String.class,
557                            java.lang.String.class, java.lang.String.class,
558                            java.lang.String.class, java.lang.String.class, boolean.class,
559                            int.class, int.class,
560                            com.liferay.portal.kernel.util.OrderByComparator.class
561                    };
562            private static final Class<?>[] _searchCountParameterTypes8 = new Class[] {
563                            long.class, long[].class, java.lang.String.class,
564                            java.lang.String.class, java.lang.String.class
565                    };
566            private static final Class<?>[] _searchCountParameterTypes9 = new Class[] {
567                            long.class, long[].class, java.lang.String.class,
568                            java.lang.String.class, java.lang.String.class,
569                            java.lang.String.class, java.lang.String.class, boolean.class
570                    };
571            private static final Class<?>[] _updateTemplateParameterTypes10 = new Class[] {
572                            long.class, java.lang.String.class, java.lang.String.class,
573                            java.util.Map.class, java.util.Map.class, java.lang.String.class,
574                            boolean.class, java.lang.String.class, boolean.class, boolean.class,
575                            java.lang.String.class, java.io.File.class,
576                            com.liferay.portal.service.ServiceContext.class
577                    };
578            private static final Class<?>[] _updateTemplateParameterTypes11 = new Class[] {
579                            long.class, java.lang.String.class, java.lang.String.class,
580                            java.util.Map.class, java.util.Map.class, java.lang.String.class,
581                            boolean.class, java.lang.String.class, boolean.class,
582                            com.liferay.portal.service.ServiceContext.class
583                    };
584    }