1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
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.BooleanWrapper;
20  import com.liferay.portal.kernel.util.IntegerWrapper;
21  import com.liferay.portal.kernel.util.LongWrapper;
22  import com.liferay.portal.kernel.util.MethodWrapper;
23  import com.liferay.portal.kernel.util.NullWrapper;
24  import com.liferay.portal.security.auth.HttpPrincipal;
25  import com.liferay.portal.service.http.TunnelUtil;
26  
27  import com.liferay.portlet.documentlibrary.service.DLFileEntryServiceUtil;
28  
29  /**
30   * <a href="DLFileEntryServiceHttp.java.html"><b><i>View Source</i></b></a>
31   *
32   * <p>
33   * ServiceBuilder generated this class. Modifications in this class will be
34   * overwritten the next time is generated.
35   * </p>
36   *
37   * <p>
38   * This class provides a HTTP utility for the
39   * {@link com.liferay.portlet.documentlibrary.service.DLFileEntryServiceUtil} service utility. The
40   * static methods of this class calls the same methods of the service utility.
41   * However, the signatures are different because it requires an additional
42   * {@link com.liferay.portal.security.auth.HttpPrincipal} parameter.
43   * </p>
44   *
45   * <p>
46   * The benefits of using the HTTP utility is that it is fast and allows for
47   * tunneling without the cost of serializing to text. The drawback is that it
48   * only works with Java.
49   * </p>
50   *
51   * <p>
52   * Set the property <b>tunnel.servlet.hosts.allowed</b> in portal.properties to
53   * configure security.
54   * </p>
55   *
56   * <p>
57   * The HTTP utility is only generated for remote services.
58   * </p>
59   *
60   * @author    Brian Wing Shun Chan
61   * @see       DLFileEntryServiceSoap
62   * @see       com.liferay.portal.security.auth.HttpPrincipal
63   * @see       com.liferay.portlet.documentlibrary.service.DLFileEntryServiceUtil
64   * @generated
65   */
66  public class DLFileEntryServiceHttp {
67      public static com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
68          HttpPrincipal httpPrincipal, long groupId, long folderId,
69          java.lang.String name, java.lang.String title,
70          java.lang.String description, java.lang.String versionDescription,
71          java.lang.String extraSettings, byte[] bytes,
72          com.liferay.portal.service.ServiceContext serviceContext)
73          throws com.liferay.portal.kernel.exception.PortalException,
74              com.liferay.portal.kernel.exception.SystemException {
75          try {
76              Object paramObj0 = new LongWrapper(groupId);
77  
78              Object paramObj1 = new LongWrapper(folderId);
79  
80              Object paramObj2 = name;
81  
82              if (name == null) {
83                  paramObj2 = new NullWrapper("java.lang.String");
84              }
85  
86              Object paramObj3 = title;
87  
88              if (title == null) {
89                  paramObj3 = new NullWrapper("java.lang.String");
90              }
91  
92              Object paramObj4 = description;
93  
94              if (description == null) {
95                  paramObj4 = new NullWrapper("java.lang.String");
96              }
97  
98              Object paramObj5 = versionDescription;
99  
100             if (versionDescription == null) {
101                 paramObj5 = new NullWrapper("java.lang.String");
102             }
103 
104             Object paramObj6 = extraSettings;
105 
106             if (extraSettings == null) {
107                 paramObj6 = new NullWrapper("java.lang.String");
108             }
109 
110             Object paramObj7 = bytes;
111 
112             if (bytes == null) {
113                 paramObj7 = new NullWrapper("[B");
114             }
115 
116             Object paramObj8 = serviceContext;
117 
118             if (serviceContext == null) {
119                 paramObj8 = 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, paramObj7, paramObj8
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.kernel.exception.PortalException) {
137                     throw (com.liferay.portal.kernel.exception.PortalException)e;
138                 }
139 
140                 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
141                     throw (com.liferay.portal.kernel.exception.SystemException)e;
142                 }
143 
144                 throw new com.liferay.portal.kernel.exception.SystemException(e);
145             }
146 
147             return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
148         }
149         catch (com.liferay.portal.kernel.exception.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 groupId, long folderId,
158         java.lang.String name, java.lang.String title,
159         java.lang.String description, java.lang.String versionDescription,
160         java.lang.String extraSettings, java.io.File file,
161         com.liferay.portal.service.ServiceContext serviceContext)
162         throws com.liferay.portal.kernel.exception.PortalException,
163             com.liferay.portal.kernel.exception.SystemException {
164         try {
165             Object paramObj0 = new LongWrapper(groupId);
166 
167             Object paramObj1 = new LongWrapper(folderId);
168 
169             Object paramObj2 = name;
170 
171             if (name == null) {
172                 paramObj2 = new NullWrapper("java.lang.String");
173             }
174 
175             Object paramObj3 = title;
176 
177             if (title == null) {
178                 paramObj3 = new NullWrapper("java.lang.String");
179             }
180 
181             Object paramObj4 = description;
182 
183             if (description == null) {
184                 paramObj4 = new NullWrapper("java.lang.String");
185             }
186 
187             Object paramObj5 = versionDescription;
188 
189             if (versionDescription == null) {
190                 paramObj5 = new NullWrapper("java.lang.String");
191             }
192 
193             Object paramObj6 = extraSettings;
194 
195             if (extraSettings == null) {
196                 paramObj6 = new NullWrapper("java.lang.String");
197             }
198 
199             Object paramObj7 = file;
200 
201             if (file == null) {
202                 paramObj7 = new NullWrapper("java.io.File");
203             }
204 
205             Object paramObj8 = serviceContext;
206 
207             if (serviceContext == null) {
208                 paramObj8 = new NullWrapper(
209                         "com.liferay.portal.service.ServiceContext");
210             }
211 
212             MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
213                     "addFileEntry",
214                     new Object[] {
215                         paramObj0, paramObj1, paramObj2, paramObj3, paramObj4,
216                         paramObj5, paramObj6, paramObj7, paramObj8
217                     });
218 
219             Object returnObj = null;
220 
221             try {
222                 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
223             }
224             catch (Exception e) {
225                 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
226                     throw (com.liferay.portal.kernel.exception.PortalException)e;
227                 }
228 
229                 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
230                     throw (com.liferay.portal.kernel.exception.SystemException)e;
231                 }
232 
233                 throw new com.liferay.portal.kernel.exception.SystemException(e);
234             }
235 
236             return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
237         }
238         catch (com.liferay.portal.kernel.exception.SystemException se) {
239             _log.error(se, se);
240 
241             throw se;
242         }
243     }
244 
245     public static void deleteFileEntry(HttpPrincipal httpPrincipal,
246         long groupId, long folderId, java.lang.String name)
247         throws com.liferay.portal.kernel.exception.PortalException,
248             com.liferay.portal.kernel.exception.SystemException {
249         try {
250             Object paramObj0 = new LongWrapper(groupId);
251 
252             Object paramObj1 = new LongWrapper(folderId);
253 
254             Object paramObj2 = name;
255 
256             if (name == null) {
257                 paramObj2 = new NullWrapper("java.lang.String");
258             }
259 
260             MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
261                     "deleteFileEntry",
262                     new Object[] { paramObj0, paramObj1, paramObj2 });
263 
264             try {
265                 TunnelUtil.invoke(httpPrincipal, methodWrapper);
266             }
267             catch (Exception e) {
268                 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
269                     throw (com.liferay.portal.kernel.exception.PortalException)e;
270                 }
271 
272                 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
273                     throw (com.liferay.portal.kernel.exception.SystemException)e;
274                 }
275 
276                 throw new com.liferay.portal.kernel.exception.SystemException(e);
277             }
278         }
279         catch (com.liferay.portal.kernel.exception.SystemException se) {
280             _log.error(se, se);
281 
282             throw se;
283         }
284     }
285 
286     public static void deleteFileEntry(HttpPrincipal httpPrincipal,
287         long groupId, long folderId, java.lang.String name,
288         java.lang.String version)
289         throws com.liferay.portal.kernel.exception.PortalException,
290             com.liferay.portal.kernel.exception.SystemException {
291         try {
292             Object paramObj0 = new LongWrapper(groupId);
293 
294             Object paramObj1 = new LongWrapper(folderId);
295 
296             Object paramObj2 = name;
297 
298             if (name == null) {
299                 paramObj2 = new NullWrapper("java.lang.String");
300             }
301 
302             Object paramObj3 = version;
303 
304             if (version == null) {
305                 paramObj3 = new NullWrapper("java.lang.String");
306             }
307 
308             MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
309                     "deleteFileEntry",
310                     new Object[] { paramObj0, paramObj1, paramObj2, paramObj3 });
311 
312             try {
313                 TunnelUtil.invoke(httpPrincipal, methodWrapper);
314             }
315             catch (Exception e) {
316                 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
317                     throw (com.liferay.portal.kernel.exception.PortalException)e;
318                 }
319 
320                 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
321                     throw (com.liferay.portal.kernel.exception.SystemException)e;
322                 }
323 
324                 throw new com.liferay.portal.kernel.exception.SystemException(e);
325             }
326         }
327         catch (com.liferay.portal.kernel.exception.SystemException se) {
328             _log.error(se, se);
329 
330             throw se;
331         }
332     }
333 
334     public static void deleteFileEntryByTitle(HttpPrincipal httpPrincipal,
335         long groupId, long folderId, java.lang.String titleWithExtension)
336         throws com.liferay.portal.kernel.exception.PortalException,
337             com.liferay.portal.kernel.exception.SystemException {
338         try {
339             Object paramObj0 = new LongWrapper(groupId);
340 
341             Object paramObj1 = new LongWrapper(folderId);
342 
343             Object paramObj2 = titleWithExtension;
344 
345             if (titleWithExtension == null) {
346                 paramObj2 = new NullWrapper("java.lang.String");
347             }
348 
349             MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
350                     "deleteFileEntryByTitle",
351                     new Object[] { paramObj0, paramObj1, paramObj2 });
352 
353             try {
354                 TunnelUtil.invoke(httpPrincipal, methodWrapper);
355             }
356             catch (Exception e) {
357                 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
358                     throw (com.liferay.portal.kernel.exception.PortalException)e;
359                 }
360 
361                 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
362                     throw (com.liferay.portal.kernel.exception.SystemException)e;
363                 }
364 
365                 throw new com.liferay.portal.kernel.exception.SystemException(e);
366             }
367         }
368         catch (com.liferay.portal.kernel.exception.SystemException se) {
369             _log.error(se, se);
370 
371             throw se;
372         }
373     }
374 
375     public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
376         HttpPrincipal httpPrincipal, long groupId, long folderId)
377         throws com.liferay.portal.kernel.exception.PortalException,
378             com.liferay.portal.kernel.exception.SystemException {
379         try {
380             Object paramObj0 = new LongWrapper(groupId);
381 
382             Object paramObj1 = new LongWrapper(folderId);
383 
384             MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
385                     "getFileEntries", new Object[] { paramObj0, paramObj1 });
386 
387             Object returnObj = null;
388 
389             try {
390                 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
391             }
392             catch (Exception e) {
393                 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
394                     throw (com.liferay.portal.kernel.exception.PortalException)e;
395                 }
396 
397                 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
398                     throw (com.liferay.portal.kernel.exception.SystemException)e;
399                 }
400 
401                 throw new com.liferay.portal.kernel.exception.SystemException(e);
402             }
403 
404             return (java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry>)returnObj;
405         }
406         catch (com.liferay.portal.kernel.exception.SystemException se) {
407             _log.error(se, se);
408 
409             throw se;
410         }
411     }
412 
413     public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
414         HttpPrincipal httpPrincipal, long groupId, long folderId, int start,
415         int end)
416         throws com.liferay.portal.kernel.exception.PortalException,
417             com.liferay.portal.kernel.exception.SystemException {
418         try {
419             Object paramObj0 = new LongWrapper(groupId);
420 
421             Object paramObj1 = new LongWrapper(folderId);
422 
423             Object paramObj2 = new IntegerWrapper(start);
424 
425             Object paramObj3 = new IntegerWrapper(end);
426 
427             MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
428                     "getFileEntries",
429                     new Object[] { paramObj0, paramObj1, paramObj2, paramObj3 });
430 
431             Object returnObj = null;
432 
433             try {
434                 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
435             }
436             catch (Exception e) {
437                 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
438                     throw (com.liferay.portal.kernel.exception.PortalException)e;
439                 }
440 
441                 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
442                     throw (com.liferay.portal.kernel.exception.SystemException)e;
443                 }
444 
445                 throw new com.liferay.portal.kernel.exception.SystemException(e);
446             }
447 
448             return (java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry>)returnObj;
449         }
450         catch (com.liferay.portal.kernel.exception.SystemException se) {
451             _log.error(se, se);
452 
453             throw se;
454         }
455     }
456 
457     public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
458         HttpPrincipal httpPrincipal, long groupId, long folderId, int start,
459         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
460         throws com.liferay.portal.kernel.exception.PortalException,
461             com.liferay.portal.kernel.exception.SystemException {
462         try {
463             Object paramObj0 = new LongWrapper(groupId);
464 
465             Object paramObj1 = new LongWrapper(folderId);
466 
467             Object paramObj2 = new IntegerWrapper(start);
468 
469             Object paramObj3 = new IntegerWrapper(end);
470 
471             Object paramObj4 = obc;
472 
473             if (obc == null) {
474                 paramObj4 = new NullWrapper(
475                         "com.liferay.portal.kernel.util.OrderByComparator");
476             }
477 
478             MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
479                     "getFileEntries",
480                     new Object[] {
481                         paramObj0, paramObj1, paramObj2, paramObj3, paramObj4
482                     });
483 
484             Object returnObj = null;
485 
486             try {
487                 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
488             }
489             catch (Exception e) {
490                 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
491                     throw (com.liferay.portal.kernel.exception.PortalException)e;
492                 }
493 
494                 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
495                     throw (com.liferay.portal.kernel.exception.SystemException)e;
496                 }
497 
498                 throw new com.liferay.portal.kernel.exception.SystemException(e);
499             }
500 
501             return (java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry>)returnObj;
502         }
503         catch (com.liferay.portal.kernel.exception.SystemException se) {
504             _log.error(se, se);
505 
506             throw se;
507         }
508     }
509 
510     public static int getFileEntriesCount(HttpPrincipal httpPrincipal,
511         long groupId, long folderId)
512         throws com.liferay.portal.kernel.exception.PortalException,
513             com.liferay.portal.kernel.exception.SystemException {
514         try {
515             Object paramObj0 = new LongWrapper(groupId);
516 
517             Object paramObj1 = new LongWrapper(folderId);
518 
519             MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
520                     "getFileEntriesCount", new Object[] { paramObj0, paramObj1 });
521 
522             Object returnObj = null;
523 
524             try {
525                 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
526             }
527             catch (Exception e) {
528                 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
529                     throw (com.liferay.portal.kernel.exception.PortalException)e;
530                 }
531 
532                 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
533                     throw (com.liferay.portal.kernel.exception.SystemException)e;
534                 }
535 
536                 throw new com.liferay.portal.kernel.exception.SystemException(e);
537             }
538 
539             return ((Integer)returnObj).intValue();
540         }
541         catch (com.liferay.portal.kernel.exception.SystemException se) {
542             _log.error(se, se);
543 
544             throw se;
545         }
546     }
547 
548     public static com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
549         HttpPrincipal httpPrincipal, long groupId, long folderId,
550         java.lang.String name)
551         throws com.liferay.portal.kernel.exception.PortalException,
552             com.liferay.portal.kernel.exception.SystemException {
553         try {
554             Object paramObj0 = new LongWrapper(groupId);
555 
556             Object paramObj1 = new LongWrapper(folderId);
557 
558             Object paramObj2 = name;
559 
560             if (name == null) {
561                 paramObj2 = new NullWrapper("java.lang.String");
562             }
563 
564             MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
565                     "getFileEntry",
566                     new Object[] { paramObj0, paramObj1, paramObj2 });
567 
568             Object returnObj = null;
569 
570             try {
571                 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
572             }
573             catch (Exception e) {
574                 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
575                     throw (com.liferay.portal.kernel.exception.PortalException)e;
576                 }
577 
578                 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
579                     throw (com.liferay.portal.kernel.exception.SystemException)e;
580                 }
581 
582                 throw new com.liferay.portal.kernel.exception.SystemException(e);
583             }
584 
585             return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
586         }
587         catch (com.liferay.portal.kernel.exception.SystemException se) {
588             _log.error(se, se);
589 
590             throw se;
591         }
592     }
593 
594     public static com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByTitle(
595         HttpPrincipal httpPrincipal, long groupId, long folderId,
596         java.lang.String titleWithExtension)
597         throws com.liferay.portal.kernel.exception.PortalException,
598             com.liferay.portal.kernel.exception.SystemException {
599         try {
600             Object paramObj0 = new LongWrapper(groupId);
601 
602             Object paramObj1 = new LongWrapper(folderId);
603 
604             Object paramObj2 = titleWithExtension;
605 
606             if (titleWithExtension == null) {
607                 paramObj2 = new NullWrapper("java.lang.String");
608             }
609 
610             MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
611                     "getFileEntryByTitle",
612                     new Object[] { paramObj0, paramObj1, paramObj2 });
613 
614             Object returnObj = null;
615 
616             try {
617                 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
618             }
619             catch (Exception e) {
620                 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
621                     throw (com.liferay.portal.kernel.exception.PortalException)e;
622                 }
623 
624                 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
625                     throw (com.liferay.portal.kernel.exception.SystemException)e;
626                 }
627 
628                 throw new com.liferay.portal.kernel.exception.SystemException(e);
629             }
630 
631             return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
632         }
633         catch (com.liferay.portal.kernel.exception.SystemException se) {
634             _log.error(se, se);
635 
636             throw se;
637         }
638     }
639 
640     public static com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
641         HttpPrincipal httpPrincipal, java.lang.String uuid, long groupId)
642         throws com.liferay.portal.kernel.exception.PortalException,
643             com.liferay.portal.kernel.exception.SystemException {
644         try {
645             Object paramObj0 = uuid;
646 
647             if (uuid == null) {
648                 paramObj0 = new NullWrapper("java.lang.String");
649             }
650 
651             Object paramObj1 = new LongWrapper(groupId);
652 
653             MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
654                     "getFileEntryByUuidAndGroupId",
655                     new Object[] { paramObj0, paramObj1 });
656 
657             Object returnObj = null;
658 
659             try {
660                 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
661             }
662             catch (Exception e) {
663                 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
664                     throw (com.liferay.portal.kernel.exception.PortalException)e;
665                 }
666 
667                 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
668                     throw (com.liferay.portal.kernel.exception.SystemException)e;
669                 }
670 
671                 throw new com.liferay.portal.kernel.exception.SystemException(e);
672             }
673 
674             return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
675         }
676         catch (com.liferay.portal.kernel.exception.SystemException se) {
677             _log.error(se, se);
678 
679             throw se;
680         }
681     }
682 
683     public static int getFoldersFileEntriesCount(HttpPrincipal httpPrincipal,
684         long groupId, java.util.List<java.lang.Long> folderIds, int status)
685         throws com.liferay.portal.kernel.exception.SystemException {
686         try {
687             Object paramObj0 = new LongWrapper(groupId);
688 
689             Object paramObj1 = folderIds;
690 
691             if (folderIds == null) {
692                 paramObj1 = new NullWrapper("java.util.List");
693             }
694 
695             Object paramObj2 = new IntegerWrapper(status);
696 
697             MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
698                     "getFoldersFileEntriesCount",
699                     new Object[] { paramObj0, paramObj1, paramObj2 });
700 
701             Object returnObj = null;
702 
703             try {
704                 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
705             }
706             catch (Exception e) {
707                 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
708                     throw (com.liferay.portal.kernel.exception.SystemException)e;
709                 }
710 
711                 throw new com.liferay.portal.kernel.exception.SystemException(e);
712             }
713 
714             return ((Integer)returnObj).intValue();
715         }
716         catch (com.liferay.portal.kernel.exception.SystemException se) {
717             _log.error(se, se);
718 
719             throw se;
720         }
721     }
722 
723     public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
724         HttpPrincipal httpPrincipal, long groupId, long userId, int start,
725         int end) throws com.liferay.portal.kernel.exception.SystemException {
726         try {
727             Object paramObj0 = new LongWrapper(groupId);
728 
729             Object paramObj1 = new LongWrapper(userId);
730 
731             Object paramObj2 = new IntegerWrapper(start);
732 
733             Object paramObj3 = new IntegerWrapper(end);
734 
735             MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
736                     "getGroupFileEntries",
737                     new Object[] { paramObj0, paramObj1, paramObj2, paramObj3 });
738 
739             Object returnObj = null;
740 
741             try {
742                 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
743             }
744             catch (Exception e) {
745                 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
746                     throw (com.liferay.portal.kernel.exception.SystemException)e;
747                 }
748 
749                 throw new com.liferay.portal.kernel.exception.SystemException(e);
750             }
751 
752             return (java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry>)returnObj;
753         }
754         catch (com.liferay.portal.kernel.exception.SystemException se) {
755             _log.error(se, se);
756 
757             throw se;
758         }
759     }
760 
761     public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
762         HttpPrincipal httpPrincipal, long groupId, long userId, int start,
763         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
764         throws com.liferay.portal.kernel.exception.SystemException {
765         try {
766             Object paramObj0 = new LongWrapper(groupId);
767 
768             Object paramObj1 = new LongWrapper(userId);
769 
770             Object paramObj2 = new IntegerWrapper(start);
771 
772             Object paramObj3 = new IntegerWrapper(end);
773 
774             Object paramObj4 = obc;
775 
776             if (obc == null) {
777                 paramObj4 = new NullWrapper(
778                         "com.liferay.portal.kernel.util.OrderByComparator");
779             }
780 
781             MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
782                     "getGroupFileEntries",
783                     new Object[] {
784                         paramObj0, paramObj1, paramObj2, paramObj3, paramObj4
785                     });
786 
787             Object returnObj = null;
788 
789             try {
790                 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
791             }
792             catch (Exception e) {
793                 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
794                     throw (com.liferay.portal.kernel.exception.SystemException)e;
795                 }
796 
797                 throw new com.liferay.portal.kernel.exception.SystemException(e);
798             }
799 
800             return (java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry>)returnObj;
801         }
802         catch (com.liferay.portal.kernel.exception.SystemException se) {
803             _log.error(se, se);
804 
805             throw se;
806         }
807     }
808 
809     public static int getGroupFileEntriesCount(HttpPrincipal httpPrincipal,
810         long groupId, long userId)
811         throws com.liferay.portal.kernel.exception.SystemException {
812         try {
813             Object paramObj0 = new LongWrapper(groupId);
814 
815             Object paramObj1 = new LongWrapper(userId);
816 
817             MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
818                     "getGroupFileEntriesCount",
819                     new Object[] { paramObj0, paramObj1 });
820 
821             Object returnObj = null;
822 
823             try {
824                 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
825             }
826             catch (Exception e) {
827                 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
828                     throw (com.liferay.portal.kernel.exception.SystemException)e;
829                 }
830 
831                 throw new com.liferay.portal.kernel.exception.SystemException(e);
832             }
833 
834             return ((Integer)returnObj).intValue();
835         }
836         catch (com.liferay.portal.kernel.exception.SystemException se) {
837             _log.error(se, se);
838 
839             throw se;
840         }
841     }
842 
843     public static boolean hasFileEntryLock(HttpPrincipal httpPrincipal,
844         long groupId, long folderId, java.lang.String name)
845         throws com.liferay.portal.kernel.exception.PortalException,
846             com.liferay.portal.kernel.exception.SystemException {
847         try {
848             Object paramObj0 = new LongWrapper(groupId);
849 
850             Object paramObj1 = new LongWrapper(folderId);
851 
852             Object paramObj2 = name;
853 
854             if (name == null) {
855                 paramObj2 = new NullWrapper("java.lang.String");
856             }
857 
858             MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
859                     "hasFileEntryLock",
860                     new Object[] { paramObj0, paramObj1, paramObj2 });
861 
862             Object returnObj = null;
863 
864             try {
865                 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
866             }
867             catch (Exception e) {
868                 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
869                     throw (com.liferay.portal.kernel.exception.PortalException)e;
870                 }
871 
872                 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
873                     throw (com.liferay.portal.kernel.exception.SystemException)e;
874                 }
875 
876                 throw new com.liferay.portal.kernel.exception.SystemException(e);
877             }
878 
879             return ((Boolean)returnObj).booleanValue();
880         }
881         catch (com.liferay.portal.kernel.exception.SystemException se) {
882             _log.error(se, se);
883 
884             throw se;
885         }
886     }
887 
888     public static com.liferay.portal.model.Lock lockFileEntry(
889         HttpPrincipal httpPrincipal, long groupId, long folderId,
890         java.lang.String name)
891         throws com.liferay.portal.kernel.exception.PortalException,
892             com.liferay.portal.kernel.exception.SystemException {
893         try {
894             Object paramObj0 = new LongWrapper(groupId);
895 
896             Object paramObj1 = new LongWrapper(folderId);
897 
898             Object paramObj2 = name;
899 
900             if (name == null) {
901                 paramObj2 = new NullWrapper("java.lang.String");
902             }
903 
904             MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
905                     "lockFileEntry",
906                     new Object[] { paramObj0, paramObj1, paramObj2 });
907 
908             Object returnObj = null;
909 
910             try {
911                 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
912             }
913             catch (Exception e) {
914                 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
915                     throw (com.liferay.portal.kernel.exception.PortalException)e;
916                 }
917 
918                 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
919                     throw (com.liferay.portal.kernel.exception.SystemException)e;
920                 }
921 
922                 throw new com.liferay.portal.kernel.exception.SystemException(e);
923             }
924 
925             return (com.liferay.portal.model.Lock)returnObj;
926         }
927         catch (com.liferay.portal.kernel.exception.SystemException se) {
928             _log.error(se, se);
929 
930             throw se;
931         }
932     }
933 
934     public static com.liferay.portal.model.Lock lockFileEntry(
935         HttpPrincipal httpPrincipal, long groupId, long folderId,
936         java.lang.String name, java.lang.String owner, long expirationTime)
937         throws com.liferay.portal.kernel.exception.PortalException,
938             com.liferay.portal.kernel.exception.SystemException {
939         try {
940             Object paramObj0 = new LongWrapper(groupId);
941 
942             Object paramObj1 = new LongWrapper(folderId);
943 
944             Object paramObj2 = name;
945 
946             if (name == null) {
947                 paramObj2 = new NullWrapper("java.lang.String");
948             }
949 
950             Object paramObj3 = owner;
951 
952             if (owner == null) {
953                 paramObj3 = new NullWrapper("java.lang.String");
954             }
955 
956             Object paramObj4 = new LongWrapper(expirationTime);
957 
958             MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
959                     "lockFileEntry",
960                     new Object[] {
961                         paramObj0, paramObj1, paramObj2, paramObj3, paramObj4
962                     });
963 
964             Object returnObj = null;
965 
966             try {
967                 returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
968             }
969             catch (Exception e) {
970                 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
971                     throw (com.liferay.portal.kernel.exception.PortalException)e;
972                 }
973 
974                 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
975                     throw (com.liferay.portal.kernel.exception.SystemException)e;
976                 }
977 
978                 throw new com.liferay.portal.kernel.exception.SystemException(e);
979             }
980 
981             return (com.liferay.portal.model.Lock)returnObj;
982         }
983         catch (com.liferay.portal.kernel.exception.SystemException se) {
984             _log.error(se, se);
985 
986             throw se;
987         }
988     }
989 
990     public static com.liferay.portal.model.Lock refreshFileEntryLock(
991         HttpPrincipal httpPrincipal, java.lang.String lockUuid,
992         long expirationTime)
993         throws com.liferay.portal.kernel.exception.PortalException,
994             com.liferay.portal.kernel.exception.SystemException {
995         try {
996             Object paramObj0 = lockUuid;
997 
998             if (lockUuid == null) {
999                 paramObj0 = new NullWrapper("java.lang.String");
1000            }
1001
1002            Object paramObj1 = new LongWrapper(expirationTime);
1003
1004            MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
1005                    "refreshFileEntryLock",
1006                    new Object[] { paramObj0, paramObj1 });
1007
1008            Object returnObj = null;
1009
1010            try {
1011                returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
1012            }
1013            catch (Exception e) {
1014                if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1015                    throw (com.liferay.portal.kernel.exception.PortalException)e;
1016                }
1017
1018                if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1019                    throw (com.liferay.portal.kernel.exception.SystemException)e;
1020                }
1021
1022                throw new com.liferay.portal.kernel.exception.SystemException(e);
1023            }
1024
1025            return (com.liferay.portal.model.Lock)returnObj;
1026        }
1027        catch (com.liferay.portal.kernel.exception.SystemException se) {
1028            _log.error(se, se);
1029
1030            throw se;
1031        }
1032    }
1033
1034    public static void unlockFileEntry(HttpPrincipal httpPrincipal,
1035        long groupId, long folderId, java.lang.String name)
1036        throws com.liferay.portal.kernel.exception.SystemException {
1037        try {
1038            Object paramObj0 = new LongWrapper(groupId);
1039
1040            Object paramObj1 = new LongWrapper(folderId);
1041
1042            Object paramObj2 = name;
1043
1044            if (name == null) {
1045                paramObj2 = new NullWrapper("java.lang.String");
1046            }
1047
1048            MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
1049                    "unlockFileEntry",
1050                    new Object[] { paramObj0, paramObj1, paramObj2 });
1051
1052            try {
1053                TunnelUtil.invoke(httpPrincipal, methodWrapper);
1054            }
1055            catch (Exception e) {
1056                if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1057                    throw (com.liferay.portal.kernel.exception.SystemException)e;
1058                }
1059
1060                throw new com.liferay.portal.kernel.exception.SystemException(e);
1061            }
1062        }
1063        catch (com.liferay.portal.kernel.exception.SystemException se) {
1064            _log.error(se, se);
1065
1066            throw se;
1067        }
1068    }
1069
1070    public static void unlockFileEntry(HttpPrincipal httpPrincipal,
1071        long groupId, long folderId, java.lang.String name,
1072        java.lang.String lockUuid)
1073        throws com.liferay.portal.kernel.exception.PortalException,
1074            com.liferay.portal.kernel.exception.SystemException {
1075        try {
1076            Object paramObj0 = new LongWrapper(groupId);
1077
1078            Object paramObj1 = new LongWrapper(folderId);
1079
1080            Object paramObj2 = name;
1081
1082            if (name == null) {
1083                paramObj2 = new NullWrapper("java.lang.String");
1084            }
1085
1086            Object paramObj3 = lockUuid;
1087
1088            if (lockUuid == null) {
1089                paramObj3 = new NullWrapper("java.lang.String");
1090            }
1091
1092            MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
1093                    "unlockFileEntry",
1094                    new Object[] { paramObj0, paramObj1, paramObj2, paramObj3 });
1095
1096            try {
1097                TunnelUtil.invoke(httpPrincipal, methodWrapper);
1098            }
1099            catch (Exception e) {
1100                if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1101                    throw (com.liferay.portal.kernel.exception.PortalException)e;
1102                }
1103
1104                if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1105                    throw (com.liferay.portal.kernel.exception.SystemException)e;
1106                }
1107
1108                throw new com.liferay.portal.kernel.exception.SystemException(e);
1109            }
1110        }
1111        catch (com.liferay.portal.kernel.exception.SystemException se) {
1112            _log.error(se, se);
1113
1114            throw se;
1115        }
1116    }
1117
1118    public static com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
1119        HttpPrincipal httpPrincipal, long groupId, long folderId,
1120        long newFolderId, java.lang.String name,
1121        java.lang.String sourceFileName, java.lang.String title,
1122        java.lang.String description, java.lang.String versionDescription,
1123        boolean majorVersion, java.lang.String extraSettings, byte[] bytes,
1124        com.liferay.portal.service.ServiceContext serviceContext)
1125        throws com.liferay.portal.kernel.exception.PortalException,
1126            com.liferay.portal.kernel.exception.SystemException {
1127        try {
1128            Object paramObj0 = new LongWrapper(groupId);
1129
1130            Object paramObj1 = new LongWrapper(folderId);
1131
1132            Object paramObj2 = new LongWrapper(newFolderId);
1133
1134            Object paramObj3 = name;
1135
1136            if (name == null) {
1137                paramObj3 = new NullWrapper("java.lang.String");
1138            }
1139
1140            Object paramObj4 = sourceFileName;
1141
1142            if (sourceFileName == null) {
1143                paramObj4 = new NullWrapper("java.lang.String");
1144            }
1145
1146            Object paramObj5 = title;
1147
1148            if (title == null) {
1149                paramObj5 = new NullWrapper("java.lang.String");
1150            }
1151
1152            Object paramObj6 = description;
1153
1154            if (description == null) {
1155                paramObj6 = new NullWrapper("java.lang.String");
1156            }
1157
1158            Object paramObj7 = versionDescription;
1159
1160            if (versionDescription == null) {
1161                paramObj7 = new NullWrapper("java.lang.String");
1162            }
1163
1164            Object paramObj8 = new BooleanWrapper(majorVersion);
1165
1166            Object paramObj9 = extraSettings;
1167
1168            if (extraSettings == null) {
1169                paramObj9 = new NullWrapper("java.lang.String");
1170            }
1171
1172            Object paramObj10 = bytes;
1173
1174            if (bytes == null) {
1175                paramObj10 = new NullWrapper("[B");
1176            }
1177
1178            Object paramObj11 = serviceContext;
1179
1180            if (serviceContext == null) {
1181                paramObj11 = new NullWrapper(
1182                        "com.liferay.portal.service.ServiceContext");
1183            }
1184
1185            MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
1186                    "updateFileEntry",
1187                    new Object[] {
1188                        paramObj0, paramObj1, paramObj2, paramObj3, paramObj4,
1189                        paramObj5, paramObj6, paramObj7, paramObj8, paramObj9,
1190                        paramObj10, paramObj11
1191                    });
1192
1193            Object returnObj = null;
1194
1195            try {
1196                returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
1197            }
1198            catch (Exception e) {
1199                if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1200                    throw (com.liferay.portal.kernel.exception.PortalException)e;
1201                }
1202
1203                if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1204                    throw (com.liferay.portal.kernel.exception.SystemException)e;
1205                }
1206
1207                throw new com.liferay.portal.kernel.exception.SystemException(e);
1208            }
1209
1210            return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
1211        }
1212        catch (com.liferay.portal.kernel.exception.SystemException se) {
1213            _log.error(se, se);
1214
1215            throw se;
1216        }
1217    }
1218
1219    public static com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
1220        HttpPrincipal httpPrincipal, long groupId, long folderId,
1221        long newFolderId, java.lang.String name,
1222        java.lang.String sourceFileName, java.lang.String title,
1223        java.lang.String description, java.lang.String versionDescription,
1224        boolean majorVersion, java.lang.String extraSettings,
1225        java.io.File file,
1226        com.liferay.portal.service.ServiceContext serviceContext)
1227        throws com.liferay.portal.kernel.exception.PortalException,
1228            com.liferay.portal.kernel.exception.SystemException {
1229        try {
1230            Object paramObj0 = new LongWrapper(groupId);
1231
1232            Object paramObj1 = new LongWrapper(folderId);
1233
1234            Object paramObj2 = new LongWrapper(newFolderId);
1235
1236            Object paramObj3 = name;
1237
1238            if (name == null) {
1239                paramObj3 = new NullWrapper("java.lang.String");
1240            }
1241
1242            Object paramObj4 = sourceFileName;
1243
1244            if (sourceFileName == null) {
1245                paramObj4 = new NullWrapper("java.lang.String");
1246            }
1247
1248            Object paramObj5 = title;
1249
1250            if (title == null) {
1251                paramObj5 = new NullWrapper("java.lang.String");
1252            }
1253
1254            Object paramObj6 = description;
1255
1256            if (description == null) {
1257                paramObj6 = new NullWrapper("java.lang.String");
1258            }
1259
1260            Object paramObj7 = versionDescription;
1261
1262            if (versionDescription == null) {
1263                paramObj7 = new NullWrapper("java.lang.String");
1264            }
1265
1266            Object paramObj8 = new BooleanWrapper(majorVersion);
1267
1268            Object paramObj9 = extraSettings;
1269
1270            if (extraSettings == null) {
1271                paramObj9 = new NullWrapper("java.lang.String");
1272            }
1273
1274            Object paramObj10 = file;
1275
1276            if (file == null) {
1277                paramObj10 = new NullWrapper("java.io.File");
1278            }
1279
1280            Object paramObj11 = serviceContext;
1281
1282            if (serviceContext == null) {
1283                paramObj11 = new NullWrapper(
1284                        "com.liferay.portal.service.ServiceContext");
1285            }
1286
1287            MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
1288                    "updateFileEntry",
1289                    new Object[] {
1290                        paramObj0, paramObj1, paramObj2, paramObj3, paramObj4,
1291                        paramObj5, paramObj6, paramObj7, paramObj8, paramObj9,
1292                        paramObj10, paramObj11
1293                    });
1294
1295            Object returnObj = null;
1296
1297            try {
1298                returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
1299            }
1300            catch (Exception e) {
1301                if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1302                    throw (com.liferay.portal.kernel.exception.PortalException)e;
1303                }
1304
1305                if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1306                    throw (com.liferay.portal.kernel.exception.SystemException)e;
1307                }
1308
1309                throw new com.liferay.portal.kernel.exception.SystemException(e);
1310            }
1311
1312            return (com.liferay.portlet.documentlibrary.model.DLFileEntry)returnObj;
1313        }
1314        catch (com.liferay.portal.kernel.exception.SystemException se) {
1315            _log.error(se, se);
1316
1317            throw se;
1318        }
1319    }
1320
1321    public static boolean verifyFileEntryLock(HttpPrincipal httpPrincipal,
1322        long groupId, long folderId, java.lang.String name,
1323        java.lang.String lockUuid)
1324        throws com.liferay.portal.kernel.exception.PortalException,
1325            com.liferay.portal.kernel.exception.SystemException {
1326        try {
1327            Object paramObj0 = new LongWrapper(groupId);
1328
1329            Object paramObj1 = new LongWrapper(folderId);
1330
1331            Object paramObj2 = name;
1332
1333            if (name == null) {
1334                paramObj2 = new NullWrapper("java.lang.String");
1335            }
1336
1337            Object paramObj3 = lockUuid;
1338
1339            if (lockUuid == null) {
1340                paramObj3 = new NullWrapper("java.lang.String");
1341            }
1342
1343            MethodWrapper methodWrapper = new MethodWrapper(DLFileEntryServiceUtil.class.getName(),
1344                    "verifyFileEntryLock",
1345                    new Object[] { paramObj0, paramObj1, paramObj2, paramObj3 });
1346
1347            Object returnObj = null;
1348
1349            try {
1350                returnObj = TunnelUtil.invoke(httpPrincipal, methodWrapper);
1351            }
1352            catch (Exception e) {
1353                if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
1354                    throw (com.liferay.portal.kernel.exception.PortalException)e;
1355                }
1356
1357                if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
1358                    throw (com.liferay.portal.kernel.exception.SystemException)e;
1359                }
1360
1361                throw new com.liferay.portal.kernel.exception.SystemException(e);
1362            }
1363
1364            return ((Boolean)returnObj).booleanValue();
1365        }
1366        catch (com.liferay.portal.kernel.exception.SystemException se) {
1367            _log.error(se, se);
1368
1369            throw se;
1370        }
1371    }
1372
1373    private static Log _log = LogFactoryUtil.getLog(DLFileEntryServiceHttp.class);
1374}