1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.documentlibrary.service.http;
16  
17  import com.liferay.portal.kernel.log.Log;
18  import com.liferay.portal.kernel.log.LogFactoryUtil;
19  import com.liferay.portal.kernel.util.MethodHandler;
20  import com.liferay.portal.kernel.util.MethodKey;
21  import com.liferay.portal.security.auth.HttpPrincipal;
22  import com.liferay.portal.service.http.TunnelUtil;
23  
24  import com.liferay.portlet.documentlibrary.service.DLFolderServiceUtil;
25  
26  /**
27   * <a href="DLFolderServiceHttp.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class provides a HTTP utility for the
36   * {@link com.liferay.portlet.documentlibrary.service.DLFolderServiceUtil} service utility. The
37   * static methods of this class calls the same methods of the service utility.
38   * However, the signatures are different because it requires an additional
39   * {@link com.liferay.portal.security.auth.HttpPrincipal} parameter.
40   * </p>
41   *
42   * <p>
43   * The benefits of using the HTTP utility is that it is fast and allows for
44   * tunneling without the cost of serializing to text. The drawback is that it
45   * only works with Java.
46   * </p>
47   *
48   * <p>
49   * Set the property <b>tunnel.servlet.hosts.allowed</b> in portal.properties to
50   * configure security.
51   * </p>
52   *
53   * <p>
54   * The HTTP utility is only generated for remote services.
55   * </p>
56   *
57   * @author    Brian Wing Shun Chan
58   * @see       DLFolderServiceSoap
59   * @see       com.liferay.portal.security.auth.HttpPrincipal
60   * @see       com.liferay.portlet.documentlibrary.service.DLFolderServiceUtil
61   * @generated
62   */
63  public class DLFolderServiceHttp {
64      public static com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
65          HttpPrincipal httpPrincipal, long groupId, long parentFolderId,
66          java.lang.String name, java.lang.String description,
67          com.liferay.portal.service.ServiceContext serviceContext)
68          throws com.liferay.portal.PortalException,
69              com.liferay.portal.SystemException {
70          try {
71              MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
72                      "addFolder", _addFolderParameterTypes0);
73  
74              MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
75                      parentFolderId, name, description, serviceContext);
76  
77              Object returnObj = null;
78  
79              try {
80                  returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
81              }
82              catch (Exception e) {
83                  if (e instanceof com.liferay.portal.PortalException) {
84                      throw (com.liferay.portal.PortalException)e;
85                  }
86  
87                  if (e instanceof com.liferay.portal.SystemException) {
88                      throw (com.liferay.portal.SystemException)e;
89                  }
90  
91                  throw new com.liferay.portal.SystemException(e);
92              }
93  
94              return (com.liferay.portlet.documentlibrary.model.DLFolder)returnObj;
95          }
96          catch (com.liferay.portal.SystemException se) {
97              _log.error(se, se);
98  
99              throw se;
100         }
101     }
102 
103     public static com.liferay.portlet.documentlibrary.model.DLFolder copyFolder(
104         HttpPrincipal httpPrincipal, long groupId, long sourceFolderId,
105         long parentFolderId, java.lang.String name,
106         java.lang.String description,
107         com.liferay.portal.service.ServiceContext serviceContext)
108         throws com.liferay.portal.PortalException,
109             com.liferay.portal.SystemException, java.rmi.RemoteException {
110         try {
111             MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
112                     "copyFolder", _copyFolderParameterTypes1);
113 
114             MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
115                     sourceFolderId, parentFolderId, name, description,
116                     serviceContext);
117 
118             Object returnObj = null;
119 
120             try {
121                 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
122             }
123             catch (Exception e) {
124                 if (e instanceof com.liferay.portal.PortalException) {
125                     throw (com.liferay.portal.PortalException)e;
126                 }
127 
128                 if (e instanceof com.liferay.portal.SystemException) {
129                     throw (com.liferay.portal.SystemException)e;
130                 }
131 
132                 if (e instanceof java.rmi.RemoteException) {
133                     throw (java.rmi.RemoteException)e;
134                 }
135 
136                 throw new com.liferay.portal.SystemException(e);
137             }
138 
139             return (com.liferay.portlet.documentlibrary.model.DLFolder)returnObj;
140         }
141         catch (com.liferay.portal.SystemException se) {
142             _log.error(se, se);
143 
144             throw se;
145         }
146     }
147 
148     public static void deleteFolder(HttpPrincipal httpPrincipal, long folderId)
149         throws com.liferay.portal.PortalException,
150             com.liferay.portal.SystemException, java.rmi.RemoteException {
151         try {
152             MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
153                     "deleteFolder", _deleteFolderParameterTypes2);
154 
155             MethodHandler methodHandler = new MethodHandler(methodKey, folderId);
156 
157             try {
158                 TunnelUtil.invoke(httpPrincipal, methodHandler);
159             }
160             catch (Exception e) {
161                 if (e instanceof com.liferay.portal.PortalException) {
162                     throw (com.liferay.portal.PortalException)e;
163                 }
164 
165                 if (e instanceof com.liferay.portal.SystemException) {
166                     throw (com.liferay.portal.SystemException)e;
167                 }
168 
169                 if (e instanceof java.rmi.RemoteException) {
170                     throw (java.rmi.RemoteException)e;
171                 }
172 
173                 throw new com.liferay.portal.SystemException(e);
174             }
175         }
176         catch (com.liferay.portal.SystemException se) {
177             _log.error(se, se);
178 
179             throw se;
180         }
181     }
182 
183     public static void deleteFolder(HttpPrincipal httpPrincipal, long groupId,
184         long parentFolderId, java.lang.String name)
185         throws com.liferay.portal.PortalException,
186             com.liferay.portal.SystemException, java.rmi.RemoteException {
187         try {
188             MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
189                     "deleteFolder", _deleteFolderParameterTypes3);
190 
191             MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
192                     parentFolderId, name);
193 
194             try {
195                 TunnelUtil.invoke(httpPrincipal, methodHandler);
196             }
197             catch (Exception e) {
198                 if (e instanceof com.liferay.portal.PortalException) {
199                     throw (com.liferay.portal.PortalException)e;
200                 }
201 
202                 if (e instanceof com.liferay.portal.SystemException) {
203                     throw (com.liferay.portal.SystemException)e;
204                 }
205 
206                 if (e instanceof java.rmi.RemoteException) {
207                     throw (java.rmi.RemoteException)e;
208                 }
209 
210                 throw new com.liferay.portal.SystemException(e);
211             }
212         }
213         catch (com.liferay.portal.SystemException se) {
214             _log.error(se, se);
215 
216             throw se;
217         }
218     }
219 
220     public static com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
221         HttpPrincipal httpPrincipal, long folderId)
222         throws com.liferay.portal.PortalException,
223             com.liferay.portal.SystemException {
224         try {
225             MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
226                     "getFolder", _getFolderParameterTypes4);
227 
228             MethodHandler methodHandler = new MethodHandler(methodKey, folderId);
229 
230             Object returnObj = null;
231 
232             try {
233                 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
234             }
235             catch (Exception e) {
236                 if (e instanceof com.liferay.portal.PortalException) {
237                     throw (com.liferay.portal.PortalException)e;
238                 }
239 
240                 if (e instanceof com.liferay.portal.SystemException) {
241                     throw (com.liferay.portal.SystemException)e;
242                 }
243 
244                 throw new com.liferay.portal.SystemException(e);
245             }
246 
247             return (com.liferay.portlet.documentlibrary.model.DLFolder)returnObj;
248         }
249         catch (com.liferay.portal.SystemException se) {
250             _log.error(se, se);
251 
252             throw se;
253         }
254     }
255 
256     public static com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
257         HttpPrincipal httpPrincipal, long groupId, long parentFolderId,
258         java.lang.String name)
259         throws com.liferay.portal.PortalException,
260             com.liferay.portal.SystemException {
261         try {
262             MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
263                     "getFolder", _getFolderParameterTypes5);
264 
265             MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
266                     parentFolderId, name);
267 
268             Object returnObj = null;
269 
270             try {
271                 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
272             }
273             catch (Exception e) {
274                 if (e instanceof com.liferay.portal.PortalException) {
275                     throw (com.liferay.portal.PortalException)e;
276                 }
277 
278                 if (e instanceof com.liferay.portal.SystemException) {
279                     throw (com.liferay.portal.SystemException)e;
280                 }
281 
282                 throw new com.liferay.portal.SystemException(e);
283             }
284 
285             return (com.liferay.portlet.documentlibrary.model.DLFolder)returnObj;
286         }
287         catch (com.liferay.portal.SystemException se) {
288             _log.error(se, se);
289 
290             throw se;
291         }
292     }
293 
294     public static long getFolderId(HttpPrincipal httpPrincipal, long groupId,
295         long parentFolderId, java.lang.String name)
296         throws com.liferay.portal.PortalException,
297             com.liferay.portal.SystemException {
298         try {
299             MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
300                     "getFolderId", _getFolderIdParameterTypes6);
301 
302             MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
303                     parentFolderId, name);
304 
305             Object returnObj = null;
306 
307             try {
308                 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
309             }
310             catch (Exception e) {
311                 if (e instanceof com.liferay.portal.PortalException) {
312                     throw (com.liferay.portal.PortalException)e;
313                 }
314 
315                 if (e instanceof com.liferay.portal.SystemException) {
316                     throw (com.liferay.portal.SystemException)e;
317                 }
318 
319                 throw new com.liferay.portal.SystemException(e);
320             }
321 
322             return ((Long)returnObj).longValue();
323         }
324         catch (com.liferay.portal.SystemException se) {
325             _log.error(se, se);
326 
327             throw se;
328         }
329     }
330 
331     public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
332         HttpPrincipal httpPrincipal, long groupId, long parentFolderId)
333         throws com.liferay.portal.PortalException,
334             com.liferay.portal.SystemException {
335         try {
336             MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
337                     "getFolders", _getFoldersParameterTypes7);
338 
339             MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
340                     parentFolderId);
341 
342             Object returnObj = null;
343 
344             try {
345                 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
346             }
347             catch (Exception e) {
348                 if (e instanceof com.liferay.portal.PortalException) {
349                     throw (com.liferay.portal.PortalException)e;
350                 }
351 
352                 if (e instanceof com.liferay.portal.SystemException) {
353                     throw (com.liferay.portal.SystemException)e;
354                 }
355 
356                 throw new com.liferay.portal.SystemException(e);
357             }
358 
359             return (java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder>)returnObj;
360         }
361         catch (com.liferay.portal.SystemException se) {
362             _log.error(se, se);
363 
364             throw se;
365         }
366     }
367 
368     public static boolean hasInheritableLock(HttpPrincipal httpPrincipal,
369         long folderId)
370         throws com.liferay.portal.PortalException,
371             com.liferay.portal.SystemException {
372         try {
373             MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
374                     "hasInheritableLock", _hasInheritableLockParameterTypes8);
375 
376             MethodHandler methodHandler = new MethodHandler(methodKey, folderId);
377 
378             Object returnObj = null;
379 
380             try {
381                 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
382             }
383             catch (Exception e) {
384                 if (e instanceof com.liferay.portal.PortalException) {
385                     throw (com.liferay.portal.PortalException)e;
386                 }
387 
388                 if (e instanceof com.liferay.portal.SystemException) {
389                     throw (com.liferay.portal.SystemException)e;
390                 }
391 
392                 throw new com.liferay.portal.SystemException(e);
393             }
394 
395             return ((Boolean)returnObj).booleanValue();
396         }
397         catch (com.liferay.portal.SystemException se) {
398             _log.error(se, se);
399 
400             throw se;
401         }
402     }
403 
404     public static com.liferay.portal.model.Lock lockFolder(
405         HttpPrincipal httpPrincipal, long folderId)
406         throws com.liferay.portal.PortalException,
407             com.liferay.portal.SystemException, java.rmi.RemoteException {
408         try {
409             MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
410                     "lockFolder", _lockFolderParameterTypes9);
411 
412             MethodHandler methodHandler = new MethodHandler(methodKey, folderId);
413 
414             Object returnObj = null;
415 
416             try {
417                 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
418             }
419             catch (Exception e) {
420                 if (e instanceof com.liferay.portal.PortalException) {
421                     throw (com.liferay.portal.PortalException)e;
422                 }
423 
424                 if (e instanceof com.liferay.portal.SystemException) {
425                     throw (com.liferay.portal.SystemException)e;
426                 }
427 
428                 if (e instanceof java.rmi.RemoteException) {
429                     throw (java.rmi.RemoteException)e;
430                 }
431 
432                 throw new com.liferay.portal.SystemException(e);
433             }
434 
435             return (com.liferay.portal.model.Lock)returnObj;
436         }
437         catch (com.liferay.portal.SystemException se) {
438             _log.error(se, se);
439 
440             throw se;
441         }
442     }
443 
444     public static com.liferay.portal.model.Lock lockFolder(
445         HttpPrincipal httpPrincipal, long folderId, java.lang.String owner,
446         boolean inheritable, long expirationTime)
447         throws com.liferay.portal.PortalException,
448             com.liferay.portal.SystemException, java.rmi.RemoteException {
449         try {
450             MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
451                     "lockFolder", _lockFolderParameterTypes10);
452 
453             MethodHandler methodHandler = new MethodHandler(methodKey,
454                     folderId, owner, inheritable, expirationTime);
455 
456             Object returnObj = null;
457 
458             try {
459                 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
460             }
461             catch (Exception e) {
462                 if (e instanceof com.liferay.portal.PortalException) {
463                     throw (com.liferay.portal.PortalException)e;
464                 }
465 
466                 if (e instanceof com.liferay.portal.SystemException) {
467                     throw (com.liferay.portal.SystemException)e;
468                 }
469 
470                 if (e instanceof java.rmi.RemoteException) {
471                     throw (java.rmi.RemoteException)e;
472                 }
473 
474                 throw new com.liferay.portal.SystemException(e);
475             }
476 
477             return (com.liferay.portal.model.Lock)returnObj;
478         }
479         catch (com.liferay.portal.SystemException se) {
480             _log.error(se, se);
481 
482             throw se;
483         }
484     }
485 
486     public static com.liferay.portal.model.Lock refreshFolderLock(
487         HttpPrincipal httpPrincipal, java.lang.String lockUuid,
488         long expirationTime)
489         throws com.liferay.portal.PortalException,
490             com.liferay.portal.SystemException {
491         try {
492             MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
493                     "refreshFolderLock", _refreshFolderLockParameterTypes11);
494 
495             MethodHandler methodHandler = new MethodHandler(methodKey,
496                     lockUuid, expirationTime);
497 
498             Object returnObj = null;
499 
500             try {
501                 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
502             }
503             catch (Exception e) {
504                 if (e instanceof com.liferay.portal.PortalException) {
505                     throw (com.liferay.portal.PortalException)e;
506                 }
507 
508                 if (e instanceof com.liferay.portal.SystemException) {
509                     throw (com.liferay.portal.SystemException)e;
510                 }
511 
512                 throw new com.liferay.portal.SystemException(e);
513             }
514 
515             return (com.liferay.portal.model.Lock)returnObj;
516         }
517         catch (com.liferay.portal.SystemException se) {
518             _log.error(se, se);
519 
520             throw se;
521         }
522     }
523 
524     public static void reIndexSearch(HttpPrincipal httpPrincipal, long companyId)
525         throws com.liferay.portal.PortalException,
526             com.liferay.portal.SystemException {
527         try {
528             MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
529                     "reIndexSearch", _reIndexSearchParameterTypes12);
530 
531             MethodHandler methodHandler = new MethodHandler(methodKey, companyId);
532 
533             try {
534                 TunnelUtil.invoke(httpPrincipal, methodHandler);
535             }
536             catch (Exception e) {
537                 if (e instanceof com.liferay.portal.PortalException) {
538                     throw (com.liferay.portal.PortalException)e;
539                 }
540 
541                 if (e instanceof com.liferay.portal.SystemException) {
542                     throw (com.liferay.portal.SystemException)e;
543                 }
544 
545                 throw new com.liferay.portal.SystemException(e);
546             }
547         }
548         catch (com.liferay.portal.SystemException se) {
549             _log.error(se, se);
550 
551             throw se;
552         }
553     }
554 
555     public static void unlockFolder(HttpPrincipal httpPrincipal, long groupId,
556         long parentFolderId, java.lang.String name, java.lang.String lockUuid)
557         throws com.liferay.portal.PortalException,
558             com.liferay.portal.SystemException {
559         try {
560             MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
561                     "unlockFolder", _unlockFolderParameterTypes13);
562 
563             MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
564                     parentFolderId, name, lockUuid);
565 
566             try {
567                 TunnelUtil.invoke(httpPrincipal, methodHandler);
568             }
569             catch (Exception e) {
570                 if (e instanceof com.liferay.portal.PortalException) {
571                     throw (com.liferay.portal.PortalException)e;
572                 }
573 
574                 if (e instanceof com.liferay.portal.SystemException) {
575                     throw (com.liferay.portal.SystemException)e;
576                 }
577 
578                 throw new com.liferay.portal.SystemException(e);
579             }
580         }
581         catch (com.liferay.portal.SystemException se) {
582             _log.error(se, se);
583 
584             throw se;
585         }
586     }
587 
588     public static void unlockFolder(HttpPrincipal httpPrincipal, long folderId,
589         java.lang.String lockUuid)
590         throws com.liferay.portal.PortalException,
591             com.liferay.portal.SystemException {
592         try {
593             MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
594                     "unlockFolder", _unlockFolderParameterTypes14);
595 
596             MethodHandler methodHandler = new MethodHandler(methodKey,
597                     folderId, lockUuid);
598 
599             try {
600                 TunnelUtil.invoke(httpPrincipal, methodHandler);
601             }
602             catch (Exception e) {
603                 if (e instanceof com.liferay.portal.PortalException) {
604                     throw (com.liferay.portal.PortalException)e;
605                 }
606 
607                 if (e instanceof com.liferay.portal.SystemException) {
608                     throw (com.liferay.portal.SystemException)e;
609                 }
610 
611                 throw new com.liferay.portal.SystemException(e);
612             }
613         }
614         catch (com.liferay.portal.SystemException se) {
615             _log.error(se, se);
616 
617             throw se;
618         }
619     }
620 
621     public static com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
622         HttpPrincipal httpPrincipal, long folderId, long parentFolderId,
623         java.lang.String name, java.lang.String description,
624         com.liferay.portal.service.ServiceContext serviceContext)
625         throws com.liferay.portal.PortalException,
626             com.liferay.portal.SystemException, java.rmi.RemoteException {
627         try {
628             MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
629                     "updateFolder", _updateFolderParameterTypes15);
630 
631             MethodHandler methodHandler = new MethodHandler(methodKey,
632                     folderId, parentFolderId, name, description, serviceContext);
633 
634             Object returnObj = null;
635 
636             try {
637                 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
638             }
639             catch (Exception e) {
640                 if (e instanceof com.liferay.portal.PortalException) {
641                     throw (com.liferay.portal.PortalException)e;
642                 }
643 
644                 if (e instanceof com.liferay.portal.SystemException) {
645                     throw (com.liferay.portal.SystemException)e;
646                 }
647 
648                 if (e instanceof java.rmi.RemoteException) {
649                     throw (java.rmi.RemoteException)e;
650                 }
651 
652                 throw new com.liferay.portal.SystemException(e);
653             }
654 
655             return (com.liferay.portlet.documentlibrary.model.DLFolder)returnObj;
656         }
657         catch (com.liferay.portal.SystemException se) {
658             _log.error(se, se);
659 
660             throw se;
661         }
662     }
663 
664     public static boolean verifyInheritableLock(HttpPrincipal httpPrincipal,
665         long folderId, java.lang.String lockUuid)
666         throws com.liferay.portal.PortalException,
667             com.liferay.portal.SystemException {
668         try {
669             MethodKey methodKey = new MethodKey(DLFolderServiceUtil.class.getName(),
670                     "verifyInheritableLock",
671                     _verifyInheritableLockParameterTypes16);
672 
673             MethodHandler methodHandler = new MethodHandler(methodKey,
674                     folderId, lockUuid);
675 
676             Object returnObj = null;
677 
678             try {
679                 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
680             }
681             catch (Exception e) {
682                 if (e instanceof com.liferay.portal.PortalException) {
683                     throw (com.liferay.portal.PortalException)e;
684                 }
685 
686                 if (e instanceof com.liferay.portal.SystemException) {
687                     throw (com.liferay.portal.SystemException)e;
688                 }
689 
690                 throw new com.liferay.portal.SystemException(e);
691             }
692 
693             return ((Boolean)returnObj).booleanValue();
694         }
695         catch (com.liferay.portal.SystemException se) {
696             _log.error(se, se);
697 
698             throw se;
699         }
700     }
701 
702     private static Log _log = LogFactoryUtil.getLog(DLFolderServiceHttp.class);
703     private static final Class<?>[] _addFolderParameterTypes0 = new Class[] {
704             long.class, long.class, java.lang.String.class,
705             java.lang.String.class,
706             com.liferay.portal.service.ServiceContext.class
707         };
708     private static final Class<?>[] _copyFolderParameterTypes1 = new Class[] {
709             long.class, long.class, long.class, java.lang.String.class,
710             java.lang.String.class,
711             com.liferay.portal.service.ServiceContext.class
712         };
713     private static final Class<?>[] _deleteFolderParameterTypes2 = new Class[] {
714             long.class
715         };
716     private static final Class<?>[] _deleteFolderParameterTypes3 = new Class[] {
717             long.class, long.class, java.lang.String.class
718         };
719     private static final Class<?>[] _getFolderParameterTypes4 = new Class[] {
720             long.class
721         };
722     private static final Class<?>[] _getFolderParameterTypes5 = new Class[] {
723             long.class, long.class, java.lang.String.class
724         };
725     private static final Class<?>[] _getFolderIdParameterTypes6 = new Class[] {
726             long.class, long.class, java.lang.String.class
727         };
728     private static final Class<?>[] _getFoldersParameterTypes7 = new Class[] {
729             long.class, long.class
730         };
731     private static final Class<?>[] _hasInheritableLockParameterTypes8 = new Class[] {
732             long.class
733         };
734     private static final Class<?>[] _lockFolderParameterTypes9 = new Class[] {
735             long.class
736         };
737     private static final Class<?>[] _lockFolderParameterTypes10 = new Class[] {
738             long.class, java.lang.String.class, boolean.class, long.class
739         };
740     private static final Class<?>[] _refreshFolderLockParameterTypes11 = new Class[] {
741             java.lang.String.class, long.class
742         };
743     private static final Class<?>[] _reIndexSearchParameterTypes12 = new Class[] {
744             long.class
745         };
746     private static final Class<?>[] _unlockFolderParameterTypes13 = new Class[] {
747             long.class, long.class, java.lang.String.class,
748             java.lang.String.class
749         };
750     private static final Class<?>[] _unlockFolderParameterTypes14 = new Class[] {
751             long.class, java.lang.String.class
752         };
753     private static final Class<?>[] _updateFolderParameterTypes15 = new Class[] {
754             long.class, long.class, java.lang.String.class,
755             java.lang.String.class,
756             com.liferay.portal.service.ServiceContext.class
757         };
758     private static final Class<?>[] _verifyInheritableLockParameterTypes16 = new Class[] {
759             long.class, java.lang.String.class
760         };
761 }