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