001    /**
002     * Copyright (c) 2000-2011 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.documentlibrary.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.documentlibrary.service.DLFolderServiceUtil;
025    
026    /**
027     * <p>
028     * This class provides a HTTP utility for the
029     * {@link com.liferay.portlet.documentlibrary.service.DLFolderServiceUtil} service utility. The
030     * static methods of this class calls the same methods of the service utility.
031     * However, the signatures are different because it requires an additional
032     * {@link com.liferay.portal.security.auth.HttpPrincipal} parameter.
033     * </p>
034     *
035     * <p>
036     * The benefits of using the HTTP utility is that it is fast and allows for
037     * tunneling without the cost of serializing to text. The drawback is that it
038     * only works with Java.
039     * </p>
040     *
041     * <p>
042     * Set the property <b>tunnel.servlet.hosts.allowed</b> in portal.properties to
043     * configure security.
044     * </p>
045     *
046     * <p>
047     * The HTTP utility is only generated for remote services.
048     * </p>
049     *
050     * @author    Brian Wing Shun Chan
051     * @see       DLFolderServiceSoap
052     * @see       com.liferay.portal.security.auth.HttpPrincipal
053     * @see       com.liferay.portlet.documentlibrary.service.DLFolderServiceUtil
054     * @generated
055     */
056    public class DLFolderServiceHttp {
057            public static com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
058                    HttpPrincipal httpPrincipal, long groupId, long repositoryId,
059                    boolean mountPoint, long parentFolderId, java.lang.String name,
060                    java.lang.String description,
061                    com.liferay.portal.service.ServiceContext serviceContext)
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException {
064                    try {
065                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
066                                            "addFolder", _addFolderParameterTypes0);
067    
068                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
069                                            repositoryId, mountPoint, parentFolderId, name,
070                                            description, serviceContext);
071    
072                            Object returnObj = null;
073    
074                            try {
075                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
076                            }
077                            catch (Exception e) {
078                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
079                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
080                                    }
081    
082                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
083                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
084                                    }
085    
086                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
087                            }
088    
089                            return (com.liferay.portlet.documentlibrary.model.DLFolder)returnObj;
090                    }
091                    catch (com.liferay.portal.kernel.exception.SystemException se) {
092                            _log.error(se, se);
093    
094                            throw se;
095                    }
096            }
097    
098            public static void deleteFolder(HttpPrincipal httpPrincipal, long folderId)
099                    throws com.liferay.portal.kernel.exception.PortalException,
100                            com.liferay.portal.kernel.exception.SystemException {
101                    try {
102                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
103                                            "deleteFolder", _deleteFolderParameterTypes1);
104    
105                            MethodHandler methodHandler = new MethodHandler(methodKey, folderId);
106    
107                            try {
108                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
109                            }
110                            catch (Exception e) {
111                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
112                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
113                                    }
114    
115                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
116                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
117                                    }
118    
119                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
120                            }
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 deleteFolder(HttpPrincipal httpPrincipal, long groupId,
130                    long parentFolderId, java.lang.String name)
131                    throws com.liferay.portal.kernel.exception.PortalException,
132                            com.liferay.portal.kernel.exception.SystemException {
133                    try {
134                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
135                                            "deleteFolder", _deleteFolderParameterTypes2);
136    
137                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
138                                            parentFolderId, name);
139    
140                            try {
141                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
142                            }
143                            catch (Exception e) {
144                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
145                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
146                                    }
147    
148                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
149                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
150                                    }
151    
152                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
153                            }
154                    }
155                    catch (com.liferay.portal.kernel.exception.SystemException se) {
156                            _log.error(se, se);
157    
158                            throw se;
159                    }
160            }
161    
162            public static java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
163                    HttpPrincipal httpPrincipal, long groupId, long folderId, int status,
164                    int start, int end)
165                    throws com.liferay.portal.kernel.exception.SystemException {
166                    try {
167                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
168                                            "getFileEntriesAndFileShortcuts",
169                                            _getFileEntriesAndFileShortcutsParameterTypes3);
170    
171                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
172                                            folderId, status, start, end);
173    
174                            Object returnObj = null;
175    
176                            try {
177                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
178                            }
179                            catch (Exception e) {
180                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
181                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
182                                    }
183    
184                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
185                            }
186    
187                            return (java.util.List<java.lang.Object>)returnObj;
188                    }
189                    catch (com.liferay.portal.kernel.exception.SystemException se) {
190                            _log.error(se, se);
191    
192                            throw se;
193                    }
194            }
195    
196            public static int getFileEntriesAndFileShortcutsCount(
197                    HttpPrincipal httpPrincipal, long groupId, long folderId, int status)
198                    throws com.liferay.portal.kernel.exception.SystemException {
199                    try {
200                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
201                                            "getFileEntriesAndFileShortcutsCount",
202                                            _getFileEntriesAndFileShortcutsCountParameterTypes4);
203    
204                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
205                                            folderId, status);
206    
207                            Object returnObj = null;
208    
209                            try {
210                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
211                            }
212                            catch (Exception e) {
213                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
214                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
215                                    }
216    
217                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
218                            }
219    
220                            return ((Integer)returnObj).intValue();
221                    }
222                    catch (com.liferay.portal.kernel.exception.SystemException se) {
223                            _log.error(se, se);
224    
225                            throw se;
226                    }
227            }
228    
229            public static com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
230                    HttpPrincipal httpPrincipal, long folderId)
231                    throws com.liferay.portal.kernel.exception.PortalException,
232                            com.liferay.portal.kernel.exception.SystemException {
233                    try {
234                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
235                                            "getFolder", _getFolderParameterTypes5);
236    
237                            MethodHandler methodHandler = new MethodHandler(methodKey, folderId);
238    
239                            Object returnObj = null;
240    
241                            try {
242                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
243                            }
244                            catch (Exception e) {
245                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
246                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
247                                    }
248    
249                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
250                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
251                                    }
252    
253                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
254                            }
255    
256                            return (com.liferay.portlet.documentlibrary.model.DLFolder)returnObj;
257                    }
258                    catch (com.liferay.portal.kernel.exception.SystemException se) {
259                            _log.error(se, se);
260    
261                            throw se;
262                    }
263            }
264    
265            public static com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
266                    HttpPrincipal httpPrincipal, long groupId, long parentFolderId,
267                    java.lang.String name)
268                    throws com.liferay.portal.kernel.exception.PortalException,
269                            com.liferay.portal.kernel.exception.SystemException {
270                    try {
271                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
272                                            "getFolder", _getFolderParameterTypes6);
273    
274                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
275                                            parentFolderId, name);
276    
277                            Object returnObj = null;
278    
279                            try {
280                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
281                            }
282                            catch (Exception e) {
283                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
284                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
285                                    }
286    
287                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
288                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
289                                    }
290    
291                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
292                            }
293    
294                            return (com.liferay.portlet.documentlibrary.model.DLFolder)returnObj;
295                    }
296                    catch (com.liferay.portal.kernel.exception.SystemException se) {
297                            _log.error(se, se);
298    
299                            throw se;
300                    }
301            }
302    
303            public static long[] getFolderIds(HttpPrincipal httpPrincipal,
304                    long groupId, long folderId)
305                    throws com.liferay.portal.kernel.exception.SystemException {
306                    try {
307                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
308                                            "getFolderIds", _getFolderIdsParameterTypes7);
309    
310                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
311                                            folderId);
312    
313                            Object returnObj = null;
314    
315                            try {
316                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
317                            }
318                            catch (Exception e) {
319                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
320                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
321                                    }
322    
323                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
324                            }
325    
326                            return (long[])returnObj;
327                    }
328                    catch (com.liferay.portal.kernel.exception.SystemException se) {
329                            _log.error(se, se);
330    
331                            throw se;
332                    }
333            }
334    
335            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
336                    HttpPrincipal httpPrincipal, long groupId, long parentFolderId,
337                    boolean includeMountfolders, int start, int end,
338                    com.liferay.portal.kernel.util.OrderByComparator obc)
339                    throws com.liferay.portal.kernel.exception.SystemException {
340                    try {
341                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
342                                            "getFolders", _getFoldersParameterTypes8);
343    
344                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
345                                            parentFolderId, includeMountfolders, 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.documentlibrary.model.DLFolder>)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.documentlibrary.model.DLFolder> getFolders(
370                    HttpPrincipal httpPrincipal, long groupId, long parentFolderId,
371                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
372                    throws com.liferay.portal.kernel.exception.SystemException {
373                    try {
374                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
375                                            "getFolders", _getFoldersParameterTypes9);
376    
377                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
378                                            parentFolderId, start, end, obc);
379    
380                            Object returnObj = null;
381    
382                            try {
383                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
384                            }
385                            catch (Exception e) {
386                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
387                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
388                                    }
389    
390                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
391                            }
392    
393                            return (java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder>)returnObj;
394                    }
395                    catch (com.liferay.portal.kernel.exception.SystemException se) {
396                            _log.error(se, se);
397    
398                            throw se;
399                    }
400            }
401    
402            public static java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
403                    HttpPrincipal httpPrincipal, long groupId, long folderId, int status,
404                    boolean includeMountFolders, int start, int end,
405                    com.liferay.portal.kernel.util.OrderByComparator obc)
406                    throws com.liferay.portal.kernel.exception.SystemException {
407                    try {
408                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
409                                            "getFoldersAndFileEntriesAndFileShortcuts",
410                                            _getFoldersAndFileEntriesAndFileShortcutsParameterTypes10);
411    
412                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
413                                            folderId, status, includeMountFolders, start, end, obc);
414    
415                            Object returnObj = null;
416    
417                            try {
418                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
419                            }
420                            catch (Exception e) {
421                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
422                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
423                                    }
424    
425                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
426                            }
427    
428                            return (java.util.List<java.lang.Object>)returnObj;
429                    }
430                    catch (com.liferay.portal.kernel.exception.SystemException se) {
431                            _log.error(se, se);
432    
433                            throw se;
434                    }
435            }
436    
437            public static int getFoldersAndFileEntriesAndFileShortcuts(
438                    HttpPrincipal httpPrincipal, long groupId, long folderId, int status,
439                    java.lang.String[] mimeTypes, boolean includeMountFolders)
440                    throws com.liferay.portal.kernel.exception.SystemException {
441                    try {
442                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
443                                            "getFoldersAndFileEntriesAndFileShortcuts",
444                                            _getFoldersAndFileEntriesAndFileShortcutsParameterTypes11);
445    
446                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
447                                            folderId, status, mimeTypes, includeMountFolders);
448    
449                            Object returnObj = null;
450    
451                            try {
452                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
453                            }
454                            catch (Exception e) {
455                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
456                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
457                                    }
458    
459                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
460                            }
461    
462                            return ((Integer)returnObj).intValue();
463                    }
464                    catch (com.liferay.portal.kernel.exception.SystemException se) {
465                            _log.error(se, se);
466    
467                            throw se;
468                    }
469            }
470    
471            public static java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
472                    HttpPrincipal httpPrincipal, long groupId, long folderId, int status,
473                    java.lang.String[] mimeTypes, boolean includeMountFolders, int start,
474                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
475                    throws com.liferay.portal.kernel.exception.SystemException {
476                    try {
477                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
478                                            "getFoldersAndFileEntriesAndFileShortcuts",
479                                            _getFoldersAndFileEntriesAndFileShortcutsParameterTypes12);
480    
481                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
482                                            folderId, status, mimeTypes, includeMountFolders, start,
483                                            end, obc);
484    
485                            Object returnObj = null;
486    
487                            try {
488                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
489                            }
490                            catch (Exception e) {
491                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
492                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
493                                    }
494    
495                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
496                            }
497    
498                            return (java.util.List<java.lang.Object>)returnObj;
499                    }
500                    catch (com.liferay.portal.kernel.exception.SystemException se) {
501                            _log.error(se, se);
502    
503                            throw se;
504                    }
505            }
506    
507            public static int getFoldersAndFileEntriesAndFileShortcutsCount(
508                    HttpPrincipal httpPrincipal, long groupId, long folderId, int status,
509                    boolean includeMountFolders)
510                    throws com.liferay.portal.kernel.exception.SystemException {
511                    try {
512                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
513                                            "getFoldersAndFileEntriesAndFileShortcutsCount",
514                                            _getFoldersAndFileEntriesAndFileShortcutsCountParameterTypes13);
515    
516                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
517                                            folderId, status, includeMountFolders);
518    
519                            Object returnObj = null;
520    
521                            try {
522                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
523                            }
524                            catch (Exception e) {
525                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
526                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
527                                    }
528    
529                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
530                            }
531    
532                            return ((Integer)returnObj).intValue();
533                    }
534                    catch (com.liferay.portal.kernel.exception.SystemException se) {
535                            _log.error(se, se);
536    
537                            throw se;
538                    }
539            }
540    
541            public static int getFoldersAndFileEntriesAndFileShortcutsCount(
542                    HttpPrincipal httpPrincipal, long groupId, long folderId, int status,
543                    java.lang.String[] mimeTypes, boolean includeMountFolders)
544                    throws com.liferay.portal.kernel.exception.SystemException {
545                    try {
546                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
547                                            "getFoldersAndFileEntriesAndFileShortcutsCount",
548                                            _getFoldersAndFileEntriesAndFileShortcutsCountParameterTypes14);
549    
550                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
551                                            folderId, status, mimeTypes, includeMountFolders);
552    
553                            Object returnObj = null;
554    
555                            try {
556                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
557                            }
558                            catch (Exception e) {
559                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
560                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
561                                    }
562    
563                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
564                            }
565    
566                            return ((Integer)returnObj).intValue();
567                    }
568                    catch (com.liferay.portal.kernel.exception.SystemException se) {
569                            _log.error(se, se);
570    
571                            throw se;
572                    }
573            }
574    
575            public static int getFoldersCount(HttpPrincipal httpPrincipal,
576                    long groupId, long parentFolderId)
577                    throws com.liferay.portal.kernel.exception.SystemException {
578                    try {
579                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
580                                            "getFoldersCount", _getFoldersCountParameterTypes15);
581    
582                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
583                                            parentFolderId);
584    
585                            Object returnObj = null;
586    
587                            try {
588                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
589                            }
590                            catch (Exception e) {
591                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
592                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
593                                    }
594    
595                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
596                            }
597    
598                            return ((Integer)returnObj).intValue();
599                    }
600                    catch (com.liferay.portal.kernel.exception.SystemException se) {
601                            _log.error(se, se);
602    
603                            throw se;
604                    }
605            }
606    
607            public static int getFoldersCount(HttpPrincipal httpPrincipal,
608                    long groupId, long parentFolderId, boolean includeMountfolders)
609                    throws com.liferay.portal.kernel.exception.SystemException {
610                    try {
611                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
612                                            "getFoldersCount", _getFoldersCountParameterTypes16);
613    
614                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
615                                            parentFolderId, includeMountfolders);
616    
617                            Object returnObj = null;
618    
619                            try {
620                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
621                            }
622                            catch (Exception e) {
623                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
624                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
625                                    }
626    
627                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
628                            }
629    
630                            return ((Integer)returnObj).intValue();
631                    }
632                    catch (com.liferay.portal.kernel.exception.SystemException se) {
633                            _log.error(se, se);
634    
635                            throw se;
636                    }
637            }
638    
639            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getMountFolders(
640                    HttpPrincipal httpPrincipal, long groupId, long parentFolderId,
641                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
642                    throws com.liferay.portal.kernel.exception.SystemException {
643                    try {
644                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
645                                            "getMountFolders", _getMountFoldersParameterTypes17);
646    
647                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
648                                            parentFolderId, start, end, obc);
649    
650                            Object returnObj = null;
651    
652                            try {
653                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
654                            }
655                            catch (Exception e) {
656                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
657                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
658                                    }
659    
660                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
661                            }
662    
663                            return (java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder>)returnObj;
664                    }
665                    catch (com.liferay.portal.kernel.exception.SystemException se) {
666                            _log.error(se, se);
667    
668                            throw se;
669                    }
670            }
671    
672            public static int getMountFoldersCount(HttpPrincipal httpPrincipal,
673                    long groupId, long parentFolderId)
674                    throws com.liferay.portal.kernel.exception.SystemException {
675                    try {
676                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
677                                            "getMountFoldersCount",
678                                            _getMountFoldersCountParameterTypes18);
679    
680                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
681                                            parentFolderId);
682    
683                            Object returnObj = null;
684    
685                            try {
686                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
687                            }
688                            catch (Exception e) {
689                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
690                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
691                                    }
692    
693                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
694                            }
695    
696                            return ((Integer)returnObj).intValue();
697                    }
698                    catch (com.liferay.portal.kernel.exception.SystemException se) {
699                            _log.error(se, se);
700    
701                            throw se;
702                    }
703            }
704    
705            public static void getSubfolderIds(HttpPrincipal httpPrincipal,
706                    java.util.List<java.lang.Long> folderIds, long groupId, long folderId)
707                    throws com.liferay.portal.kernel.exception.SystemException {
708                    try {
709                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
710                                            "getSubfolderIds", _getSubfolderIdsParameterTypes19);
711    
712                            MethodHandler methodHandler = new MethodHandler(methodKey,
713                                            folderIds, groupId, folderId);
714    
715                            try {
716                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
717                            }
718                            catch (Exception e) {
719                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
720                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
721                                    }
722    
723                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
724                            }
725                    }
726                    catch (com.liferay.portal.kernel.exception.SystemException se) {
727                            _log.error(se, se);
728    
729                            throw se;
730                    }
731            }
732    
733            public static java.util.List<java.lang.Long> getSubfolderIds(
734                    HttpPrincipal httpPrincipal, long groupId, long folderId,
735                    boolean recurse)
736                    throws com.liferay.portal.kernel.exception.SystemException {
737                    try {
738                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
739                                            "getSubfolderIds", _getSubfolderIdsParameterTypes20);
740    
741                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
742                                            folderId, recurse);
743    
744                            Object returnObj = null;
745    
746                            try {
747                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
748                            }
749                            catch (Exception e) {
750                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
751                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
752                                    }
753    
754                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
755                            }
756    
757                            return (java.util.List<java.lang.Long>)returnObj;
758                    }
759                    catch (com.liferay.portal.kernel.exception.SystemException se) {
760                            _log.error(se, se);
761    
762                            throw se;
763                    }
764            }
765    
766            public static boolean hasFolderLock(HttpPrincipal httpPrincipal,
767                    long folderId)
768                    throws com.liferay.portal.kernel.exception.PortalException,
769                            com.liferay.portal.kernel.exception.SystemException {
770                    try {
771                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
772                                            "hasFolderLock", _hasFolderLockParameterTypes21);
773    
774                            MethodHandler methodHandler = new MethodHandler(methodKey, folderId);
775    
776                            Object returnObj = null;
777    
778                            try {
779                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
780                            }
781                            catch (Exception e) {
782                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
783                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
784                                    }
785    
786                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
787                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
788                                    }
789    
790                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
791                            }
792    
793                            return ((Boolean)returnObj).booleanValue();
794                    }
795                    catch (com.liferay.portal.kernel.exception.SystemException se) {
796                            _log.error(se, se);
797    
798                            throw se;
799                    }
800            }
801    
802            public static boolean hasInheritableLock(HttpPrincipal httpPrincipal,
803                    long folderId)
804                    throws com.liferay.portal.kernel.exception.PortalException,
805                            com.liferay.portal.kernel.exception.SystemException {
806                    try {
807                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
808                                            "hasInheritableLock", _hasInheritableLockParameterTypes22);
809    
810                            MethodHandler methodHandler = new MethodHandler(methodKey, folderId);
811    
812                            Object returnObj = null;
813    
814                            try {
815                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
816                            }
817                            catch (Exception e) {
818                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
819                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
820                                    }
821    
822                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
823                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
824                                    }
825    
826                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
827                            }
828    
829                            return ((Boolean)returnObj).booleanValue();
830                    }
831                    catch (com.liferay.portal.kernel.exception.SystemException se) {
832                            _log.error(se, se);
833    
834                            throw se;
835                    }
836            }
837    
838            public static boolean isFolderLocked(HttpPrincipal httpPrincipal,
839                    long folderId)
840                    throws com.liferay.portal.kernel.exception.SystemException {
841                    try {
842                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
843                                            "isFolderLocked", _isFolderLockedParameterTypes23);
844    
845                            MethodHandler methodHandler = new MethodHandler(methodKey, folderId);
846    
847                            Object returnObj = null;
848    
849                            try {
850                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
851                            }
852                            catch (Exception e) {
853                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
854                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
855                                    }
856    
857                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
858                            }
859    
860                            return ((Boolean)returnObj).booleanValue();
861                    }
862                    catch (com.liferay.portal.kernel.exception.SystemException se) {
863                            _log.error(se, se);
864    
865                            throw se;
866                    }
867            }
868    
869            public static com.liferay.portal.model.Lock lockFolder(
870                    HttpPrincipal httpPrincipal, long folderId)
871                    throws com.liferay.portal.kernel.exception.PortalException,
872                            com.liferay.portal.kernel.exception.SystemException {
873                    try {
874                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
875                                            "lockFolder", _lockFolderParameterTypes24);
876    
877                            MethodHandler methodHandler = new MethodHandler(methodKey, folderId);
878    
879                            Object returnObj = null;
880    
881                            try {
882                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
883                            }
884                            catch (Exception e) {
885                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
886                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
887                                    }
888    
889                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
890                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
891                                    }
892    
893                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
894                            }
895    
896                            return (com.liferay.portal.model.Lock)returnObj;
897                    }
898                    catch (com.liferay.portal.kernel.exception.SystemException se) {
899                            _log.error(se, se);
900    
901                            throw se;
902                    }
903            }
904    
905            public static com.liferay.portal.model.Lock lockFolder(
906                    HttpPrincipal httpPrincipal, long folderId, java.lang.String owner,
907                    boolean inheritable, long expirationTime)
908                    throws com.liferay.portal.kernel.exception.PortalException,
909                            com.liferay.portal.kernel.exception.SystemException {
910                    try {
911                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
912                                            "lockFolder", _lockFolderParameterTypes25);
913    
914                            MethodHandler methodHandler = new MethodHandler(methodKey,
915                                            folderId, owner, inheritable, expirationTime);
916    
917                            Object returnObj = null;
918    
919                            try {
920                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
921                            }
922                            catch (Exception e) {
923                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
924                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
925                                    }
926    
927                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
928                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
929                                    }
930    
931                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
932                            }
933    
934                            return (com.liferay.portal.model.Lock)returnObj;
935                    }
936                    catch (com.liferay.portal.kernel.exception.SystemException se) {
937                            _log.error(se, se);
938    
939                            throw se;
940                    }
941            }
942    
943            public static com.liferay.portlet.documentlibrary.model.DLFolder moveFolder(
944                    HttpPrincipal httpPrincipal, long folderId, long parentFolderId,
945                    com.liferay.portal.service.ServiceContext serviceContext)
946                    throws com.liferay.portal.kernel.exception.PortalException,
947                            com.liferay.portal.kernel.exception.SystemException {
948                    try {
949                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
950                                            "moveFolder", _moveFolderParameterTypes26);
951    
952                            MethodHandler methodHandler = new MethodHandler(methodKey,
953                                            folderId, parentFolderId, serviceContext);
954    
955                            Object returnObj = null;
956    
957                            try {
958                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
959                            }
960                            catch (Exception e) {
961                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
962                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
963                                    }
964    
965                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
966                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
967                                    }
968    
969                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
970                            }
971    
972                            return (com.liferay.portlet.documentlibrary.model.DLFolder)returnObj;
973                    }
974                    catch (com.liferay.portal.kernel.exception.SystemException se) {
975                            _log.error(se, se);
976    
977                            throw se;
978                    }
979            }
980    
981            public static com.liferay.portal.model.Lock refreshFolderLock(
982                    HttpPrincipal httpPrincipal, java.lang.String lockUuid,
983                    long expirationTime)
984                    throws com.liferay.portal.kernel.exception.PortalException,
985                            com.liferay.portal.kernel.exception.SystemException {
986                    try {
987                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
988                                            "refreshFolderLock", _refreshFolderLockParameterTypes27);
989    
990                            MethodHandler methodHandler = new MethodHandler(methodKey,
991                                            lockUuid, expirationTime);
992    
993                            Object returnObj = null;
994    
995                            try {
996                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
997                            }
998                            catch (Exception e) {
999                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1000                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1001                                    }
1002    
1003                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1004                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1005                                    }
1006    
1007                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1008                            }
1009    
1010                            return (com.liferay.portal.model.Lock)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 void unlockFolder(HttpPrincipal httpPrincipal, long groupId,
1020                    long folderId, java.lang.String lockUuid)
1021                    throws com.liferay.portal.kernel.exception.PortalException,
1022                            com.liferay.portal.kernel.exception.SystemException {
1023                    try {
1024                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
1025                                            "unlockFolder", _unlockFolderParameterTypes28);
1026    
1027                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1028                                            folderId, lockUuid);
1029    
1030                            try {
1031                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1032                            }
1033                            catch (Exception e) {
1034                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1035                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1036                                    }
1037    
1038                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1039                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1040                                    }
1041    
1042                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1043                            }
1044                    }
1045                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1046                            _log.error(se, se);
1047    
1048                            throw se;
1049                    }
1050            }
1051    
1052            public static void unlockFolder(HttpPrincipal httpPrincipal, long groupId,
1053                    long parentFolderId, java.lang.String name, java.lang.String lockUuid)
1054                    throws com.liferay.portal.kernel.exception.PortalException,
1055                            com.liferay.portal.kernel.exception.SystemException {
1056                    try {
1057                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
1058                                            "unlockFolder", _unlockFolderParameterTypes29);
1059    
1060                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1061                                            parentFolderId, name, lockUuid);
1062    
1063                            try {
1064                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1065                            }
1066                            catch (Exception e) {
1067                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1068                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1069                                    }
1070    
1071                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1072                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1073                                    }
1074    
1075                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1076                            }
1077                    }
1078                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1079                            _log.error(se, se);
1080    
1081                            throw se;
1082                    }
1083            }
1084    
1085            public static com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
1086                    HttpPrincipal httpPrincipal, long folderId, java.lang.String name,
1087                    java.lang.String description, long defaultFileEntryTypeId,
1088                    java.util.List<java.lang.Long> fileEntryTypeIds,
1089                    boolean overrideFileEntryTypes,
1090                    com.liferay.portal.service.ServiceContext serviceContext)
1091                    throws com.liferay.portal.kernel.exception.PortalException,
1092                            com.liferay.portal.kernel.exception.SystemException {
1093                    try {
1094                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
1095                                            "updateFolder", _updateFolderParameterTypes30);
1096    
1097                            MethodHandler methodHandler = new MethodHandler(methodKey,
1098                                            folderId, name, description, defaultFileEntryTypeId,
1099                                            fileEntryTypeIds, overrideFileEntryTypes, serviceContext);
1100    
1101                            Object returnObj = null;
1102    
1103                            try {
1104                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1105                            }
1106                            catch (Exception e) {
1107                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1108                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1109                                    }
1110    
1111                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1112                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1113                                    }
1114    
1115                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1116                            }
1117    
1118                            return (com.liferay.portlet.documentlibrary.model.DLFolder)returnObj;
1119                    }
1120                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1121                            _log.error(se, se);
1122    
1123                            throw se;
1124                    }
1125            }
1126    
1127            public static boolean verifyInheritableLock(HttpPrincipal httpPrincipal,
1128                    long folderId, java.lang.String lockUuid)
1129                    throws com.liferay.portal.kernel.exception.PortalException,
1130                            com.liferay.portal.kernel.exception.SystemException {
1131                    try {
1132                            MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
1133                                            "verifyInheritableLock",
1134                                            _verifyInheritableLockParameterTypes31);
1135    
1136                            MethodHandler methodHandler = new MethodHandler(methodKey,
1137                                            folderId, lockUuid);
1138    
1139                            Object returnObj = null;
1140    
1141                            try {
1142                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1143                            }
1144                            catch (Exception e) {
1145                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1146                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1147                                    }
1148    
1149                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1150                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1151                                    }
1152    
1153                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1154                            }
1155    
1156                            return ((Boolean)returnObj).booleanValue();
1157                    }
1158                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1159                            _log.error(se, se);
1160    
1161                            throw se;
1162                    }
1163            }
1164    
1165            private static Log _log = LogFactoryUtil.getLog(DLFolderServiceHttp.class);
1166            private static final Class<?>[] _addFolderParameterTypes0 = new Class[] {
1167                            long.class, long.class, boolean.class, long.class,
1168                            java.lang.String.class, java.lang.String.class,
1169                            com.liferay.portal.service.ServiceContext.class
1170                    };
1171            private static final Class<?>[] _deleteFolderParameterTypes1 = new Class[] {
1172                            long.class
1173                    };
1174            private static final Class<?>[] _deleteFolderParameterTypes2 = new Class[] {
1175                            long.class, long.class, java.lang.String.class
1176                    };
1177            private static final Class<?>[] _getFileEntriesAndFileShortcutsParameterTypes3 =
1178                    new Class[] { long.class, long.class, int.class, int.class, int.class };
1179            private static final Class<?>[] _getFileEntriesAndFileShortcutsCountParameterTypes4 =
1180                    new Class[] { long.class, long.class, int.class };
1181            private static final Class<?>[] _getFolderParameterTypes5 = new Class[] {
1182                            long.class
1183                    };
1184            private static final Class<?>[] _getFolderParameterTypes6 = new Class[] {
1185                            long.class, long.class, java.lang.String.class
1186                    };
1187            private static final Class<?>[] _getFolderIdsParameterTypes7 = new Class[] {
1188                            long.class, long.class
1189                    };
1190            private static final Class<?>[] _getFoldersParameterTypes8 = new Class[] {
1191                            long.class, long.class, boolean.class, int.class, int.class,
1192                            com.liferay.portal.kernel.util.OrderByComparator.class
1193                    };
1194            private static final Class<?>[] _getFoldersParameterTypes9 = new Class[] {
1195                            long.class, long.class, int.class, int.class,
1196                            com.liferay.portal.kernel.util.OrderByComparator.class
1197                    };
1198            private static final Class<?>[] _getFoldersAndFileEntriesAndFileShortcutsParameterTypes10 =
1199                    new Class[] {
1200                            long.class, long.class, int.class, boolean.class, int.class,
1201                            int.class, com.liferay.portal.kernel.util.OrderByComparator.class
1202                    };
1203            private static final Class<?>[] _getFoldersAndFileEntriesAndFileShortcutsParameterTypes11 =
1204                    new Class[] {
1205                            long.class, long.class, int.class, java.lang.String[].class,
1206                            boolean.class
1207                    };
1208            private static final Class<?>[] _getFoldersAndFileEntriesAndFileShortcutsParameterTypes12 =
1209                    new Class[] {
1210                            long.class, long.class, int.class, java.lang.String[].class,
1211                            boolean.class, int.class, int.class,
1212                            com.liferay.portal.kernel.util.OrderByComparator.class
1213                    };
1214            private static final Class<?>[] _getFoldersAndFileEntriesAndFileShortcutsCountParameterTypes13 =
1215                    new Class[] { long.class, long.class, int.class, boolean.class };
1216            private static final Class<?>[] _getFoldersAndFileEntriesAndFileShortcutsCountParameterTypes14 =
1217                    new Class[] {
1218                            long.class, long.class, int.class, java.lang.String[].class,
1219                            boolean.class
1220                    };
1221            private static final Class<?>[] _getFoldersCountParameterTypes15 = new Class[] {
1222                            long.class, long.class
1223                    };
1224            private static final Class<?>[] _getFoldersCountParameterTypes16 = new Class[] {
1225                            long.class, long.class, boolean.class
1226                    };
1227            private static final Class<?>[] _getMountFoldersParameterTypes17 = new Class[] {
1228                            long.class, long.class, int.class, int.class,
1229                            com.liferay.portal.kernel.util.OrderByComparator.class
1230                    };
1231            private static final Class<?>[] _getMountFoldersCountParameterTypes18 = new Class[] {
1232                            long.class, long.class
1233                    };
1234            private static final Class<?>[] _getSubfolderIdsParameterTypes19 = new Class[] {
1235                            java.util.List.class, long.class, long.class
1236                    };
1237            private static final Class<?>[] _getSubfolderIdsParameterTypes20 = new Class[] {
1238                            long.class, long.class, boolean.class
1239                    };
1240            private static final Class<?>[] _hasFolderLockParameterTypes21 = new Class[] {
1241                            long.class
1242                    };
1243            private static final Class<?>[] _hasInheritableLockParameterTypes22 = new Class[] {
1244                            long.class
1245                    };
1246            private static final Class<?>[] _isFolderLockedParameterTypes23 = new Class[] {
1247                            long.class
1248                    };
1249            private static final Class<?>[] _lockFolderParameterTypes24 = new Class[] {
1250                            long.class
1251                    };
1252            private static final Class<?>[] _lockFolderParameterTypes25 = new Class[] {
1253                            long.class, java.lang.String.class, boolean.class, long.class
1254                    };
1255            private static final Class<?>[] _moveFolderParameterTypes26 = new Class[] {
1256                            long.class, long.class,
1257                            com.liferay.portal.service.ServiceContext.class
1258                    };
1259            private static final Class<?>[] _refreshFolderLockParameterTypes27 = new Class[] {
1260                            java.lang.String.class, long.class
1261                    };
1262            private static final Class<?>[] _unlockFolderParameterTypes28 = new Class[] {
1263                            long.class, long.class, java.lang.String.class
1264                    };
1265            private static final Class<?>[] _unlockFolderParameterTypes29 = new Class[] {
1266                            long.class, long.class, java.lang.String.class,
1267                            java.lang.String.class
1268                    };
1269            private static final Class<?>[] _updateFolderParameterTypes30 = new Class[] {
1270                            long.class, java.lang.String.class, java.lang.String.class,
1271                            long.class, java.util.List.class, boolean.class,
1272                            com.liferay.portal.service.ServiceContext.class
1273                    };
1274            private static final Class<?>[] _verifyInheritableLockParameterTypes31 = new Class[] {
1275                            long.class, java.lang.String.class
1276                    };
1277    }