1
14
15 package com.liferay.portlet.documentlibrary.service;
16
17
18
34 public class DLFileEntryLocalServiceWrapper implements DLFileEntryLocalService {
35 public DLFileEntryLocalServiceWrapper(
36 DLFileEntryLocalService dlFileEntryLocalService) {
37 _dlFileEntryLocalService = dlFileEntryLocalService;
38 }
39
40 public com.liferay.portlet.documentlibrary.model.DLFileEntry addDLFileEntry(
41 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
42 throws com.liferay.portal.SystemException {
43 return _dlFileEntryLocalService.addDLFileEntry(dlFileEntry);
44 }
45
46 public com.liferay.portlet.documentlibrary.model.DLFileEntry createDLFileEntry(
47 long fileEntryId) {
48 return _dlFileEntryLocalService.createDLFileEntry(fileEntryId);
49 }
50
51 public void deleteDLFileEntry(long fileEntryId)
52 throws com.liferay.portal.PortalException,
53 com.liferay.portal.SystemException {
54 _dlFileEntryLocalService.deleteDLFileEntry(fileEntryId);
55 }
56
57 public void deleteDLFileEntry(
58 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
59 throws com.liferay.portal.SystemException {
60 _dlFileEntryLocalService.deleteDLFileEntry(dlFileEntry);
61 }
62
63 public java.util.List<Object> dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.SystemException {
66 return _dlFileEntryLocalService.dynamicQuery(dynamicQuery);
67 }
68
69 public java.util.List<Object> dynamicQuery(
70 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71 int end) throws com.liferay.portal.SystemException {
72 return _dlFileEntryLocalService.dynamicQuery(dynamicQuery, start, end);
73 }
74
75 public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntry(
76 long fileEntryId)
77 throws com.liferay.portal.PortalException,
78 com.liferay.portal.SystemException {
79 return _dlFileEntryLocalService.getDLFileEntry(fileEntryId);
80 }
81
82 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntries(
83 int start, int end) throws com.liferay.portal.SystemException {
84 return _dlFileEntryLocalService.getDLFileEntries(start, end);
85 }
86
87 public int getDLFileEntriesCount()
88 throws com.liferay.portal.SystemException {
89 return _dlFileEntryLocalService.getDLFileEntriesCount();
90 }
91
92 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
93 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
94 throws com.liferay.portal.SystemException {
95 return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry);
96 }
97
98 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
99 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
100 boolean merge) throws com.liferay.portal.SystemException {
101 return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry, merge);
102 }
103
104 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
105 long userId, long folderId, java.lang.String name,
106 java.lang.String title, java.lang.String description,
107 java.lang.String[] tagsEntries, java.lang.String extraSettings,
108 byte[] bytes, boolean addCommunityPermissions,
109 boolean addGuestPermissions)
110 throws com.liferay.portal.PortalException,
111 com.liferay.portal.SystemException {
112 return _dlFileEntryLocalService.addFileEntry(userId, folderId, name,
113 title, description, tagsEntries, extraSettings, bytes,
114 addCommunityPermissions, addGuestPermissions);
115 }
116
117 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
118 long userId, long folderId, java.lang.String name,
119 java.lang.String title, java.lang.String description,
120 java.lang.String[] tagsEntries, java.lang.String extraSettings,
121 byte[] bytes, java.lang.String[] communityPermissions,
122 java.lang.String[] guestPermissions)
123 throws com.liferay.portal.PortalException,
124 com.liferay.portal.SystemException {
125 return _dlFileEntryLocalService.addFileEntry(userId, folderId, name,
126 title, description, tagsEntries, extraSettings, bytes,
127 communityPermissions, guestPermissions);
128 }
129
130 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
131 long userId, long folderId, java.lang.String name,
132 java.lang.String title, java.lang.String description,
133 java.lang.String[] tagsEntries, java.lang.String extraSettings,
134 java.io.File file, boolean addCommunityPermissions,
135 boolean addGuestPermissions)
136 throws com.liferay.portal.PortalException,
137 com.liferay.portal.SystemException {
138 return _dlFileEntryLocalService.addFileEntry(userId, folderId, name,
139 title, description, tagsEntries, extraSettings, file,
140 addCommunityPermissions, addGuestPermissions);
141 }
142
143 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
144 long userId, long folderId, java.lang.String name,
145 java.lang.String title, java.lang.String description,
146 java.lang.String[] tagsEntries, java.lang.String extraSettings,
147 java.io.File file, java.lang.Boolean addCommunityPermissions,
148 java.lang.Boolean addGuestPermissions,
149 java.lang.String[] communityPermissions,
150 java.lang.String[] guestPermissions)
151 throws com.liferay.portal.PortalException,
152 com.liferay.portal.SystemException {
153 return _dlFileEntryLocalService.addFileEntry(userId, folderId, name,
154 title, description, tagsEntries, extraSettings, file,
155 addCommunityPermissions, addGuestPermissions, communityPermissions,
156 guestPermissions);
157 }
158
159 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
160 long userId, long folderId, java.lang.String name,
161 java.lang.String title, java.lang.String description,
162 java.lang.String[] tagsEntries, java.lang.String extraSettings,
163 java.io.File file, java.lang.String[] communityPermissions,
164 java.lang.String[] guestPermissions)
165 throws com.liferay.portal.PortalException,
166 com.liferay.portal.SystemException {
167 return _dlFileEntryLocalService.addFileEntry(userId, folderId, name,
168 title, description, tagsEntries, extraSettings, file,
169 communityPermissions, guestPermissions);
170 }
171
172 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
173 long userId, long folderId, java.lang.String name,
174 java.lang.String title, java.lang.String description,
175 java.lang.String[] tagsEntries, java.lang.String extraSettings,
176 java.io.InputStream is, int size, boolean addCommunityPermissions,
177 boolean addGuestPermissions)
178 throws com.liferay.portal.PortalException,
179 com.liferay.portal.SystemException {
180 return _dlFileEntryLocalService.addFileEntry(userId, folderId, name,
181 title, description, tagsEntries, extraSettings, is, size,
182 addCommunityPermissions, addGuestPermissions);
183 }
184
185 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
186 java.lang.String uuid, long userId, long folderId,
187 java.lang.String name, java.lang.String title,
188 java.lang.String description, java.lang.String[] tagsEntries,
189 java.lang.String extraSettings, byte[] bytes,
190 boolean addCommunityPermissions, boolean addGuestPermissions)
191 throws com.liferay.portal.PortalException,
192 com.liferay.portal.SystemException {
193 return _dlFileEntryLocalService.addFileEntry(uuid, userId, folderId,
194 name, title, description, tagsEntries, extraSettings, bytes,
195 addCommunityPermissions, addGuestPermissions);
196 }
197
198 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
199 java.lang.String uuid, long userId, long folderId,
200 java.lang.String name, java.lang.String title,
201 java.lang.String description, java.lang.String[] tagsEntries,
202 java.lang.String extraSettings, byte[] bytes,
203 java.lang.Boolean addCommunityPermissions,
204 java.lang.Boolean addGuestPermissions,
205 java.lang.String[] communityPermissions,
206 java.lang.String[] guestPermissions)
207 throws com.liferay.portal.PortalException,
208 com.liferay.portal.SystemException {
209 return _dlFileEntryLocalService.addFileEntry(uuid, userId, folderId,
210 name, title, description, tagsEntries, extraSettings, bytes,
211 addCommunityPermissions, addGuestPermissions, communityPermissions,
212 guestPermissions);
213 }
214
215 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
216 java.lang.String uuid, long userId, long folderId,
217 java.lang.String name, java.lang.String title,
218 java.lang.String description, java.lang.String[] tagsEntries,
219 java.lang.String extraSettings, java.io.InputStream is, int size,
220 boolean addCommunityPermissions, boolean addGuestPermissions)
221 throws com.liferay.portal.PortalException,
222 com.liferay.portal.SystemException {
223 return _dlFileEntryLocalService.addFileEntry(uuid, userId, folderId,
224 name, title, description, tagsEntries, extraSettings, is, size,
225 addCommunityPermissions, addGuestPermissions);
226 }
227
228 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
229 java.lang.String uuid, long userId, long folderId,
230 java.lang.String name, java.lang.String title,
231 java.lang.String description, java.lang.String[] tagsEntries,
232 java.lang.String extraSettings, java.io.InputStream is, long size,
233 java.lang.Boolean addCommunityPermissions,
234 java.lang.Boolean addGuestPermissions,
235 java.lang.String[] communityPermissions,
236 java.lang.String[] guestPermissions)
237 throws com.liferay.portal.PortalException,
238 com.liferay.portal.SystemException {
239 return _dlFileEntryLocalService.addFileEntry(uuid, userId, folderId,
240 name, title, description, tagsEntries, extraSettings, is, size,
241 addCommunityPermissions, addGuestPermissions, communityPermissions,
242 guestPermissions);
243 }
244
245 public void addFileEntryResources(
246 com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry,
247 boolean addCommunityPermissions, boolean addGuestPermissions)
248 throws com.liferay.portal.PortalException,
249 com.liferay.portal.SystemException {
250 _dlFileEntryLocalService.addFileEntryResources(fileEntry,
251 addCommunityPermissions, addGuestPermissions);
252 }
253
254 public void addFileEntryResources(
255 com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry,
256 java.lang.String[] communityPermissions,
257 java.lang.String[] guestPermissions)
258 throws com.liferay.portal.PortalException,
259 com.liferay.portal.SystemException {
260 _dlFileEntryLocalService.addFileEntryResources(fileEntry,
261 communityPermissions, guestPermissions);
262 }
263
264 public void addFileEntryResources(long fileEntryId,
265 boolean addCommunityPermissions, boolean addGuestPermissions)
266 throws com.liferay.portal.PortalException,
267 com.liferay.portal.SystemException {
268 _dlFileEntryLocalService.addFileEntryResources(fileEntryId,
269 addCommunityPermissions, addGuestPermissions);
270 }
271
272 public void addFileEntryResources(long fileEntryId,
273 java.lang.String[] communityPermissions,
274 java.lang.String[] guestPermissions)
275 throws com.liferay.portal.PortalException,
276 com.liferay.portal.SystemException {
277 _dlFileEntryLocalService.addFileEntryResources(fileEntryId,
278 communityPermissions, guestPermissions);
279 }
280
281 public com.liferay.portlet.documentlibrary.model.DLFileEntry addOrOverwriteFileEntry(
282 long userId, long folderId, java.lang.String name,
283 java.lang.String sourceName, java.lang.String title,
284 java.lang.String description, java.lang.String[] tagsEntries,
285 java.lang.String extraSettings, java.io.File file,
286 boolean addCommunityPermissions, boolean addGuestPermissions)
287 throws com.liferay.portal.PortalException,
288 com.liferay.portal.SystemException {
289 return _dlFileEntryLocalService.addOrOverwriteFileEntry(userId,
290 folderId, name, sourceName, title, description, tagsEntries,
291 extraSettings, file, addCommunityPermissions, addGuestPermissions);
292 }
293
294 public void deleteFileEntries(long folderId)
295 throws com.liferay.portal.PortalException,
296 com.liferay.portal.SystemException {
297 _dlFileEntryLocalService.deleteFileEntries(folderId);
298 }
299
300 public void deleteFileEntry(
301 com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry)
302 throws com.liferay.portal.PortalException,
303 com.liferay.portal.SystemException {
304 _dlFileEntryLocalService.deleteFileEntry(fileEntry);
305 }
306
307 public void deleteFileEntry(long folderId, java.lang.String name)
308 throws com.liferay.portal.PortalException,
309 com.liferay.portal.SystemException {
310 _dlFileEntryLocalService.deleteFileEntry(folderId, name);
311 }
312
313 public void deleteFileEntry(long folderId, java.lang.String name,
314 double version)
315 throws com.liferay.portal.PortalException,
316 com.liferay.portal.SystemException {
317 _dlFileEntryLocalService.deleteFileEntry(folderId, name, version);
318 }
319
320 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getCompanyFileEntries(
321 long companyId, int start, int end)
322 throws com.liferay.portal.SystemException {
323 return _dlFileEntryLocalService.getCompanyFileEntries(companyId, start,
324 end);
325 }
326
327 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getCompanyFileEntries(
328 long companyId, int start, int end,
329 com.liferay.portal.kernel.util.OrderByComparator obc)
330 throws com.liferay.portal.SystemException {
331 return _dlFileEntryLocalService.getCompanyFileEntries(companyId, start,
332 end, obc);
333 }
334
335 public int getCompanyFileEntriesCount(long companyId)
336 throws com.liferay.portal.SystemException {
337 return _dlFileEntryLocalService.getCompanyFileEntriesCount(companyId);
338 }
339
340 public java.io.InputStream getFileAsStream(long companyId, long userId,
341 long folderId, java.lang.String name)
342 throws com.liferay.portal.PortalException,
343 com.liferay.portal.SystemException {
344 return _dlFileEntryLocalService.getFileAsStream(companyId, userId,
345 folderId, name);
346 }
347
348 public java.io.InputStream getFileAsStream(long companyId, long userId,
349 long folderId, java.lang.String name, double version)
350 throws com.liferay.portal.PortalException,
351 com.liferay.portal.SystemException {
352 return _dlFileEntryLocalService.getFileAsStream(companyId, userId,
353 folderId, name, version);
354 }
355
356 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
357 long folderId) throws com.liferay.portal.SystemException {
358 return _dlFileEntryLocalService.getFileEntries(folderId);
359 }
360
361 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
362 long folderId, int start, int end)
363 throws com.liferay.portal.SystemException {
364 return _dlFileEntryLocalService.getFileEntries(folderId, start, end);
365 }
366
367 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
368 long folderId, int start, int end,
369 com.liferay.portal.kernel.util.OrderByComparator obc)
370 throws com.liferay.portal.SystemException {
371 return _dlFileEntryLocalService.getFileEntries(folderId, start, end, obc);
372 }
373
374 public java.util.List<Object> getFileEntriesAndShortcuts(
375 java.util.List<Long> folderIds, int start, int end)
376 throws com.liferay.portal.SystemException {
377 return _dlFileEntryLocalService.getFileEntriesAndShortcuts(folderIds,
378 start, end);
379 }
380
381 public java.util.List<Object> getFileEntriesAndShortcuts(long folderId,
382 int start, int end) throws com.liferay.portal.SystemException {
383 return _dlFileEntryLocalService.getFileEntriesAndShortcuts(folderId,
384 start, end);
385 }
386
387 public int getFileEntriesAndShortcutsCount(java.util.List<Long> folderIds)
388 throws com.liferay.portal.SystemException {
389 return _dlFileEntryLocalService.getFileEntriesAndShortcutsCount(folderIds);
390 }
391
392 public int getFileEntriesAndShortcutsCount(long folderId)
393 throws com.liferay.portal.SystemException {
394 return _dlFileEntryLocalService.getFileEntriesAndShortcutsCount(folderId);
395 }
396
397 public int getFileEntriesCount(long folderId)
398 throws com.liferay.portal.SystemException {
399 return _dlFileEntryLocalService.getFileEntriesCount(folderId);
400 }
401
402 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
403 long fileEntryId)
404 throws com.liferay.portal.PortalException,
405 com.liferay.portal.SystemException {
406 return _dlFileEntryLocalService.getFileEntry(fileEntryId);
407 }
408
409 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
410 long folderId, java.lang.String name)
411 throws com.liferay.portal.PortalException,
412 com.liferay.portal.SystemException {
413 return _dlFileEntryLocalService.getFileEntry(folderId, name);
414 }
415
416 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByTitle(
417 long folderId, java.lang.String titleWithExtension)
418 throws com.liferay.portal.PortalException,
419 com.liferay.portal.SystemException {
420 return _dlFileEntryLocalService.getFileEntryByTitle(folderId,
421 titleWithExtension);
422 }
423
424 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
425 java.lang.String uuid, long groupId)
426 throws com.liferay.portal.PortalException,
427 com.liferay.portal.SystemException {
428 return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
429 groupId);
430 }
431
432 public int getFoldersFileEntriesCount(java.util.List<Long> folderIds)
433 throws com.liferay.portal.SystemException {
434 return _dlFileEntryLocalService.getFoldersFileEntriesCount(folderIds);
435 }
436
437 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
438 long groupId, int start, int end)
439 throws com.liferay.portal.SystemException {
440 return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
441 }
442
443 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
444 long groupId, int start, int end,
445 com.liferay.portal.kernel.util.OrderByComparator obc)
446 throws com.liferay.portal.SystemException {
447 return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
448 end, obc);
449 }
450
451 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
452 long groupId, long userId, int start, int end)
453 throws com.liferay.portal.SystemException {
454 return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
455 start, end);
456 }
457
458 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
459 long groupId, long userId, int start, int end,
460 com.liferay.portal.kernel.util.OrderByComparator obc)
461 throws com.liferay.portal.SystemException {
462 return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
463 start, end, obc);
464 }
465
466 public int getGroupFileEntriesCount(long groupId)
467 throws com.liferay.portal.SystemException {
468 return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
469 }
470
471 public int getGroupFileEntriesCount(long groupId, long userId)
472 throws com.liferay.portal.SystemException {
473 return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
474 }
475
476 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
477 throws com.liferay.portal.SystemException {
478 return _dlFileEntryLocalService.getNoAssetFileEntries();
479 }
480
481 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
482 long userId, long folderId, long newFolderId, java.lang.String name,
483 java.lang.String sourceFileName, java.lang.String title,
484 java.lang.String description, java.lang.String[] tagsEntries,
485 java.lang.String extraSettings, byte[] bytes)
486 throws com.liferay.portal.PortalException,
487 com.liferay.portal.SystemException {
488 return _dlFileEntryLocalService.updateFileEntry(userId, folderId,
489 newFolderId, name, sourceFileName, title, description, tagsEntries,
490 extraSettings, bytes);
491 }
492
493 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
494 long userId, long folderId, long newFolderId, java.lang.String name,
495 java.lang.String sourceFileName, java.lang.String title,
496 java.lang.String description, java.lang.String[] tagsEntries,
497 java.lang.String extraSettings, java.io.File file)
498 throws com.liferay.portal.PortalException,
499 com.liferay.portal.SystemException {
500 return _dlFileEntryLocalService.updateFileEntry(userId, folderId,
501 newFolderId, name, sourceFileName, title, description, tagsEntries,
502 extraSettings, file);
503 }
504
505 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
506 long userId, long folderId, long newFolderId, java.lang.String name,
507 java.lang.String sourceFileName, java.lang.String title,
508 java.lang.String description, java.lang.String[] tagsEntries,
509 java.lang.String extraSettings, java.io.InputStream is, long size)
510 throws com.liferay.portal.PortalException,
511 com.liferay.portal.SystemException {
512 return _dlFileEntryLocalService.updateFileEntry(userId, folderId,
513 newFolderId, name, sourceFileName, title, description, tagsEntries,
514 extraSettings, is, size);
515 }
516
517 public void updateTagsAsset(long userId,
518 com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry,
519 java.lang.String[] tagsEntries)
520 throws com.liferay.portal.PortalException,
521 com.liferay.portal.SystemException {
522 _dlFileEntryLocalService.updateTagsAsset(userId, fileEntry, tagsEntries);
523 }
524
525 public DLFileEntryLocalService getWrappedDLFileEntryLocalService() {
526 return _dlFileEntryLocalService;
527 }
528
529 private DLFileEntryLocalService _dlFileEntryLocalService;
530 }