001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.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.DLAppServiceUtil;
025    
026    /**
027     * <p>
028     * This class provides a HTTP utility for the
029     * {@link com.liferay.portlet.documentlibrary.service.DLAppServiceUtil} 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       DLAppServiceSoap
052     * @see       com.liferay.portal.security.auth.HttpPrincipal
053     * @see       com.liferay.portlet.documentlibrary.service.DLAppServiceUtil
054     * @generated
055     */
056    public class DLAppServiceHttp {
057            public static com.liferay.portal.kernel.repository.model.FileEntry addFileEntry(
058                    HttpPrincipal httpPrincipal, long repositoryId, long folderId,
059                    java.lang.String sourceFileName, java.lang.String mimeType,
060                    java.lang.String title, java.lang.String description,
061                    java.lang.String changeLog, byte[] bytes,
062                    com.liferay.portal.service.ServiceContext serviceContext)
063                    throws com.liferay.portal.kernel.exception.PortalException,
064                            com.liferay.portal.kernel.exception.SystemException {
065                    try {
066                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
067                                            "addFileEntry", _addFileEntryParameterTypes0);
068    
069                            MethodHandler methodHandler = new MethodHandler(methodKey,
070                                            repositoryId, folderId, sourceFileName, mimeType, title,
071                                            description, changeLog, bytes, serviceContext);
072    
073                            Object returnObj = null;
074    
075                            try {
076                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
077                            }
078                            catch (Exception e) {
079                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
080                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
081                                    }
082    
083                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
084                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
085                                    }
086    
087                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
088                            }
089    
090                            return (com.liferay.portal.kernel.repository.model.FileEntry)returnObj;
091                    }
092                    catch (com.liferay.portal.kernel.exception.SystemException se) {
093                            _log.error(se, se);
094    
095                            throw se;
096                    }
097            }
098    
099            public static com.liferay.portal.kernel.repository.model.FileEntry addFileEntry(
100                    HttpPrincipal httpPrincipal, long repositoryId, long folderId,
101                    java.lang.String sourceFileName, java.lang.String mimeType,
102                    java.lang.String title, java.lang.String description,
103                    java.lang.String changeLog, java.io.File file,
104                    com.liferay.portal.service.ServiceContext serviceContext)
105                    throws com.liferay.portal.kernel.exception.PortalException,
106                            com.liferay.portal.kernel.exception.SystemException {
107                    try {
108                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
109                                            "addFileEntry", _addFileEntryParameterTypes1);
110    
111                            MethodHandler methodHandler = new MethodHandler(methodKey,
112                                            repositoryId, folderId, sourceFileName, mimeType, title,
113                                            description, changeLog, file, serviceContext);
114    
115                            Object returnObj = null;
116    
117                            try {
118                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
119                            }
120                            catch (Exception e) {
121                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
122                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
123                                    }
124    
125                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
126                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
127                                    }
128    
129                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
130                            }
131    
132                            return (com.liferay.portal.kernel.repository.model.FileEntry)returnObj;
133                    }
134                    catch (com.liferay.portal.kernel.exception.SystemException se) {
135                            _log.error(se, se);
136    
137                            throw se;
138                    }
139            }
140    
141            public static com.liferay.portal.kernel.repository.model.FileEntry addFileEntry(
142                    HttpPrincipal httpPrincipal, long repositoryId, long folderId,
143                    java.lang.String sourceFileName, java.lang.String mimeType,
144                    java.lang.String title, java.lang.String description,
145                    java.lang.String changeLog, java.io.InputStream is, long size,
146                    com.liferay.portal.service.ServiceContext serviceContext)
147                    throws com.liferay.portal.kernel.exception.PortalException,
148                            com.liferay.portal.kernel.exception.SystemException {
149                    try {
150                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
151                                            "addFileEntry", _addFileEntryParameterTypes2);
152    
153                            MethodHandler methodHandler = new MethodHandler(methodKey,
154                                            repositoryId, folderId, sourceFileName, mimeType, title,
155                                            description, changeLog, is, size, serviceContext);
156    
157                            Object returnObj = null;
158    
159                            try {
160                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
161                            }
162                            catch (Exception e) {
163                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
164                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
165                                    }
166    
167                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
168                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
169                                    }
170    
171                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
172                            }
173    
174                            return (com.liferay.portal.kernel.repository.model.FileEntry)returnObj;
175                    }
176                    catch (com.liferay.portal.kernel.exception.SystemException se) {
177                            _log.error(se, se);
178    
179                            throw se;
180                    }
181            }
182    
183            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
184                    HttpPrincipal httpPrincipal, long repositoryId, long folderId,
185                    long toFileEntryId,
186                    com.liferay.portal.service.ServiceContext serviceContext)
187                    throws com.liferay.portal.kernel.exception.PortalException,
188                            com.liferay.portal.kernel.exception.SystemException {
189                    try {
190                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
191                                            "addFileShortcut", _addFileShortcutParameterTypes3);
192    
193                            MethodHandler methodHandler = new MethodHandler(methodKey,
194                                            repositoryId, folderId, toFileEntryId, serviceContext);
195    
196                            Object returnObj = null;
197    
198                            try {
199                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
200                            }
201                            catch (Exception e) {
202                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
203                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
204                                    }
205    
206                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
207                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
208                                    }
209    
210                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
211                            }
212    
213                            return (com.liferay.portlet.documentlibrary.model.DLFileShortcut)returnObj;
214                    }
215                    catch (com.liferay.portal.kernel.exception.SystemException se) {
216                            _log.error(se, se);
217    
218                            throw se;
219                    }
220            }
221    
222            public static com.liferay.portal.kernel.repository.model.Folder addFolder(
223                    HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId,
224                    java.lang.String name, java.lang.String description,
225                    com.liferay.portal.service.ServiceContext serviceContext)
226                    throws com.liferay.portal.kernel.exception.PortalException,
227                            com.liferay.portal.kernel.exception.SystemException {
228                    try {
229                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
230                                            "addFolder", _addFolderParameterTypes4);
231    
232                            MethodHandler methodHandler = new MethodHandler(methodKey,
233                                            repositoryId, parentFolderId, name, description,
234                                            serviceContext);
235    
236                            Object returnObj = null;
237    
238                            try {
239                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
240                            }
241                            catch (Exception e) {
242                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
243                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
244                                    }
245    
246                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
247                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
248                                    }
249    
250                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
251                            }
252    
253                            return (com.liferay.portal.kernel.repository.model.Folder)returnObj;
254                    }
255                    catch (com.liferay.portal.kernel.exception.SystemException se) {
256                            _log.error(se, se);
257    
258                            throw se;
259                    }
260            }
261    
262            public static java.lang.String addTempFileEntry(
263                    HttpPrincipal httpPrincipal, long groupId, long folderId,
264                    java.lang.String fileName, java.lang.String tempFolderName,
265                    java.io.File file)
266                    throws com.liferay.portal.kernel.exception.PortalException,
267                            com.liferay.portal.kernel.exception.SystemException,
268                            java.io.IOException {
269                    try {
270                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
271                                            "addTempFileEntry", _addTempFileEntryParameterTypes5);
272    
273                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
274                                            folderId, fileName, tempFolderName, file);
275    
276                            Object returnObj = null;
277    
278                            try {
279                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
280                            }
281                            catch (Exception e) {
282                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
283                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
284                                    }
285    
286                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
287                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
288                                    }
289    
290                                    if (e instanceof java.io.IOException) {
291                                            throw (java.io.IOException)e;
292                                    }
293    
294                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
295                            }
296    
297                            return (java.lang.String)returnObj;
298                    }
299                    catch (com.liferay.portal.kernel.exception.SystemException se) {
300                            _log.error(se, se);
301    
302                            throw se;
303                    }
304            }
305    
306            public static java.lang.String addTempFileEntry(
307                    HttpPrincipal httpPrincipal, long groupId, long folderId,
308                    java.lang.String fileName, java.lang.String tempFolderName,
309                    java.io.InputStream inputStream)
310                    throws com.liferay.portal.kernel.exception.PortalException,
311                            com.liferay.portal.kernel.exception.SystemException {
312                    try {
313                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
314                                            "addTempFileEntry", _addTempFileEntryParameterTypes6);
315    
316                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
317                                            folderId, fileName, tempFolderName, inputStream);
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                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
330                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
331                                    }
332    
333                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
334                            }
335    
336                            return (java.lang.String)returnObj;
337                    }
338                    catch (com.liferay.portal.kernel.exception.SystemException se) {
339                            _log.error(se, se);
340    
341                            throw se;
342                    }
343            }
344    
345            public static void cancelCheckOut(HttpPrincipal httpPrincipal,
346                    long fileEntryId)
347                    throws com.liferay.portal.kernel.exception.PortalException,
348                            com.liferay.portal.kernel.exception.SystemException {
349                    try {
350                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
351                                            "cancelCheckOut", _cancelCheckOutParameterTypes7);
352    
353                            MethodHandler methodHandler = new MethodHandler(methodKey,
354                                            fileEntryId);
355    
356                            try {
357                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
358                            }
359                            catch (Exception e) {
360                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
361                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
362                                    }
363    
364                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
365                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
366                                    }
367    
368                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
369                            }
370                    }
371                    catch (com.liferay.portal.kernel.exception.SystemException se) {
372                            _log.error(se, se);
373    
374                            throw se;
375                    }
376            }
377    
378            public static void checkInFileEntry(HttpPrincipal httpPrincipal,
379                    long fileEntryId, boolean majorVersion, java.lang.String changeLog,
380                    com.liferay.portal.service.ServiceContext serviceContext)
381                    throws com.liferay.portal.kernel.exception.PortalException,
382                            com.liferay.portal.kernel.exception.SystemException {
383                    try {
384                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
385                                            "checkInFileEntry", _checkInFileEntryParameterTypes8);
386    
387                            MethodHandler methodHandler = new MethodHandler(methodKey,
388                                            fileEntryId, majorVersion, changeLog, serviceContext);
389    
390                            try {
391                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
392                            }
393                            catch (Exception e) {
394                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
395                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
396                                    }
397    
398                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
399                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
400                                    }
401    
402                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
403                            }
404                    }
405                    catch (com.liferay.portal.kernel.exception.SystemException se) {
406                            _log.error(se, se);
407    
408                            throw se;
409                    }
410            }
411    
412            public static void checkInFileEntry(HttpPrincipal httpPrincipal,
413                    long fileEntryId, java.lang.String lockUuid)
414                    throws com.liferay.portal.kernel.exception.PortalException,
415                            com.liferay.portal.kernel.exception.SystemException {
416                    try {
417                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
418                                            "checkInFileEntry", _checkInFileEntryParameterTypes9);
419    
420                            MethodHandler methodHandler = new MethodHandler(methodKey,
421                                            fileEntryId, lockUuid);
422    
423                            try {
424                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
425                            }
426                            catch (Exception e) {
427                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
428                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
429                                    }
430    
431                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
432                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
433                                    }
434    
435                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
436                            }
437                    }
438                    catch (com.liferay.portal.kernel.exception.SystemException se) {
439                            _log.error(se, se);
440    
441                            throw se;
442                    }
443            }
444    
445            public static void checkInFileEntry(HttpPrincipal httpPrincipal,
446                    long fileEntryId, java.lang.String lockUuid,
447                    com.liferay.portal.service.ServiceContext serviceContext)
448                    throws com.liferay.portal.kernel.exception.PortalException,
449                            com.liferay.portal.kernel.exception.SystemException {
450                    try {
451                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
452                                            "checkInFileEntry", _checkInFileEntryParameterTypes10);
453    
454                            MethodHandler methodHandler = new MethodHandler(methodKey,
455                                            fileEntryId, lockUuid, serviceContext);
456    
457                            try {
458                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
459                            }
460                            catch (Exception e) {
461                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
462                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
463                                    }
464    
465                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
466                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
467                                    }
468    
469                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
470                            }
471                    }
472                    catch (com.liferay.portal.kernel.exception.SystemException se) {
473                            _log.error(se, se);
474    
475                            throw se;
476                    }
477            }
478    
479            public static void checkOutFileEntry(HttpPrincipal httpPrincipal,
480                    long fileEntryId,
481                    com.liferay.portal.service.ServiceContext serviceContext)
482                    throws com.liferay.portal.kernel.exception.PortalException,
483                            com.liferay.portal.kernel.exception.SystemException {
484                    try {
485                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
486                                            "checkOutFileEntry", _checkOutFileEntryParameterTypes11);
487    
488                            MethodHandler methodHandler = new MethodHandler(methodKey,
489                                            fileEntryId, serviceContext);
490    
491                            try {
492                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
493                            }
494                            catch (Exception e) {
495                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
496                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
497                                    }
498    
499                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
500                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
501                                    }
502    
503                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
504                            }
505                    }
506                    catch (com.liferay.portal.kernel.exception.SystemException se) {
507                            _log.error(se, se);
508    
509                            throw se;
510                    }
511            }
512    
513            public static com.liferay.portal.kernel.repository.model.FileEntry checkOutFileEntry(
514                    HttpPrincipal httpPrincipal, long fileEntryId, java.lang.String owner,
515                    long expirationTime,
516                    com.liferay.portal.service.ServiceContext serviceContext)
517                    throws com.liferay.portal.kernel.exception.PortalException,
518                            com.liferay.portal.kernel.exception.SystemException {
519                    try {
520                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
521                                            "checkOutFileEntry", _checkOutFileEntryParameterTypes12);
522    
523                            MethodHandler methodHandler = new MethodHandler(methodKey,
524                                            fileEntryId, owner, expirationTime, serviceContext);
525    
526                            Object returnObj = null;
527    
528                            try {
529                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
530                            }
531                            catch (Exception e) {
532                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
533                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
534                                    }
535    
536                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
537                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
538                                    }
539    
540                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
541                            }
542    
543                            return (com.liferay.portal.kernel.repository.model.FileEntry)returnObj;
544                    }
545                    catch (com.liferay.portal.kernel.exception.SystemException se) {
546                            _log.error(se, se);
547    
548                            throw se;
549                    }
550            }
551    
552            public static com.liferay.portal.kernel.repository.model.Folder copyFolder(
553                    HttpPrincipal httpPrincipal, long repositoryId, long sourceFolderId,
554                    long parentFolderId, java.lang.String name,
555                    java.lang.String description,
556                    com.liferay.portal.service.ServiceContext serviceContext)
557                    throws com.liferay.portal.kernel.exception.PortalException,
558                            com.liferay.portal.kernel.exception.SystemException {
559                    try {
560                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
561                                            "copyFolder", _copyFolderParameterTypes13);
562    
563                            MethodHandler methodHandler = new MethodHandler(methodKey,
564                                            repositoryId, sourceFolderId, parentFolderId, name,
565                                            description, serviceContext);
566    
567                            Object returnObj = null;
568    
569                            try {
570                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
571                            }
572                            catch (Exception e) {
573                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
574                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
575                                    }
576    
577                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
578                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
579                                    }
580    
581                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
582                            }
583    
584                            return (com.liferay.portal.kernel.repository.model.Folder)returnObj;
585                    }
586                    catch (com.liferay.portal.kernel.exception.SystemException se) {
587                            _log.error(se, se);
588    
589                            throw se;
590                    }
591            }
592    
593            public static void deleteFileEntry(HttpPrincipal httpPrincipal,
594                    long fileEntryId)
595                    throws com.liferay.portal.kernel.exception.PortalException,
596                            com.liferay.portal.kernel.exception.SystemException {
597                    try {
598                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
599                                            "deleteFileEntry", _deleteFileEntryParameterTypes14);
600    
601                            MethodHandler methodHandler = new MethodHandler(methodKey,
602                                            fileEntryId);
603    
604                            try {
605                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
606                            }
607                            catch (Exception e) {
608                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
609                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
610                                    }
611    
612                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
613                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
614                                    }
615    
616                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
617                            }
618                    }
619                    catch (com.liferay.portal.kernel.exception.SystemException se) {
620                            _log.error(se, se);
621    
622                            throw se;
623                    }
624            }
625    
626            public static void deleteFileEntryByTitle(HttpPrincipal httpPrincipal,
627                    long repositoryId, long folderId, java.lang.String title)
628                    throws com.liferay.portal.kernel.exception.PortalException,
629                            com.liferay.portal.kernel.exception.SystemException {
630                    try {
631                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
632                                            "deleteFileEntryByTitle",
633                                            _deleteFileEntryByTitleParameterTypes15);
634    
635                            MethodHandler methodHandler = new MethodHandler(methodKey,
636                                            repositoryId, folderId, title);
637    
638                            try {
639                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
640                            }
641                            catch (Exception e) {
642                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
643                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
644                                    }
645    
646                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
647                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
648                                    }
649    
650                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
651                            }
652                    }
653                    catch (com.liferay.portal.kernel.exception.SystemException se) {
654                            _log.error(se, se);
655    
656                            throw se;
657                    }
658            }
659    
660            public static void deleteFileShortcut(HttpPrincipal httpPrincipal,
661                    long fileShortcutId)
662                    throws com.liferay.portal.kernel.exception.PortalException,
663                            com.liferay.portal.kernel.exception.SystemException {
664                    try {
665                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
666                                            "deleteFileShortcut", _deleteFileShortcutParameterTypes16);
667    
668                            MethodHandler methodHandler = new MethodHandler(methodKey,
669                                            fileShortcutId);
670    
671                            try {
672                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
673                            }
674                            catch (Exception e) {
675                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
676                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
677                                    }
678    
679                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
680                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
681                                    }
682    
683                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
684                            }
685                    }
686                    catch (com.liferay.portal.kernel.exception.SystemException se) {
687                            _log.error(se, se);
688    
689                            throw se;
690                    }
691            }
692    
693            public static void deleteFileVersion(HttpPrincipal httpPrincipal,
694                    long fileEntryId, java.lang.String version)
695                    throws com.liferay.portal.kernel.exception.PortalException,
696                            com.liferay.portal.kernel.exception.SystemException {
697                    try {
698                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
699                                            "deleteFileVersion", _deleteFileVersionParameterTypes17);
700    
701                            MethodHandler methodHandler = new MethodHandler(methodKey,
702                                            fileEntryId, version);
703    
704                            try {
705                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
706                            }
707                            catch (Exception e) {
708                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
709                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
710                                    }
711    
712                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
713                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
714                                    }
715    
716                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
717                            }
718                    }
719                    catch (com.liferay.portal.kernel.exception.SystemException se) {
720                            _log.error(se, se);
721    
722                            throw se;
723                    }
724            }
725    
726            public static void deleteFolder(HttpPrincipal httpPrincipal, long folderId)
727                    throws com.liferay.portal.kernel.exception.PortalException,
728                            com.liferay.portal.kernel.exception.SystemException {
729                    try {
730                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
731                                            "deleteFolder", _deleteFolderParameterTypes18);
732    
733                            MethodHandler methodHandler = new MethodHandler(methodKey, folderId);
734    
735                            try {
736                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
737                            }
738                            catch (Exception e) {
739                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
740                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
741                                    }
742    
743                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
744                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
745                                    }
746    
747                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
748                            }
749                    }
750                    catch (com.liferay.portal.kernel.exception.SystemException se) {
751                            _log.error(se, se);
752    
753                            throw se;
754                    }
755            }
756    
757            public static void deleteFolder(HttpPrincipal httpPrincipal,
758                    long repositoryId, long parentFolderId, java.lang.String name)
759                    throws com.liferay.portal.kernel.exception.PortalException,
760                            com.liferay.portal.kernel.exception.SystemException {
761                    try {
762                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
763                                            "deleteFolder", _deleteFolderParameterTypes19);
764    
765                            MethodHandler methodHandler = new MethodHandler(methodKey,
766                                            repositoryId, parentFolderId, name);
767    
768                            try {
769                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
770                            }
771                            catch (Exception e) {
772                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
773                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
774                                    }
775    
776                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
777                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
778                                    }
779    
780                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
781                            }
782                    }
783                    catch (com.liferay.portal.kernel.exception.SystemException se) {
784                            _log.error(se, se);
785    
786                            throw se;
787                    }
788            }
789    
790            public static void deleteTempFileEntry(HttpPrincipal httpPrincipal,
791                    long groupId, long folderId, java.lang.String fileName,
792                    java.lang.String tempFolderName)
793                    throws com.liferay.portal.kernel.exception.PortalException,
794                            com.liferay.portal.kernel.exception.SystemException {
795                    try {
796                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
797                                            "deleteTempFileEntry", _deleteTempFileEntryParameterTypes20);
798    
799                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
800                                            folderId, fileName, tempFolderName);
801    
802                            try {
803                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
804                            }
805                            catch (Exception e) {
806                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
807                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
808                                    }
809    
810                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
811                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
812                                    }
813    
814                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
815                            }
816                    }
817                    catch (com.liferay.portal.kernel.exception.SystemException se) {
818                            _log.error(se, se);
819    
820                            throw se;
821                    }
822            }
823    
824            public static java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(
825                    HttpPrincipal httpPrincipal, long repositoryId, long folderId)
826                    throws com.liferay.portal.kernel.exception.PortalException,
827                            com.liferay.portal.kernel.exception.SystemException {
828                    try {
829                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
830                                            "getFileEntries", _getFileEntriesParameterTypes21);
831    
832                            MethodHandler methodHandler = new MethodHandler(methodKey,
833                                            repositoryId, folderId);
834    
835                            Object returnObj = null;
836    
837                            try {
838                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
839                            }
840                            catch (Exception e) {
841                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
842                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
843                                    }
844    
845                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
846                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
847                                    }
848    
849                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
850                            }
851    
852                            return (java.util.List<com.liferay.portal.kernel.repository.model.FileEntry>)returnObj;
853                    }
854                    catch (com.liferay.portal.kernel.exception.SystemException se) {
855                            _log.error(se, se);
856    
857                            throw se;
858                    }
859            }
860    
861            public static java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(
862                    HttpPrincipal httpPrincipal, long repositoryId, long folderId,
863                    int start, int end)
864                    throws com.liferay.portal.kernel.exception.PortalException,
865                            com.liferay.portal.kernel.exception.SystemException {
866                    try {
867                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
868                                            "getFileEntries", _getFileEntriesParameterTypes22);
869    
870                            MethodHandler methodHandler = new MethodHandler(methodKey,
871                                            repositoryId, folderId, start, end);
872    
873                            Object returnObj = null;
874    
875                            try {
876                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
877                            }
878                            catch (Exception e) {
879                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
880                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
881                                    }
882    
883                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
884                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
885                                    }
886    
887                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
888                            }
889    
890                            return (java.util.List<com.liferay.portal.kernel.repository.model.FileEntry>)returnObj;
891                    }
892                    catch (com.liferay.portal.kernel.exception.SystemException se) {
893                            _log.error(se, se);
894    
895                            throw se;
896                    }
897            }
898    
899            public static java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(
900                    HttpPrincipal httpPrincipal, long repositoryId, long folderId,
901                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
902                    throws com.liferay.portal.kernel.exception.PortalException,
903                            com.liferay.portal.kernel.exception.SystemException {
904                    try {
905                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
906                                            "getFileEntries", _getFileEntriesParameterTypes23);
907    
908                            MethodHandler methodHandler = new MethodHandler(methodKey,
909                                            repositoryId, folderId, start, end, obc);
910    
911                            Object returnObj = null;
912    
913                            try {
914                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
915                            }
916                            catch (Exception e) {
917                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
918                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
919                                    }
920    
921                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
922                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
923                                    }
924    
925                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
926                            }
927    
928                            return (java.util.List<com.liferay.portal.kernel.repository.model.FileEntry>)returnObj;
929                    }
930                    catch (com.liferay.portal.kernel.exception.SystemException se) {
931                            _log.error(se, se);
932    
933                            throw se;
934                    }
935            }
936    
937            public static java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(
938                    HttpPrincipal httpPrincipal, long repositoryId, long folderId,
939                    long fileEntryTypeId)
940                    throws com.liferay.portal.kernel.exception.PortalException,
941                            com.liferay.portal.kernel.exception.SystemException {
942                    try {
943                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
944                                            "getFileEntries", _getFileEntriesParameterTypes24);
945    
946                            MethodHandler methodHandler = new MethodHandler(methodKey,
947                                            repositoryId, folderId, fileEntryTypeId);
948    
949                            Object returnObj = null;
950    
951                            try {
952                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
953                            }
954                            catch (Exception e) {
955                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
956                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
957                                    }
958    
959                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
960                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
961                                    }
962    
963                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
964                            }
965    
966                            return (java.util.List<com.liferay.portal.kernel.repository.model.FileEntry>)returnObj;
967                    }
968                    catch (com.liferay.portal.kernel.exception.SystemException se) {
969                            _log.error(se, se);
970    
971                            throw se;
972                    }
973            }
974    
975            public static java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(
976                    HttpPrincipal httpPrincipal, long repositoryId, long folderId,
977                    long fileEntryTypeId, int start, int end)
978                    throws com.liferay.portal.kernel.exception.PortalException,
979                            com.liferay.portal.kernel.exception.SystemException {
980                    try {
981                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
982                                            "getFileEntries", _getFileEntriesParameterTypes25);
983    
984                            MethodHandler methodHandler = new MethodHandler(methodKey,
985                                            repositoryId, folderId, fileEntryTypeId, start, end);
986    
987                            Object returnObj = null;
988    
989                            try {
990                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
991                            }
992                            catch (Exception e) {
993                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
994                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
995                                    }
996    
997                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
998                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
999                                    }
1000    
1001                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1002                            }
1003    
1004                            return (java.util.List<com.liferay.portal.kernel.repository.model.FileEntry>)returnObj;
1005                    }
1006                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1007                            _log.error(se, se);
1008    
1009                            throw se;
1010                    }
1011            }
1012    
1013            public static java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(
1014                    HttpPrincipal httpPrincipal, long repositoryId, long folderId,
1015                    long fileEntryTypeId, int start, int end,
1016                    com.liferay.portal.kernel.util.OrderByComparator obc)
1017                    throws com.liferay.portal.kernel.exception.PortalException,
1018                            com.liferay.portal.kernel.exception.SystemException {
1019                    try {
1020                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1021                                            "getFileEntries", _getFileEntriesParameterTypes26);
1022    
1023                            MethodHandler methodHandler = new MethodHandler(methodKey,
1024                                            repositoryId, folderId, fileEntryTypeId, start, end, obc);
1025    
1026                            Object returnObj = null;
1027    
1028                            try {
1029                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1030                            }
1031                            catch (Exception e) {
1032                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1033                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1034                                    }
1035    
1036                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1037                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1038                                    }
1039    
1040                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1041                            }
1042    
1043                            return (java.util.List<com.liferay.portal.kernel.repository.model.FileEntry>)returnObj;
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 java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
1053                    HttpPrincipal httpPrincipal, long repositoryId, long folderId,
1054                    int status, int start, int end)
1055                    throws com.liferay.portal.kernel.exception.PortalException,
1056                            com.liferay.portal.kernel.exception.SystemException {
1057                    try {
1058                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1059                                            "getFileEntriesAndFileShortcuts",
1060                                            _getFileEntriesAndFileShortcutsParameterTypes27);
1061    
1062                            MethodHandler methodHandler = new MethodHandler(methodKey,
1063                                            repositoryId, folderId, status, start, end);
1064    
1065                            Object returnObj = null;
1066    
1067                            try {
1068                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1069                            }
1070                            catch (Exception e) {
1071                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1072                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1073                                    }
1074    
1075                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1076                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1077                                    }
1078    
1079                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1080                            }
1081    
1082                            return (java.util.List<java.lang.Object>)returnObj;
1083                    }
1084                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1085                            _log.error(se, se);
1086    
1087                            throw se;
1088                    }
1089            }
1090    
1091            public static int getFileEntriesAndFileShortcutsCount(
1092                    HttpPrincipal httpPrincipal, long repositoryId, long folderId,
1093                    int status)
1094                    throws com.liferay.portal.kernel.exception.PortalException,
1095                            com.liferay.portal.kernel.exception.SystemException {
1096                    try {
1097                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1098                                            "getFileEntriesAndFileShortcutsCount",
1099                                            _getFileEntriesAndFileShortcutsCountParameterTypes28);
1100    
1101                            MethodHandler methodHandler = new MethodHandler(methodKey,
1102                                            repositoryId, folderId, status);
1103    
1104                            Object returnObj = null;
1105    
1106                            try {
1107                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1108                            }
1109                            catch (Exception e) {
1110                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1111                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1112                                    }
1113    
1114                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1115                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1116                                    }
1117    
1118                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1119                            }
1120    
1121                            return ((Integer)returnObj).intValue();
1122                    }
1123                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1124                            _log.error(se, se);
1125    
1126                            throw se;
1127                    }
1128            }
1129    
1130            public static int getFileEntriesAndFileShortcutsCount(
1131                    HttpPrincipal httpPrincipal, long repositoryId, long folderId,
1132                    int status, java.lang.String[] mimeTypes)
1133                    throws com.liferay.portal.kernel.exception.PortalException,
1134                            com.liferay.portal.kernel.exception.SystemException {
1135                    try {
1136                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1137                                            "getFileEntriesAndFileShortcutsCount",
1138                                            _getFileEntriesAndFileShortcutsCountParameterTypes29);
1139    
1140                            MethodHandler methodHandler = new MethodHandler(methodKey,
1141                                            repositoryId, folderId, status, mimeTypes);
1142    
1143                            Object returnObj = null;
1144    
1145                            try {
1146                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1147                            }
1148                            catch (Exception e) {
1149                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1150                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1151                                    }
1152    
1153                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1154                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1155                                    }
1156    
1157                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1158                            }
1159    
1160                            return ((Integer)returnObj).intValue();
1161                    }
1162                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1163                            _log.error(se, se);
1164    
1165                            throw se;
1166                    }
1167            }
1168    
1169            public static int getFileEntriesCount(HttpPrincipal httpPrincipal,
1170                    long repositoryId, long folderId)
1171                    throws com.liferay.portal.kernel.exception.PortalException,
1172                            com.liferay.portal.kernel.exception.SystemException {
1173                    try {
1174                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1175                                            "getFileEntriesCount", _getFileEntriesCountParameterTypes30);
1176    
1177                            MethodHandler methodHandler = new MethodHandler(methodKey,
1178                                            repositoryId, folderId);
1179    
1180                            Object returnObj = null;
1181    
1182                            try {
1183                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1184                            }
1185                            catch (Exception e) {
1186                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1187                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1188                                    }
1189    
1190                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1191                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1192                                    }
1193    
1194                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1195                            }
1196    
1197                            return ((Integer)returnObj).intValue();
1198                    }
1199                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1200                            _log.error(se, se);
1201    
1202                            throw se;
1203                    }
1204            }
1205    
1206            public static int getFileEntriesCount(HttpPrincipal httpPrincipal,
1207                    long repositoryId, long folderId, long fileEntryTypeId)
1208                    throws com.liferay.portal.kernel.exception.PortalException,
1209                            com.liferay.portal.kernel.exception.SystemException {
1210                    try {
1211                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1212                                            "getFileEntriesCount", _getFileEntriesCountParameterTypes31);
1213    
1214                            MethodHandler methodHandler = new MethodHandler(methodKey,
1215                                            repositoryId, folderId, fileEntryTypeId);
1216    
1217                            Object returnObj = null;
1218    
1219                            try {
1220                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1221                            }
1222                            catch (Exception e) {
1223                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1224                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1225                                    }
1226    
1227                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1228                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1229                                    }
1230    
1231                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1232                            }
1233    
1234                            return ((Integer)returnObj).intValue();
1235                    }
1236                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1237                            _log.error(se, se);
1238    
1239                            throw se;
1240                    }
1241            }
1242    
1243            public static com.liferay.portal.kernel.repository.model.FileEntry getFileEntry(
1244                    HttpPrincipal httpPrincipal, long fileEntryId)
1245                    throws com.liferay.portal.kernel.exception.PortalException,
1246                            com.liferay.portal.kernel.exception.SystemException {
1247                    try {
1248                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1249                                            "getFileEntry", _getFileEntryParameterTypes32);
1250    
1251                            MethodHandler methodHandler = new MethodHandler(methodKey,
1252                                            fileEntryId);
1253    
1254                            Object returnObj = null;
1255    
1256                            try {
1257                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1258                            }
1259                            catch (Exception e) {
1260                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1261                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1262                                    }
1263    
1264                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1265                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1266                                    }
1267    
1268                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1269                            }
1270    
1271                            return (com.liferay.portal.kernel.repository.model.FileEntry)returnObj;
1272                    }
1273                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1274                            _log.error(se, se);
1275    
1276                            throw se;
1277                    }
1278            }
1279    
1280            public static com.liferay.portal.kernel.repository.model.FileEntry getFileEntry(
1281                    HttpPrincipal httpPrincipal, long groupId, long folderId,
1282                    java.lang.String title)
1283                    throws com.liferay.portal.kernel.exception.PortalException,
1284                            com.liferay.portal.kernel.exception.SystemException {
1285                    try {
1286                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1287                                            "getFileEntry", _getFileEntryParameterTypes33);
1288    
1289                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1290                                            folderId, title);
1291    
1292                            Object returnObj = null;
1293    
1294                            try {
1295                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1296                            }
1297                            catch (Exception e) {
1298                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1299                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1300                                    }
1301    
1302                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1303                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1304                                    }
1305    
1306                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1307                            }
1308    
1309                            return (com.liferay.portal.kernel.repository.model.FileEntry)returnObj;
1310                    }
1311                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1312                            _log.error(se, se);
1313    
1314                            throw se;
1315                    }
1316            }
1317    
1318            public static com.liferay.portal.kernel.repository.model.FileEntry getFileEntryByUuidAndGroupId(
1319                    HttpPrincipal httpPrincipal, java.lang.String uuid, long groupId)
1320                    throws com.liferay.portal.kernel.exception.PortalException,
1321                            com.liferay.portal.kernel.exception.SystemException {
1322                    try {
1323                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1324                                            "getFileEntryByUuidAndGroupId",
1325                                            _getFileEntryByUuidAndGroupIdParameterTypes34);
1326    
1327                            MethodHandler methodHandler = new MethodHandler(methodKey, uuid,
1328                                            groupId);
1329    
1330                            Object returnObj = null;
1331    
1332                            try {
1333                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1334                            }
1335                            catch (Exception e) {
1336                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1337                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1338                                    }
1339    
1340                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1341                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1342                                    }
1343    
1344                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1345                            }
1346    
1347                            return (com.liferay.portal.kernel.repository.model.FileEntry)returnObj;
1348                    }
1349                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1350                            _log.error(se, se);
1351    
1352                            throw se;
1353                    }
1354            }
1355    
1356            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
1357                    HttpPrincipal httpPrincipal, long fileShortcutId)
1358                    throws com.liferay.portal.kernel.exception.PortalException,
1359                            com.liferay.portal.kernel.exception.SystemException {
1360                    try {
1361                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1362                                            "getFileShortcut", _getFileShortcutParameterTypes35);
1363    
1364                            MethodHandler methodHandler = new MethodHandler(methodKey,
1365                                            fileShortcutId);
1366    
1367                            Object returnObj = null;
1368    
1369                            try {
1370                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1371                            }
1372                            catch (Exception e) {
1373                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1374                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1375                                    }
1376    
1377                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1378                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1379                                    }
1380    
1381                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1382                            }
1383    
1384                            return (com.liferay.portlet.documentlibrary.model.DLFileShortcut)returnObj;
1385                    }
1386                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1387                            _log.error(se, se);
1388    
1389                            throw se;
1390                    }
1391            }
1392    
1393            public static com.liferay.portal.kernel.repository.model.Folder getFolder(
1394                    HttpPrincipal httpPrincipal, long folderId)
1395                    throws com.liferay.portal.kernel.exception.PortalException,
1396                            com.liferay.portal.kernel.exception.SystemException {
1397                    try {
1398                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1399                                            "getFolder", _getFolderParameterTypes36);
1400    
1401                            MethodHandler methodHandler = new MethodHandler(methodKey, folderId);
1402    
1403                            Object returnObj = null;
1404    
1405                            try {
1406                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1407                            }
1408                            catch (Exception e) {
1409                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1410                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1411                                    }
1412    
1413                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1414                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1415                                    }
1416    
1417                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1418                            }
1419    
1420                            return (com.liferay.portal.kernel.repository.model.Folder)returnObj;
1421                    }
1422                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1423                            _log.error(se, se);
1424    
1425                            throw se;
1426                    }
1427            }
1428    
1429            public static com.liferay.portal.kernel.repository.model.Folder getFolder(
1430                    HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId,
1431                    java.lang.String name)
1432                    throws com.liferay.portal.kernel.exception.PortalException,
1433                            com.liferay.portal.kernel.exception.SystemException {
1434                    try {
1435                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1436                                            "getFolder", _getFolderParameterTypes37);
1437    
1438                            MethodHandler methodHandler = new MethodHandler(methodKey,
1439                                            repositoryId, parentFolderId, name);
1440    
1441                            Object returnObj = null;
1442    
1443                            try {
1444                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1445                            }
1446                            catch (Exception e) {
1447                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1448                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1449                                    }
1450    
1451                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1452                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1453                                    }
1454    
1455                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1456                            }
1457    
1458                            return (com.liferay.portal.kernel.repository.model.Folder)returnObj;
1459                    }
1460                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1461                            _log.error(se, se);
1462    
1463                            throw se;
1464                    }
1465            }
1466    
1467            public static java.util.List<com.liferay.portal.kernel.repository.model.Folder> getFolders(
1468                    HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId)
1469                    throws com.liferay.portal.kernel.exception.PortalException,
1470                            com.liferay.portal.kernel.exception.SystemException {
1471                    try {
1472                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1473                                            "getFolders", _getFoldersParameterTypes38);
1474    
1475                            MethodHandler methodHandler = new MethodHandler(methodKey,
1476                                            repositoryId, parentFolderId);
1477    
1478                            Object returnObj = null;
1479    
1480                            try {
1481                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1482                            }
1483                            catch (Exception e) {
1484                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1485                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1486                                    }
1487    
1488                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1489                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1490                                    }
1491    
1492                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1493                            }
1494    
1495                            return (java.util.List<com.liferay.portal.kernel.repository.model.Folder>)returnObj;
1496                    }
1497                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1498                            _log.error(se, se);
1499    
1500                            throw se;
1501                    }
1502            }
1503    
1504            public static java.util.List<com.liferay.portal.kernel.repository.model.Folder> getFolders(
1505                    HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId,
1506                    boolean includeMountFolders)
1507                    throws com.liferay.portal.kernel.exception.PortalException,
1508                            com.liferay.portal.kernel.exception.SystemException {
1509                    try {
1510                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1511                                            "getFolders", _getFoldersParameterTypes39);
1512    
1513                            MethodHandler methodHandler = new MethodHandler(methodKey,
1514                                            repositoryId, parentFolderId, includeMountFolders);
1515    
1516                            Object returnObj = null;
1517    
1518                            try {
1519                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1520                            }
1521                            catch (Exception e) {
1522                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1523                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1524                                    }
1525    
1526                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1527                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1528                                    }
1529    
1530                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1531                            }
1532    
1533                            return (java.util.List<com.liferay.portal.kernel.repository.model.Folder>)returnObj;
1534                    }
1535                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1536                            _log.error(se, se);
1537    
1538                            throw se;
1539                    }
1540            }
1541    
1542            public static java.util.List<com.liferay.portal.kernel.repository.model.Folder> getFolders(
1543                    HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId,
1544                    boolean includeMountFolders, int start, int end)
1545                    throws com.liferay.portal.kernel.exception.PortalException,
1546                            com.liferay.portal.kernel.exception.SystemException {
1547                    try {
1548                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1549                                            "getFolders", _getFoldersParameterTypes40);
1550    
1551                            MethodHandler methodHandler = new MethodHandler(methodKey,
1552                                            repositoryId, parentFolderId, includeMountFolders, start,
1553                                            end);
1554    
1555                            Object returnObj = null;
1556    
1557                            try {
1558                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1559                            }
1560                            catch (Exception e) {
1561                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1562                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1563                                    }
1564    
1565                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1566                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1567                                    }
1568    
1569                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1570                            }
1571    
1572                            return (java.util.List<com.liferay.portal.kernel.repository.model.Folder>)returnObj;
1573                    }
1574                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1575                            _log.error(se, se);
1576    
1577                            throw se;
1578                    }
1579            }
1580    
1581            public static java.util.List<com.liferay.portal.kernel.repository.model.Folder> getFolders(
1582                    HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId,
1583                    boolean includeMountFolders, int start, int end,
1584                    com.liferay.portal.kernel.util.OrderByComparator obc)
1585                    throws com.liferay.portal.kernel.exception.PortalException,
1586                            com.liferay.portal.kernel.exception.SystemException {
1587                    try {
1588                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1589                                            "getFolders", _getFoldersParameterTypes41);
1590    
1591                            MethodHandler methodHandler = new MethodHandler(methodKey,
1592                                            repositoryId, parentFolderId, includeMountFolders, start,
1593                                            end, obc);
1594    
1595                            Object returnObj = null;
1596    
1597                            try {
1598                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1599                            }
1600                            catch (Exception e) {
1601                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1602                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1603                                    }
1604    
1605                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1606                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1607                                    }
1608    
1609                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1610                            }
1611    
1612                            return (java.util.List<com.liferay.portal.kernel.repository.model.Folder>)returnObj;
1613                    }
1614                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1615                            _log.error(se, se);
1616    
1617                            throw se;
1618                    }
1619            }
1620    
1621            public static java.util.List<com.liferay.portal.kernel.repository.model.Folder> getFolders(
1622                    HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId,
1623                    int status, boolean includeMountFolders, int start, int end,
1624                    com.liferay.portal.kernel.util.OrderByComparator obc)
1625                    throws com.liferay.portal.kernel.exception.PortalException,
1626                            com.liferay.portal.kernel.exception.SystemException {
1627                    try {
1628                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1629                                            "getFolders", _getFoldersParameterTypes42);
1630    
1631                            MethodHandler methodHandler = new MethodHandler(methodKey,
1632                                            repositoryId, parentFolderId, status, includeMountFolders,
1633                                            start, end, obc);
1634    
1635                            Object returnObj = null;
1636    
1637                            try {
1638                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1639                            }
1640                            catch (Exception e) {
1641                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1642                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1643                                    }
1644    
1645                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1646                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1647                                    }
1648    
1649                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1650                            }
1651    
1652                            return (java.util.List<com.liferay.portal.kernel.repository.model.Folder>)returnObj;
1653                    }
1654                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1655                            _log.error(se, se);
1656    
1657                            throw se;
1658                    }
1659            }
1660    
1661            public static java.util.List<com.liferay.portal.kernel.repository.model.Folder> getFolders(
1662                    HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId,
1663                    int start, int end)
1664                    throws com.liferay.portal.kernel.exception.PortalException,
1665                            com.liferay.portal.kernel.exception.SystemException {
1666                    try {
1667                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1668                                            "getFolders", _getFoldersParameterTypes43);
1669    
1670                            MethodHandler methodHandler = new MethodHandler(methodKey,
1671                                            repositoryId, parentFolderId, start, end);
1672    
1673                            Object returnObj = null;
1674    
1675                            try {
1676                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1677                            }
1678                            catch (Exception e) {
1679                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1680                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1681                                    }
1682    
1683                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1684                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1685                                    }
1686    
1687                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1688                            }
1689    
1690                            return (java.util.List<com.liferay.portal.kernel.repository.model.Folder>)returnObj;
1691                    }
1692                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1693                            _log.error(se, se);
1694    
1695                            throw se;
1696                    }
1697            }
1698    
1699            public static java.util.List<com.liferay.portal.kernel.repository.model.Folder> getFolders(
1700                    HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId,
1701                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
1702                    throws com.liferay.portal.kernel.exception.PortalException,
1703                            com.liferay.portal.kernel.exception.SystemException {
1704                    try {
1705                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1706                                            "getFolders", _getFoldersParameterTypes44);
1707    
1708                            MethodHandler methodHandler = new MethodHandler(methodKey,
1709                                            repositoryId, parentFolderId, start, end, obc);
1710    
1711                            Object returnObj = null;
1712    
1713                            try {
1714                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1715                            }
1716                            catch (Exception e) {
1717                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1718                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1719                                    }
1720    
1721                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1722                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1723                                    }
1724    
1725                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1726                            }
1727    
1728                            return (java.util.List<com.liferay.portal.kernel.repository.model.Folder>)returnObj;
1729                    }
1730                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1731                            _log.error(se, se);
1732    
1733                            throw se;
1734                    }
1735            }
1736    
1737            public static java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
1738                    HttpPrincipal httpPrincipal, long repositoryId, long folderId,
1739                    int status, boolean includeMountFolders, int start, int end)
1740                    throws com.liferay.portal.kernel.exception.PortalException,
1741                            com.liferay.portal.kernel.exception.SystemException {
1742                    try {
1743                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1744                                            "getFoldersAndFileEntriesAndFileShortcuts",
1745                                            _getFoldersAndFileEntriesAndFileShortcutsParameterTypes45);
1746    
1747                            MethodHandler methodHandler = new MethodHandler(methodKey,
1748                                            repositoryId, folderId, status, includeMountFolders, start,
1749                                            end);
1750    
1751                            Object returnObj = null;
1752    
1753                            try {
1754                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1755                            }
1756                            catch (Exception e) {
1757                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1758                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1759                                    }
1760    
1761                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1762                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1763                                    }
1764    
1765                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1766                            }
1767    
1768                            return (java.util.List<java.lang.Object>)returnObj;
1769                    }
1770                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1771                            _log.error(se, se);
1772    
1773                            throw se;
1774                    }
1775            }
1776    
1777            public static java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
1778                    HttpPrincipal httpPrincipal, long repositoryId, long folderId,
1779                    int status, boolean includeMountFolders, int start, int end,
1780                    com.liferay.portal.kernel.util.OrderByComparator obc)
1781                    throws com.liferay.portal.kernel.exception.PortalException,
1782                            com.liferay.portal.kernel.exception.SystemException {
1783                    try {
1784                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1785                                            "getFoldersAndFileEntriesAndFileShortcuts",
1786                                            _getFoldersAndFileEntriesAndFileShortcutsParameterTypes46);
1787    
1788                            MethodHandler methodHandler = new MethodHandler(methodKey,
1789                                            repositoryId, folderId, status, includeMountFolders, start,
1790                                            end, obc);
1791    
1792                            Object returnObj = null;
1793    
1794                            try {
1795                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1796                            }
1797                            catch (Exception e) {
1798                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1799                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1800                                    }
1801    
1802                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1803                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1804                                    }
1805    
1806                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1807                            }
1808    
1809                            return (java.util.List<java.lang.Object>)returnObj;
1810                    }
1811                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1812                            _log.error(se, se);
1813    
1814                            throw se;
1815                    }
1816            }
1817    
1818            public static java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
1819                    HttpPrincipal httpPrincipal, long repositoryId, long folderId,
1820                    int status, java.lang.String[] mimeTypes, boolean includeMountFolders,
1821                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
1822                    throws com.liferay.portal.kernel.exception.PortalException,
1823                            com.liferay.portal.kernel.exception.SystemException {
1824                    try {
1825                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1826                                            "getFoldersAndFileEntriesAndFileShortcuts",
1827                                            _getFoldersAndFileEntriesAndFileShortcutsParameterTypes47);
1828    
1829                            MethodHandler methodHandler = new MethodHandler(methodKey,
1830                                            repositoryId, folderId, status, mimeTypes,
1831                                            includeMountFolders, start, end, obc);
1832    
1833                            Object returnObj = null;
1834    
1835                            try {
1836                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1837                            }
1838                            catch (Exception e) {
1839                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1840                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1841                                    }
1842    
1843                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1844                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1845                                    }
1846    
1847                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1848                            }
1849    
1850                            return (java.util.List<java.lang.Object>)returnObj;
1851                    }
1852                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1853                            _log.error(se, se);
1854    
1855                            throw se;
1856                    }
1857            }
1858    
1859            public static int getFoldersAndFileEntriesAndFileShortcutsCount(
1860                    HttpPrincipal httpPrincipal, long repositoryId, long folderId,
1861                    int status, boolean includeMountFolders)
1862                    throws com.liferay.portal.kernel.exception.PortalException,
1863                            com.liferay.portal.kernel.exception.SystemException {
1864                    try {
1865                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1866                                            "getFoldersAndFileEntriesAndFileShortcutsCount",
1867                                            _getFoldersAndFileEntriesAndFileShortcutsCountParameterTypes48);
1868    
1869                            MethodHandler methodHandler = new MethodHandler(methodKey,
1870                                            repositoryId, folderId, status, includeMountFolders);
1871    
1872                            Object returnObj = null;
1873    
1874                            try {
1875                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1876                            }
1877                            catch (Exception e) {
1878                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1879                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1880                                    }
1881    
1882                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1883                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1884                                    }
1885    
1886                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1887                            }
1888    
1889                            return ((Integer)returnObj).intValue();
1890                    }
1891                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1892                            _log.error(se, se);
1893    
1894                            throw se;
1895                    }
1896            }
1897    
1898            public static int getFoldersAndFileEntriesAndFileShortcutsCount(
1899                    HttpPrincipal httpPrincipal, long repositoryId, long folderId,
1900                    int status, java.lang.String[] mimeTypes, boolean includeMountFolders)
1901                    throws com.liferay.portal.kernel.exception.PortalException,
1902                            com.liferay.portal.kernel.exception.SystemException {
1903                    try {
1904                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1905                                            "getFoldersAndFileEntriesAndFileShortcutsCount",
1906                                            _getFoldersAndFileEntriesAndFileShortcutsCountParameterTypes49);
1907    
1908                            MethodHandler methodHandler = new MethodHandler(methodKey,
1909                                            repositoryId, folderId, status, mimeTypes,
1910                                            includeMountFolders);
1911    
1912                            Object returnObj = null;
1913    
1914                            try {
1915                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1916                            }
1917                            catch (Exception e) {
1918                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1919                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1920                                    }
1921    
1922                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1923                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1924                                    }
1925    
1926                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1927                            }
1928    
1929                            return ((Integer)returnObj).intValue();
1930                    }
1931                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1932                            _log.error(se, se);
1933    
1934                            throw se;
1935                    }
1936            }
1937    
1938            public static int getFoldersCount(HttpPrincipal httpPrincipal,
1939                    long repositoryId, long parentFolderId)
1940                    throws com.liferay.portal.kernel.exception.PortalException,
1941                            com.liferay.portal.kernel.exception.SystemException {
1942                    try {
1943                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1944                                            "getFoldersCount", _getFoldersCountParameterTypes50);
1945    
1946                            MethodHandler methodHandler = new MethodHandler(methodKey,
1947                                            repositoryId, parentFolderId);
1948    
1949                            Object returnObj = null;
1950    
1951                            try {
1952                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1953                            }
1954                            catch (Exception e) {
1955                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1956                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1957                                    }
1958    
1959                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1960                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1961                                    }
1962    
1963                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1964                            }
1965    
1966                            return ((Integer)returnObj).intValue();
1967                    }
1968                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1969                            _log.error(se, se);
1970    
1971                            throw se;
1972                    }
1973            }
1974    
1975            public static int getFoldersCount(HttpPrincipal httpPrincipal,
1976                    long repositoryId, long parentFolderId, boolean includeMountFolders)
1977                    throws com.liferay.portal.kernel.exception.PortalException,
1978                            com.liferay.portal.kernel.exception.SystemException {
1979                    try {
1980                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
1981                                            "getFoldersCount", _getFoldersCountParameterTypes51);
1982    
1983                            MethodHandler methodHandler = new MethodHandler(methodKey,
1984                                            repositoryId, parentFolderId, includeMountFolders);
1985    
1986                            Object returnObj = null;
1987    
1988                            try {
1989                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1990                            }
1991                            catch (Exception e) {
1992                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1993                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1994                                    }
1995    
1996                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1997                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1998                                    }
1999    
2000                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2001                            }
2002    
2003                            return ((Integer)returnObj).intValue();
2004                    }
2005                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2006                            _log.error(se, se);
2007    
2008                            throw se;
2009                    }
2010            }
2011    
2012            public static int getFoldersCount(HttpPrincipal httpPrincipal,
2013                    long repositoryId, long parentFolderId, int status,
2014                    boolean includeMountFolders)
2015                    throws com.liferay.portal.kernel.exception.PortalException,
2016                            com.liferay.portal.kernel.exception.SystemException {
2017                    try {
2018                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2019                                            "getFoldersCount", _getFoldersCountParameterTypes52);
2020    
2021                            MethodHandler methodHandler = new MethodHandler(methodKey,
2022                                            repositoryId, parentFolderId, status, includeMountFolders);
2023    
2024                            Object returnObj = null;
2025    
2026                            try {
2027                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2028                            }
2029                            catch (Exception e) {
2030                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2031                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2032                                    }
2033    
2034                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2035                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2036                                    }
2037    
2038                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2039                            }
2040    
2041                            return ((Integer)returnObj).intValue();
2042                    }
2043                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2044                            _log.error(se, se);
2045    
2046                            throw se;
2047                    }
2048            }
2049    
2050            public static int getFoldersFileEntriesCount(HttpPrincipal httpPrincipal,
2051                    long repositoryId, java.util.List<java.lang.Long> folderIds, int status)
2052                    throws com.liferay.portal.kernel.exception.PortalException,
2053                            com.liferay.portal.kernel.exception.SystemException {
2054                    try {
2055                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2056                                            "getFoldersFileEntriesCount",
2057                                            _getFoldersFileEntriesCountParameterTypes53);
2058    
2059                            MethodHandler methodHandler = new MethodHandler(methodKey,
2060                                            repositoryId, folderIds, status);
2061    
2062                            Object returnObj = null;
2063    
2064                            try {
2065                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2066                            }
2067                            catch (Exception e) {
2068                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2069                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2070                                    }
2071    
2072                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2073                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2074                                    }
2075    
2076                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2077                            }
2078    
2079                            return ((Integer)returnObj).intValue();
2080                    }
2081                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2082                            _log.error(se, se);
2083    
2084                            throw se;
2085                    }
2086            }
2087    
2088            public static java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getGroupFileEntries(
2089                    HttpPrincipal httpPrincipal, long groupId, long userId, int start,
2090                    int end)
2091                    throws com.liferay.portal.kernel.exception.PortalException,
2092                            com.liferay.portal.kernel.exception.SystemException {
2093                    try {
2094                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2095                                            "getGroupFileEntries", _getGroupFileEntriesParameterTypes54);
2096    
2097                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2098                                            userId, start, end);
2099    
2100                            Object returnObj = null;
2101    
2102                            try {
2103                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2104                            }
2105                            catch (Exception e) {
2106                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2107                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2108                                    }
2109    
2110                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2111                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2112                                    }
2113    
2114                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2115                            }
2116    
2117                            return (java.util.List<com.liferay.portal.kernel.repository.model.FileEntry>)returnObj;
2118                    }
2119                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2120                            _log.error(se, se);
2121    
2122                            throw se;
2123                    }
2124            }
2125    
2126            public static java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getGroupFileEntries(
2127                    HttpPrincipal httpPrincipal, long groupId, long userId, int start,
2128                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
2129                    throws com.liferay.portal.kernel.exception.PortalException,
2130                            com.liferay.portal.kernel.exception.SystemException {
2131                    try {
2132                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2133                                            "getGroupFileEntries", _getGroupFileEntriesParameterTypes55);
2134    
2135                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2136                                            userId, start, end, obc);
2137    
2138                            Object returnObj = null;
2139    
2140                            try {
2141                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2142                            }
2143                            catch (Exception e) {
2144                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2145                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2146                                    }
2147    
2148                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2149                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2150                                    }
2151    
2152                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2153                            }
2154    
2155                            return (java.util.List<com.liferay.portal.kernel.repository.model.FileEntry>)returnObj;
2156                    }
2157                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2158                            _log.error(se, se);
2159    
2160                            throw se;
2161                    }
2162            }
2163    
2164            public static java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getGroupFileEntries(
2165                    HttpPrincipal httpPrincipal, long groupId, long userId,
2166                    long rootFolderId, int start, int end)
2167                    throws com.liferay.portal.kernel.exception.PortalException,
2168                            com.liferay.portal.kernel.exception.SystemException {
2169                    try {
2170                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2171                                            "getGroupFileEntries", _getGroupFileEntriesParameterTypes56);
2172    
2173                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2174                                            userId, rootFolderId, start, end);
2175    
2176                            Object returnObj = null;
2177    
2178                            try {
2179                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2180                            }
2181                            catch (Exception e) {
2182                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2183                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2184                                    }
2185    
2186                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2187                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2188                                    }
2189    
2190                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2191                            }
2192    
2193                            return (java.util.List<com.liferay.portal.kernel.repository.model.FileEntry>)returnObj;
2194                    }
2195                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2196                            _log.error(se, se);
2197    
2198                            throw se;
2199                    }
2200            }
2201    
2202            public static java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getGroupFileEntries(
2203                    HttpPrincipal httpPrincipal, long groupId, long userId,
2204                    long rootFolderId, int start, int end,
2205                    com.liferay.portal.kernel.util.OrderByComparator obc)
2206                    throws com.liferay.portal.kernel.exception.PortalException,
2207                            com.liferay.portal.kernel.exception.SystemException {
2208                    try {
2209                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2210                                            "getGroupFileEntries", _getGroupFileEntriesParameterTypes57);
2211    
2212                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2213                                            userId, rootFolderId, start, end, obc);
2214    
2215                            Object returnObj = null;
2216    
2217                            try {
2218                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2219                            }
2220                            catch (Exception e) {
2221                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2222                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2223                                    }
2224    
2225                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2226                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2227                                    }
2228    
2229                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2230                            }
2231    
2232                            return (java.util.List<com.liferay.portal.kernel.repository.model.FileEntry>)returnObj;
2233                    }
2234                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2235                            _log.error(se, se);
2236    
2237                            throw se;
2238                    }
2239            }
2240    
2241            public static java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getGroupFileEntries(
2242                    HttpPrincipal httpPrincipal, long groupId, long userId,
2243                    long rootFolderId, java.lang.String[] mimeTypes, int status, int start,
2244                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
2245                    throws com.liferay.portal.kernel.exception.PortalException,
2246                            com.liferay.portal.kernel.exception.SystemException {
2247                    try {
2248                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2249                                            "getGroupFileEntries", _getGroupFileEntriesParameterTypes58);
2250    
2251                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2252                                            userId, rootFolderId, mimeTypes, status, start, end, obc);
2253    
2254                            Object returnObj = null;
2255    
2256                            try {
2257                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2258                            }
2259                            catch (Exception e) {
2260                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2261                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2262                                    }
2263    
2264                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2265                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2266                                    }
2267    
2268                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2269                            }
2270    
2271                            return (java.util.List<com.liferay.portal.kernel.repository.model.FileEntry>)returnObj;
2272                    }
2273                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2274                            _log.error(se, se);
2275    
2276                            throw se;
2277                    }
2278            }
2279    
2280            public static int getGroupFileEntriesCount(HttpPrincipal httpPrincipal,
2281                    long groupId, long userId)
2282                    throws com.liferay.portal.kernel.exception.PortalException,
2283                            com.liferay.portal.kernel.exception.SystemException {
2284                    try {
2285                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2286                                            "getGroupFileEntriesCount",
2287                                            _getGroupFileEntriesCountParameterTypes59);
2288    
2289                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2290                                            userId);
2291    
2292                            Object returnObj = null;
2293    
2294                            try {
2295                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2296                            }
2297                            catch (Exception e) {
2298                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2299                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2300                                    }
2301    
2302                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2303                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2304                                    }
2305    
2306                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2307                            }
2308    
2309                            return ((Integer)returnObj).intValue();
2310                    }
2311                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2312                            _log.error(se, se);
2313    
2314                            throw se;
2315                    }
2316            }
2317    
2318            public static int getGroupFileEntriesCount(HttpPrincipal httpPrincipal,
2319                    long groupId, long userId, long rootFolderId)
2320                    throws com.liferay.portal.kernel.exception.PortalException,
2321                            com.liferay.portal.kernel.exception.SystemException {
2322                    try {
2323                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2324                                            "getGroupFileEntriesCount",
2325                                            _getGroupFileEntriesCountParameterTypes60);
2326    
2327                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2328                                            userId, rootFolderId);
2329    
2330                            Object returnObj = null;
2331    
2332                            try {
2333                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2334                            }
2335                            catch (Exception e) {
2336                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2337                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2338                                    }
2339    
2340                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2341                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2342                                    }
2343    
2344                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2345                            }
2346    
2347                            return ((Integer)returnObj).intValue();
2348                    }
2349                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2350                            _log.error(se, se);
2351    
2352                            throw se;
2353                    }
2354            }
2355    
2356            public static int getGroupFileEntriesCount(HttpPrincipal httpPrincipal,
2357                    long groupId, long userId, long rootFolderId,
2358                    java.lang.String[] mimeTypes, int status)
2359                    throws com.liferay.portal.kernel.exception.PortalException,
2360                            com.liferay.portal.kernel.exception.SystemException {
2361                    try {
2362                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2363                                            "getGroupFileEntriesCount",
2364                                            _getGroupFileEntriesCountParameterTypes61);
2365    
2366                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2367                                            userId, rootFolderId, mimeTypes, status);
2368    
2369                            Object returnObj = null;
2370    
2371                            try {
2372                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2373                            }
2374                            catch (Exception e) {
2375                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2376                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2377                                    }
2378    
2379                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2380                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2381                                    }
2382    
2383                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2384                            }
2385    
2386                            return ((Integer)returnObj).intValue();
2387                    }
2388                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2389                            _log.error(se, se);
2390    
2391                            throw se;
2392                    }
2393            }
2394    
2395            public static java.util.List<com.liferay.portal.kernel.repository.model.Folder> getMountFolders(
2396                    HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId)
2397                    throws com.liferay.portal.kernel.exception.PortalException,
2398                            com.liferay.portal.kernel.exception.SystemException {
2399                    try {
2400                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2401                                            "getMountFolders", _getMountFoldersParameterTypes62);
2402    
2403                            MethodHandler methodHandler = new MethodHandler(methodKey,
2404                                            repositoryId, parentFolderId);
2405    
2406                            Object returnObj = null;
2407    
2408                            try {
2409                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2410                            }
2411                            catch (Exception e) {
2412                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2413                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2414                                    }
2415    
2416                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2417                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2418                                    }
2419    
2420                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2421                            }
2422    
2423                            return (java.util.List<com.liferay.portal.kernel.repository.model.Folder>)returnObj;
2424                    }
2425                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2426                            _log.error(se, se);
2427    
2428                            throw se;
2429                    }
2430            }
2431    
2432            public static java.util.List<com.liferay.portal.kernel.repository.model.Folder> getMountFolders(
2433                    HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId,
2434                    int start, int end)
2435                    throws com.liferay.portal.kernel.exception.PortalException,
2436                            com.liferay.portal.kernel.exception.SystemException {
2437                    try {
2438                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2439                                            "getMountFolders", _getMountFoldersParameterTypes63);
2440    
2441                            MethodHandler methodHandler = new MethodHandler(methodKey,
2442                                            repositoryId, parentFolderId, start, end);
2443    
2444                            Object returnObj = null;
2445    
2446                            try {
2447                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2448                            }
2449                            catch (Exception e) {
2450                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2451                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2452                                    }
2453    
2454                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2455                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2456                                    }
2457    
2458                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2459                            }
2460    
2461                            return (java.util.List<com.liferay.portal.kernel.repository.model.Folder>)returnObj;
2462                    }
2463                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2464                            _log.error(se, se);
2465    
2466                            throw se;
2467                    }
2468            }
2469    
2470            public static java.util.List<com.liferay.portal.kernel.repository.model.Folder> getMountFolders(
2471                    HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId,
2472                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
2473                    throws com.liferay.portal.kernel.exception.PortalException,
2474                            com.liferay.portal.kernel.exception.SystemException {
2475                    try {
2476                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2477                                            "getMountFolders", _getMountFoldersParameterTypes64);
2478    
2479                            MethodHandler methodHandler = new MethodHandler(methodKey,
2480                                            repositoryId, parentFolderId, start, end, obc);
2481    
2482                            Object returnObj = null;
2483    
2484                            try {
2485                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2486                            }
2487                            catch (Exception e) {
2488                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2489                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2490                                    }
2491    
2492                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2493                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2494                                    }
2495    
2496                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2497                            }
2498    
2499                            return (java.util.List<com.liferay.portal.kernel.repository.model.Folder>)returnObj;
2500                    }
2501                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2502                            _log.error(se, se);
2503    
2504                            throw se;
2505                    }
2506            }
2507    
2508            public static int getMountFoldersCount(HttpPrincipal httpPrincipal,
2509                    long repositoryId, long parentFolderId)
2510                    throws com.liferay.portal.kernel.exception.PortalException,
2511                            com.liferay.portal.kernel.exception.SystemException {
2512                    try {
2513                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2514                                            "getMountFoldersCount",
2515                                            _getMountFoldersCountParameterTypes65);
2516    
2517                            MethodHandler methodHandler = new MethodHandler(methodKey,
2518                                            repositoryId, parentFolderId);
2519    
2520                            Object returnObj = null;
2521    
2522                            try {
2523                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2524                            }
2525                            catch (Exception e) {
2526                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2527                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2528                                    }
2529    
2530                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2531                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2532                                    }
2533    
2534                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2535                            }
2536    
2537                            return ((Integer)returnObj).intValue();
2538                    }
2539                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2540                            _log.error(se, se);
2541    
2542                            throw se;
2543                    }
2544            }
2545    
2546            public static void getSubfolderIds(HttpPrincipal httpPrincipal,
2547                    long repositoryId, java.util.List<java.lang.Long> folderIds,
2548                    long folderId)
2549                    throws com.liferay.portal.kernel.exception.PortalException,
2550                            com.liferay.portal.kernel.exception.SystemException {
2551                    try {
2552                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2553                                            "getSubfolderIds", _getSubfolderIdsParameterTypes66);
2554    
2555                            MethodHandler methodHandler = new MethodHandler(methodKey,
2556                                            repositoryId, folderIds, folderId);
2557    
2558                            try {
2559                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
2560                            }
2561                            catch (Exception e) {
2562                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2563                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2564                                    }
2565    
2566                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2567                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2568                                    }
2569    
2570                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2571                            }
2572                    }
2573                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2574                            _log.error(se, se);
2575    
2576                            throw se;
2577                    }
2578            }
2579    
2580            public static java.util.List<java.lang.Long> getSubfolderIds(
2581                    HttpPrincipal httpPrincipal, long repositoryId, long folderId)
2582                    throws com.liferay.portal.kernel.exception.PortalException,
2583                            com.liferay.portal.kernel.exception.SystemException {
2584                    try {
2585                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2586                                            "getSubfolderIds", _getSubfolderIdsParameterTypes67);
2587    
2588                            MethodHandler methodHandler = new MethodHandler(methodKey,
2589                                            repositoryId, folderId);
2590    
2591                            Object returnObj = null;
2592    
2593                            try {
2594                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2595                            }
2596                            catch (Exception e) {
2597                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2598                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2599                                    }
2600    
2601                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2602                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2603                                    }
2604    
2605                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2606                            }
2607    
2608                            return (java.util.List<java.lang.Long>)returnObj;
2609                    }
2610                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2611                            _log.error(se, se);
2612    
2613                            throw se;
2614                    }
2615            }
2616    
2617            public static java.util.List<java.lang.Long> getSubfolderIds(
2618                    HttpPrincipal httpPrincipal, long repositoryId, long folderId,
2619                    boolean recurse)
2620                    throws com.liferay.portal.kernel.exception.PortalException,
2621                            com.liferay.portal.kernel.exception.SystemException {
2622                    try {
2623                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2624                                            "getSubfolderIds", _getSubfolderIdsParameterTypes68);
2625    
2626                            MethodHandler methodHandler = new MethodHandler(methodKey,
2627                                            repositoryId, folderId, recurse);
2628    
2629                            Object returnObj = null;
2630    
2631                            try {
2632                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2633                            }
2634                            catch (Exception e) {
2635                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2636                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2637                                    }
2638    
2639                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2640                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2641                                    }
2642    
2643                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2644                            }
2645    
2646                            return (java.util.List<java.lang.Long>)returnObj;
2647                    }
2648                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2649                            _log.error(se, se);
2650    
2651                            throw se;
2652                    }
2653            }
2654    
2655            public static java.lang.String[] getTempFileEntryNames(
2656                    HttpPrincipal httpPrincipal, long groupId, long folderId,
2657                    java.lang.String tempFolderName)
2658                    throws com.liferay.portal.kernel.exception.PortalException,
2659                            com.liferay.portal.kernel.exception.SystemException {
2660                    try {
2661                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2662                                            "getTempFileEntryNames",
2663                                            _getTempFileEntryNamesParameterTypes69);
2664    
2665                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
2666                                            folderId, tempFolderName);
2667    
2668                            Object returnObj = null;
2669    
2670                            try {
2671                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2672                            }
2673                            catch (Exception e) {
2674                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2675                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2676                                    }
2677    
2678                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2679                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2680                                    }
2681    
2682                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2683                            }
2684    
2685                            return (java.lang.String[])returnObj;
2686                    }
2687                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2688                            _log.error(se, se);
2689    
2690                            throw se;
2691                    }
2692            }
2693    
2694            public static com.liferay.portal.model.Lock lockFileEntry(
2695                    HttpPrincipal httpPrincipal, long fileEntryId)
2696                    throws com.liferay.portal.kernel.exception.PortalException,
2697                            com.liferay.portal.kernel.exception.SystemException {
2698                    try {
2699                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2700                                            "lockFileEntry", _lockFileEntryParameterTypes70);
2701    
2702                            MethodHandler methodHandler = new MethodHandler(methodKey,
2703                                            fileEntryId);
2704    
2705                            Object returnObj = null;
2706    
2707                            try {
2708                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2709                            }
2710                            catch (Exception e) {
2711                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2712                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2713                                    }
2714    
2715                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2716                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2717                                    }
2718    
2719                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2720                            }
2721    
2722                            return (com.liferay.portal.model.Lock)returnObj;
2723                    }
2724                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2725                            _log.error(se, se);
2726    
2727                            throw se;
2728                    }
2729            }
2730    
2731            public static com.liferay.portal.model.Lock lockFileEntry(
2732                    HttpPrincipal httpPrincipal, long fileEntryId, java.lang.String owner,
2733                    long expirationTime)
2734                    throws com.liferay.portal.kernel.exception.PortalException,
2735                            com.liferay.portal.kernel.exception.SystemException {
2736                    try {
2737                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2738                                            "lockFileEntry", _lockFileEntryParameterTypes71);
2739    
2740                            MethodHandler methodHandler = new MethodHandler(methodKey,
2741                                            fileEntryId, owner, expirationTime);
2742    
2743                            Object returnObj = null;
2744    
2745                            try {
2746                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2747                            }
2748                            catch (Exception e) {
2749                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2750                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2751                                    }
2752    
2753                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2754                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2755                                    }
2756    
2757                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2758                            }
2759    
2760                            return (com.liferay.portal.model.Lock)returnObj;
2761                    }
2762                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2763                            _log.error(se, se);
2764    
2765                            throw se;
2766                    }
2767            }
2768    
2769            public static com.liferay.portal.model.Lock lockFolder(
2770                    HttpPrincipal httpPrincipal, long repositoryId, long folderId)
2771                    throws com.liferay.portal.kernel.exception.PortalException,
2772                            com.liferay.portal.kernel.exception.SystemException {
2773                    try {
2774                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2775                                            "lockFolder", _lockFolderParameterTypes72);
2776    
2777                            MethodHandler methodHandler = new MethodHandler(methodKey,
2778                                            repositoryId, folderId);
2779    
2780                            Object returnObj = null;
2781    
2782                            try {
2783                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2784                            }
2785                            catch (Exception e) {
2786                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2787                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2788                                    }
2789    
2790                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2791                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2792                                    }
2793    
2794                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2795                            }
2796    
2797                            return (com.liferay.portal.model.Lock)returnObj;
2798                    }
2799                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2800                            _log.error(se, se);
2801    
2802                            throw se;
2803                    }
2804            }
2805    
2806            public static com.liferay.portal.model.Lock lockFolder(
2807                    HttpPrincipal httpPrincipal, long repositoryId, long folderId,
2808                    java.lang.String owner, boolean inheritable, long expirationTime)
2809                    throws com.liferay.portal.kernel.exception.PortalException,
2810                            com.liferay.portal.kernel.exception.SystemException {
2811                    try {
2812                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2813                                            "lockFolder", _lockFolderParameterTypes73);
2814    
2815                            MethodHandler methodHandler = new MethodHandler(methodKey,
2816                                            repositoryId, folderId, owner, inheritable, expirationTime);
2817    
2818                            Object returnObj = null;
2819    
2820                            try {
2821                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2822                            }
2823                            catch (Exception e) {
2824                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2825                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2826                                    }
2827    
2828                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2829                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2830                                    }
2831    
2832                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2833                            }
2834    
2835                            return (com.liferay.portal.model.Lock)returnObj;
2836                    }
2837                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2838                            _log.error(se, se);
2839    
2840                            throw se;
2841                    }
2842            }
2843    
2844            public static com.liferay.portal.kernel.repository.model.FileEntry moveFileEntry(
2845                    HttpPrincipal httpPrincipal, long fileEntryId, long newFolderId,
2846                    com.liferay.portal.service.ServiceContext serviceContext)
2847                    throws com.liferay.portal.kernel.exception.PortalException,
2848                            com.liferay.portal.kernel.exception.SystemException {
2849                    try {
2850                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2851                                            "moveFileEntry", _moveFileEntryParameterTypes74);
2852    
2853                            MethodHandler methodHandler = new MethodHandler(methodKey,
2854                                            fileEntryId, newFolderId, serviceContext);
2855    
2856                            Object returnObj = null;
2857    
2858                            try {
2859                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2860                            }
2861                            catch (Exception e) {
2862                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2863                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2864                                    }
2865    
2866                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2867                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2868                                    }
2869    
2870                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2871                            }
2872    
2873                            return (com.liferay.portal.kernel.repository.model.FileEntry)returnObj;
2874                    }
2875                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2876                            _log.error(se, se);
2877    
2878                            throw se;
2879                    }
2880            }
2881    
2882            public static com.liferay.portal.kernel.repository.model.FileEntry moveFileEntryFromTrash(
2883                    HttpPrincipal httpPrincipal, long fileEntryId, long newFolderId,
2884                    com.liferay.portal.service.ServiceContext serviceContext)
2885                    throws com.liferay.portal.kernel.exception.PortalException,
2886                            com.liferay.portal.kernel.exception.SystemException {
2887                    try {
2888                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2889                                            "moveFileEntryFromTrash",
2890                                            _moveFileEntryFromTrashParameterTypes75);
2891    
2892                            MethodHandler methodHandler = new MethodHandler(methodKey,
2893                                            fileEntryId, newFolderId, serviceContext);
2894    
2895                            Object returnObj = null;
2896    
2897                            try {
2898                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2899                            }
2900                            catch (Exception e) {
2901                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2902                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2903                                    }
2904    
2905                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2906                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2907                                    }
2908    
2909                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2910                            }
2911    
2912                            return (com.liferay.portal.kernel.repository.model.FileEntry)returnObj;
2913                    }
2914                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2915                            _log.error(se, se);
2916    
2917                            throw se;
2918                    }
2919            }
2920    
2921            public static com.liferay.portal.kernel.repository.model.FileEntry moveFileEntryToTrash(
2922                    HttpPrincipal httpPrincipal, long fileEntryId)
2923                    throws com.liferay.portal.kernel.exception.PortalException,
2924                            com.liferay.portal.kernel.exception.SystemException {
2925                    try {
2926                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2927                                            "moveFileEntryToTrash",
2928                                            _moveFileEntryToTrashParameterTypes76);
2929    
2930                            MethodHandler methodHandler = new MethodHandler(methodKey,
2931                                            fileEntryId);
2932    
2933                            Object returnObj = null;
2934    
2935                            try {
2936                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2937                            }
2938                            catch (Exception e) {
2939                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2940                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2941                                    }
2942    
2943                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2944                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2945                                    }
2946    
2947                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2948                            }
2949    
2950                            return (com.liferay.portal.kernel.repository.model.FileEntry)returnObj;
2951                    }
2952                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2953                            _log.error(se, se);
2954    
2955                            throw se;
2956                    }
2957            }
2958    
2959            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut moveFileShortcutFromTrash(
2960                    HttpPrincipal httpPrincipal, long fileShortcutId, long newFolderId,
2961                    com.liferay.portal.service.ServiceContext serviceContext)
2962                    throws com.liferay.portal.kernel.exception.PortalException,
2963                            com.liferay.portal.kernel.exception.SystemException {
2964                    try {
2965                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
2966                                            "moveFileShortcutFromTrash",
2967                                            _moveFileShortcutFromTrashParameterTypes77);
2968    
2969                            MethodHandler methodHandler = new MethodHandler(methodKey,
2970                                            fileShortcutId, newFolderId, serviceContext);
2971    
2972                            Object returnObj = null;
2973    
2974                            try {
2975                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
2976                            }
2977                            catch (Exception e) {
2978                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
2979                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
2980                                    }
2981    
2982                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
2983                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
2984                                    }
2985    
2986                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
2987                            }
2988    
2989                            return (com.liferay.portlet.documentlibrary.model.DLFileShortcut)returnObj;
2990                    }
2991                    catch (com.liferay.portal.kernel.exception.SystemException se) {
2992                            _log.error(se, se);
2993    
2994                            throw se;
2995                    }
2996            }
2997    
2998            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut moveFileShortcutToTrash(
2999                    HttpPrincipal httpPrincipal, long fileShortcutId)
3000                    throws com.liferay.portal.kernel.exception.PortalException,
3001                            com.liferay.portal.kernel.exception.SystemException {
3002                    try {
3003                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3004                                            "moveFileShortcutToTrash",
3005                                            _moveFileShortcutToTrashParameterTypes78);
3006    
3007                            MethodHandler methodHandler = new MethodHandler(methodKey,
3008                                            fileShortcutId);
3009    
3010                            Object returnObj = null;
3011    
3012                            try {
3013                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
3014                            }
3015                            catch (Exception e) {
3016                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3017                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3018                                    }
3019    
3020                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3021                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3022                                    }
3023    
3024                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3025                            }
3026    
3027                            return (com.liferay.portlet.documentlibrary.model.DLFileShortcut)returnObj;
3028                    }
3029                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3030                            _log.error(se, se);
3031    
3032                            throw se;
3033                    }
3034            }
3035    
3036            public static com.liferay.portal.kernel.repository.model.Folder moveFolder(
3037                    HttpPrincipal httpPrincipal, long folderId, long parentFolderId,
3038                    com.liferay.portal.service.ServiceContext serviceContext)
3039                    throws com.liferay.portal.kernel.exception.PortalException,
3040                            com.liferay.portal.kernel.exception.SystemException {
3041                    try {
3042                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3043                                            "moveFolder", _moveFolderParameterTypes79);
3044    
3045                            MethodHandler methodHandler = new MethodHandler(methodKey,
3046                                            folderId, parentFolderId, serviceContext);
3047    
3048                            Object returnObj = null;
3049    
3050                            try {
3051                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
3052                            }
3053                            catch (Exception e) {
3054                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3055                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3056                                    }
3057    
3058                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3059                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3060                                    }
3061    
3062                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3063                            }
3064    
3065                            return (com.liferay.portal.kernel.repository.model.Folder)returnObj;
3066                    }
3067                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3068                            _log.error(se, se);
3069    
3070                            throw se;
3071                    }
3072            }
3073    
3074            public static com.liferay.portal.kernel.repository.model.Folder moveFolderFromTrash(
3075                    HttpPrincipal httpPrincipal, long folderId, long parentFolderId,
3076                    com.liferay.portal.service.ServiceContext serviceContext)
3077                    throws com.liferay.portal.kernel.exception.PortalException,
3078                            com.liferay.portal.kernel.exception.SystemException {
3079                    try {
3080                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3081                                            "moveFolderFromTrash", _moveFolderFromTrashParameterTypes80);
3082    
3083                            MethodHandler methodHandler = new MethodHandler(methodKey,
3084                                            folderId, parentFolderId, serviceContext);
3085    
3086                            Object returnObj = null;
3087    
3088                            try {
3089                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
3090                            }
3091                            catch (Exception e) {
3092                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3093                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3094                                    }
3095    
3096                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3097                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3098                                    }
3099    
3100                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3101                            }
3102    
3103                            return (com.liferay.portal.kernel.repository.model.Folder)returnObj;
3104                    }
3105                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3106                            _log.error(se, se);
3107    
3108                            throw se;
3109                    }
3110            }
3111    
3112            public static com.liferay.portal.kernel.repository.model.Folder moveFolderToTrash(
3113                    HttpPrincipal httpPrincipal, long folderId)
3114                    throws com.liferay.portal.kernel.exception.PortalException,
3115                            com.liferay.portal.kernel.exception.SystemException {
3116                    try {
3117                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3118                                            "moveFolderToTrash", _moveFolderToTrashParameterTypes81);
3119    
3120                            MethodHandler methodHandler = new MethodHandler(methodKey, folderId);
3121    
3122                            Object returnObj = null;
3123    
3124                            try {
3125                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
3126                            }
3127                            catch (Exception e) {
3128                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3129                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3130                                    }
3131    
3132                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3133                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3134                                    }
3135    
3136                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3137                            }
3138    
3139                            return (com.liferay.portal.kernel.repository.model.Folder)returnObj;
3140                    }
3141                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3142                            _log.error(se, se);
3143    
3144                            throw se;
3145                    }
3146            }
3147    
3148            public static com.liferay.portal.model.Lock refreshFileEntryLock(
3149                    HttpPrincipal httpPrincipal, java.lang.String lockUuid, long companyId,
3150                    long expirationTime)
3151                    throws com.liferay.portal.kernel.exception.PortalException,
3152                            com.liferay.portal.kernel.exception.SystemException {
3153                    try {
3154                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3155                                            "refreshFileEntryLock",
3156                                            _refreshFileEntryLockParameterTypes82);
3157    
3158                            MethodHandler methodHandler = new MethodHandler(methodKey,
3159                                            lockUuid, companyId, expirationTime);
3160    
3161                            Object returnObj = null;
3162    
3163                            try {
3164                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
3165                            }
3166                            catch (Exception e) {
3167                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3168                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3169                                    }
3170    
3171                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3172                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3173                                    }
3174    
3175                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3176                            }
3177    
3178                            return (com.liferay.portal.model.Lock)returnObj;
3179                    }
3180                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3181                            _log.error(se, se);
3182    
3183                            throw se;
3184                    }
3185            }
3186    
3187            public static com.liferay.portal.model.Lock refreshFolderLock(
3188                    HttpPrincipal httpPrincipal, java.lang.String lockUuid, long companyId,
3189                    long expirationTime)
3190                    throws com.liferay.portal.kernel.exception.PortalException,
3191                            com.liferay.portal.kernel.exception.SystemException {
3192                    try {
3193                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3194                                            "refreshFolderLock", _refreshFolderLockParameterTypes83);
3195    
3196                            MethodHandler methodHandler = new MethodHandler(methodKey,
3197                                            lockUuid, companyId, expirationTime);
3198    
3199                            Object returnObj = null;
3200    
3201                            try {
3202                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
3203                            }
3204                            catch (Exception e) {
3205                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3206                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3207                                    }
3208    
3209                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3210                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3211                                    }
3212    
3213                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3214                            }
3215    
3216                            return (com.liferay.portal.model.Lock)returnObj;
3217                    }
3218                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3219                            _log.error(se, se);
3220    
3221                            throw se;
3222                    }
3223            }
3224    
3225            public static void restoreFileEntryFromTrash(HttpPrincipal httpPrincipal,
3226                    long fileEntryId)
3227                    throws com.liferay.portal.kernel.exception.PortalException,
3228                            com.liferay.portal.kernel.exception.SystemException {
3229                    try {
3230                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3231                                            "restoreFileEntryFromTrash",
3232                                            _restoreFileEntryFromTrashParameterTypes84);
3233    
3234                            MethodHandler methodHandler = new MethodHandler(methodKey,
3235                                            fileEntryId);
3236    
3237                            try {
3238                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
3239                            }
3240                            catch (Exception e) {
3241                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3242                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3243                                    }
3244    
3245                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3246                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3247                                    }
3248    
3249                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3250                            }
3251                    }
3252                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3253                            _log.error(se, se);
3254    
3255                            throw se;
3256                    }
3257            }
3258    
3259            public static void restoreFileShortcutFromTrash(
3260                    HttpPrincipal httpPrincipal, long fileShortcutId)
3261                    throws com.liferay.portal.kernel.exception.PortalException,
3262                            com.liferay.portal.kernel.exception.SystemException {
3263                    try {
3264                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3265                                            "restoreFileShortcutFromTrash",
3266                                            _restoreFileShortcutFromTrashParameterTypes85);
3267    
3268                            MethodHandler methodHandler = new MethodHandler(methodKey,
3269                                            fileShortcutId);
3270    
3271                            try {
3272                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
3273                            }
3274                            catch (Exception e) {
3275                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3276                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3277                                    }
3278    
3279                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3280                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3281                                    }
3282    
3283                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3284                            }
3285                    }
3286                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3287                            _log.error(se, se);
3288    
3289                            throw se;
3290                    }
3291            }
3292    
3293            public static void restoreFolderFromTrash(HttpPrincipal httpPrincipal,
3294                    long folderId)
3295                    throws com.liferay.portal.kernel.exception.PortalException,
3296                            com.liferay.portal.kernel.exception.SystemException {
3297                    try {
3298                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3299                                            "restoreFolderFromTrash",
3300                                            _restoreFolderFromTrashParameterTypes86);
3301    
3302                            MethodHandler methodHandler = new MethodHandler(methodKey, folderId);
3303    
3304                            try {
3305                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
3306                            }
3307                            catch (Exception e) {
3308                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3309                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3310                                    }
3311    
3312                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3313                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3314                                    }
3315    
3316                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3317                            }
3318                    }
3319                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3320                            _log.error(se, se);
3321    
3322                            throw se;
3323                    }
3324            }
3325    
3326            public static void revertFileEntry(HttpPrincipal httpPrincipal,
3327                    long fileEntryId, java.lang.String version,
3328                    com.liferay.portal.service.ServiceContext serviceContext)
3329                    throws com.liferay.portal.kernel.exception.PortalException,
3330                            com.liferay.portal.kernel.exception.SystemException {
3331                    try {
3332                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3333                                            "revertFileEntry", _revertFileEntryParameterTypes87);
3334    
3335                            MethodHandler methodHandler = new MethodHandler(methodKey,
3336                                            fileEntryId, version, serviceContext);
3337    
3338                            try {
3339                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
3340                            }
3341                            catch (Exception e) {
3342                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3343                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3344                                    }
3345    
3346                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3347                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3348                                    }
3349    
3350                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3351                            }
3352                    }
3353                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3354                            _log.error(se, se);
3355    
3356                            throw se;
3357                    }
3358            }
3359    
3360            public static com.liferay.portal.kernel.search.Hits search(
3361                    HttpPrincipal httpPrincipal, long repositoryId,
3362                    com.liferay.portal.kernel.search.SearchContext searchContext)
3363                    throws com.liferay.portal.kernel.exception.SystemException,
3364                            com.liferay.portal.kernel.search.SearchException {
3365                    try {
3366                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3367                                            "search", _searchParameterTypes88);
3368    
3369                            MethodHandler methodHandler = new MethodHandler(methodKey,
3370                                            repositoryId, searchContext);
3371    
3372                            Object returnObj = null;
3373    
3374                            try {
3375                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
3376                            }
3377                            catch (Exception e) {
3378                                    if (e instanceof com.liferay.portal.kernel.search.SearchException) {
3379                                            throw (com.liferay.portal.kernel.search.SearchException)e;
3380                                    }
3381    
3382                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3383                            }
3384    
3385                            return (com.liferay.portal.kernel.search.Hits)returnObj;
3386                    }
3387                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3388                            _log.error(se, se);
3389    
3390                            throw se;
3391                    }
3392            }
3393    
3394            public static com.liferay.portal.kernel.search.Hits search(
3395                    HttpPrincipal httpPrincipal, long repositoryId,
3396                    com.liferay.portal.kernel.search.SearchContext searchContext,
3397                    com.liferay.portal.kernel.search.Query query)
3398                    throws com.liferay.portal.kernel.exception.SystemException,
3399                            com.liferay.portal.kernel.search.SearchException {
3400                    try {
3401                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3402                                            "search", _searchParameterTypes89);
3403    
3404                            MethodHandler methodHandler = new MethodHandler(methodKey,
3405                                            repositoryId, searchContext, query);
3406    
3407                            Object returnObj = null;
3408    
3409                            try {
3410                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
3411                            }
3412                            catch (Exception e) {
3413                                    if (e instanceof com.liferay.portal.kernel.search.SearchException) {
3414                                            throw (com.liferay.portal.kernel.search.SearchException)e;
3415                                    }
3416    
3417                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3418                            }
3419    
3420                            return (com.liferay.portal.kernel.search.Hits)returnObj;
3421                    }
3422                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3423                            _log.error(se, se);
3424    
3425                            throw se;
3426                    }
3427            }
3428    
3429            public static void unlockFileEntry(HttpPrincipal httpPrincipal,
3430                    long fileEntryId)
3431                    throws com.liferay.portal.kernel.exception.PortalException,
3432                            com.liferay.portal.kernel.exception.SystemException {
3433                    try {
3434                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3435                                            "unlockFileEntry", _unlockFileEntryParameterTypes90);
3436    
3437                            MethodHandler methodHandler = new MethodHandler(methodKey,
3438                                            fileEntryId);
3439    
3440                            try {
3441                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
3442                            }
3443                            catch (Exception e) {
3444                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3445                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3446                                    }
3447    
3448                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3449                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3450                                    }
3451    
3452                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3453                            }
3454                    }
3455                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3456                            _log.error(se, se);
3457    
3458                            throw se;
3459                    }
3460            }
3461    
3462            public static void unlockFileEntry(HttpPrincipal httpPrincipal,
3463                    long fileEntryId, java.lang.String lockUuid)
3464                    throws com.liferay.portal.kernel.exception.PortalException,
3465                            com.liferay.portal.kernel.exception.SystemException {
3466                    try {
3467                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3468                                            "unlockFileEntry", _unlockFileEntryParameterTypes91);
3469    
3470                            MethodHandler methodHandler = new MethodHandler(methodKey,
3471                                            fileEntryId, lockUuid);
3472    
3473                            try {
3474                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
3475                            }
3476                            catch (Exception e) {
3477                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3478                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3479                                    }
3480    
3481                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3482                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3483                                    }
3484    
3485                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3486                            }
3487                    }
3488                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3489                            _log.error(se, se);
3490    
3491                            throw se;
3492                    }
3493            }
3494    
3495            public static void unlockFolder(HttpPrincipal httpPrincipal,
3496                    long repositoryId, long folderId, java.lang.String lockUuid)
3497                    throws com.liferay.portal.kernel.exception.PortalException,
3498                            com.liferay.portal.kernel.exception.SystemException {
3499                    try {
3500                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3501                                            "unlockFolder", _unlockFolderParameterTypes92);
3502    
3503                            MethodHandler methodHandler = new MethodHandler(methodKey,
3504                                            repositoryId, folderId, lockUuid);
3505    
3506                            try {
3507                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
3508                            }
3509                            catch (Exception e) {
3510                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3511                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3512                                    }
3513    
3514                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3515                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3516                                    }
3517    
3518                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3519                            }
3520                    }
3521                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3522                            _log.error(se, se);
3523    
3524                            throw se;
3525                    }
3526            }
3527    
3528            public static void unlockFolder(HttpPrincipal httpPrincipal,
3529                    long repositoryId, long parentFolderId, java.lang.String name,
3530                    java.lang.String lockUuid)
3531                    throws com.liferay.portal.kernel.exception.PortalException,
3532                            com.liferay.portal.kernel.exception.SystemException {
3533                    try {
3534                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3535                                            "unlockFolder", _unlockFolderParameterTypes93);
3536    
3537                            MethodHandler methodHandler = new MethodHandler(methodKey,
3538                                            repositoryId, parentFolderId, name, lockUuid);
3539    
3540                            try {
3541                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
3542                            }
3543                            catch (Exception e) {
3544                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3545                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3546                                    }
3547    
3548                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3549                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3550                                    }
3551    
3552                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3553                            }
3554                    }
3555                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3556                            _log.error(se, se);
3557    
3558                            throw se;
3559                    }
3560            }
3561    
3562            public static com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(
3563                    HttpPrincipal httpPrincipal, long fileEntryId,
3564                    java.lang.String sourceFileName, java.lang.String mimeType,
3565                    java.lang.String title, java.lang.String description,
3566                    java.lang.String changeLog, boolean majorVersion, byte[] bytes,
3567                    com.liferay.portal.service.ServiceContext serviceContext)
3568                    throws com.liferay.portal.kernel.exception.PortalException,
3569                            com.liferay.portal.kernel.exception.SystemException {
3570                    try {
3571                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3572                                            "updateFileEntry", _updateFileEntryParameterTypes94);
3573    
3574                            MethodHandler methodHandler = new MethodHandler(methodKey,
3575                                            fileEntryId, sourceFileName, mimeType, title, description,
3576                                            changeLog, majorVersion, bytes, serviceContext);
3577    
3578                            Object returnObj = null;
3579    
3580                            try {
3581                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
3582                            }
3583                            catch (Exception e) {
3584                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3585                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3586                                    }
3587    
3588                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3589                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3590                                    }
3591    
3592                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3593                            }
3594    
3595                            return (com.liferay.portal.kernel.repository.model.FileEntry)returnObj;
3596                    }
3597                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3598                            _log.error(se, se);
3599    
3600                            throw se;
3601                    }
3602            }
3603    
3604            public static com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(
3605                    HttpPrincipal httpPrincipal, long fileEntryId,
3606                    java.lang.String sourceFileName, java.lang.String mimeType,
3607                    java.lang.String title, java.lang.String description,
3608                    java.lang.String changeLog, boolean majorVersion, java.io.File file,
3609                    com.liferay.portal.service.ServiceContext serviceContext)
3610                    throws com.liferay.portal.kernel.exception.PortalException,
3611                            com.liferay.portal.kernel.exception.SystemException {
3612                    try {
3613                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3614                                            "updateFileEntry", _updateFileEntryParameterTypes95);
3615    
3616                            MethodHandler methodHandler = new MethodHandler(methodKey,
3617                                            fileEntryId, sourceFileName, mimeType, title, description,
3618                                            changeLog, majorVersion, file, serviceContext);
3619    
3620                            Object returnObj = null;
3621    
3622                            try {
3623                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
3624                            }
3625                            catch (Exception e) {
3626                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3627                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3628                                    }
3629    
3630                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3631                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3632                                    }
3633    
3634                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3635                            }
3636    
3637                            return (com.liferay.portal.kernel.repository.model.FileEntry)returnObj;
3638                    }
3639                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3640                            _log.error(se, se);
3641    
3642                            throw se;
3643                    }
3644            }
3645    
3646            public static com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(
3647                    HttpPrincipal httpPrincipal, long fileEntryId,
3648                    java.lang.String sourceFileName, java.lang.String mimeType,
3649                    java.lang.String title, java.lang.String description,
3650                    java.lang.String changeLog, boolean majorVersion,
3651                    java.io.InputStream is, long size,
3652                    com.liferay.portal.service.ServiceContext serviceContext)
3653                    throws com.liferay.portal.kernel.exception.PortalException,
3654                            com.liferay.portal.kernel.exception.SystemException {
3655                    try {
3656                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3657                                            "updateFileEntry", _updateFileEntryParameterTypes96);
3658    
3659                            MethodHandler methodHandler = new MethodHandler(methodKey,
3660                                            fileEntryId, sourceFileName, mimeType, title, description,
3661                                            changeLog, majorVersion, is, size, serviceContext);
3662    
3663                            Object returnObj = null;
3664    
3665                            try {
3666                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
3667                            }
3668                            catch (Exception e) {
3669                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3670                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3671                                    }
3672    
3673                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3674                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3675                                    }
3676    
3677                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3678                            }
3679    
3680                            return (com.liferay.portal.kernel.repository.model.FileEntry)returnObj;
3681                    }
3682                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3683                            _log.error(se, se);
3684    
3685                            throw se;
3686                    }
3687            }
3688    
3689            public static com.liferay.portal.kernel.repository.model.FileEntry updateFileEntryAndCheckIn(
3690                    HttpPrincipal httpPrincipal, long fileEntryId,
3691                    java.lang.String sourceFileName, java.lang.String mimeType,
3692                    java.lang.String title, java.lang.String description,
3693                    java.lang.String changeLog, boolean majorVersion, java.io.File file,
3694                    com.liferay.portal.service.ServiceContext serviceContext)
3695                    throws com.liferay.portal.kernel.exception.PortalException,
3696                            com.liferay.portal.kernel.exception.SystemException {
3697                    try {
3698                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3699                                            "updateFileEntryAndCheckIn",
3700                                            _updateFileEntryAndCheckInParameterTypes97);
3701    
3702                            MethodHandler methodHandler = new MethodHandler(methodKey,
3703                                            fileEntryId, sourceFileName, mimeType, title, description,
3704                                            changeLog, majorVersion, file, serviceContext);
3705    
3706                            Object returnObj = null;
3707    
3708                            try {
3709                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
3710                            }
3711                            catch (Exception e) {
3712                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3713                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3714                                    }
3715    
3716                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3717                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3718                                    }
3719    
3720                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3721                            }
3722    
3723                            return (com.liferay.portal.kernel.repository.model.FileEntry)returnObj;
3724                    }
3725                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3726                            _log.error(se, se);
3727    
3728                            throw se;
3729                    }
3730            }
3731    
3732            public static com.liferay.portal.kernel.repository.model.FileEntry updateFileEntryAndCheckIn(
3733                    HttpPrincipal httpPrincipal, long fileEntryId,
3734                    java.lang.String sourceFileName, java.lang.String mimeType,
3735                    java.lang.String title, java.lang.String description,
3736                    java.lang.String changeLog, boolean majorVersion,
3737                    java.io.InputStream is, long size,
3738                    com.liferay.portal.service.ServiceContext serviceContext)
3739                    throws com.liferay.portal.kernel.exception.PortalException,
3740                            com.liferay.portal.kernel.exception.SystemException {
3741                    try {
3742                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3743                                            "updateFileEntryAndCheckIn",
3744                                            _updateFileEntryAndCheckInParameterTypes98);
3745    
3746                            MethodHandler methodHandler = new MethodHandler(methodKey,
3747                                            fileEntryId, sourceFileName, mimeType, title, description,
3748                                            changeLog, majorVersion, is, size, serviceContext);
3749    
3750                            Object returnObj = null;
3751    
3752                            try {
3753                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
3754                            }
3755                            catch (Exception e) {
3756                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3757                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3758                                    }
3759    
3760                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3761                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3762                                    }
3763    
3764                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3765                            }
3766    
3767                            return (com.liferay.portal.kernel.repository.model.FileEntry)returnObj;
3768                    }
3769                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3770                            _log.error(se, se);
3771    
3772                            throw se;
3773                    }
3774            }
3775    
3776            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
3777                    HttpPrincipal httpPrincipal, long fileShortcutId, long folderId,
3778                    long toFileEntryId,
3779                    com.liferay.portal.service.ServiceContext serviceContext)
3780                    throws com.liferay.portal.kernel.exception.PortalException,
3781                            com.liferay.portal.kernel.exception.SystemException {
3782                    try {
3783                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3784                                            "updateFileShortcut", _updateFileShortcutParameterTypes99);
3785    
3786                            MethodHandler methodHandler = new MethodHandler(methodKey,
3787                                            fileShortcutId, folderId, toFileEntryId, serviceContext);
3788    
3789                            Object returnObj = null;
3790    
3791                            try {
3792                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
3793                            }
3794                            catch (Exception e) {
3795                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3796                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3797                                    }
3798    
3799                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3800                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3801                                    }
3802    
3803                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3804                            }
3805    
3806                            return (com.liferay.portlet.documentlibrary.model.DLFileShortcut)returnObj;
3807                    }
3808                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3809                            _log.error(se, se);
3810    
3811                            throw se;
3812                    }
3813            }
3814    
3815            public static com.liferay.portal.kernel.repository.model.Folder updateFolder(
3816                    HttpPrincipal httpPrincipal, long folderId, java.lang.String name,
3817                    java.lang.String description,
3818                    com.liferay.portal.service.ServiceContext serviceContext)
3819                    throws com.liferay.portal.kernel.exception.PortalException,
3820                            com.liferay.portal.kernel.exception.SystemException {
3821                    try {
3822                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3823                                            "updateFolder", _updateFolderParameterTypes100);
3824    
3825                            MethodHandler methodHandler = new MethodHandler(methodKey,
3826                                            folderId, name, description, serviceContext);
3827    
3828                            Object returnObj = null;
3829    
3830                            try {
3831                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
3832                            }
3833                            catch (Exception e) {
3834                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3835                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3836                                    }
3837    
3838                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3839                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3840                                    }
3841    
3842                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3843                            }
3844    
3845                            return (com.liferay.portal.kernel.repository.model.Folder)returnObj;
3846                    }
3847                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3848                            _log.error(se, se);
3849    
3850                            throw se;
3851                    }
3852            }
3853    
3854            public static boolean verifyFileEntryCheckOut(HttpPrincipal httpPrincipal,
3855                    long repositoryId, long fileEntryId, java.lang.String lockUuid)
3856                    throws com.liferay.portal.kernel.exception.PortalException,
3857                            com.liferay.portal.kernel.exception.SystemException {
3858                    try {
3859                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3860                                            "verifyFileEntryCheckOut",
3861                                            _verifyFileEntryCheckOutParameterTypes101);
3862    
3863                            MethodHandler methodHandler = new MethodHandler(methodKey,
3864                                            repositoryId, fileEntryId, lockUuid);
3865    
3866                            Object returnObj = null;
3867    
3868                            try {
3869                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
3870                            }
3871                            catch (Exception e) {
3872                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3873                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3874                                    }
3875    
3876                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3877                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3878                                    }
3879    
3880                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3881                            }
3882    
3883                            return ((Boolean)returnObj).booleanValue();
3884                    }
3885                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3886                            _log.error(se, se);
3887    
3888                            throw se;
3889                    }
3890            }
3891    
3892            public static boolean verifyFileEntryLock(HttpPrincipal httpPrincipal,
3893                    long repositoryId, long fileEntryId, java.lang.String lockUuid)
3894                    throws com.liferay.portal.kernel.exception.PortalException,
3895                            com.liferay.portal.kernel.exception.SystemException {
3896                    try {
3897                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3898                                            "verifyFileEntryLock", _verifyFileEntryLockParameterTypes102);
3899    
3900                            MethodHandler methodHandler = new MethodHandler(methodKey,
3901                                            repositoryId, fileEntryId, lockUuid);
3902    
3903                            Object returnObj = null;
3904    
3905                            try {
3906                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
3907                            }
3908                            catch (Exception e) {
3909                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3910                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3911                                    }
3912    
3913                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3914                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3915                                    }
3916    
3917                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3918                            }
3919    
3920                            return ((Boolean)returnObj).booleanValue();
3921                    }
3922                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3923                            _log.error(se, se);
3924    
3925                            throw se;
3926                    }
3927            }
3928    
3929            public static boolean verifyInheritableLock(HttpPrincipal httpPrincipal,
3930                    long repositoryId, long folderId, java.lang.String lockUuid)
3931                    throws com.liferay.portal.kernel.exception.PortalException,
3932                            com.liferay.portal.kernel.exception.SystemException {
3933                    try {
3934                            MethodKey methodKey = new MethodKey(DLAppServiceUtil.class.getName(),
3935                                            "verifyInheritableLock",
3936                                            _verifyInheritableLockParameterTypes103);
3937    
3938                            MethodHandler methodHandler = new MethodHandler(methodKey,
3939                                            repositoryId, folderId, lockUuid);
3940    
3941                            Object returnObj = null;
3942    
3943                            try {
3944                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
3945                            }
3946                            catch (Exception e) {
3947                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
3948                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
3949                                    }
3950    
3951                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
3952                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
3953                                    }
3954    
3955                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
3956                            }
3957    
3958                            return ((Boolean)returnObj).booleanValue();
3959                    }
3960                    catch (com.liferay.portal.kernel.exception.SystemException se) {
3961                            _log.error(se, se);
3962    
3963                            throw se;
3964                    }
3965            }
3966    
3967            private static Log _log = LogFactoryUtil.getLog(DLAppServiceHttp.class);
3968            private static final Class<?>[] _addFileEntryParameterTypes0 = new Class[] {
3969                            long.class, long.class, java.lang.String.class,
3970                            java.lang.String.class, java.lang.String.class,
3971                            java.lang.String.class, java.lang.String.class, byte[].class,
3972                            com.liferay.portal.service.ServiceContext.class
3973                    };
3974            private static final Class<?>[] _addFileEntryParameterTypes1 = new Class[] {
3975                            long.class, long.class, java.lang.String.class,
3976                            java.lang.String.class, java.lang.String.class,
3977                            java.lang.String.class, java.lang.String.class, java.io.File.class,
3978                            com.liferay.portal.service.ServiceContext.class
3979                    };
3980            private static final Class<?>[] _addFileEntryParameterTypes2 = new Class[] {
3981                            long.class, long.class, java.lang.String.class,
3982                            java.lang.String.class, java.lang.String.class,
3983                            java.lang.String.class, java.lang.String.class,
3984                            java.io.InputStream.class, long.class,
3985                            com.liferay.portal.service.ServiceContext.class
3986                    };
3987            private static final Class<?>[] _addFileShortcutParameterTypes3 = new Class[] {
3988                            long.class, long.class, long.class,
3989                            com.liferay.portal.service.ServiceContext.class
3990                    };
3991            private static final Class<?>[] _addFolderParameterTypes4 = new Class[] {
3992                            long.class, long.class, java.lang.String.class,
3993                            java.lang.String.class,
3994                            com.liferay.portal.service.ServiceContext.class
3995                    };
3996            private static final Class<?>[] _addTempFileEntryParameterTypes5 = new Class[] {
3997                            long.class, long.class, java.lang.String.class,
3998                            java.lang.String.class, java.io.File.class
3999                    };
4000            private static final Class<?>[] _addTempFileEntryParameterTypes6 = new Class[] {
4001                            long.class, long.class, java.lang.String.class,
4002                            java.lang.String.class, java.io.InputStream.class
4003                    };
4004            private static final Class<?>[] _cancelCheckOutParameterTypes7 = new Class[] {
4005                            long.class
4006                    };
4007            private static final Class<?>[] _checkInFileEntryParameterTypes8 = new Class[] {
4008                            long.class, boolean.class, java.lang.String.class,
4009                            com.liferay.portal.service.ServiceContext.class
4010                    };
4011            private static final Class<?>[] _checkInFileEntryParameterTypes9 = new Class[] {
4012                            long.class, java.lang.String.class
4013                    };
4014            private static final Class<?>[] _checkInFileEntryParameterTypes10 = new Class[] {
4015                            long.class, java.lang.String.class,
4016                            com.liferay.portal.service.ServiceContext.class
4017                    };
4018            private static final Class<?>[] _checkOutFileEntryParameterTypes11 = new Class[] {
4019                            long.class, com.liferay.portal.service.ServiceContext.class
4020                    };
4021            private static final Class<?>[] _checkOutFileEntryParameterTypes12 = new Class[] {
4022                            long.class, java.lang.String.class, long.class,
4023                            com.liferay.portal.service.ServiceContext.class
4024                    };
4025            private static final Class<?>[] _copyFolderParameterTypes13 = new Class[] {
4026                            long.class, long.class, long.class, java.lang.String.class,
4027                            java.lang.String.class,
4028                            com.liferay.portal.service.ServiceContext.class
4029                    };
4030            private static final Class<?>[] _deleteFileEntryParameterTypes14 = new Class[] {
4031                            long.class
4032                    };
4033            private static final Class<?>[] _deleteFileEntryByTitleParameterTypes15 = new Class[] {
4034                            long.class, long.class, java.lang.String.class
4035                    };
4036            private static final Class<?>[] _deleteFileShortcutParameterTypes16 = new Class[] {
4037                            long.class
4038                    };
4039            private static final Class<?>[] _deleteFileVersionParameterTypes17 = new Class[] {
4040                            long.class, java.lang.String.class
4041                    };
4042            private static final Class<?>[] _deleteFolderParameterTypes18 = new Class[] {
4043                            long.class
4044                    };
4045            private static final Class<?>[] _deleteFolderParameterTypes19 = new Class[] {
4046                            long.class, long.class, java.lang.String.class
4047                    };
4048            private static final Class<?>[] _deleteTempFileEntryParameterTypes20 = new Class[] {
4049                            long.class, long.class, java.lang.String.class,
4050                            java.lang.String.class
4051                    };
4052            private static final Class<?>[] _getFileEntriesParameterTypes21 = new Class[] {
4053                            long.class, long.class
4054                    };
4055            private static final Class<?>[] _getFileEntriesParameterTypes22 = new Class[] {
4056                            long.class, long.class, int.class, int.class
4057                    };
4058            private static final Class<?>[] _getFileEntriesParameterTypes23 = new Class[] {
4059                            long.class, long.class, int.class, int.class,
4060                            com.liferay.portal.kernel.util.OrderByComparator.class
4061                    };
4062            private static final Class<?>[] _getFileEntriesParameterTypes24 = new Class[] {
4063                            long.class, long.class, long.class
4064                    };
4065            private static final Class<?>[] _getFileEntriesParameterTypes25 = new Class[] {
4066                            long.class, long.class, long.class, int.class, int.class
4067                    };
4068            private static final Class<?>[] _getFileEntriesParameterTypes26 = new Class[] {
4069                            long.class, long.class, long.class, int.class, int.class,
4070                            com.liferay.portal.kernel.util.OrderByComparator.class
4071                    };
4072            private static final Class<?>[] _getFileEntriesAndFileShortcutsParameterTypes27 =
4073                    new Class[] { long.class, long.class, int.class, int.class, int.class };
4074            private static final Class<?>[] _getFileEntriesAndFileShortcutsCountParameterTypes28 =
4075                    new Class[] { long.class, long.class, int.class };
4076            private static final Class<?>[] _getFileEntriesAndFileShortcutsCountParameterTypes29 =
4077                    new Class[] { long.class, long.class, int.class, java.lang.String[].class };
4078            private static final Class<?>[] _getFileEntriesCountParameterTypes30 = new Class[] {
4079                            long.class, long.class
4080                    };
4081            private static final Class<?>[] _getFileEntriesCountParameterTypes31 = new Class[] {
4082                            long.class, long.class, long.class
4083                    };
4084            private static final Class<?>[] _getFileEntryParameterTypes32 = new Class[] {
4085                            long.class
4086                    };
4087            private static final Class<?>[] _getFileEntryParameterTypes33 = new Class[] {
4088                            long.class, long.class, java.lang.String.class
4089                    };
4090            private static final Class<?>[] _getFileEntryByUuidAndGroupIdParameterTypes34 =
4091                    new Class[] { java.lang.String.class, long.class };
4092            private static final Class<?>[] _getFileShortcutParameterTypes35 = new Class[] {
4093                            long.class
4094                    };
4095            private static final Class<?>[] _getFolderParameterTypes36 = new Class[] {
4096                            long.class
4097                    };
4098            private static final Class<?>[] _getFolderParameterTypes37 = new Class[] {
4099                            long.class, long.class, java.lang.String.class
4100                    };
4101            private static final Class<?>[] _getFoldersParameterTypes38 = new Class[] {
4102                            long.class, long.class
4103                    };
4104            private static final Class<?>[] _getFoldersParameterTypes39 = new Class[] {
4105                            long.class, long.class, boolean.class
4106                    };
4107            private static final Class<?>[] _getFoldersParameterTypes40 = new Class[] {
4108                            long.class, long.class, boolean.class, int.class, int.class
4109                    };
4110            private static final Class<?>[] _getFoldersParameterTypes41 = new Class[] {
4111                            long.class, long.class, boolean.class, int.class, int.class,
4112                            com.liferay.portal.kernel.util.OrderByComparator.class
4113                    };
4114            private static final Class<?>[] _getFoldersParameterTypes42 = new Class[] {
4115                            long.class, long.class, int.class, boolean.class, int.class,
4116                            int.class, com.liferay.portal.kernel.util.OrderByComparator.class
4117                    };
4118            private static final Class<?>[] _getFoldersParameterTypes43 = new Class[] {
4119                            long.class, long.class, int.class, int.class
4120                    };
4121            private static final Class<?>[] _getFoldersParameterTypes44 = new Class[] {
4122                            long.class, long.class, int.class, int.class,
4123                            com.liferay.portal.kernel.util.OrderByComparator.class
4124                    };
4125            private static final Class<?>[] _getFoldersAndFileEntriesAndFileShortcutsParameterTypes45 =
4126                    new Class[] {
4127                            long.class, long.class, int.class, boolean.class, int.class,
4128                            int.class
4129                    };
4130            private static final Class<?>[] _getFoldersAndFileEntriesAndFileShortcutsParameterTypes46 =
4131                    new Class[] {
4132                            long.class, long.class, int.class, boolean.class, int.class,
4133                            int.class, com.liferay.portal.kernel.util.OrderByComparator.class
4134                    };
4135            private static final Class<?>[] _getFoldersAndFileEntriesAndFileShortcutsParameterTypes47 =
4136                    new Class[] {
4137                            long.class, long.class, int.class, java.lang.String[].class,
4138                            boolean.class, int.class, int.class,
4139                            com.liferay.portal.kernel.util.OrderByComparator.class
4140                    };
4141            private static final Class<?>[] _getFoldersAndFileEntriesAndFileShortcutsCountParameterTypes48 =
4142                    new Class[] { long.class, long.class, int.class, boolean.class };
4143            private static final Class<?>[] _getFoldersAndFileEntriesAndFileShortcutsCountParameterTypes49 =
4144                    new Class[] {
4145                            long.class, long.class, int.class, java.lang.String[].class,
4146                            boolean.class
4147                    };
4148            private static final Class<?>[] _getFoldersCountParameterTypes50 = new Class[] {
4149                            long.class, long.class
4150                    };
4151            private static final Class<?>[] _getFoldersCountParameterTypes51 = new Class[] {
4152                            long.class, long.class, boolean.class
4153                    };
4154            private static final Class<?>[] _getFoldersCountParameterTypes52 = new Class[] {
4155                            long.class, long.class, int.class, boolean.class
4156                    };
4157            private static final Class<?>[] _getFoldersFileEntriesCountParameterTypes53 = new Class[] {
4158                            long.class, java.util.List.class, int.class
4159                    };
4160            private static final Class<?>[] _getGroupFileEntriesParameterTypes54 = new Class[] {
4161                            long.class, long.class, int.class, int.class
4162                    };
4163            private static final Class<?>[] _getGroupFileEntriesParameterTypes55 = new Class[] {
4164                            long.class, long.class, int.class, int.class,
4165                            com.liferay.portal.kernel.util.OrderByComparator.class
4166                    };
4167            private static final Class<?>[] _getGroupFileEntriesParameterTypes56 = new Class[] {
4168                            long.class, long.class, long.class, int.class, int.class
4169                    };
4170            private static final Class<?>[] _getGroupFileEntriesParameterTypes57 = new Class[] {
4171                            long.class, long.class, long.class, int.class, int.class,
4172                            com.liferay.portal.kernel.util.OrderByComparator.class
4173                    };
4174            private static final Class<?>[] _getGroupFileEntriesParameterTypes58 = new Class[] {
4175                            long.class, long.class, long.class, java.lang.String[].class,
4176                            int.class, int.class, int.class,
4177                            com.liferay.portal.kernel.util.OrderByComparator.class
4178                    };
4179            private static final Class<?>[] _getGroupFileEntriesCountParameterTypes59 = new Class[] {
4180                            long.class, long.class
4181                    };
4182            private static final Class<?>[] _getGroupFileEntriesCountParameterTypes60 = new Class[] {
4183                            long.class, long.class, long.class
4184                    };
4185            private static final Class<?>[] _getGroupFileEntriesCountParameterTypes61 = new Class[] {
4186                            long.class, long.class, long.class, java.lang.String[].class,
4187                            int.class
4188                    };
4189            private static final Class<?>[] _getMountFoldersParameterTypes62 = new Class[] {
4190                            long.class, long.class
4191                    };
4192            private static final Class<?>[] _getMountFoldersParameterTypes63 = new Class[] {
4193                            long.class, long.class, int.class, int.class
4194                    };
4195            private static final Class<?>[] _getMountFoldersParameterTypes64 = new Class[] {
4196                            long.class, long.class, int.class, int.class,
4197                            com.liferay.portal.kernel.util.OrderByComparator.class
4198                    };
4199            private static final Class<?>[] _getMountFoldersCountParameterTypes65 = new Class[] {
4200                            long.class, long.class
4201                    };
4202            private static final Class<?>[] _getSubfolderIdsParameterTypes66 = new Class[] {
4203                            long.class, java.util.List.class, long.class
4204                    };
4205            private static final Class<?>[] _getSubfolderIdsParameterTypes67 = new Class[] {
4206                            long.class, long.class
4207                    };
4208            private static final Class<?>[] _getSubfolderIdsParameterTypes68 = new Class[] {
4209                            long.class, long.class, boolean.class
4210                    };
4211            private static final Class<?>[] _getTempFileEntryNamesParameterTypes69 = new Class[] {
4212                            long.class, long.class, java.lang.String.class
4213                    };
4214            private static final Class<?>[] _lockFileEntryParameterTypes70 = new Class[] {
4215                            long.class
4216                    };
4217            private static final Class<?>[] _lockFileEntryParameterTypes71 = new Class[] {
4218                            long.class, java.lang.String.class, long.class
4219                    };
4220            private static final Class<?>[] _lockFolderParameterTypes72 = new Class[] {
4221                            long.class, long.class
4222                    };
4223            private static final Class<?>[] _lockFolderParameterTypes73 = new Class[] {
4224                            long.class, long.class, java.lang.String.class, boolean.class,
4225                            long.class
4226                    };
4227            private static final Class<?>[] _moveFileEntryParameterTypes74 = new Class[] {
4228                            long.class, long.class,
4229                            com.liferay.portal.service.ServiceContext.class
4230                    };
4231            private static final Class<?>[] _moveFileEntryFromTrashParameterTypes75 = new Class[] {
4232                            long.class, long.class,
4233                            com.liferay.portal.service.ServiceContext.class
4234                    };
4235            private static final Class<?>[] _moveFileEntryToTrashParameterTypes76 = new Class[] {
4236                            long.class
4237                    };
4238            private static final Class<?>[] _moveFileShortcutFromTrashParameterTypes77 = new Class[] {
4239                            long.class, long.class,
4240                            com.liferay.portal.service.ServiceContext.class
4241                    };
4242            private static final Class<?>[] _moveFileShortcutToTrashParameterTypes78 = new Class[] {
4243                            long.class
4244                    };
4245            private static final Class<?>[] _moveFolderParameterTypes79 = new Class[] {
4246                            long.class, long.class,
4247                            com.liferay.portal.service.ServiceContext.class
4248                    };
4249            private static final Class<?>[] _moveFolderFromTrashParameterTypes80 = new Class[] {
4250                            long.class, long.class,
4251                            com.liferay.portal.service.ServiceContext.class
4252                    };
4253            private static final Class<?>[] _moveFolderToTrashParameterTypes81 = new Class[] {
4254                            long.class
4255                    };
4256            private static final Class<?>[] _refreshFileEntryLockParameterTypes82 = new Class[] {
4257                            java.lang.String.class, long.class, long.class
4258                    };
4259            private static final Class<?>[] _refreshFolderLockParameterTypes83 = new Class[] {
4260                            java.lang.String.class, long.class, long.class
4261                    };
4262            private static final Class<?>[] _restoreFileEntryFromTrashParameterTypes84 = new Class[] {
4263                            long.class
4264                    };
4265            private static final Class<?>[] _restoreFileShortcutFromTrashParameterTypes85 =
4266                    new Class[] { long.class };
4267            private static final Class<?>[] _restoreFolderFromTrashParameterTypes86 = new Class[] {
4268                            long.class
4269                    };
4270            private static final Class<?>[] _revertFileEntryParameterTypes87 = new Class[] {
4271                            long.class, java.lang.String.class,
4272                            com.liferay.portal.service.ServiceContext.class
4273                    };
4274            private static final Class<?>[] _searchParameterTypes88 = new Class[] {
4275                            long.class, com.liferay.portal.kernel.search.SearchContext.class
4276                    };
4277            private static final Class<?>[] _searchParameterTypes89 = new Class[] {
4278                            long.class, com.liferay.portal.kernel.search.SearchContext.class,
4279                            com.liferay.portal.kernel.search.Query.class
4280                    };
4281            private static final Class<?>[] _unlockFileEntryParameterTypes90 = new Class[] {
4282                            long.class
4283                    };
4284            private static final Class<?>[] _unlockFileEntryParameterTypes91 = new Class[] {
4285                            long.class, java.lang.String.class
4286                    };
4287            private static final Class<?>[] _unlockFolderParameterTypes92 = new Class[] {
4288                            long.class, long.class, java.lang.String.class
4289                    };
4290            private static final Class<?>[] _unlockFolderParameterTypes93 = new Class[] {
4291                            long.class, long.class, java.lang.String.class,
4292                            java.lang.String.class
4293                    };
4294            private static final Class<?>[] _updateFileEntryParameterTypes94 = new Class[] {
4295                            long.class, java.lang.String.class, java.lang.String.class,
4296                            java.lang.String.class, java.lang.String.class,
4297                            java.lang.String.class, boolean.class, byte[].class,
4298                            com.liferay.portal.service.ServiceContext.class
4299                    };
4300            private static final Class<?>[] _updateFileEntryParameterTypes95 = new Class[] {
4301                            long.class, java.lang.String.class, java.lang.String.class,
4302                            java.lang.String.class, java.lang.String.class,
4303                            java.lang.String.class, boolean.class, java.io.File.class,
4304                            com.liferay.portal.service.ServiceContext.class
4305                    };
4306            private static final Class<?>[] _updateFileEntryParameterTypes96 = new Class[] {
4307                            long.class, java.lang.String.class, java.lang.String.class,
4308                            java.lang.String.class, java.lang.String.class,
4309                            java.lang.String.class, boolean.class, java.io.InputStream.class,
4310                            long.class, com.liferay.portal.service.ServiceContext.class
4311                    };
4312            private static final Class<?>[] _updateFileEntryAndCheckInParameterTypes97 = new Class[] {
4313                            long.class, java.lang.String.class, java.lang.String.class,
4314                            java.lang.String.class, java.lang.String.class,
4315                            java.lang.String.class, boolean.class, java.io.File.class,
4316                            com.liferay.portal.service.ServiceContext.class
4317                    };
4318            private static final Class<?>[] _updateFileEntryAndCheckInParameterTypes98 = new Class[] {
4319                            long.class, java.lang.String.class, java.lang.String.class,
4320                            java.lang.String.class, java.lang.String.class,
4321                            java.lang.String.class, boolean.class, java.io.InputStream.class,
4322                            long.class, com.liferay.portal.service.ServiceContext.class
4323                    };
4324            private static final Class<?>[] _updateFileShortcutParameterTypes99 = new Class[] {
4325                            long.class, long.class, long.class,
4326                            com.liferay.portal.service.ServiceContext.class
4327                    };
4328            private static final Class<?>[] _updateFolderParameterTypes100 = new Class[] {
4329                            long.class, java.lang.String.class, java.lang.String.class,
4330                            com.liferay.portal.service.ServiceContext.class
4331                    };
4332            private static final Class<?>[] _verifyFileEntryCheckOutParameterTypes101 = new Class[] {
4333                            long.class, long.class, java.lang.String.class
4334                    };
4335            private static final Class<?>[] _verifyFileEntryLockParameterTypes102 = new Class[] {
4336                            long.class, long.class, java.lang.String.class
4337                    };
4338            private static final Class<?>[] _verifyInheritableLockParameterTypes103 = new Class[] {
4339                            long.class, long.class, java.lang.String.class
4340                    };
4341    }