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.asset.service.http;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.asset.kernel.service.AssetCategoryServiceUtil;
020    
021    import com.liferay.portal.kernel.log.Log;
022    import com.liferay.portal.kernel.log.LogFactoryUtil;
023    import com.liferay.portal.kernel.security.auth.HttpPrincipal;
024    import com.liferay.portal.kernel.service.http.TunnelUtil;
025    import com.liferay.portal.kernel.util.MethodHandler;
026    import com.liferay.portal.kernel.util.MethodKey;
027    
028    /**
029     * Provides the HTTP utility for the
030     * {@link AssetCategoryServiceUtil} 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 AssetCategoryServiceSoap
052     * @see HttpPrincipal
053     * @see AssetCategoryServiceUtil
054     * @generated
055     */
056    @ProviderType
057    public class AssetCategoryServiceHttp {
058            public static com.liferay.asset.kernel.model.AssetCategory addCategory(
059                    HttpPrincipal httpPrincipal, long groupId, long parentCategoryId,
060                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
061                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
062                    long vocabularyId, java.lang.String[] categoryProperties,
063                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
064                    throws com.liferay.portal.kernel.exception.PortalException {
065                    try {
066                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
067                                            "addCategory", _addCategoryParameterTypes0);
068    
069                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
070                                            parentCategoryId, titleMap, descriptionMap, vocabularyId,
071                                            categoryProperties, serviceContext);
072    
073                            Object returnObj = null;
074    
075                            try {
076                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
077                            }
078                            catch (Exception e) {
079                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
080                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
081                                    }
082    
083                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
084                            }
085    
086                            return (com.liferay.asset.kernel.model.AssetCategory)returnObj;
087                    }
088                    catch (com.liferay.portal.kernel.exception.SystemException se) {
089                            _log.error(se, se);
090    
091                            throw se;
092                    }
093            }
094    
095            public static com.liferay.asset.kernel.model.AssetCategory addCategory(
096                    HttpPrincipal httpPrincipal, long groupId, java.lang.String title,
097                    long vocabularyId,
098                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
099                    throws com.liferay.portal.kernel.exception.PortalException {
100                    try {
101                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
102                                            "addCategory", _addCategoryParameterTypes1);
103    
104                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
105                                            title, vocabularyId, serviceContext);
106    
107                            Object returnObj = null;
108    
109                            try {
110                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
111                            }
112                            catch (Exception e) {
113                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
114                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
115                                    }
116    
117                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
118                            }
119    
120                            return (com.liferay.asset.kernel.model.AssetCategory)returnObj;
121                    }
122                    catch (com.liferay.portal.kernel.exception.SystemException se) {
123                            _log.error(se, se);
124    
125                            throw se;
126                    }
127            }
128    
129            public static void deleteCategories(HttpPrincipal httpPrincipal,
130                    long[] categoryIds)
131                    throws com.liferay.portal.kernel.exception.PortalException {
132                    try {
133                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
134                                            "deleteCategories", _deleteCategoriesParameterTypes2);
135    
136                            MethodHandler methodHandler = new MethodHandler(methodKey,
137                                            categoryIds);
138    
139                            try {
140                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
141                            }
142                            catch (Exception e) {
143                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
144                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
145                                    }
146    
147                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
148                            }
149                    }
150                    catch (com.liferay.portal.kernel.exception.SystemException se) {
151                            _log.error(se, se);
152    
153                            throw se;
154                    }
155            }
156    
157            public static java.util.List<com.liferay.asset.kernel.model.AssetCategory> deleteCategories(
158                    HttpPrincipal httpPrincipal, long[] categoryIds,
159                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
160                    throws com.liferay.portal.kernel.exception.PortalException {
161                    try {
162                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
163                                            "deleteCategories", _deleteCategoriesParameterTypes3);
164    
165                            MethodHandler methodHandler = new MethodHandler(methodKey,
166                                            categoryIds, serviceContext);
167    
168                            Object returnObj = null;
169    
170                            try {
171                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
172                            }
173                            catch (Exception e) {
174                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
175                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
176                                    }
177    
178                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
179                            }
180    
181                            return (java.util.List<com.liferay.asset.kernel.model.AssetCategory>)returnObj;
182                    }
183                    catch (com.liferay.portal.kernel.exception.SystemException se) {
184                            _log.error(se, se);
185    
186                            throw se;
187                    }
188            }
189    
190            public static void deleteCategory(HttpPrincipal httpPrincipal,
191                    long categoryId)
192                    throws com.liferay.portal.kernel.exception.PortalException {
193                    try {
194                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
195                                            "deleteCategory", _deleteCategoryParameterTypes4);
196    
197                            MethodHandler methodHandler = new MethodHandler(methodKey,
198                                            categoryId);
199    
200                            try {
201                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
202                            }
203                            catch (Exception e) {
204                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
205                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
206                                    }
207    
208                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
209                            }
210                    }
211                    catch (com.liferay.portal.kernel.exception.SystemException se) {
212                            _log.error(se, se);
213    
214                            throw se;
215                    }
216            }
217    
218            public static com.liferay.asset.kernel.model.AssetCategory fetchCategory(
219                    HttpPrincipal httpPrincipal, long categoryId)
220                    throws com.liferay.portal.kernel.exception.PortalException {
221                    try {
222                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
223                                            "fetchCategory", _fetchCategoryParameterTypes5);
224    
225                            MethodHandler methodHandler = new MethodHandler(methodKey,
226                                            categoryId);
227    
228                            Object returnObj = null;
229    
230                            try {
231                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
232                            }
233                            catch (Exception e) {
234                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
235                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
236                                    }
237    
238                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
239                            }
240    
241                            return (com.liferay.asset.kernel.model.AssetCategory)returnObj;
242                    }
243                    catch (com.liferay.portal.kernel.exception.SystemException se) {
244                            _log.error(se, se);
245    
246                            throw se;
247                    }
248            }
249    
250            public static java.util.List<com.liferay.asset.kernel.model.AssetCategory> getCategories(
251                    HttpPrincipal httpPrincipal, java.lang.String className, long classPK)
252                    throws com.liferay.portal.kernel.exception.PortalException {
253                    try {
254                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
255                                            "getCategories", _getCategoriesParameterTypes6);
256    
257                            MethodHandler methodHandler = new MethodHandler(methodKey,
258                                            className, classPK);
259    
260                            Object returnObj = null;
261    
262                            try {
263                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
264                            }
265                            catch (Exception e) {
266                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
267                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
268                                    }
269    
270                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
271                            }
272    
273                            return (java.util.List<com.liferay.asset.kernel.model.AssetCategory>)returnObj;
274                    }
275                    catch (com.liferay.portal.kernel.exception.SystemException se) {
276                            _log.error(se, se);
277    
278                            throw se;
279                    }
280            }
281    
282            public static com.liferay.asset.kernel.model.AssetCategory getCategory(
283                    HttpPrincipal httpPrincipal, long categoryId)
284                    throws com.liferay.portal.kernel.exception.PortalException {
285                    try {
286                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
287                                            "getCategory", _getCategoryParameterTypes7);
288    
289                            MethodHandler methodHandler = new MethodHandler(methodKey,
290                                            categoryId);
291    
292                            Object returnObj = null;
293    
294                            try {
295                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
296                            }
297                            catch (Exception e) {
298                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
299                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
300                                    }
301    
302                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
303                            }
304    
305                            return (com.liferay.asset.kernel.model.AssetCategory)returnObj;
306                    }
307                    catch (com.liferay.portal.kernel.exception.SystemException se) {
308                            _log.error(se, se);
309    
310                            throw se;
311                    }
312            }
313    
314            public static java.lang.String getCategoryPath(
315                    HttpPrincipal httpPrincipal, long categoryId)
316                    throws com.liferay.portal.kernel.exception.PortalException {
317                    try {
318                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
319                                            "getCategoryPath", _getCategoryPathParameterTypes8);
320    
321                            MethodHandler methodHandler = new MethodHandler(methodKey,
322                                            categoryId);
323    
324                            Object returnObj = null;
325    
326                            try {
327                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
328                            }
329                            catch (Exception e) {
330                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
331                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
332                                    }
333    
334                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
335                            }
336    
337                            return (java.lang.String)returnObj;
338                    }
339                    catch (com.liferay.portal.kernel.exception.SystemException se) {
340                            _log.error(se, se);
341    
342                            throw se;
343                    }
344            }
345    
346            public static java.util.List<com.liferay.asset.kernel.model.AssetCategory> getChildCategories(
347                    HttpPrincipal httpPrincipal, long parentCategoryId)
348                    throws com.liferay.portal.kernel.exception.PortalException {
349                    try {
350                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
351                                            "getChildCategories", _getChildCategoriesParameterTypes9);
352    
353                            MethodHandler methodHandler = new MethodHandler(methodKey,
354                                            parentCategoryId);
355    
356                            Object returnObj = null;
357    
358                            try {
359                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
360                            }
361                            catch (Exception e) {
362                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
363                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
364                                    }
365    
366                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
367                            }
368    
369                            return (java.util.List<com.liferay.asset.kernel.model.AssetCategory>)returnObj;
370                    }
371                    catch (com.liferay.portal.kernel.exception.SystemException se) {
372                            _log.error(se, se);
373    
374                            throw se;
375                    }
376            }
377    
378            public static java.util.List<com.liferay.asset.kernel.model.AssetCategory> getChildCategories(
379                    HttpPrincipal httpPrincipal, long parentCategoryId, int start, int end,
380                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
381                    throws com.liferay.portal.kernel.exception.PortalException {
382                    try {
383                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
384                                            "getChildCategories", _getChildCategoriesParameterTypes10);
385    
386                            MethodHandler methodHandler = new MethodHandler(methodKey,
387                                            parentCategoryId, start, end, obc);
388    
389                            Object returnObj = null;
390    
391                            try {
392                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
393                            }
394                            catch (Exception e) {
395                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
396                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
397                                    }
398    
399                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
400                            }
401    
402                            return (java.util.List<com.liferay.asset.kernel.model.AssetCategory>)returnObj;
403                    }
404                    catch (com.liferay.portal.kernel.exception.SystemException se) {
405                            _log.error(se, se);
406    
407                            throw se;
408                    }
409            }
410    
411            public static java.util.List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyCategories(
412                    HttpPrincipal httpPrincipal, long vocabularyId, int start, int end,
413                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
414                    throws com.liferay.portal.kernel.exception.PortalException {
415                    try {
416                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
417                                            "getVocabularyCategories",
418                                            _getVocabularyCategoriesParameterTypes11);
419    
420                            MethodHandler methodHandler = new MethodHandler(methodKey,
421                                            vocabularyId, start, end, obc);
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 (java.util.List<com.liferay.asset.kernel.model.AssetCategory>)returnObj;
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 java.util.List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyCategories(
446                    HttpPrincipal httpPrincipal, long parentCategoryId, long vocabularyId,
447                    int start, int end,
448                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
449                    throws com.liferay.portal.kernel.exception.PortalException {
450                    try {
451                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
452                                            "getVocabularyCategories",
453                                            _getVocabularyCategoriesParameterTypes12);
454    
455                            MethodHandler methodHandler = new MethodHandler(methodKey,
456                                            parentCategoryId, vocabularyId, start, end, obc);
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 (java.util.List<com.liferay.asset.kernel.model.AssetCategory>)returnObj;
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 java.util.List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyCategories(
481                    HttpPrincipal httpPrincipal, long groupId, long parentCategoryId,
482                    long vocabularyId, int start, int end,
483                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) {
484                    try {
485                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
486                                            "getVocabularyCategories",
487                                            _getVocabularyCategoriesParameterTypes13);
488    
489                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
490                                            parentCategoryId, vocabularyId, start, end, obc);
491    
492                            Object returnObj = null;
493    
494                            try {
495                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
496                            }
497                            catch (Exception e) {
498                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
499                            }
500    
501                            return (java.util.List<com.liferay.asset.kernel.model.AssetCategory>)returnObj;
502                    }
503                    catch (com.liferay.portal.kernel.exception.SystemException se) {
504                            _log.error(se, se);
505    
506                            throw se;
507                    }
508            }
509    
510            public static java.util.List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyCategories(
511                    HttpPrincipal httpPrincipal, long groupId, java.lang.String name,
512                    long vocabularyId, int start, int end,
513                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) {
514                    try {
515                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
516                                            "getVocabularyCategories",
517                                            _getVocabularyCategoriesParameterTypes14);
518    
519                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
520                                            name, vocabularyId, start, end, obc);
521    
522                            Object returnObj = null;
523    
524                            try {
525                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
526                            }
527                            catch (Exception e) {
528                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
529                            }
530    
531                            return (java.util.List<com.liferay.asset.kernel.model.AssetCategory>)returnObj;
532                    }
533                    catch (com.liferay.portal.kernel.exception.SystemException se) {
534                            _log.error(se, se);
535    
536                            throw se;
537                    }
538            }
539    
540            public static int getVocabularyCategoriesCount(
541                    HttpPrincipal httpPrincipal, long groupId, long vocabularyId) {
542                    try {
543                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
544                                            "getVocabularyCategoriesCount",
545                                            _getVocabularyCategoriesCountParameterTypes15);
546    
547                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
548                                            vocabularyId);
549    
550                            Object returnObj = null;
551    
552                            try {
553                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
554                            }
555                            catch (Exception e) {
556                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
557                            }
558    
559                            return ((Integer)returnObj).intValue();
560                    }
561                    catch (com.liferay.portal.kernel.exception.SystemException se) {
562                            _log.error(se, se);
563    
564                            throw se;
565                    }
566            }
567    
568            public static int getVocabularyCategoriesCount(
569                    HttpPrincipal httpPrincipal, long groupId, long parentCategory,
570                    long vocabularyId) {
571                    try {
572                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
573                                            "getVocabularyCategoriesCount",
574                                            _getVocabularyCategoriesCountParameterTypes16);
575    
576                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
577                                            parentCategory, vocabularyId);
578    
579                            Object returnObj = null;
580    
581                            try {
582                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
583                            }
584                            catch (Exception e) {
585                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
586                            }
587    
588                            return ((Integer)returnObj).intValue();
589                    }
590                    catch (com.liferay.portal.kernel.exception.SystemException se) {
591                            _log.error(se, se);
592    
593                            throw se;
594                    }
595            }
596    
597            public static int getVocabularyCategoriesCount(
598                    HttpPrincipal httpPrincipal, long groupId, java.lang.String name,
599                    long vocabularyId) {
600                    try {
601                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
602                                            "getVocabularyCategoriesCount",
603                                            _getVocabularyCategoriesCountParameterTypes17);
604    
605                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
606                                            name, vocabularyId);
607    
608                            Object returnObj = null;
609    
610                            try {
611                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
612                            }
613                            catch (Exception e) {
614                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
615                            }
616    
617                            return ((Integer)returnObj).intValue();
618                    }
619                    catch (com.liferay.portal.kernel.exception.SystemException se) {
620                            _log.error(se, se);
621    
622                            throw se;
623                    }
624            }
625    
626            public static com.liferay.asset.kernel.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(
627                    HttpPrincipal httpPrincipal, long vocabularyId, int start, int end,
628                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
629                    throws com.liferay.portal.kernel.exception.PortalException {
630                    try {
631                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
632                                            "getVocabularyCategoriesDisplay",
633                                            _getVocabularyCategoriesDisplayParameterTypes18);
634    
635                            MethodHandler methodHandler = new MethodHandler(methodKey,
636                                            vocabularyId, start, end, obc);
637    
638                            Object returnObj = null;
639    
640                            try {
641                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
642                            }
643                            catch (Exception e) {
644                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
645                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
646                                    }
647    
648                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
649                            }
650    
651                            return (com.liferay.asset.kernel.model.AssetCategoryDisplay)returnObj;
652                    }
653                    catch (com.liferay.portal.kernel.exception.SystemException se) {
654                            _log.error(se, se);
655    
656                            throw se;
657                    }
658            }
659    
660            public static com.liferay.asset.kernel.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(
661                    HttpPrincipal httpPrincipal, long groupId, java.lang.String name,
662                    long vocabularyId, int start, int end,
663                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
664                    throws com.liferay.portal.kernel.exception.PortalException {
665                    try {
666                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
667                                            "getVocabularyCategoriesDisplay",
668                                            _getVocabularyCategoriesDisplayParameterTypes19);
669    
670                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
671                                            name, vocabularyId, start, end, obc);
672    
673                            Object returnObj = null;
674    
675                            try {
676                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
677                            }
678                            catch (Exception e) {
679                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
680                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
681                                    }
682    
683                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
684                            }
685    
686                            return (com.liferay.asset.kernel.model.AssetCategoryDisplay)returnObj;
687                    }
688                    catch (com.liferay.portal.kernel.exception.SystemException se) {
689                            _log.error(se, se);
690    
691                            throw se;
692                    }
693            }
694    
695            public static java.util.List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyRootCategories(
696                    HttpPrincipal httpPrincipal, long groupId, long vocabularyId,
697                    int start, int end,
698                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) {
699                    try {
700                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
701                                            "getVocabularyRootCategories",
702                                            _getVocabularyRootCategoriesParameterTypes20);
703    
704                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
705                                            vocabularyId, start, end, obc);
706    
707                            Object returnObj = null;
708    
709                            try {
710                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
711                            }
712                            catch (Exception e) {
713                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
714                            }
715    
716                            return (java.util.List<com.liferay.asset.kernel.model.AssetCategory>)returnObj;
717                    }
718                    catch (com.liferay.portal.kernel.exception.SystemException se) {
719                            _log.error(se, se);
720    
721                            throw se;
722                    }
723            }
724    
725            public static int getVocabularyRootCategoriesCount(
726                    HttpPrincipal httpPrincipal, long groupId, long vocabularyId) {
727                    try {
728                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
729                                            "getVocabularyRootCategoriesCount",
730                                            _getVocabularyRootCategoriesCountParameterTypes21);
731    
732                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
733                                            vocabularyId);
734    
735                            Object returnObj = null;
736    
737                            try {
738                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
739                            }
740                            catch (Exception e) {
741                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
742                            }
743    
744                            return ((Integer)returnObj).intValue();
745                    }
746                    catch (com.liferay.portal.kernel.exception.SystemException se) {
747                            _log.error(se, se);
748    
749                            throw se;
750                    }
751            }
752    
753            public static com.liferay.asset.kernel.model.AssetCategory moveCategory(
754                    HttpPrincipal httpPrincipal, long categoryId, long parentCategoryId,
755                    long vocabularyId,
756                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
757                    throws com.liferay.portal.kernel.exception.PortalException {
758                    try {
759                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
760                                            "moveCategory", _moveCategoryParameterTypes22);
761    
762                            MethodHandler methodHandler = new MethodHandler(methodKey,
763                                            categoryId, parentCategoryId, vocabularyId, serviceContext);
764    
765                            Object returnObj = null;
766    
767                            try {
768                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
769                            }
770                            catch (Exception e) {
771                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
772                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
773                                    }
774    
775                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
776                            }
777    
778                            return (com.liferay.asset.kernel.model.AssetCategory)returnObj;
779                    }
780                    catch (com.liferay.portal.kernel.exception.SystemException se) {
781                            _log.error(se, se);
782    
783                            throw se;
784                    }
785            }
786    
787            public static java.util.List<com.liferay.asset.kernel.model.AssetCategory> search(
788                    HttpPrincipal httpPrincipal, long groupId, java.lang.String keywords,
789                    long vocabularyId, int start, int end,
790                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) {
791                    try {
792                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
793                                            "search", _searchParameterTypes23);
794    
795                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
796                                            keywords, vocabularyId, start, end, obc);
797    
798                            Object returnObj = null;
799    
800                            try {
801                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
802                            }
803                            catch (Exception e) {
804                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
805                            }
806    
807                            return (java.util.List<com.liferay.asset.kernel.model.AssetCategory>)returnObj;
808                    }
809                    catch (com.liferay.portal.kernel.exception.SystemException se) {
810                            _log.error(se, se);
811    
812                            throw se;
813                    }
814            }
815    
816            public static com.liferay.portal.kernel.json.JSONArray search(
817                    HttpPrincipal httpPrincipal, long groupId, java.lang.String name,
818                    java.lang.String[] categoryProperties, int start, int end)
819                    throws com.liferay.portal.kernel.exception.PortalException {
820                    try {
821                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
822                                            "search", _searchParameterTypes24);
823    
824                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
825                                            name, categoryProperties, start, end);
826    
827                            Object returnObj = null;
828    
829                            try {
830                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
831                            }
832                            catch (Exception e) {
833                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
834                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
835                                    }
836    
837                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
838                            }
839    
840                            return (com.liferay.portal.kernel.json.JSONArray)returnObj;
841                    }
842                    catch (com.liferay.portal.kernel.exception.SystemException se) {
843                            _log.error(se, se);
844    
845                            throw se;
846                    }
847            }
848    
849            public static com.liferay.portal.kernel.json.JSONArray search(
850                    HttpPrincipal httpPrincipal, long[] groupIds, java.lang.String name,
851                    long[] vocabularyIds, int start, int end)
852                    throws com.liferay.portal.kernel.exception.PortalException {
853                    try {
854                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
855                                            "search", _searchParameterTypes25);
856    
857                            MethodHandler methodHandler = new MethodHandler(methodKey,
858                                            groupIds, name, vocabularyIds, start, end);
859    
860                            Object returnObj = null;
861    
862                            try {
863                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
864                            }
865                            catch (Exception e) {
866                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
867                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
868                                    }
869    
870                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
871                            }
872    
873                            return (com.liferay.portal.kernel.json.JSONArray)returnObj;
874                    }
875                    catch (com.liferay.portal.kernel.exception.SystemException se) {
876                            _log.error(se, se);
877    
878                            throw se;
879                    }
880            }
881    
882            public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
883                    HttpPrincipal httpPrincipal, long groupId, java.lang.String title,
884                    long vocabularyId, int start, int end)
885                    throws com.liferay.portal.kernel.exception.PortalException {
886                    try {
887                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
888                                            "searchCategoriesDisplay",
889                                            _searchCategoriesDisplayParameterTypes26);
890    
891                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
892                                            title, vocabularyId, start, end);
893    
894                            Object returnObj = null;
895    
896                            try {
897                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
898                            }
899                            catch (Exception e) {
900                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
901                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
902                                    }
903    
904                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
905                            }
906    
907                            return (com.liferay.asset.kernel.model.AssetCategoryDisplay)returnObj;
908                    }
909                    catch (com.liferay.portal.kernel.exception.SystemException se) {
910                            _log.error(se, se);
911    
912                            throw se;
913                    }
914            }
915    
916            public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
917                    HttpPrincipal httpPrincipal, long groupId, java.lang.String title,
918                    long parentCategoryId, long vocabularyId, int start, int end)
919                    throws com.liferay.portal.kernel.exception.PortalException {
920                    try {
921                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
922                                            "searchCategoriesDisplay",
923                                            _searchCategoriesDisplayParameterTypes27);
924    
925                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
926                                            title, parentCategoryId, vocabularyId, start, end);
927    
928                            Object returnObj = null;
929    
930                            try {
931                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
932                            }
933                            catch (Exception e) {
934                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
935                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
936                                    }
937    
938                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
939                            }
940    
941                            return (com.liferay.asset.kernel.model.AssetCategoryDisplay)returnObj;
942                    }
943                    catch (com.liferay.portal.kernel.exception.SystemException se) {
944                            _log.error(se, se);
945    
946                            throw se;
947                    }
948            }
949    
950            public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
951                    HttpPrincipal httpPrincipal, long groupId, java.lang.String title,
952                    long vocabularyId, long parentCategoryId, int start, int end,
953                    com.liferay.portal.kernel.search.Sort sort)
954                    throws com.liferay.portal.kernel.exception.PortalException {
955                    try {
956                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
957                                            "searchCategoriesDisplay",
958                                            _searchCategoriesDisplayParameterTypes28);
959    
960                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
961                                            title, vocabularyId, parentCategoryId, start, end, sort);
962    
963                            Object returnObj = null;
964    
965                            try {
966                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
967                            }
968                            catch (Exception e) {
969                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
970                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
971                                    }
972    
973                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
974                            }
975    
976                            return (com.liferay.asset.kernel.model.AssetCategoryDisplay)returnObj;
977                    }
978                    catch (com.liferay.portal.kernel.exception.SystemException se) {
979                            _log.error(se, se);
980    
981                            throw se;
982                    }
983            }
984    
985            public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
986                    HttpPrincipal httpPrincipal, long[] groupIds, java.lang.String title,
987                    long[] vocabularyIds, int start, int end)
988                    throws com.liferay.portal.kernel.exception.PortalException {
989                    try {
990                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
991                                            "searchCategoriesDisplay",
992                                            _searchCategoriesDisplayParameterTypes29);
993    
994                            MethodHandler methodHandler = new MethodHandler(methodKey,
995                                            groupIds, title, vocabularyIds, start, end);
996    
997                            Object returnObj = null;
998    
999                            try {
1000                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1001                            }
1002                            catch (Exception e) {
1003                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1004                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1005                                    }
1006    
1007                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1008                            }
1009    
1010                            return (com.liferay.asset.kernel.model.AssetCategoryDisplay)returnObj;
1011                    }
1012                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1013                            _log.error(se, se);
1014    
1015                            throw se;
1016                    }
1017            }
1018    
1019            public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
1020                    HttpPrincipal httpPrincipal, long[] groupIds, java.lang.String title,
1021                    long[] parentCategoryIds, long[] vocabularyIds, int start, int end)
1022                    throws com.liferay.portal.kernel.exception.PortalException {
1023                    try {
1024                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
1025                                            "searchCategoriesDisplay",
1026                                            _searchCategoriesDisplayParameterTypes30);
1027    
1028                            MethodHandler methodHandler = new MethodHandler(methodKey,
1029                                            groupIds, title, parentCategoryIds, vocabularyIds, start,
1030                                            end);
1031    
1032                            Object returnObj = null;
1033    
1034                            try {
1035                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1036                            }
1037                            catch (Exception e) {
1038                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1039                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1040                                    }
1041    
1042                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1043                            }
1044    
1045                            return (com.liferay.asset.kernel.model.AssetCategoryDisplay)returnObj;
1046                    }
1047                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1048                            _log.error(se, se);
1049    
1050                            throw se;
1051                    }
1052            }
1053    
1054            public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
1055                    HttpPrincipal httpPrincipal, long[] groupIds, java.lang.String title,
1056                    long[] vocabularyIds, long[] parentCategoryIds, int start, int end,
1057                    com.liferay.portal.kernel.search.Sort sort)
1058                    throws com.liferay.portal.kernel.exception.PortalException {
1059                    try {
1060                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
1061                                            "searchCategoriesDisplay",
1062                                            _searchCategoriesDisplayParameterTypes31);
1063    
1064                            MethodHandler methodHandler = new MethodHandler(methodKey,
1065                                            groupIds, title, vocabularyIds, parentCategoryIds, start,
1066                                            end, sort);
1067    
1068                            Object returnObj = null;
1069    
1070                            try {
1071                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1072                            }
1073                            catch (Exception e) {
1074                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1075                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1076                                    }
1077    
1078                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1079                            }
1080    
1081                            return (com.liferay.asset.kernel.model.AssetCategoryDisplay)returnObj;
1082                    }
1083                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1084                            _log.error(se, se);
1085    
1086                            throw se;
1087                    }
1088            }
1089    
1090            public static com.liferay.asset.kernel.model.AssetCategory updateCategory(
1091                    HttpPrincipal httpPrincipal, long categoryId, long parentCategoryId,
1092                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
1093                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1094                    long vocabularyId, java.lang.String[] categoryProperties,
1095                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
1096                    throws com.liferay.portal.kernel.exception.PortalException {
1097                    try {
1098                            MethodKey methodKey = new MethodKey(AssetCategoryServiceUtil.class,
1099                                            "updateCategory", _updateCategoryParameterTypes32);
1100    
1101                            MethodHandler methodHandler = new MethodHandler(methodKey,
1102                                            categoryId, parentCategoryId, titleMap, descriptionMap,
1103                                            vocabularyId, categoryProperties, serviceContext);
1104    
1105                            Object returnObj = null;
1106    
1107                            try {
1108                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1109                            }
1110                            catch (Exception e) {
1111                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1112                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1113                                    }
1114    
1115                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1116                            }
1117    
1118                            return (com.liferay.asset.kernel.model.AssetCategory)returnObj;
1119                    }
1120                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1121                            _log.error(se, se);
1122    
1123                            throw se;
1124                    }
1125            }
1126    
1127            private static Log _log = LogFactoryUtil.getLog(AssetCategoryServiceHttp.class);
1128            private static final Class<?>[] _addCategoryParameterTypes0 = new Class[] {
1129                            long.class, long.class, java.util.Map.class, java.util.Map.class,
1130                            long.class, java.lang.String[].class,
1131                            com.liferay.portal.kernel.service.ServiceContext.class
1132                    };
1133            private static final Class<?>[] _addCategoryParameterTypes1 = new Class[] {
1134                            long.class, java.lang.String.class, long.class,
1135                            com.liferay.portal.kernel.service.ServiceContext.class
1136                    };
1137            private static final Class<?>[] _deleteCategoriesParameterTypes2 = new Class[] {
1138                            long[].class
1139                    };
1140            private static final Class<?>[] _deleteCategoriesParameterTypes3 = new Class[] {
1141                            long[].class, com.liferay.portal.kernel.service.ServiceContext.class
1142                    };
1143            private static final Class<?>[] _deleteCategoryParameterTypes4 = new Class[] {
1144                            long.class
1145                    };
1146            private static final Class<?>[] _fetchCategoryParameterTypes5 = new Class[] {
1147                            long.class
1148                    };
1149            private static final Class<?>[] _getCategoriesParameterTypes6 = new Class[] {
1150                            java.lang.String.class, long.class
1151                    };
1152            private static final Class<?>[] _getCategoryParameterTypes7 = new Class[] {
1153                            long.class
1154                    };
1155            private static final Class<?>[] _getCategoryPathParameterTypes8 = new Class[] {
1156                            long.class
1157                    };
1158            private static final Class<?>[] _getChildCategoriesParameterTypes9 = new Class[] {
1159                            long.class
1160                    };
1161            private static final Class<?>[] _getChildCategoriesParameterTypes10 = new Class[] {
1162                            long.class, int.class, int.class,
1163                            com.liferay.portal.kernel.util.OrderByComparator.class
1164                    };
1165            private static final Class<?>[] _getVocabularyCategoriesParameterTypes11 = new Class[] {
1166                            long.class, int.class, int.class,
1167                            com.liferay.portal.kernel.util.OrderByComparator.class
1168                    };
1169            private static final Class<?>[] _getVocabularyCategoriesParameterTypes12 = new Class[] {
1170                            long.class, long.class, int.class, int.class,
1171                            com.liferay.portal.kernel.util.OrderByComparator.class
1172                    };
1173            private static final Class<?>[] _getVocabularyCategoriesParameterTypes13 = new Class[] {
1174                            long.class, long.class, long.class, int.class, int.class,
1175                            com.liferay.portal.kernel.util.OrderByComparator.class
1176                    };
1177            private static final Class<?>[] _getVocabularyCategoriesParameterTypes14 = new Class[] {
1178                            long.class, java.lang.String.class, long.class, int.class, int.class,
1179                            com.liferay.portal.kernel.util.OrderByComparator.class
1180                    };
1181            private static final Class<?>[] _getVocabularyCategoriesCountParameterTypes15 =
1182                    new Class[] { long.class, long.class };
1183            private static final Class<?>[] _getVocabularyCategoriesCountParameterTypes16 =
1184                    new Class[] { long.class, long.class, long.class };
1185            private static final Class<?>[] _getVocabularyCategoriesCountParameterTypes17 =
1186                    new Class[] { long.class, java.lang.String.class, long.class };
1187            private static final Class<?>[] _getVocabularyCategoriesDisplayParameterTypes18 =
1188                    new Class[] {
1189                            long.class, int.class, int.class,
1190                            com.liferay.portal.kernel.util.OrderByComparator.class
1191                    };
1192            private static final Class<?>[] _getVocabularyCategoriesDisplayParameterTypes19 =
1193                    new Class[] {
1194                            long.class, java.lang.String.class, long.class, int.class, int.class,
1195                            com.liferay.portal.kernel.util.OrderByComparator.class
1196                    };
1197            private static final Class<?>[] _getVocabularyRootCategoriesParameterTypes20 =
1198                    new Class[] {
1199                            long.class, long.class, int.class, int.class,
1200                            com.liferay.portal.kernel.util.OrderByComparator.class
1201                    };
1202            private static final Class<?>[] _getVocabularyRootCategoriesCountParameterTypes21 =
1203                    new Class[] { long.class, long.class };
1204            private static final Class<?>[] _moveCategoryParameterTypes22 = new Class[] {
1205                            long.class, long.class, long.class,
1206                            com.liferay.portal.kernel.service.ServiceContext.class
1207                    };
1208            private static final Class<?>[] _searchParameterTypes23 = new Class[] {
1209                            long.class, java.lang.String.class, long.class, int.class, int.class,
1210                            com.liferay.portal.kernel.util.OrderByComparator.class
1211                    };
1212            private static final Class<?>[] _searchParameterTypes24 = new Class[] {
1213                            long.class, java.lang.String.class, java.lang.String[].class,
1214                            int.class, int.class
1215                    };
1216            private static final Class<?>[] _searchParameterTypes25 = new Class[] {
1217                            long[].class, java.lang.String.class, long[].class, int.class,
1218                            int.class
1219                    };
1220            private static final Class<?>[] _searchCategoriesDisplayParameterTypes26 = new Class[] {
1221                            long.class, java.lang.String.class, long.class, int.class, int.class
1222                    };
1223            private static final Class<?>[] _searchCategoriesDisplayParameterTypes27 = new Class[] {
1224                            long.class, java.lang.String.class, long.class, long.class,
1225                            int.class, int.class
1226                    };
1227            private static final Class<?>[] _searchCategoriesDisplayParameterTypes28 = new Class[] {
1228                            long.class, java.lang.String.class, long.class, long.class,
1229                            int.class, int.class, com.liferay.portal.kernel.search.Sort.class
1230                    };
1231            private static final Class<?>[] _searchCategoriesDisplayParameterTypes29 = new Class[] {
1232                            long[].class, java.lang.String.class, long[].class, int.class,
1233                            int.class
1234                    };
1235            private static final Class<?>[] _searchCategoriesDisplayParameterTypes30 = new Class[] {
1236                            long[].class, java.lang.String.class, long[].class, long[].class,
1237                            int.class, int.class
1238                    };
1239            private static final Class<?>[] _searchCategoriesDisplayParameterTypes31 = new Class[] {
1240                            long[].class, java.lang.String.class, long[].class, long[].class,
1241                            int.class, int.class, com.liferay.portal.kernel.search.Sort.class
1242                    };
1243            private static final Class<?>[] _updateCategoryParameterTypes32 = new Class[] {
1244                            long.class, long.class, java.util.Map.class, java.util.Map.class,
1245                            long.class, java.lang.String[].class,
1246                            com.liferay.portal.kernel.service.ServiceContext.class
1247                    };
1248    }