001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.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.DLFileEntryServiceUtil;
025    
026    /**
027     * Provides the HTTP utility for the
028     * {@link com.liferay.portlet.documentlibrary.service.DLFileEntryServiceUtil} service utility. The
029     * static methods of this class calls the same methods of the service utility.
030     * However, the signatures are different because it requires an additional
031     * {@link com.liferay.portal.security.auth.HttpPrincipal} parameter.
032     *
033     * <p>
034     * The benefits of using the HTTP utility is that it is fast and allows for
035     * tunneling without the cost of serializing to text. The drawback is that it
036     * only works with Java.
037     * </p>
038     *
039     * <p>
040     * Set the property <b>tunnel.servlet.hosts.allowed</b> in portal.properties to
041     * configure security.
042     * </p>
043     *
044     * <p>
045     * The HTTP utility is only generated for remote services.
046     * </p>
047     *
048     * @author Brian Wing Shun Chan
049     * @see DLFileEntryServiceSoap
050     * @see com.liferay.portal.security.auth.HttpPrincipal
051     * @see com.liferay.portlet.documentlibrary.service.DLFileEntryServiceUtil
052     * @generated
053     */
054    public class DLFileEntryServiceHttp {
055            public static com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
056                    HttpPrincipal httpPrincipal, long groupId, long repositoryId,
057                    long folderId, java.lang.String sourceFileName,
058                    java.lang.String mimeType, java.lang.String title,
059                    java.lang.String description, java.lang.String changeLog,
060                    long fileEntryTypeId,
061                    java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
062                    java.io.File file, java.io.InputStream is, long size,
063                    com.liferay.portal.service.ServiceContext serviceContext)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    try {
067                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
068                                            "addFileEntry", _addFileEntryParameterTypes0);
069    
070                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
071                                            repositoryId, folderId, sourceFileName, mimeType, title,
072                                            description, changeLog, fileEntryTypeId, fieldsMap, file,
073                                            is, size, serviceContext);
074    
075                            Object returnObj = null;
076    
077                            try {
078                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
079                            }
080                            catch (Exception e) {
081                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
082                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
083                                    }
084    
085                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
086                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
087                                    }
088    
089                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
090                            }
091    
092                            return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
093                    }
094                    catch (com.liferay.portal.kernel.exception.SystemException se) {
095                            _log.error(se, se);
096    
097                            throw se;
098                    }
099            }
100    
101            public static com.liferay.portlet.documentlibrary.model.DLFileVersion cancelCheckOut(
102                    HttpPrincipal httpPrincipal, long fileEntryId)
103                    throws com.liferay.portal.kernel.exception.PortalException,
104                            com.liferay.portal.kernel.exception.SystemException {
105                    try {
106                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
107                                            "cancelCheckOut", _cancelCheckOutParameterTypes1);
108    
109                            MethodHandler methodHandler = new MethodHandler(methodKey,
110                                            fileEntryId);
111    
112                            Object returnObj = null;
113    
114                            try {
115                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
116                            }
117                            catch (Exception e) {
118                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
119                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
120                                    }
121    
122                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
123                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
124                                    }
125    
126                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
127                            }
128    
129                            return (com.liferay.portlet.documentlibrary.model.DLFileVersion)returnObj;
130                    }
131                    catch (com.liferay.portal.kernel.exception.SystemException se) {
132                            _log.error(se, se);
133    
134                            throw se;
135                    }
136            }
137    
138            public static void checkInFileEntry(HttpPrincipal httpPrincipal,
139                    long fileEntryId, boolean major, java.lang.String changeLog,
140                    com.liferay.portal.service.ServiceContext serviceContext)
141                    throws com.liferay.portal.kernel.exception.PortalException,
142                            com.liferay.portal.kernel.exception.SystemException {
143                    try {
144                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
145                                            "checkInFileEntry", _checkInFileEntryParameterTypes2);
146    
147                            MethodHandler methodHandler = new MethodHandler(methodKey,
148                                            fileEntryId, major, changeLog, serviceContext);
149    
150                            try {
151                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
152                            }
153                            catch (Exception e) {
154                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
155                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
156                                    }
157    
158                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
159                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
160                                    }
161    
162                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
163                            }
164                    }
165                    catch (com.liferay.portal.kernel.exception.SystemException se) {
166                            _log.error(se, se);
167    
168                            throw se;
169                    }
170            }
171    
172            public static void checkInFileEntry(HttpPrincipal httpPrincipal,
173                    long fileEntryId, java.lang.String lockUuid)
174                    throws com.liferay.portal.kernel.exception.PortalException,
175                            com.liferay.portal.kernel.exception.SystemException {
176                    try {
177                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
178                                            "checkInFileEntry", _checkInFileEntryParameterTypes3);
179    
180                            MethodHandler methodHandler = new MethodHandler(methodKey,
181                                            fileEntryId, lockUuid);
182    
183                            try {
184                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
185                            }
186                            catch (Exception e) {
187                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
188                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
189                                    }
190    
191                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
192                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
193                                    }
194    
195                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
196                            }
197                    }
198                    catch (com.liferay.portal.kernel.exception.SystemException se) {
199                            _log.error(se, se);
200    
201                            throw se;
202                    }
203            }
204    
205            public static void checkInFileEntry(HttpPrincipal httpPrincipal,
206                    long fileEntryId, java.lang.String lockUuid,
207                    com.liferay.portal.service.ServiceContext serviceContext)
208                    throws com.liferay.portal.kernel.exception.PortalException,
209                            com.liferay.portal.kernel.exception.SystemException {
210                    try {
211                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
212                                            "checkInFileEntry", _checkInFileEntryParameterTypes4);
213    
214                            MethodHandler methodHandler = new MethodHandler(methodKey,
215                                            fileEntryId, lockUuid, serviceContext);
216    
217                            try {
218                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
219                            }
220                            catch (Exception e) {
221                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
222                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
223                                    }
224    
225                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
226                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
227                                    }
228    
229                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
230                            }
231                    }
232                    catch (com.liferay.portal.kernel.exception.SystemException se) {
233                            _log.error(se, se);
234    
235                            throw se;
236                    }
237            }
238    
239            public static com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
240                    HttpPrincipal httpPrincipal, long fileEntryId)
241                    throws com.liferay.portal.kernel.exception.PortalException,
242                            com.liferay.portal.kernel.exception.SystemException {
243                    try {
244                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
245                                            "checkOutFileEntry", _checkOutFileEntryParameterTypes5);
246    
247                            MethodHandler methodHandler = new MethodHandler(methodKey,
248                                            fileEntryId);
249    
250                            Object returnObj = null;
251    
252                            try {
253                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
254                            }
255                            catch (Exception e) {
256                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
257                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
258                                    }
259    
260                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
261                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
262                                    }
263    
264                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
265                            }
266    
267                            return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
268                    }
269                    catch (com.liferay.portal.kernel.exception.SystemException se) {
270                            _log.error(se, se);
271    
272                            throw se;
273                    }
274            }
275    
276            public static com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
277                    HttpPrincipal httpPrincipal, long fileEntryId,
278                    com.liferay.portal.service.ServiceContext serviceContext)
279                    throws com.liferay.portal.kernel.exception.PortalException,
280                            com.liferay.portal.kernel.exception.SystemException {
281                    try {
282                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
283                                            "checkOutFileEntry", _checkOutFileEntryParameterTypes6);
284    
285                            MethodHandler methodHandler = new MethodHandler(methodKey,
286                                            fileEntryId, serviceContext);
287    
288                            Object returnObj = null;
289    
290                            try {
291                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
292                            }
293                            catch (Exception e) {
294                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
295                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
296                                    }
297    
298                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
299                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
300                                    }
301    
302                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
303                            }
304    
305                            return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
306                    }
307                    catch (com.liferay.portal.kernel.exception.SystemException se) {
308                            _log.error(se, se);
309    
310                            throw se;
311                    }
312            }
313    
314            public static com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
315                    HttpPrincipal httpPrincipal, long fileEntryId, java.lang.String owner,
316                    long expirationTime)
317                    throws com.liferay.portal.kernel.exception.PortalException,
318                            com.liferay.portal.kernel.exception.SystemException {
319                    try {
320                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
321                                            "checkOutFileEntry", _checkOutFileEntryParameterTypes7);
322    
323                            MethodHandler methodHandler = new MethodHandler(methodKey,
324                                            fileEntryId, owner, expirationTime);
325    
326                            Object returnObj = null;
327    
328                            try {
329                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
330                            }
331                            catch (Exception e) {
332                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
333                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
334                                    }
335    
336                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
337                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
338                                    }
339    
340                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
341                            }
342    
343                            return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
344                    }
345                    catch (com.liferay.portal.kernel.exception.SystemException se) {
346                            _log.error(se, se);
347    
348                            throw se;
349                    }
350            }
351    
352            public static com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
353                    HttpPrincipal httpPrincipal, long fileEntryId, java.lang.String owner,
354                    long expirationTime,
355                    com.liferay.portal.service.ServiceContext serviceContext)
356                    throws com.liferay.portal.kernel.exception.PortalException,
357                            com.liferay.portal.kernel.exception.SystemException {
358                    try {
359                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
360                                            "checkOutFileEntry", _checkOutFileEntryParameterTypes8);
361    
362                            MethodHandler methodHandler = new MethodHandler(methodKey,
363                                            fileEntryId, owner, expirationTime, serviceContext);
364    
365                            Object returnObj = null;
366    
367                            try {
368                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
369                            }
370                            catch (Exception e) {
371                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
372                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
373                                    }
374    
375                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
376                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
377                                    }
378    
379                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
380                            }
381    
382                            return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
383                    }
384                    catch (com.liferay.portal.kernel.exception.SystemException se) {
385                            _log.error(se, se);
386    
387                            throw se;
388                    }
389            }
390    
391            public static com.liferay.portlet.documentlibrary.model.DLFileEntry copyFileEntry(
392                    HttpPrincipal httpPrincipal, long groupId, long repositoryId,
393                    long fileEntryId, long destFolderId,
394                    com.liferay.portal.service.ServiceContext serviceContext)
395                    throws com.liferay.portal.kernel.exception.PortalException,
396                            com.liferay.portal.kernel.exception.SystemException {
397                    try {
398                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
399                                            "copyFileEntry", _copyFileEntryParameterTypes9);
400    
401                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
402                                            repositoryId, fileEntryId, destFolderId, serviceContext);
403    
404                            Object returnObj = null;
405    
406                            try {
407                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
408                            }
409                            catch (Exception e) {
410                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
411                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
412                                    }
413    
414                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
415                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
416                                    }
417    
418                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
419                            }
420    
421                            return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
422                    }
423                    catch (com.liferay.portal.kernel.exception.SystemException se) {
424                            _log.error(se, se);
425    
426                            throw se;
427                    }
428            }
429    
430            public static void deleteFileEntry(HttpPrincipal httpPrincipal,
431                    long fileEntryId)
432                    throws com.liferay.portal.kernel.exception.PortalException,
433                            com.liferay.portal.kernel.exception.SystemException {
434                    try {
435                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
436                                            "deleteFileEntry", _deleteFileEntryParameterTypes10);
437    
438                            MethodHandler methodHandler = new MethodHandler(methodKey,
439                                            fileEntryId);
440    
441                            try {
442                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
443                            }
444                            catch (Exception e) {
445                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
446                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
447                                    }
448    
449                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
450                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
451                                    }
452    
453                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
454                            }
455                    }
456                    catch (com.liferay.portal.kernel.exception.SystemException se) {
457                            _log.error(se, se);
458    
459                            throw se;
460                    }
461            }
462    
463            public static void deleteFileEntry(HttpPrincipal httpPrincipal,
464                    long groupId, long folderId, java.lang.String title)
465                    throws com.liferay.portal.kernel.exception.PortalException,
466                            com.liferay.portal.kernel.exception.SystemException {
467                    try {
468                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
469                                            "deleteFileEntry", _deleteFileEntryParameterTypes11);
470    
471                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
472                                            folderId, title);
473    
474                            try {
475                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
476                            }
477                            catch (Exception e) {
478                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
479                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
480                                    }
481    
482                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
483                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
484                                    }
485    
486                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
487                            }
488                    }
489                    catch (com.liferay.portal.kernel.exception.SystemException se) {
490                            _log.error(se, se);
491    
492                            throw se;
493                    }
494            }
495    
496            public static void deleteFileVersion(HttpPrincipal httpPrincipal,
497                    long fileEntryId, java.lang.String version)
498                    throws com.liferay.portal.kernel.exception.PortalException,
499                            com.liferay.portal.kernel.exception.SystemException {
500                    try {
501                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
502                                            "deleteFileVersion", _deleteFileVersionParameterTypes12);
503    
504                            MethodHandler methodHandler = new MethodHandler(methodKey,
505                                            fileEntryId, version);
506    
507                            try {
508                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
509                            }
510                            catch (Exception e) {
511                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
512                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
513                                    }
514    
515                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
516                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
517                                    }
518    
519                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
520                            }
521                    }
522                    catch (com.liferay.portal.kernel.exception.SystemException se) {
523                            _log.error(se, se);
524    
525                            throw se;
526                    }
527            }
528    
529            public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByImageId(
530                    HttpPrincipal httpPrincipal, long imageId)
531                    throws com.liferay.portal.kernel.exception.PortalException,
532                            com.liferay.portal.kernel.exception.SystemException {
533                    try {
534                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
535                                            "fetchFileEntryByImageId",
536                                            _fetchFileEntryByImageIdParameterTypes13);
537    
538                            MethodHandler methodHandler = new MethodHandler(methodKey, imageId);
539    
540                            Object returnObj = null;
541    
542                            try {
543                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
544                            }
545                            catch (Exception e) {
546                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
547                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
548                                    }
549    
550                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
551                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
552                                    }
553    
554                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
555                            }
556    
557                            return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
558                    }
559                    catch (com.liferay.portal.kernel.exception.SystemException se) {
560                            _log.error(se, se);
561    
562                            throw se;
563                    }
564            }
565    
566            public static java.io.InputStream getFileAsStream(
567                    HttpPrincipal httpPrincipal, long fileEntryId, java.lang.String version)
568                    throws com.liferay.portal.kernel.exception.PortalException,
569                            com.liferay.portal.kernel.exception.SystemException {
570                    try {
571                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
572                                            "getFileAsStream", _getFileAsStreamParameterTypes14);
573    
574                            MethodHandler methodHandler = new MethodHandler(methodKey,
575                                            fileEntryId, version);
576    
577                            Object returnObj = null;
578    
579                            try {
580                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
581                            }
582                            catch (Exception e) {
583                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
584                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
585                                    }
586    
587                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
588                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
589                                    }
590    
591                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
592                            }
593    
594                            return (java.io.InputStream)returnObj;
595                    }
596                    catch (com.liferay.portal.kernel.exception.SystemException se) {
597                            _log.error(se, se);
598    
599                            throw se;
600                    }
601            }
602    
603            public static java.io.InputStream getFileAsStream(
604                    HttpPrincipal httpPrincipal, long fileEntryId,
605                    java.lang.String version, boolean incrementCounter)
606                    throws com.liferay.portal.kernel.exception.PortalException,
607                            com.liferay.portal.kernel.exception.SystemException {
608                    try {
609                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
610                                            "getFileAsStream", _getFileAsStreamParameterTypes15);
611    
612                            MethodHandler methodHandler = new MethodHandler(methodKey,
613                                            fileEntryId, version, incrementCounter);
614    
615                            Object returnObj = null;
616    
617                            try {
618                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
619                            }
620                            catch (Exception e) {
621                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
622                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
623                                    }
624    
625                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
626                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
627                                    }
628    
629                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
630                            }
631    
632                            return (java.io.InputStream)returnObj;
633                    }
634                    catch (com.liferay.portal.kernel.exception.SystemException se) {
635                            _log.error(se, se);
636    
637                            throw se;
638                    }
639            }
640    
641            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
642                    HttpPrincipal httpPrincipal, long groupId, long folderId, int status,
643                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
644                    throws com.liferay.portal.kernel.exception.PortalException,
645                            com.liferay.portal.kernel.exception.SystemException {
646                    try {
647                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
648                                            "getFileEntries", _getFileEntriesParameterTypes16);
649    
650                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
651                                            folderId, status, start, end, obc);
652    
653                            Object returnObj = null;
654    
655                            try {
656                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
657                            }
658                            catch (Exception e) {
659                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
660                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
661                                    }
662    
663                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
664                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
665                                    }
666    
667                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
668                            }
669    
670                            return (java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry>)returnObj;
671                    }
672                    catch (com.liferay.portal.kernel.exception.SystemException se) {
673                            _log.error(se, se);
674    
675                            throw se;
676                    }
677            }
678    
679            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
680                    HttpPrincipal httpPrincipal, long groupId, long folderId, int start,
681                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
682                    throws com.liferay.portal.kernel.exception.PortalException,
683                            com.liferay.portal.kernel.exception.SystemException {
684                    try {
685                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
686                                            "getFileEntries", _getFileEntriesParameterTypes17);
687    
688                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
689                                            folderId, start, end, obc);
690    
691                            Object returnObj = null;
692    
693                            try {
694                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
695                            }
696                            catch (Exception e) {
697                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
698                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
699                                    }
700    
701                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
702                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
703                                    }
704    
705                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
706                            }
707    
708                            return (java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry>)returnObj;
709                    }
710                    catch (com.liferay.portal.kernel.exception.SystemException se) {
711                            _log.error(se, se);
712    
713                            throw se;
714                    }
715            }
716    
717            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
718                    HttpPrincipal httpPrincipal, long groupId, long folderId,
719                    long fileEntryTypeId, int start, int end,
720                    com.liferay.portal.kernel.util.OrderByComparator obc)
721                    throws com.liferay.portal.kernel.exception.PortalException,
722                            com.liferay.portal.kernel.exception.SystemException {
723                    try {
724                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
725                                            "getFileEntries", _getFileEntriesParameterTypes18);
726    
727                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
728                                            folderId, fileEntryTypeId, start, end, obc);
729    
730                            Object returnObj = null;
731    
732                            try {
733                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
734                            }
735                            catch (Exception e) {
736                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
737                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
738                                    }
739    
740                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
741                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
742                                    }
743    
744                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
745                            }
746    
747                            return (java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry>)returnObj;
748                    }
749                    catch (com.liferay.portal.kernel.exception.SystemException se) {
750                            _log.error(se, se);
751    
752                            throw se;
753                    }
754            }
755    
756            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
757                    HttpPrincipal httpPrincipal, long groupId, long folderId,
758                    java.lang.String[] mimeTypes, int start, int end,
759                    com.liferay.portal.kernel.util.OrderByComparator obc)
760                    throws com.liferay.portal.kernel.exception.PortalException,
761                            com.liferay.portal.kernel.exception.SystemException {
762                    try {
763                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
764                                            "getFileEntries", _getFileEntriesParameterTypes19);
765    
766                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
767                                            folderId, mimeTypes, start, end, obc);
768    
769                            Object returnObj = null;
770    
771                            try {
772                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
773                            }
774                            catch (Exception e) {
775                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
776                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
777                                    }
778    
779                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
780                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
781                                    }
782    
783                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
784                            }
785    
786                            return (java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry>)returnObj;
787                    }
788                    catch (com.liferay.portal.kernel.exception.SystemException se) {
789                            _log.error(se, se);
790    
791                            throw se;
792                    }
793            }
794    
795            public static int getFileEntriesCount(HttpPrincipal httpPrincipal,
796                    long groupId, long folderId)
797                    throws com.liferay.portal.kernel.exception.SystemException {
798                    try {
799                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
800                                            "getFileEntriesCount", _getFileEntriesCountParameterTypes20);
801    
802                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
803                                            folderId);
804    
805                            Object returnObj = null;
806    
807                            try {
808                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
809                            }
810                            catch (Exception e) {
811                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
812                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
813                                    }
814    
815                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
816                            }
817    
818                            return ((Integer)returnObj).intValue();
819                    }
820                    catch (com.liferay.portal.kernel.exception.SystemException se) {
821                            _log.error(se, se);
822    
823                            throw se;
824                    }
825            }
826    
827            public static int getFileEntriesCount(HttpPrincipal httpPrincipal,
828                    long groupId, long folderId, int status)
829                    throws com.liferay.portal.kernel.exception.SystemException {
830                    try {
831                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
832                                            "getFileEntriesCount", _getFileEntriesCountParameterTypes21);
833    
834                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
835                                            folderId, status);
836    
837                            Object returnObj = null;
838    
839                            try {
840                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
841                            }
842                            catch (Exception e) {
843                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
844                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
845                                    }
846    
847                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
848                            }
849    
850                            return ((Integer)returnObj).intValue();
851                    }
852                    catch (com.liferay.portal.kernel.exception.SystemException se) {
853                            _log.error(se, se);
854    
855                            throw se;
856                    }
857            }
858    
859            public static int getFileEntriesCount(HttpPrincipal httpPrincipal,
860                    long groupId, long folderId, long fileEntryTypeId)
861                    throws com.liferay.portal.kernel.exception.SystemException {
862                    try {
863                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
864                                            "getFileEntriesCount", _getFileEntriesCountParameterTypes22);
865    
866                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
867                                            folderId, fileEntryTypeId);
868    
869                            Object returnObj = null;
870    
871                            try {
872                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
873                            }
874                            catch (Exception e) {
875                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
876                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
877                                    }
878    
879                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
880                            }
881    
882                            return ((Integer)returnObj).intValue();
883                    }
884                    catch (com.liferay.portal.kernel.exception.SystemException se) {
885                            _log.error(se, se);
886    
887                            throw se;
888                    }
889            }
890    
891            public static int getFileEntriesCount(HttpPrincipal httpPrincipal,
892                    long groupId, long folderId, java.lang.String[] mimeTypes)
893                    throws com.liferay.portal.kernel.exception.SystemException {
894                    try {
895                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
896                                            "getFileEntriesCount", _getFileEntriesCountParameterTypes23);
897    
898                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
899                                            folderId, mimeTypes);
900    
901                            Object returnObj = null;
902    
903                            try {
904                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
905                            }
906                            catch (Exception e) {
907                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
908                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
909                                    }
910    
911                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
912                            }
913    
914                            return ((Integer)returnObj).intValue();
915                    }
916                    catch (com.liferay.portal.kernel.exception.SystemException se) {
917                            _log.error(se, se);
918    
919                            throw se;
920                    }
921            }
922    
923            public static com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
924                    HttpPrincipal httpPrincipal, long fileEntryId)
925                    throws com.liferay.portal.kernel.exception.PortalException,
926                            com.liferay.portal.kernel.exception.SystemException {
927                    try {
928                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
929                                            "getFileEntry", _getFileEntryParameterTypes24);
930    
931                            MethodHandler methodHandler = new MethodHandler(methodKey,
932                                            fileEntryId);
933    
934                            Object returnObj = null;
935    
936                            try {
937                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
938                            }
939                            catch (Exception e) {
940                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
941                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
942                                    }
943    
944                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
945                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
946                                    }
947    
948                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
949                            }
950    
951                            return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
952                    }
953                    catch (com.liferay.portal.kernel.exception.SystemException se) {
954                            _log.error(se, se);
955    
956                            throw se;
957                    }
958            }
959    
960            public static com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
961                    HttpPrincipal httpPrincipal, long groupId, long folderId,
962                    java.lang.String title)
963                    throws com.liferay.portal.kernel.exception.PortalException,
964                            com.liferay.portal.kernel.exception.SystemException {
965                    try {
966                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
967                                            "getFileEntry", _getFileEntryParameterTypes25);
968    
969                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
970                                            folderId, title);
971    
972                            Object returnObj = null;
973    
974                            try {
975                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
976                            }
977                            catch (Exception e) {
978                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
979                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
980                                    }
981    
982                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
983                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
984                                    }
985    
986                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
987                            }
988    
989                            return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
990                    }
991                    catch (com.liferay.portal.kernel.exception.SystemException se) {
992                            _log.error(se, se);
993    
994                            throw se;
995                    }
996            }
997    
998            public static com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
999                    HttpPrincipal httpPrincipal, java.lang.String uuid, long groupId)
1000                    throws com.liferay.portal.kernel.exception.PortalException,
1001                            com.liferay.portal.kernel.exception.SystemException {
1002                    try {
1003                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
1004                                            "getFileEntryByUuidAndGroupId",
1005                                            _getFileEntryByUuidAndGroupIdParameterTypes26);
1006    
1007                            MethodHandler methodHandler = new MethodHandler(methodKey, uuid,
1008                                            groupId);
1009    
1010                            Object returnObj = null;
1011    
1012                            try {
1013                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1014                            }
1015                            catch (Exception e) {
1016                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1017                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1018                                    }
1019    
1020                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1021                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1022                                    }
1023    
1024                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1025                            }
1026    
1027                            return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
1028                    }
1029                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1030                            _log.error(se, se);
1031    
1032                            throw se;
1033                    }
1034            }
1035    
1036            public static com.liferay.portal.model.Lock getFileEntryLock(
1037                    HttpPrincipal httpPrincipal, long fileEntryId)
1038                    throws com.liferay.portal.kernel.exception.SystemException {
1039                    try {
1040                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
1041                                            "getFileEntryLock", _getFileEntryLockParameterTypes27);
1042    
1043                            MethodHandler methodHandler = new MethodHandler(methodKey,
1044                                            fileEntryId);
1045    
1046                            Object returnObj = null;
1047    
1048                            try {
1049                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1050                            }
1051                            catch (Exception e) {
1052                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1053                            }
1054    
1055                            return (com.liferay.portal.model.Lock)returnObj;
1056                    }
1057                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1058                            _log.error(se, se);
1059    
1060                            throw se;
1061                    }
1062            }
1063    
1064            public static int getFoldersFileEntriesCount(HttpPrincipal httpPrincipal,
1065                    long groupId, java.util.List<java.lang.Long> folderIds, int status)
1066                    throws com.liferay.portal.kernel.exception.SystemException {
1067                    try {
1068                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
1069                                            "getFoldersFileEntriesCount",
1070                                            _getFoldersFileEntriesCountParameterTypes28);
1071    
1072                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1073                                            folderIds, status);
1074    
1075                            Object returnObj = null;
1076    
1077                            try {
1078                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1079                            }
1080                            catch (Exception e) {
1081                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1082                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1083                                    }
1084    
1085                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1086                            }
1087    
1088                            return ((Integer)returnObj).intValue();
1089                    }
1090                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1091                            _log.error(se, se);
1092    
1093                            throw se;
1094                    }
1095            }
1096    
1097            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
1098                    HttpPrincipal httpPrincipal, long groupId, long userId,
1099                    long rootFolderId, int start, int end,
1100                    com.liferay.portal.kernel.util.OrderByComparator obc)
1101                    throws com.liferay.portal.kernel.exception.PortalException,
1102                            com.liferay.portal.kernel.exception.SystemException {
1103                    try {
1104                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
1105                                            "getGroupFileEntries", _getGroupFileEntriesParameterTypes29);
1106    
1107                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1108                                            userId, rootFolderId, start, end, obc);
1109    
1110                            Object returnObj = null;
1111    
1112                            try {
1113                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1114                            }
1115                            catch (Exception e) {
1116                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1117                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1118                                    }
1119    
1120                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1121                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1122                                    }
1123    
1124                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1125                            }
1126    
1127                            return (java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry>)returnObj;
1128                    }
1129                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1130                            _log.error(se, se);
1131    
1132                            throw se;
1133                    }
1134            }
1135    
1136            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
1137                    HttpPrincipal httpPrincipal, long groupId, long userId,
1138                    long rootFolderId, java.lang.String[] mimeTypes, int status, int start,
1139                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
1140                    throws com.liferay.portal.kernel.exception.PortalException,
1141                            com.liferay.portal.kernel.exception.SystemException {
1142                    try {
1143                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
1144                                            "getGroupFileEntries", _getGroupFileEntriesParameterTypes30);
1145    
1146                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1147                                            userId, rootFolderId, mimeTypes, status, start, end, obc);
1148    
1149                            Object returnObj = null;
1150    
1151                            try {
1152                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1153                            }
1154                            catch (Exception e) {
1155                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1156                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1157                                    }
1158    
1159                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1160                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1161                                    }
1162    
1163                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1164                            }
1165    
1166                            return (java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry>)returnObj;
1167                    }
1168                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1169                            _log.error(se, se);
1170    
1171                            throw se;
1172                    }
1173            }
1174    
1175            public static int getGroupFileEntriesCount(HttpPrincipal httpPrincipal,
1176                    long groupId, long userId, long rootFolderId)
1177                    throws com.liferay.portal.kernel.exception.PortalException,
1178                            com.liferay.portal.kernel.exception.SystemException {
1179                    try {
1180                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
1181                                            "getGroupFileEntriesCount",
1182                                            _getGroupFileEntriesCountParameterTypes31);
1183    
1184                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1185                                            userId, rootFolderId);
1186    
1187                            Object returnObj = null;
1188    
1189                            try {
1190                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1191                            }
1192                            catch (Exception e) {
1193                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1194                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1195                                    }
1196    
1197                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1198                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1199                                    }
1200    
1201                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1202                            }
1203    
1204                            return ((Integer)returnObj).intValue();
1205                    }
1206                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1207                            _log.error(se, se);
1208    
1209                            throw se;
1210                    }
1211            }
1212    
1213            public static int getGroupFileEntriesCount(HttpPrincipal httpPrincipal,
1214                    long groupId, long userId, long rootFolderId,
1215                    java.lang.String[] mimeTypes, int status)
1216                    throws com.liferay.portal.kernel.exception.PortalException,
1217                            com.liferay.portal.kernel.exception.SystemException {
1218                    try {
1219                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
1220                                            "getGroupFileEntriesCount",
1221                                            _getGroupFileEntriesCountParameterTypes32);
1222    
1223                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1224                                            userId, rootFolderId, mimeTypes, status);
1225    
1226                            Object returnObj = null;
1227    
1228                            try {
1229                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1230                            }
1231                            catch (Exception e) {
1232                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1233                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1234                                    }
1235    
1236                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1237                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1238                                    }
1239    
1240                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1241                            }
1242    
1243                            return ((Integer)returnObj).intValue();
1244                    }
1245                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1246                            _log.error(se, se);
1247    
1248                            throw se;
1249                    }
1250            }
1251    
1252            public static boolean hasFileEntryLock(HttpPrincipal httpPrincipal,
1253                    long fileEntryId)
1254                    throws com.liferay.portal.kernel.exception.PortalException,
1255                            com.liferay.portal.kernel.exception.SystemException {
1256                    try {
1257                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
1258                                            "hasFileEntryLock", _hasFileEntryLockParameterTypes33);
1259    
1260                            MethodHandler methodHandler = new MethodHandler(methodKey,
1261                                            fileEntryId);
1262    
1263                            Object returnObj = null;
1264    
1265                            try {
1266                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1267                            }
1268                            catch (Exception e) {
1269                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1270                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1271                                    }
1272    
1273                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1274                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1275                                    }
1276    
1277                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1278                            }
1279    
1280                            return ((Boolean)returnObj).booleanValue();
1281                    }
1282                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1283                            _log.error(se, se);
1284    
1285                            throw se;
1286                    }
1287            }
1288    
1289            public static boolean isFileEntryCheckedOut(HttpPrincipal httpPrincipal,
1290                    long fileEntryId)
1291                    throws com.liferay.portal.kernel.exception.PortalException,
1292                            com.liferay.portal.kernel.exception.SystemException {
1293                    try {
1294                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
1295                                            "isFileEntryCheckedOut",
1296                                            _isFileEntryCheckedOutParameterTypes34);
1297    
1298                            MethodHandler methodHandler = new MethodHandler(methodKey,
1299                                            fileEntryId);
1300    
1301                            Object returnObj = null;
1302    
1303                            try {
1304                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1305                            }
1306                            catch (Exception e) {
1307                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1308                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1309                                    }
1310    
1311                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1312                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1313                                    }
1314    
1315                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1316                            }
1317    
1318                            return ((Boolean)returnObj).booleanValue();
1319                    }
1320                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1321                            _log.error(se, se);
1322    
1323                            throw se;
1324                    }
1325            }
1326    
1327            public static com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
1328                    HttpPrincipal httpPrincipal, long fileEntryId, long newFolderId,
1329                    com.liferay.portal.service.ServiceContext serviceContext)
1330                    throws com.liferay.portal.kernel.exception.PortalException,
1331                            com.liferay.portal.kernel.exception.SystemException {
1332                    try {
1333                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
1334                                            "moveFileEntry", _moveFileEntryParameterTypes35);
1335    
1336                            MethodHandler methodHandler = new MethodHandler(methodKey,
1337                                            fileEntryId, newFolderId, serviceContext);
1338    
1339                            Object returnObj = null;
1340    
1341                            try {
1342                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1343                            }
1344                            catch (Exception e) {
1345                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1346                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1347                                    }
1348    
1349                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1350                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1351                                    }
1352    
1353                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1354                            }
1355    
1356                            return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
1357                    }
1358                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1359                            _log.error(se, se);
1360    
1361                            throw se;
1362                    }
1363            }
1364    
1365            public static com.liferay.portal.model.Lock refreshFileEntryLock(
1366                    HttpPrincipal httpPrincipal, java.lang.String lockUuid, long companyId,
1367                    long expirationTime)
1368                    throws com.liferay.portal.kernel.exception.PortalException,
1369                            com.liferay.portal.kernel.exception.SystemException {
1370                    try {
1371                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
1372                                            "refreshFileEntryLock",
1373                                            _refreshFileEntryLockParameterTypes36);
1374    
1375                            MethodHandler methodHandler = new MethodHandler(methodKey,
1376                                            lockUuid, companyId, expirationTime);
1377    
1378                            Object returnObj = null;
1379    
1380                            try {
1381                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1382                            }
1383                            catch (Exception e) {
1384                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1385                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1386                                    }
1387    
1388                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1389                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1390                                    }
1391    
1392                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1393                            }
1394    
1395                            return (com.liferay.portal.model.Lock)returnObj;
1396                    }
1397                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1398                            _log.error(se, se);
1399    
1400                            throw se;
1401                    }
1402            }
1403    
1404            public static void revertFileEntry(HttpPrincipal httpPrincipal,
1405                    long fileEntryId, java.lang.String version,
1406                    com.liferay.portal.service.ServiceContext serviceContext)
1407                    throws com.liferay.portal.kernel.exception.PortalException,
1408                            com.liferay.portal.kernel.exception.SystemException {
1409                    try {
1410                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
1411                                            "revertFileEntry", _revertFileEntryParameterTypes37);
1412    
1413                            MethodHandler methodHandler = new MethodHandler(methodKey,
1414                                            fileEntryId, version, serviceContext);
1415    
1416                            try {
1417                                    TunnelUtil.invoke(httpPrincipal, methodHandler);
1418                            }
1419                            catch (Exception e) {
1420                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1421                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1422                                    }
1423    
1424                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1425                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1426                                    }
1427    
1428                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1429                            }
1430                    }
1431                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1432                            _log.error(se, se);
1433    
1434                            throw se;
1435                    }
1436            }
1437    
1438            public static com.liferay.portal.kernel.search.Hits search(
1439                    HttpPrincipal httpPrincipal, long groupId, long creatorUserId,
1440                    int status, int start, int end)
1441                    throws com.liferay.portal.kernel.exception.PortalException,
1442                            com.liferay.portal.kernel.exception.SystemException {
1443                    try {
1444                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
1445                                            "search", _searchParameterTypes38);
1446    
1447                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1448                                            creatorUserId, status, start, end);
1449    
1450                            Object returnObj = null;
1451    
1452                            try {
1453                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1454                            }
1455                            catch (Exception e) {
1456                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1457                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1458                                    }
1459    
1460                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1461                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1462                                    }
1463    
1464                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1465                            }
1466    
1467                            return (com.liferay.portal.kernel.search.Hits)returnObj;
1468                    }
1469                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1470                            _log.error(se, se);
1471    
1472                            throw se;
1473                    }
1474            }
1475    
1476            public static com.liferay.portal.kernel.search.Hits search(
1477                    HttpPrincipal httpPrincipal, long groupId, long creatorUserId,
1478                    long folderId, java.lang.String[] mimeTypes, int status, int start,
1479                    int end)
1480                    throws com.liferay.portal.kernel.exception.PortalException,
1481                            com.liferay.portal.kernel.exception.SystemException {
1482                    try {
1483                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
1484                                            "search", _searchParameterTypes39);
1485    
1486                            MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
1487                                            creatorUserId, folderId, mimeTypes, status, start, end);
1488    
1489                            Object returnObj = null;
1490    
1491                            try {
1492                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1493                            }
1494                            catch (Exception e) {
1495                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1496                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1497                                    }
1498    
1499                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1500                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1501                                    }
1502    
1503                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1504                            }
1505    
1506                            return (com.liferay.portal.kernel.search.Hits)returnObj;
1507                    }
1508                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1509                            _log.error(se, se);
1510    
1511                            throw se;
1512                    }
1513            }
1514    
1515            public static com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
1516                    HttpPrincipal httpPrincipal, long fileEntryId,
1517                    java.lang.String sourceFileName, java.lang.String mimeType,
1518                    java.lang.String title, java.lang.String description,
1519                    java.lang.String changeLog, boolean majorVersion, long fileEntryTypeId,
1520                    java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
1521                    java.io.File file, java.io.InputStream is, long size,
1522                    com.liferay.portal.service.ServiceContext serviceContext)
1523                    throws com.liferay.portal.kernel.exception.PortalException,
1524                            com.liferay.portal.kernel.exception.SystemException {
1525                    try {
1526                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
1527                                            "updateFileEntry", _updateFileEntryParameterTypes40);
1528    
1529                            MethodHandler methodHandler = new MethodHandler(methodKey,
1530                                            fileEntryId, sourceFileName, mimeType, title, description,
1531                                            changeLog, majorVersion, fileEntryTypeId, fieldsMap, file,
1532                                            is, size, serviceContext);
1533    
1534                            Object returnObj = null;
1535    
1536                            try {
1537                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1538                            }
1539                            catch (Exception e) {
1540                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1541                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1542                                    }
1543    
1544                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1545                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1546                                    }
1547    
1548                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1549                            }
1550    
1551                            return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
1552                    }
1553                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1554                            _log.error(se, se);
1555    
1556                            throw se;
1557                    }
1558            }
1559    
1560            public static boolean verifyFileEntryCheckOut(HttpPrincipal httpPrincipal,
1561                    long fileEntryId, java.lang.String lockUuid)
1562                    throws com.liferay.portal.kernel.exception.PortalException,
1563                            com.liferay.portal.kernel.exception.SystemException {
1564                    try {
1565                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
1566                                            "verifyFileEntryCheckOut",
1567                                            _verifyFileEntryCheckOutParameterTypes41);
1568    
1569                            MethodHandler methodHandler = new MethodHandler(methodKey,
1570                                            fileEntryId, lockUuid);
1571    
1572                            Object returnObj = null;
1573    
1574                            try {
1575                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1576                            }
1577                            catch (Exception e) {
1578                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1579                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1580                                    }
1581    
1582                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1583                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1584                                    }
1585    
1586                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1587                            }
1588    
1589                            return ((Boolean)returnObj).booleanValue();
1590                    }
1591                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1592                            _log.error(se, se);
1593    
1594                            throw se;
1595                    }
1596            }
1597    
1598            public static boolean verifyFileEntryLock(HttpPrincipal httpPrincipal,
1599                    long fileEntryId, java.lang.String lockUuid)
1600                    throws com.liferay.portal.kernel.exception.PortalException,
1601                            com.liferay.portal.kernel.exception.SystemException {
1602                    try {
1603                            MethodKey methodKey = new MethodKey(DLFileEntryServiceUtil.class,
1604                                            "verifyFileEntryLock", _verifyFileEntryLockParameterTypes42);
1605    
1606                            MethodHandler methodHandler = new MethodHandler(methodKey,
1607                                            fileEntryId, lockUuid);
1608    
1609                            Object returnObj = null;
1610    
1611                            try {
1612                                    returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
1613                            }
1614                            catch (Exception e) {
1615                                    if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1616                                            throw (com.liferay.portal.kernel.exception.PortalException)e;
1617                                    }
1618    
1619                                    if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1620                                            throw (com.liferay.portal.kernel.exception.SystemException)e;
1621                                    }
1622    
1623                                    throw new com.liferay.portal.kernel.exception.SystemException(e);
1624                            }
1625    
1626                            return ((Boolean)returnObj).booleanValue();
1627                    }
1628                    catch (com.liferay.portal.kernel.exception.SystemException se) {
1629                            _log.error(se, se);
1630    
1631                            throw se;
1632                    }
1633            }
1634    
1635            private static Log _log = LogFactoryUtil.getLog(DLFileEntryServiceHttp.class);
1636            private static final Class<?>[] _addFileEntryParameterTypes0 = new Class[] {
1637                            long.class, long.class, long.class, java.lang.String.class,
1638                            java.lang.String.class, java.lang.String.class,
1639                            java.lang.String.class, java.lang.String.class, long.class,
1640                            java.util.Map.class, java.io.File.class, java.io.InputStream.class,
1641                            long.class, com.liferay.portal.service.ServiceContext.class
1642                    };
1643            private static final Class<?>[] _cancelCheckOutParameterTypes1 = new Class[] {
1644                            long.class
1645                    };
1646            private static final Class<?>[] _checkInFileEntryParameterTypes2 = new Class[] {
1647                            long.class, boolean.class, java.lang.String.class,
1648                            com.liferay.portal.service.ServiceContext.class
1649                    };
1650            private static final Class<?>[] _checkInFileEntryParameterTypes3 = new Class[] {
1651                            long.class, java.lang.String.class
1652                    };
1653            private static final Class<?>[] _checkInFileEntryParameterTypes4 = new Class[] {
1654                            long.class, java.lang.String.class,
1655                            com.liferay.portal.service.ServiceContext.class
1656                    };
1657            private static final Class<?>[] _checkOutFileEntryParameterTypes5 = new Class[] {
1658                            long.class
1659                    };
1660            private static final Class<?>[] _checkOutFileEntryParameterTypes6 = new Class[] {
1661                            long.class, com.liferay.portal.service.ServiceContext.class
1662                    };
1663            private static final Class<?>[] _checkOutFileEntryParameterTypes7 = new Class[] {
1664                            long.class, java.lang.String.class, long.class
1665                    };
1666            private static final Class<?>[] _checkOutFileEntryParameterTypes8 = new Class[] {
1667                            long.class, java.lang.String.class, long.class,
1668                            com.liferay.portal.service.ServiceContext.class
1669                    };
1670            private static final Class<?>[] _copyFileEntryParameterTypes9 = new Class[] {
1671                            long.class, long.class, long.class, long.class,
1672                            com.liferay.portal.service.ServiceContext.class
1673                    };
1674            private static final Class<?>[] _deleteFileEntryParameterTypes10 = new Class[] {
1675                            long.class
1676                    };
1677            private static final Class<?>[] _deleteFileEntryParameterTypes11 = new Class[] {
1678                            long.class, long.class, java.lang.String.class
1679                    };
1680            private static final Class<?>[] _deleteFileVersionParameterTypes12 = new Class[] {
1681                            long.class, java.lang.String.class
1682                    };
1683            private static final Class<?>[] _fetchFileEntryByImageIdParameterTypes13 = new Class[] {
1684                            long.class
1685                    };
1686            private static final Class<?>[] _getFileAsStreamParameterTypes14 = new Class[] {
1687                            long.class, java.lang.String.class
1688                    };
1689            private static final Class<?>[] _getFileAsStreamParameterTypes15 = new Class[] {
1690                            long.class, java.lang.String.class, boolean.class
1691                    };
1692            private static final Class<?>[] _getFileEntriesParameterTypes16 = new Class[] {
1693                            long.class, long.class, int.class, int.class, int.class,
1694                            com.liferay.portal.kernel.util.OrderByComparator.class
1695                    };
1696            private static final Class<?>[] _getFileEntriesParameterTypes17 = new Class[] {
1697                            long.class, long.class, int.class, int.class,
1698                            com.liferay.portal.kernel.util.OrderByComparator.class
1699                    };
1700            private static final Class<?>[] _getFileEntriesParameterTypes18 = new Class[] {
1701                            long.class, long.class, long.class, int.class, int.class,
1702                            com.liferay.portal.kernel.util.OrderByComparator.class
1703                    };
1704            private static final Class<?>[] _getFileEntriesParameterTypes19 = new Class[] {
1705                            long.class, long.class, java.lang.String[].class, int.class,
1706                            int.class, com.liferay.portal.kernel.util.OrderByComparator.class
1707                    };
1708            private static final Class<?>[] _getFileEntriesCountParameterTypes20 = new Class[] {
1709                            long.class, long.class
1710                    };
1711            private static final Class<?>[] _getFileEntriesCountParameterTypes21 = new Class[] {
1712                            long.class, long.class, int.class
1713                    };
1714            private static final Class<?>[] _getFileEntriesCountParameterTypes22 = new Class[] {
1715                            long.class, long.class, long.class
1716                    };
1717            private static final Class<?>[] _getFileEntriesCountParameterTypes23 = new Class[] {
1718                            long.class, long.class, java.lang.String[].class
1719                    };
1720            private static final Class<?>[] _getFileEntryParameterTypes24 = new Class[] {
1721                            long.class
1722                    };
1723            private static final Class<?>[] _getFileEntryParameterTypes25 = new Class[] {
1724                            long.class, long.class, java.lang.String.class
1725                    };
1726            private static final Class<?>[] _getFileEntryByUuidAndGroupIdParameterTypes26 =
1727                    new Class[] { java.lang.String.class, long.class };
1728            private static final Class<?>[] _getFileEntryLockParameterTypes27 = new Class[] {
1729                            long.class
1730                    };
1731            private static final Class<?>[] _getFoldersFileEntriesCountParameterTypes28 = new Class[] {
1732                            long.class, java.util.List.class, int.class
1733                    };
1734            private static final Class<?>[] _getGroupFileEntriesParameterTypes29 = new Class[] {
1735                            long.class, long.class, long.class, int.class, int.class,
1736                            com.liferay.portal.kernel.util.OrderByComparator.class
1737                    };
1738            private static final Class<?>[] _getGroupFileEntriesParameterTypes30 = new Class[] {
1739                            long.class, long.class, long.class, java.lang.String[].class,
1740                            int.class, int.class, int.class,
1741                            com.liferay.portal.kernel.util.OrderByComparator.class
1742                    };
1743            private static final Class<?>[] _getGroupFileEntriesCountParameterTypes31 = new Class[] {
1744                            long.class, long.class, long.class
1745                    };
1746            private static final Class<?>[] _getGroupFileEntriesCountParameterTypes32 = new Class[] {
1747                            long.class, long.class, long.class, java.lang.String[].class,
1748                            int.class
1749                    };
1750            private static final Class<?>[] _hasFileEntryLockParameterTypes33 = new Class[] {
1751                            long.class
1752                    };
1753            private static final Class<?>[] _isFileEntryCheckedOutParameterTypes34 = new Class[] {
1754                            long.class
1755                    };
1756            private static final Class<?>[] _moveFileEntryParameterTypes35 = new Class[] {
1757                            long.class, long.class,
1758                            com.liferay.portal.service.ServiceContext.class
1759                    };
1760            private static final Class<?>[] _refreshFileEntryLockParameterTypes36 = new Class[] {
1761                            java.lang.String.class, long.class, long.class
1762                    };
1763            private static final Class<?>[] _revertFileEntryParameterTypes37 = new Class[] {
1764                            long.class, java.lang.String.class,
1765                            com.liferay.portal.service.ServiceContext.class
1766                    };
1767            private static final Class<?>[] _searchParameterTypes38 = new Class[] {
1768                            long.class, long.class, int.class, int.class, int.class
1769                    };
1770            private static final Class<?>[] _searchParameterTypes39 = new Class[] {
1771                            long.class, long.class, long.class, java.lang.String[].class,
1772                            int.class, int.class, int.class
1773                    };
1774            private static final Class<?>[] _updateFileEntryParameterTypes40 = new Class[] {
1775                            long.class, java.lang.String.class, java.lang.String.class,
1776                            java.lang.String.class, java.lang.String.class,
1777                            java.lang.String.class, boolean.class, long.class,
1778                            java.util.Map.class, java.io.File.class, java.io.InputStream.class,
1779                            long.class, com.liferay.portal.service.ServiceContext.class
1780                    };
1781            private static final Class<?>[] _verifyFileEntryCheckOutParameterTypes41 = new Class[] {
1782                            long.class, java.lang.String.class
1783                    };
1784            private static final Class<?>[] _verifyFileEntryLockParameterTypes42 = new Class[] {
1785                            long.class, java.lang.String.class
1786                    };
1787    }