1
22
23 package com.liferay.portlet.documentlibrary.service.http;
24
25 import com.liferay.portal.kernel.log.Log;
26 import com.liferay.portal.kernel.log.LogFactoryUtil;
27 import com.liferay.portal.kernel.util.DoubleWrapper;
28 import com.liferay.portal.kernel.util.LongWrapper;
29 import com.liferay.portal.kernel.util.MethodWrapper;
30 import com.liferay.portal.kernel.util.NullWrapper;
31 import com.liferay.portal.security.auth.HttpPrincipal;
32 import com.liferay.portal.service.http.TunnelUtil;
33
34 import com.liferay.portlet.documentlibrary.service.DLFileEntryServiceUtil;
35
36
75 public class DLFileEntryServiceHttp {
76 public static com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
77 HttpPrincipal httpPrincipal, long folderId, java.lang.String name,
78 java.lang.String title, java.lang.String description,
79 java.lang.String extraSettings, java.io.File file,
80 com.liferay.portal.service.ServiceContext serviceContext)
81 throws com.liferay.portal.PortalException,
82 com.liferay.portal.SystemException {
83 try {
84 Object paramObj0 = new LongWrapper(folderId);
85
86 Object paramObj1 = name;
87
88 if (name == null) {
89 paramObj1 = new NullWrapper("java.lang.String");
90 }
91
92 Object paramObj2 = title;
93
94 if (title == null) {
95 paramObj2 = new NullWrapper("java.lang.String");
96 }
97
98 Object paramObj3 = description;
99
100 if (description == null) {
101 paramObj3 = new NullWrapper("java.lang.String");
102 }
103
104 Object paramObj4 = extraSettings;
105
106 if (extraSettings == null) {
107 paramObj4 = new NullWrapper("java.lang.String");
108 }
109
110 Object paramObj5 = file;
111
112 if (file == null) {
113 paramObj5 = new NullWrapper("java.io.File");
114 }
115
116 Object paramObj6 = serviceContext;
117
118 if (serviceContext == null) {
119 paramObj6 = new NullWrapper(
120 "com.liferay.portal.service.ServiceContext");
121 }
122
123 MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
124 "addFileEntry",
125 new Object[] {
126 paramObj0, paramObj1, paramObj2, paramObj3, paramObj4,
127 paramObj5, paramObj6
128 });
129
130 Object returnObj = null;
131
132 try {
133 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
134 }
135 catch (Exception e) {
136 if (e instanceof com.liferay.portal.PortalException) {
137 throw (com.liferay.portal.PortalException)e;
138 }
139
140 if (e instanceof com.liferay.portal.SystemException) {
141 throw (com.liferay.portal.SystemException)e;
142 }
143
144 throw new com.liferay.portal.SystemException(e);
145 }
146
147 return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
148 }
149 catch (com.liferay.portal.SystemException se) {
150 _log.error(se, se);
151
152 throw se;
153 }
154 }
155
156 public static com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
157 HttpPrincipal httpPrincipal, long folderId, java.lang.String name,
158 java.lang.String title, java.lang.String description,
159 java.lang.String extraSettings, byte[] bytes,
160 com.liferay.portal.service.ServiceContext serviceContext)
161 throws com.liferay.portal.PortalException,
162 com.liferay.portal.SystemException {
163 try {
164 Object paramObj0 = new LongWrapper(folderId);
165
166 Object paramObj1 = name;
167
168 if (name == null) {
169 paramObj1 = new NullWrapper("java.lang.String");
170 }
171
172 Object paramObj2 = title;
173
174 if (title == null) {
175 paramObj2 = new NullWrapper("java.lang.String");
176 }
177
178 Object paramObj3 = description;
179
180 if (description == null) {
181 paramObj3 = new NullWrapper("java.lang.String");
182 }
183
184 Object paramObj4 = extraSettings;
185
186 if (extraSettings == null) {
187 paramObj4 = new NullWrapper("java.lang.String");
188 }
189
190 Object paramObj5 = bytes;
191
192 if (bytes == null) {
193 paramObj5 = new NullWrapper("[B");
194 }
195
196 Object paramObj6 = serviceContext;
197
198 if (serviceContext == null) {
199 paramObj6 = new NullWrapper(
200 "com.liferay.portal.service.ServiceContext");
201 }
202
203 MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
204 "addFileEntry",
205 new Object[] {
206 paramObj0, paramObj1, paramObj2, paramObj3, paramObj4,
207 paramObj5, paramObj6
208 });
209
210 Object returnObj = null;
211
212 try {
213 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
214 }
215 catch (Exception e) {
216 if (e instanceof com.liferay.portal.PortalException) {
217 throw (com.liferay.portal.PortalException)e;
218 }
219
220 if (e instanceof com.liferay.portal.SystemException) {
221 throw (com.liferay.portal.SystemException)e;
222 }
223
224 throw new com.liferay.portal.SystemException(e);
225 }
226
227 return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
228 }
229 catch (com.liferay.portal.SystemException se) {
230 _log.error(se, se);
231
232 throw se;
233 }
234 }
235
236 public static void deleteFileEntry(HttpPrincipal httpPrincipal,
237 long folderId, java.lang.String name)
238 throws com.liferay.portal.PortalException,
239 com.liferay.portal.SystemException {
240 try {
241 Object paramObj0 = new LongWrapper(folderId);
242
243 Object paramObj1 = name;
244
245 if (name == null) {
246 paramObj1 = new NullWrapper("java.lang.String");
247 }
248
249 MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
250 "deleteFileEntry", new Object[] { paramObj0, paramObj1 });
251
252 try {
253 TunnelUtil.invoke(httpPrincipal, methodWrapper);
254 }
255 catch (Exception e) {
256 if (e instanceof com.liferay.portal.PortalException) {
257 throw (com.liferay.portal.PortalException)e;
258 }
259
260 if (e instanceof com.liferay.portal.SystemException) {
261 throw (com.liferay.portal.SystemException)e;
262 }
263
264 throw new com.liferay.portal.SystemException(e);
265 }
266 }
267 catch (com.liferay.portal.SystemException se) {
268 _log.error(se, se);
269
270 throw se;
271 }
272 }
273
274 public static void deleteFileEntry(HttpPrincipal httpPrincipal,
275 long folderId, java.lang.String name, double version)
276 throws com.liferay.portal.PortalException,
277 com.liferay.portal.SystemException {
278 try {
279 Object paramObj0 = new LongWrapper(folderId);
280
281 Object paramObj1 = name;
282
283 if (name == null) {
284 paramObj1 = new NullWrapper("java.lang.String");
285 }
286
287 Object paramObj2 = new DoubleWrapper(version);
288
289 MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
290 "deleteFileEntry",
291 new Object[] { paramObj0, paramObj1, paramObj2 });
292
293 try {
294 TunnelUtil.invoke(httpPrincipal, methodWrapper);
295 }
296 catch (Exception e) {
297 if (e instanceof com.liferay.portal.PortalException) {
298 throw (com.liferay.portal.PortalException)e;
299 }
300
301 if (e instanceof com.liferay.portal.SystemException) {
302 throw (com.liferay.portal.SystemException)e;
303 }
304
305 throw new com.liferay.portal.SystemException(e);
306 }
307 }
308 catch (com.liferay.portal.SystemException se) {
309 _log.error(se, se);
310
311 throw se;
312 }
313 }
314
315 public static void deleteFileEntryByTitle(HttpPrincipal httpPrincipal,
316 long folderId, java.lang.String titleWithExtension)
317 throws com.liferay.portal.PortalException,
318 com.liferay.portal.SystemException {
319 try {
320 Object paramObj0 = new LongWrapper(folderId);
321
322 Object paramObj1 = titleWithExtension;
323
324 if (titleWithExtension == null) {
325 paramObj1 = new NullWrapper("java.lang.String");
326 }
327
328 MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
329 "deleteFileEntryByTitle",
330 new Object[] { paramObj0, paramObj1 });
331
332 try {
333 TunnelUtil.invoke(httpPrincipal, methodWrapper);
334 }
335 catch (Exception e) {
336 if (e instanceof com.liferay.portal.PortalException) {
337 throw (com.liferay.portal.PortalException)e;
338 }
339
340 if (e instanceof com.liferay.portal.SystemException) {
341 throw (com.liferay.portal.SystemException)e;
342 }
343
344 throw new com.liferay.portal.SystemException(e);
345 }
346 }
347 catch (com.liferay.portal.SystemException se) {
348 _log.error(se, se);
349
350 throw se;
351 }
352 }
353
354 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
355 HttpPrincipal httpPrincipal, long folderId)
356 throws com.liferay.portal.PortalException,
357 com.liferay.portal.SystemException {
358 try {
359 Object paramObj0 = new LongWrapper(folderId);
360
361 MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
362 "getFileEntries", new Object[] { paramObj0 });
363
364 Object returnObj = null;
365
366 try {
367 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
368 }
369 catch (Exception e) {
370 if (e instanceof com.liferay.portal.PortalException) {
371 throw (com.liferay.portal.PortalException)e;
372 }
373
374 if (e instanceof com.liferay.portal.SystemException) {
375 throw (com.liferay.portal.SystemException)e;
376 }
377
378 throw new com.liferay.portal.SystemException(e);
379 }
380
381 return (java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry>)returnObj;
382 }
383 catch (com.liferay.portal.SystemException se) {
384 _log.error(se, se);
385
386 throw se;
387 }
388 }
389
390 public static com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
391 HttpPrincipal httpPrincipal, long folderId, java.lang.String name)
392 throws com.liferay.portal.PortalException,
393 com.liferay.portal.SystemException {
394 try {
395 Object paramObj0 = new LongWrapper(folderId);
396
397 Object paramObj1 = name;
398
399 if (name == null) {
400 paramObj1 = new NullWrapper("java.lang.String");
401 }
402
403 MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
404 "getFileEntry", new Object[] { paramObj0, paramObj1 });
405
406 Object returnObj = null;
407
408 try {
409 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
410 }
411 catch (Exception e) {
412 if (e instanceof com.liferay.portal.PortalException) {
413 throw (com.liferay.portal.PortalException)e;
414 }
415
416 if (e instanceof com.liferay.portal.SystemException) {
417 throw (com.liferay.portal.SystemException)e;
418 }
419
420 throw new com.liferay.portal.SystemException(e);
421 }
422
423 return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
424 }
425 catch (com.liferay.portal.SystemException se) {
426 _log.error(se, se);
427
428 throw se;
429 }
430 }
431
432 public static com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByTitle(
433 HttpPrincipal httpPrincipal, long folderId,
434 java.lang.String titleWithExtension)
435 throws com.liferay.portal.PortalException,
436 com.liferay.portal.SystemException {
437 try {
438 Object paramObj0 = new LongWrapper(folderId);
439
440 Object paramObj1 = titleWithExtension;
441
442 if (titleWithExtension == null) {
443 paramObj1 = new NullWrapper("java.lang.String");
444 }
445
446 MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
447 "getFileEntryByTitle", new Object[] { paramObj0, paramObj1 });
448
449 Object returnObj = null;
450
451 try {
452 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
453 }
454 catch (Exception e) {
455 if (e instanceof com.liferay.portal.PortalException) {
456 throw (com.liferay.portal.PortalException)e;
457 }
458
459 if (e instanceof com.liferay.portal.SystemException) {
460 throw (com.liferay.portal.SystemException)e;
461 }
462
463 throw new com.liferay.portal.SystemException(e);
464 }
465
466 return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
467 }
468 catch (com.liferay.portal.SystemException se) {
469 _log.error(se, se);
470
471 throw se;
472 }
473 }
474
475 public static boolean hasFileEntryLock(HttpPrincipal httpPrincipal,
476 long folderId, java.lang.String name)
477 throws com.liferay.portal.SystemException,
478 com.liferay.portal.PortalException {
479 try {
480 Object paramObj0 = new LongWrapper(folderId);
481
482 Object paramObj1 = name;
483
484 if (name == null) {
485 paramObj1 = new NullWrapper("java.lang.String");
486 }
487
488 MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
489 "hasFileEntryLock", new Object[] { paramObj0, paramObj1 });
490
491 Object returnObj = null;
492
493 try {
494 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
495 }
496 catch (Exception e) {
497 if (e instanceof com.liferay.portal.PortalException) {
498 throw (com.liferay.portal.PortalException)e;
499 }
500
501 throw new com.liferay.portal.SystemException(e);
502 }
503
504 return ((Boolean)returnObj).booleanValue();
505 }
506 catch (com.liferay.portal.SystemException se) {
507 _log.error(se, se);
508
509 throw se;
510 }
511 }
512
513 public static com.liferay.lock.model.Lock lockFileEntry(
514 HttpPrincipal httpPrincipal, long folderId, java.lang.String name)
515 throws com.liferay.portal.PortalException,
516 com.liferay.portal.SystemException {
517 try {
518 Object paramObj0 = new LongWrapper(folderId);
519
520 Object paramObj1 = name;
521
522 if (name == null) {
523 paramObj1 = new NullWrapper("java.lang.String");
524 }
525
526 MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
527 "lockFileEntry", new Object[] { paramObj0, paramObj1 });
528
529 Object returnObj = null;
530
531 try {
532 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
533 }
534 catch (Exception e) {
535 if (e instanceof com.liferay.portal.PortalException) {
536 throw (com.liferay.portal.PortalException)e;
537 }
538
539 if (e instanceof com.liferay.portal.SystemException) {
540 throw (com.liferay.portal.SystemException)e;
541 }
542
543 throw new com.liferay.portal.SystemException(e);
544 }
545
546 return (com.liferay.lock.model.Lock)returnObj;
547 }
548 catch (com.liferay.portal.SystemException se) {
549 _log.error(se, se);
550
551 throw se;
552 }
553 }
554
555 public static com.liferay.lock.model.Lock lockFileEntry(
556 HttpPrincipal httpPrincipal, long folderId, java.lang.String name,
557 java.lang.String owner, long expirationTime)
558 throws com.liferay.portal.PortalException,
559 com.liferay.portal.SystemException {
560 try {
561 Object paramObj0 = new LongWrapper(folderId);
562
563 Object paramObj1 = name;
564
565 if (name == null) {
566 paramObj1 = new NullWrapper("java.lang.String");
567 }
568
569 Object paramObj2 = owner;
570
571 if (owner == null) {
572 paramObj2 = new NullWrapper("java.lang.String");
573 }
574
575 Object paramObj3 = new LongWrapper(expirationTime);
576
577 MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
578 "lockFileEntry",
579 new Object[] { paramObj0, paramObj1, paramObj2, paramObj3 });
580
581 Object returnObj = null;
582
583 try {
584 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
585 }
586 catch (Exception e) {
587 if (e instanceof com.liferay.portal.PortalException) {
588 throw (com.liferay.portal.PortalException)e;
589 }
590
591 if (e instanceof com.liferay.portal.SystemException) {
592 throw (com.liferay.portal.SystemException)e;
593 }
594
595 throw new com.liferay.portal.SystemException(e);
596 }
597
598 return (com.liferay.lock.model.Lock)returnObj;
599 }
600 catch (com.liferay.portal.SystemException se) {
601 _log.error(se, se);
602
603 throw se;
604 }
605 }
606
607 public static com.liferay.lock.model.Lock refreshFileEntryLock(
608 HttpPrincipal httpPrincipal, java.lang.String lockUuid,
609 long expirationTime)
610 throws com.liferay.portal.SystemException,
611 com.liferay.portal.PortalException {
612 try {
613 Object paramObj0 = lockUuid;
614
615 if (lockUuid == null) {
616 paramObj0 = new NullWrapper("java.lang.String");
617 }
618
619 Object paramObj1 = new LongWrapper(expirationTime);
620
621 MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
622 "refreshFileEntryLock",
623 new Object[] { paramObj0, paramObj1 });
624
625 Object returnObj = null;
626
627 try {
628 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
629 }
630 catch (Exception e) {
631 if (e instanceof com.liferay.portal.PortalException) {
632 throw (com.liferay.portal.PortalException)e;
633 }
634
635 throw new com.liferay.portal.SystemException(e);
636 }
637
638 return (com.liferay.lock.model.Lock)returnObj;
639 }
640 catch (com.liferay.portal.SystemException se) {
641 _log.error(se, se);
642
643 throw se;
644 }
645 }
646
647 public static void unlockFileEntry(HttpPrincipal httpPrincipal,
648 long folderId, java.lang.String name)
649 throws com.liferay.portal.SystemException {
650 try {
651 Object paramObj0 = new LongWrapper(folderId);
652
653 Object paramObj1 = name;
654
655 if (name == null) {
656 paramObj1 = new NullWrapper("java.lang.String");
657 }
658
659 MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
660 "unlockFileEntry", new Object[] { paramObj0, paramObj1 });
661
662 try {
663 TunnelUtil.invoke(httpPrincipal, methodWrapper);
664 }
665 catch (Exception e) {
666 throw new com.liferay.portal.SystemException(e);
667 }
668 }
669 catch (com.liferay.portal.SystemException se) {
670 _log.error(se, se);
671
672 throw se;
673 }
674 }
675
676 public static void unlockFileEntry(HttpPrincipal httpPrincipal,
677 long folderId, java.lang.String name, java.lang.String lockUuid)
678 throws com.liferay.portal.SystemException,
679 com.liferay.portal.PortalException {
680 try {
681 Object paramObj0 = new LongWrapper(folderId);
682
683 Object paramObj1 = name;
684
685 if (name == null) {
686 paramObj1 = new NullWrapper("java.lang.String");
687 }
688
689 Object paramObj2 = lockUuid;
690
691 if (lockUuid == null) {
692 paramObj2 = new NullWrapper("java.lang.String");
693 }
694
695 MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
696 "unlockFileEntry",
697 new Object[] { paramObj0, paramObj1, paramObj2 });
698
699 try {
700 TunnelUtil.invoke(httpPrincipal, methodWrapper);
701 }
702 catch (Exception e) {
703 if (e instanceof com.liferay.portal.PortalException) {
704 throw (com.liferay.portal.PortalException)e;
705 }
706
707 throw new com.liferay.portal.SystemException(e);
708 }
709 }
710 catch (com.liferay.portal.SystemException se) {
711 _log.error(se, se);
712
713 throw se;
714 }
715 }
716
717 public static com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
718 HttpPrincipal httpPrincipal, long folderId, long newFolderId,
719 java.lang.String name, java.lang.String sourceFileName,
720 java.lang.String title, java.lang.String description,
721 java.lang.String extraSettings, byte[] bytes,
722 com.liferay.portal.service.ServiceContext serviceContext)
723 throws com.liferay.portal.PortalException,
724 com.liferay.portal.SystemException {
725 try {
726 Object paramObj0 = new LongWrapper(folderId);
727
728 Object paramObj1 = new LongWrapper(newFolderId);
729
730 Object paramObj2 = name;
731
732 if (name == null) {
733 paramObj2 = new NullWrapper("java.lang.String");
734 }
735
736 Object paramObj3 = sourceFileName;
737
738 if (sourceFileName == null) {
739 paramObj3 = new NullWrapper("java.lang.String");
740 }
741
742 Object paramObj4 = title;
743
744 if (title == null) {
745 paramObj4 = new NullWrapper("java.lang.String");
746 }
747
748 Object paramObj5 = description;
749
750 if (description == null) {
751 paramObj5 = new NullWrapper("java.lang.String");
752 }
753
754 Object paramObj6 = extraSettings;
755
756 if (extraSettings == null) {
757 paramObj6 = new NullWrapper("java.lang.String");
758 }
759
760 Object paramObj7 = bytes;
761
762 if (bytes == null) {
763 paramObj7 = new NullWrapper("[B");
764 }
765
766 Object paramObj8 = serviceContext;
767
768 if (serviceContext == null) {
769 paramObj8 = new NullWrapper(
770 "com.liferay.portal.service.ServiceContext");
771 }
772
773 MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
774 "updateFileEntry",
775 new Object[] {
776 paramObj0, paramObj1, paramObj2, paramObj3, paramObj4,
777 paramObj5, paramObj6, paramObj7, paramObj8
778 });
779
780 Object returnObj = null;
781
782 try {
783 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
784 }
785 catch (Exception e) {
786 if (e instanceof com.liferay.portal.PortalException) {
787 throw (com.liferay.portal.PortalException)e;
788 }
789
790 if (e instanceof com.liferay.portal.SystemException) {
791 throw (com.liferay.portal.SystemException)e;
792 }
793
794 throw new com.liferay.portal.SystemException(e);
795 }
796
797 return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
798 }
799 catch (com.liferay.portal.SystemException se) {
800 _log.error(se, se);
801
802 throw se;
803 }
804 }
805
806 public static boolean verifyFileEntryLock(HttpPrincipal httpPrincipal,
807 long folderId, java.lang.String name, java.lang.String lockUuid)
808 throws com.liferay.portal.SystemException,
809 com.liferay.portal.PortalException {
810 try {
811 Object paramObj0 = new LongWrapper(folderId);
812
813 Object paramObj1 = name;
814
815 if (name == null) {
816 paramObj1 = new NullWrapper("java.lang.String");
817 }
818
819 Object paramObj2 = lockUuid;
820
821 if (lockUuid == null) {
822 paramObj2 = new NullWrapper("java.lang.String");
823 }
824
825 MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
826 "verifyFileEntryLock",
827 new Object[] { paramObj0, paramObj1, paramObj2 });
828
829 Object returnObj = null;
830
831 try {
832 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
833 }
834 catch (Exception e) {
835 if (e instanceof com.liferay.portal.PortalException) {
836 throw (com.liferay.portal.PortalException)e;
837 }
838
839 throw new com.liferay.portal.SystemException(e);
840 }
841
842 return ((Boolean)returnObj).booleanValue();
843 }
844 catch (com.liferay.portal.SystemException se) {
845 _log.error(se, se);
846
847 throw se;
848 }
849 }
850
851 private static Log _log = LogFactoryUtil.getLog(DLFileEntryServiceHttp.class);
852 }