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.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     * Provides the HTTP utility for the
028     * {@link com.liferay.portlet.journal.service.JournalTemplateServiceUtil} service utility. The
029     * static methods of this class calls the same methods of the service utility.
030     * However, the signatures are different because it requires an additional
031     * {@link com.liferay.portal.security.auth.HttpPrincipal} parameter.
032     *
033     * <p>
034     * The benefits of using the HTTP utility is that it is fast and allows for
035     * tunneling without the cost of serializing to text. The drawback is that it
036     * only works with Java.
037     * </p>
038     *
039     * <p>
040     * Set the property <b>tunnel.servlet.hosts.allowed</b> in portal.properties to
041     * configure security.
042     * </p>
043     *
044     * <p>
045     * The HTTP utility is only generated for remote services.
046     * </p>
047     *
048     * @author Brian Wing Shun Chan
049     * @see JournalTemplateServiceSoap
050     * @see com.liferay.portal.security.auth.HttpPrincipal
051     * @see com.liferay.portlet.journal.service.JournalTemplateServiceUtil
052     * @deprecated As of 6.2.0, since Web Content Administration now uses the
053                Dynamic Data Mapping framework to handle templates
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,
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,
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,
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,
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.PortalException,
223                            com.liferay.portal.kernel.exception.SystemException {
224                    try {
225                            MethodKey methodKey = new MethodKey(JournalTemplateServiceUtil.class,
226                                            "getStructureTemplates",
227                                            _getStructureTemplatesParameterTypes4);
228    
229                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
230                                            structureId);
231    
232                            Object returnObj = null;
233    
234                            try {
235                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
236                            }
237                            catch (Exception e) {
238                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
239                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
240                                    }
241    
242                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
243                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
244                                    }
245    
246                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
247                            }
248    
249                            return (java.util.List<com.liferay.portlet.journal.model.JournalTemplate>)returnObj;
250                    }
251                    catch (com.liferay.portal.kernel.exception.SystemException se) {
252                            _log.error(se, se);
253    
254                            throw se;
255                    }
256            }
257    
258            public static com.liferay.portlet.journal.model.JournalTemplate getTemplate(
259                    HttpPrincipal httpPrincipal, long groupId, java.lang.String templateId)
260                    throws com.liferay.portal.kernel.exception.PortalException,
261                            com.liferay.portal.kernel.exception.SystemException {
262                    try {
263                            MethodKey methodKey = new MethodKey(JournalTemplateServiceUtil.class,
264                                            "getTemplate", _getTemplateParameterTypes5);
265    
266                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
267                                            templateId);
268    
269                            Object returnObj = null;
270    
271                            try {
272                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
273                            }
274                            catch (Exception e) {
275                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
276                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
277                                    }
278    
279                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
280                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
281                                    }
282    
283                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
284                            }
285    
286                            return (com.liferay.portlet.journal.model.JournalTemplate)returnObj;
287                    }
288                    catch (com.liferay.portal.kernel.exception.SystemException se) {
289                            _log.error(se, se);
290    
291                            throw se;
292                    }
293            }
294    
295            public static com.liferay.portlet.journal.model.JournalTemplate getTemplate(
296                    HttpPrincipal httpPrincipal, long groupId, java.lang.String templateId,
297                    boolean includeGlobalTemplates)
298                    throws com.liferay.portal.kernel.exception.PortalException,
299                            com.liferay.portal.kernel.exception.SystemException {
300                    try {
301                            MethodKey methodKey = new MethodKey(JournalTemplateServiceUtil.class,
302                                            "getTemplate", _getTemplateParameterTypes6);
303    
304                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
305                                            templateId, includeGlobalTemplates);
306    
307                            Object returnObj = null;
308    
309                            try {
310                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
311                            }
312                            catch (Exception e) {
313                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
314                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
315                                    }
316    
317                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
318                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
319                                    }
320    
321                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
322                            }
323    
324                            return (com.liferay.portlet.journal.model.JournalTemplate)returnObj;
325                    }
326                    catch (com.liferay.portal.kernel.exception.SystemException se) {
327                            _log.error(se, se);
328    
329                            throw se;
330                    }
331            }
332    
333            public static java.util.List<com.liferay.portlet.journal.model.JournalTemplate> search(
334                    HttpPrincipal httpPrincipal, long companyId, long[] groupIds,
335                    java.lang.String keywords, java.lang.String structureId,
336                    java.lang.String structureIdComparator, int start, int end,
337                    com.liferay.portal.kernel.util.OrderByComparator obc)
338                    throws com.liferay.portal.kernel.exception.SystemException {
339                    try {
340                            MethodKey methodKey = new MethodKey(JournalTemplateServiceUtil.class,
341                                            "search", _searchParameterTypes7);
342    
343                            MethodHandler methodHandler = new MethodHandler(methodKey,
344                                            companyId, groupIds, keywords, structureId,
345                                            structureIdComparator, start, end, obc);
346    
347                            Object returnObj = null;
348    
349                            try {
350                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
351                            }
352                            catch (Exception e) {
353                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
354                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
355                                    }
356    
357                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
358                            }
359    
360                            return (java.util.List<com.liferay.portlet.journal.model.JournalTemplate>)returnObj;
361                    }
362                    catch (com.liferay.portal.kernel.exception.SystemException se) {
363                            _log.error(se, se);
364    
365                            throw se;
366                    }
367            }
368    
369            public static java.util.List<com.liferay.portlet.journal.model.JournalTemplate> search(
370                    HttpPrincipal httpPrincipal, long companyId, long[] groupIds,
371                    java.lang.String templateId, java.lang.String structureId,
372                    java.lang.String structureIdComparator, java.lang.String name,
373                    java.lang.String description, boolean andOperator, int start, int end,
374                    com.liferay.portal.kernel.util.OrderByComparator obc)
375                    throws com.liferay.portal.kernel.exception.SystemException {
376                    try {
377                            MethodKey methodKey = new MethodKey(JournalTemplateServiceUtil.class,
378                                            "search", _searchParameterTypes8);
379    
380                            MethodHandler methodHandler = new MethodHandler(methodKey,
381                                            companyId, groupIds, templateId, structureId,
382                                            structureIdComparator, name, description, andOperator,
383                                            start, end, obc);
384    
385                            Object returnObj = null;
386    
387                            try {
388                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
389                            }
390                            catch (Exception e) {
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 (java.util.List<com.liferay.portlet.journal.model.JournalTemplate>)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 int searchCount(HttpPrincipal httpPrincipal, long companyId,
408                    long[] groupIds, java.lang.String keywords,
409                    java.lang.String structureId, java.lang.String structureIdComparator)
410                    throws com.liferay.portal.kernel.exception.SystemException {
411                    try {
412                            MethodKey methodKey = new MethodKey(JournalTemplateServiceUtil.class,
413                                            "searchCount", _searchCountParameterTypes9);
414    
415                            MethodHandler methodHandler = new MethodHandler(methodKey,
416                                            companyId, groupIds, keywords, structureId,
417                                            structureIdComparator);
418    
419                            Object returnObj = null;
420    
421                            try {
422                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
423                            }
424                            catch (Exception e) {
425                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
426                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
427                                    }
428    
429                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
430                            }
431    
432                            return ((Integer)returnObj).intValue();
433                    }
434                    catch (com.liferay.portal.kernel.exception.SystemException se) {
435                            _log.error(se, se);
436    
437                            throw se;
438                    }
439            }
440    
441            public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
442                    long[] groupIds, java.lang.String templateId,
443                    java.lang.String structureId, java.lang.String structureIdComparator,
444                    java.lang.String name, java.lang.String description, boolean andOperator)
445                    throws com.liferay.portal.kernel.exception.SystemException {
446                    try {
447                            MethodKey methodKey = new MethodKey(JournalTemplateServiceUtil.class,
448                                            "searchCount", _searchCountParameterTypes10);
449    
450                            MethodHandler methodHandler = new MethodHandler(methodKey,
451                                            companyId, groupIds, templateId, structureId,
452                                            structureIdComparator, name, description, andOperator);
453    
454                            Object returnObj = null;
455    
456                            try {
457                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
458                            }
459                            catch (Exception e) {
460                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
461                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
462                                    }
463    
464                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
465                            }
466    
467                            return ((Integer)returnObj).intValue();
468                    }
469                    catch (com.liferay.portal.kernel.exception.SystemException se) {
470                            _log.error(se, se);
471    
472                            throw se;
473                    }
474            }
475    
476            public static com.liferay.portlet.journal.model.JournalTemplate updateTemplate(
477                    HttpPrincipal httpPrincipal, long groupId, java.lang.String templateId,
478                    java.lang.String structureId,
479                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
480                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
481                    java.lang.String xsl, boolean formatXsl, java.lang.String langType,
482                    boolean cacheable, boolean smallImage, java.lang.String smallImageURL,
483                    java.io.File smallFile,
484                    com.liferay.portal.service.ServiceContext serviceContext)
485                    throws com.liferay.portal.kernel.exception.PortalException,
486                            com.liferay.portal.kernel.exception.SystemException {
487                    try {
488                            MethodKey methodKey = new MethodKey(JournalTemplateServiceUtil.class,
489                                            "updateTemplate", _updateTemplateParameterTypes11);
490    
491                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
492                                            templateId, structureId, nameMap, descriptionMap, xsl,
493                                            formatXsl, langType, cacheable, smallImage, smallImageURL,
494                                            smallFile, serviceContext);
495    
496                            Object returnObj = null;
497    
498                            try {
499                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
500                            }
501                            catch (Exception e) {
502                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
503                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
504                                    }
505    
506                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
507                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
508                                    }
509    
510                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
511                            }
512    
513                            return (com.liferay.portlet.journal.model.JournalTemplate)returnObj;
514                    }
515                    catch (com.liferay.portal.kernel.exception.SystemException se) {
516                            _log.error(se, se);
517    
518                            throw se;
519                    }
520            }
521    
522            public static com.liferay.portlet.journal.model.JournalTemplate updateTemplate(
523                    HttpPrincipal httpPrincipal, long groupId, java.lang.String templateId,
524                    java.lang.String structureId,
525                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
526                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
527                    java.lang.String xsl, boolean formatXsl, java.lang.String langType,
528                    boolean cacheable,
529                    com.liferay.portal.service.ServiceContext serviceContext)
530                    throws com.liferay.portal.kernel.exception.PortalException,
531                            com.liferay.portal.kernel.exception.SystemException {
532                    try {
533                            MethodKey methodKey = new MethodKey(JournalTemplateServiceUtil.class,
534                                            "updateTemplate", _updateTemplateParameterTypes12);
535    
536                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
537                                            templateId, structureId, nameMap, descriptionMap, xsl,
538                                            formatXsl, langType, cacheable, serviceContext);
539    
540                            Object returnObj = null;
541    
542                            try {
543                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
544                            }
545                            catch (Exception e) {
546                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
547                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
548                                    }
549    
550                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
551                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
552                                    }
553    
554                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
555                            }
556    
557                            return (com.liferay.portlet.journal.model.JournalTemplate)returnObj;
558                    }
559                    catch (com.liferay.portal.kernel.exception.SystemException se) {
560                            _log.error(se, se);
561    
562                            throw se;
563                    }
564            }
565    
566            private static Log _log = LogFactoryUtil.getLog(JournalTemplateServiceHttp.class);
567            private static final Class<?>[] _addTemplateParameterTypes0 = new Class[] {
568                            long.class, java.lang.String.class, boolean.class,
569                            java.lang.String.class, java.util.Map.class, java.util.Map.class,
570                            java.lang.String.class, boolean.class, java.lang.String.class,
571                            boolean.class, boolean.class, java.lang.String.class,
572                            java.io.File.class, com.liferay.portal.service.ServiceContext.class
573                    };
574            private static final Class<?>[] _addTemplateParameterTypes1 = new Class[] {
575                            long.class, java.lang.String.class, boolean.class,
576                            java.lang.String.class, java.util.Map.class, java.util.Map.class,
577                            java.lang.String.class, boolean.class, java.lang.String.class,
578                            boolean.class, com.liferay.portal.service.ServiceContext.class
579                    };
580            private static final Class<?>[] _copyTemplateParameterTypes2 = new Class[] {
581                            long.class, java.lang.String.class, java.lang.String.class,
582                            boolean.class
583                    };
584            private static final Class<?>[] _deleteTemplateParameterTypes3 = new Class[] {
585                            long.class, java.lang.String.class
586                    };
587            private static final Class<?>[] _getStructureTemplatesParameterTypes4 = new Class[] {
588                            long.class, java.lang.String.class
589                    };
590            private static final Class<?>[] _getTemplateParameterTypes5 = new Class[] {
591                            long.class, java.lang.String.class
592                    };
593            private static final Class<?>[] _getTemplateParameterTypes6 = new Class[] {
594                            long.class, java.lang.String.class, boolean.class
595                    };
596            private static final Class<?>[] _searchParameterTypes7 = new Class[] {
597                            long.class, long[].class, java.lang.String.class,
598                            java.lang.String.class, java.lang.String.class, int.class, int.class,
599                            com.liferay.portal.kernel.util.OrderByComparator.class
600                    };
601            private static final Class<?>[] _searchParameterTypes8 = new Class[] {
602                            long.class, long[].class, java.lang.String.class,
603                            java.lang.String.class, java.lang.String.class,
604                            java.lang.String.class, java.lang.String.class, boolean.class,
605                            int.class, int.class,
606                            com.liferay.portal.kernel.util.OrderByComparator.class
607                    };
608            private static final Class<?>[] _searchCountParameterTypes9 = new Class[] {
609                            long.class, long[].class, java.lang.String.class,
610                            java.lang.String.class, java.lang.String.class
611                    };
612            private static final Class<?>[] _searchCountParameterTypes10 = new Class[] {
613                            long.class, long[].class, java.lang.String.class,
614                            java.lang.String.class, java.lang.String.class,
615                            java.lang.String.class, java.lang.String.class, boolean.class
616                    };
617            private static final Class<?>[] _updateTemplateParameterTypes11 = new Class[] {
618                            long.class, java.lang.String.class, java.lang.String.class,
619                            java.util.Map.class, java.util.Map.class, java.lang.String.class,
620                            boolean.class, java.lang.String.class, boolean.class, boolean.class,
621                            java.lang.String.class, java.io.File.class,
622                            com.liferay.portal.service.ServiceContext.class
623                    };
624            private static final Class<?>[] _updateTemplateParameterTypes12 = new Class[] {
625                            long.class, java.lang.String.class, java.lang.String.class,
626                            java.util.Map.class, java.util.Map.class, java.lang.String.class,
627                            boolean.class, java.lang.String.class, boolean.class,
628                            com.liferay.portal.service.ServiceContext.class
629                    };
630    }