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