001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017
026 public class DLFileEntryLocalServiceWrapper implements DLFileEntryLocalService {
027 public DLFileEntryLocalServiceWrapper(
028 DLFileEntryLocalService dlFileEntryLocalService) {
029 _dlFileEntryLocalService = dlFileEntryLocalService;
030 }
031
032
039 public com.liferay.portlet.documentlibrary.model.DLFileEntry addDLFileEntry(
040 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return _dlFileEntryLocalService.addDLFileEntry(dlFileEntry);
043 }
044
045
051 public com.liferay.portlet.documentlibrary.model.DLFileEntry createDLFileEntry(
052 long fileEntryId) {
053 return _dlFileEntryLocalService.createDLFileEntry(fileEntryId);
054 }
055
056
063 public void deleteDLFileEntry(long fileEntryId)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 _dlFileEntryLocalService.deleteDLFileEntry(fileEntryId);
067 }
068
069
075 public void deleteDLFileEntry(
076 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
077 throws com.liferay.portal.kernel.exception.SystemException {
078 _dlFileEntryLocalService.deleteDLFileEntry(dlFileEntry);
079 }
080
081
088 @SuppressWarnings("rawtypes")
089 public java.util.List dynamicQuery(
090 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return _dlFileEntryLocalService.dynamicQuery(dynamicQuery);
093 }
094
095
108 @SuppressWarnings("rawtypes")
109 public java.util.List dynamicQuery(
110 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
111 int end) throws com.liferay.portal.kernel.exception.SystemException {
112 return _dlFileEntryLocalService.dynamicQuery(dynamicQuery, start, end);
113 }
114
115
129 @SuppressWarnings("rawtypes")
130 public java.util.List dynamicQuery(
131 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
132 int end,
133 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134 throws com.liferay.portal.kernel.exception.SystemException {
135 return _dlFileEntryLocalService.dynamicQuery(dynamicQuery, start, end,
136 orderByComparator);
137 }
138
139
146 public long dynamicQueryCount(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
148 throws com.liferay.portal.kernel.exception.SystemException {
149 return _dlFileEntryLocalService.dynamicQueryCount(dynamicQuery);
150 }
151
152
160 public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntry(
161 long fileEntryId)
162 throws com.liferay.portal.kernel.exception.PortalException,
163 com.liferay.portal.kernel.exception.SystemException {
164 return _dlFileEntryLocalService.getDLFileEntry(fileEntryId);
165 }
166
167
176 public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntryByUuidAndGroupId(
177 java.lang.String uuid, long groupId)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _dlFileEntryLocalService.getDLFileEntryByUuidAndGroupId(uuid,
181 groupId);
182 }
183
184
196 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntries(
197 int start, int end)
198 throws com.liferay.portal.kernel.exception.SystemException {
199 return _dlFileEntryLocalService.getDLFileEntries(start, end);
200 }
201
202
208 public int getDLFileEntriesCount()
209 throws com.liferay.portal.kernel.exception.SystemException {
210 return _dlFileEntryLocalService.getDLFileEntriesCount();
211 }
212
213
220 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
221 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
222 throws com.liferay.portal.kernel.exception.SystemException {
223 return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry);
224 }
225
226
234 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
235 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
236 boolean merge)
237 throws com.liferay.portal.kernel.exception.SystemException {
238 return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry, merge);
239 }
240
241 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
242 long userId, long groupId, long folderId, java.lang.String name,
243 java.lang.String title, java.lang.String description,
244 java.lang.String changeLog, java.lang.String extraSettings,
245 byte[] bytes, com.liferay.portal.service.ServiceContext serviceContext)
246 throws com.liferay.portal.kernel.exception.PortalException,
247 com.liferay.portal.kernel.exception.SystemException {
248 return _dlFileEntryLocalService.addFileEntry(userId, groupId, folderId,
249 name, title, description, changeLog, extraSettings, bytes,
250 serviceContext);
251 }
252
253 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
254 long userId, long groupId, long folderId, java.lang.String name,
255 java.lang.String title, java.lang.String description,
256 java.lang.String changeLog, java.lang.String extraSettings,
257 java.io.File file,
258 com.liferay.portal.service.ServiceContext serviceContext)
259 throws com.liferay.portal.kernel.exception.PortalException,
260 com.liferay.portal.kernel.exception.SystemException {
261 return _dlFileEntryLocalService.addFileEntry(userId, groupId, folderId,
262 name, title, description, changeLog, extraSettings, file,
263 serviceContext);
264 }
265
266 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
267 long userId, long groupId, long folderId, java.lang.String name,
268 java.lang.String title, java.lang.String description,
269 java.lang.String changeLog, java.lang.String extraSettings,
270 java.io.InputStream is, long size,
271 com.liferay.portal.service.ServiceContext serviceContext)
272 throws com.liferay.portal.kernel.exception.PortalException,
273 com.liferay.portal.kernel.exception.SystemException {
274 return _dlFileEntryLocalService.addFileEntry(userId, groupId, folderId,
275 name, title, description, changeLog, extraSettings, is, size,
276 serviceContext);
277 }
278
279 public void addFileEntryResources(
280 com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry,
281 boolean addCommunityPermissions, boolean addGuestPermissions)
282 throws com.liferay.portal.kernel.exception.PortalException,
283 com.liferay.portal.kernel.exception.SystemException {
284 _dlFileEntryLocalService.addFileEntryResources(fileEntry,
285 addCommunityPermissions, addGuestPermissions);
286 }
287
288 public void addFileEntryResources(
289 com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry,
290 java.lang.String[] communityPermissions,
291 java.lang.String[] guestPermissions)
292 throws com.liferay.portal.kernel.exception.PortalException,
293 com.liferay.portal.kernel.exception.SystemException {
294 _dlFileEntryLocalService.addFileEntryResources(fileEntry,
295 communityPermissions, guestPermissions);
296 }
297
298 public void addFileEntryResources(long fileEntryId,
299 boolean addCommunityPermissions, boolean addGuestPermissions)
300 throws com.liferay.portal.kernel.exception.PortalException,
301 com.liferay.portal.kernel.exception.SystemException {
302 _dlFileEntryLocalService.addFileEntryResources(fileEntryId,
303 addCommunityPermissions, addGuestPermissions);
304 }
305
306 public void addFileEntryResources(long fileEntryId,
307 java.lang.String[] communityPermissions,
308 java.lang.String[] guestPermissions)
309 throws com.liferay.portal.kernel.exception.PortalException,
310 com.liferay.portal.kernel.exception.SystemException {
311 _dlFileEntryLocalService.addFileEntryResources(fileEntryId,
312 communityPermissions, guestPermissions);
313 }
314
315 public com.liferay.portlet.documentlibrary.model.DLFileEntry addOrOverwriteFileEntry(
316 long userId, long groupId, long folderId, java.lang.String name,
317 java.lang.String sourceName, java.lang.String title,
318 java.lang.String description, java.lang.String changeLog,
319 java.lang.String extraSettings, java.io.File file,
320 com.liferay.portal.service.ServiceContext serviceContext)
321 throws com.liferay.portal.kernel.exception.PortalException,
322 com.liferay.portal.kernel.exception.SystemException {
323 return _dlFileEntryLocalService.addOrOverwriteFileEntry(userId,
324 groupId, folderId, name, sourceName, title, description, changeLog,
325 extraSettings, file, serviceContext);
326 }
327
328 public void deleteFileEntries(long groupId, long folderId)
329 throws com.liferay.portal.kernel.exception.PortalException,
330 com.liferay.portal.kernel.exception.SystemException {
331 _dlFileEntryLocalService.deleteFileEntries(groupId, folderId);
332 }
333
334 public void deleteFileEntry(
335 com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry)
336 throws com.liferay.portal.kernel.exception.PortalException,
337 com.liferay.portal.kernel.exception.SystemException {
338 _dlFileEntryLocalService.deleteFileEntry(fileEntry);
339 }
340
341 public void deleteFileEntry(long groupId, long folderId,
342 java.lang.String name)
343 throws com.liferay.portal.kernel.exception.PortalException,
344 com.liferay.portal.kernel.exception.SystemException {
345 _dlFileEntryLocalService.deleteFileEntry(groupId, folderId, name);
346 }
347
348 public void deleteFileEntry(long groupId, long folderId,
349 java.lang.String name, java.lang.String version)
350 throws com.liferay.portal.kernel.exception.PortalException,
351 com.liferay.portal.kernel.exception.SystemException {
352 _dlFileEntryLocalService.deleteFileEntry(groupId, folderId, name,
353 version);
354 }
355
356 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getCompanyFileEntries(
357 long companyId, int start, int end)
358 throws com.liferay.portal.kernel.exception.SystemException {
359 return _dlFileEntryLocalService.getCompanyFileEntries(companyId, start,
360 end);
361 }
362
363 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getCompanyFileEntries(
364 long companyId, int start, int end,
365 com.liferay.portal.kernel.util.OrderByComparator obc)
366 throws com.liferay.portal.kernel.exception.SystemException {
367 return _dlFileEntryLocalService.getCompanyFileEntries(companyId, start,
368 end, obc);
369 }
370
371 public int getCompanyFileEntriesCount(long companyId)
372 throws com.liferay.portal.kernel.exception.SystemException {
373 return _dlFileEntryLocalService.getCompanyFileEntriesCount(companyId);
374 }
375
376 public java.io.InputStream getFileAsStream(long companyId, long userId,
377 long groupId, long folderId, java.lang.String name)
378 throws com.liferay.portal.kernel.exception.PortalException,
379 com.liferay.portal.kernel.exception.SystemException {
380 return _dlFileEntryLocalService.getFileAsStream(companyId, userId,
381 groupId, folderId, name);
382 }
383
384 public java.io.InputStream getFileAsStream(long companyId, long userId,
385 long groupId, long folderId, java.lang.String name,
386 java.lang.String version)
387 throws com.liferay.portal.kernel.exception.PortalException,
388 com.liferay.portal.kernel.exception.SystemException {
389 return _dlFileEntryLocalService.getFileAsStream(companyId, userId,
390 groupId, folderId, name, version);
391 }
392
393 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
394 long groupId, long folderId)
395 throws com.liferay.portal.kernel.exception.SystemException {
396 return _dlFileEntryLocalService.getFileEntries(groupId, folderId);
397 }
398
399 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
400 long groupId, long folderId, int start, int end)
401 throws com.liferay.portal.kernel.exception.SystemException {
402 return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
403 start, end);
404 }
405
406 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
407 long groupId, long folderId, int start, int end,
408 com.liferay.portal.kernel.util.OrderByComparator obc)
409 throws com.liferay.portal.kernel.exception.SystemException {
410 return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
411 start, end, obc);
412 }
413
414 public int getFileEntriesCount(long groupId, long folderId)
415 throws com.liferay.portal.kernel.exception.SystemException {
416 return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
417 }
418
419 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
420 long fileEntryId)
421 throws com.liferay.portal.kernel.exception.PortalException,
422 com.liferay.portal.kernel.exception.SystemException {
423 return _dlFileEntryLocalService.getFileEntry(fileEntryId);
424 }
425
426 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
427 long groupId, long folderId, java.lang.String name)
428 throws com.liferay.portal.kernel.exception.PortalException,
429 com.liferay.portal.kernel.exception.SystemException {
430 return _dlFileEntryLocalService.getFileEntry(groupId, folderId, name);
431 }
432
433 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByTitle(
434 long groupId, long folderId, java.lang.String title)
435 throws com.liferay.portal.kernel.exception.PortalException,
436 com.liferay.portal.kernel.exception.SystemException {
437 return _dlFileEntryLocalService.getFileEntryByTitle(groupId, folderId,
438 title);
439 }
440
441 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
442 java.lang.String uuid, long groupId)
443 throws com.liferay.portal.kernel.exception.PortalException,
444 com.liferay.portal.kernel.exception.SystemException {
445 return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
446 groupId);
447 }
448
449 public int getFoldersFileEntriesCount(long groupId,
450 java.util.List<java.lang.Long> folderIds, int status)
451 throws com.liferay.portal.kernel.exception.SystemException {
452 return _dlFileEntryLocalService.getFoldersFileEntriesCount(groupId,
453 folderIds, status);
454 }
455
456 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
457 long groupId, int start, int end)
458 throws com.liferay.portal.kernel.exception.SystemException {
459 return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
460 }
461
462 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
463 long groupId, int start, int end,
464 com.liferay.portal.kernel.util.OrderByComparator obc)
465 throws com.liferay.portal.kernel.exception.SystemException {
466 return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
467 end, obc);
468 }
469
470 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
471 long groupId, long userId, int start, int end)
472 throws com.liferay.portal.kernel.exception.SystemException {
473 return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
474 start, end);
475 }
476
477 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
478 long groupId, long userId, int start, int end,
479 com.liferay.portal.kernel.util.OrderByComparator obc)
480 throws com.liferay.portal.kernel.exception.SystemException {
481 return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
482 start, end, obc);
483 }
484
485 public int getGroupFileEntriesCount(long groupId)
486 throws com.liferay.portal.kernel.exception.SystemException {
487 return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
488 }
489
490 public int getGroupFileEntriesCount(long groupId, long userId)
491 throws com.liferay.portal.kernel.exception.SystemException {
492 return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
493 }
494
495 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
496 throws com.liferay.portal.kernel.exception.SystemException {
497 return _dlFileEntryLocalService.getNoAssetFileEntries();
498 }
499
500 public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
501 long userId, long groupId, long folderId, long newFolderId,
502 java.lang.String name,
503 com.liferay.portal.service.ServiceContext serviceContext)
504 throws com.liferay.portal.kernel.exception.PortalException,
505 com.liferay.portal.kernel.exception.SystemException {
506 return _dlFileEntryLocalService.moveFileEntry(userId, groupId,
507 folderId, newFolderId, name, serviceContext);
508 }
509
510 public void updateAsset(long userId,
511 com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry,
512 com.liferay.portlet.documentlibrary.model.DLFileVersion fileVersion,
513 long[] assetCategoryIds, java.lang.String[] assetTagNames)
514 throws com.liferay.portal.kernel.exception.PortalException,
515 com.liferay.portal.kernel.exception.SystemException {
516 _dlFileEntryLocalService.updateAsset(userId, fileEntry, fileVersion,
517 assetCategoryIds, assetTagNames);
518 }
519
520 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
521 long userId, long groupId, long folderId, java.lang.String name,
522 java.lang.String sourceFileName, java.lang.String title,
523 java.lang.String description, java.lang.String changeLog,
524 boolean majorVersion, java.lang.String extraSettings, byte[] bytes,
525 com.liferay.portal.service.ServiceContext serviceContext)
526 throws com.liferay.portal.kernel.exception.PortalException,
527 com.liferay.portal.kernel.exception.SystemException {
528 return _dlFileEntryLocalService.updateFileEntry(userId, groupId,
529 folderId, name, sourceFileName, title, description, changeLog,
530 majorVersion, extraSettings, bytes, serviceContext);
531 }
532
533 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
534 long userId, long groupId, long folderId, java.lang.String name,
535 java.lang.String sourceFileName, java.lang.String title,
536 java.lang.String description, java.lang.String changeLog,
537 boolean majorVersion, java.lang.String extraSettings,
538 java.io.File file,
539 com.liferay.portal.service.ServiceContext serviceContext)
540 throws com.liferay.portal.kernel.exception.PortalException,
541 com.liferay.portal.kernel.exception.SystemException {
542 return _dlFileEntryLocalService.updateFileEntry(userId, groupId,
543 folderId, name, sourceFileName, title, description, changeLog,
544 majorVersion, extraSettings, file, serviceContext);
545 }
546
547 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
548 long userId, long groupId, long folderId, java.lang.String name,
549 java.lang.String sourceFileName, java.lang.String title,
550 java.lang.String description, java.lang.String changeLog,
551 boolean majorVersion, java.lang.String extraSettings,
552 java.io.InputStream is, long size,
553 com.liferay.portal.service.ServiceContext serviceContext)
554 throws com.liferay.portal.kernel.exception.PortalException,
555 com.liferay.portal.kernel.exception.SystemException {
556 return _dlFileEntryLocalService.updateFileEntry(userId, groupId,
557 folderId, name, sourceFileName, title, description, changeLog,
558 majorVersion, extraSettings, is, size, serviceContext);
559 }
560
561 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
562 long userId, long fileEntryId, int status,
563 com.liferay.portal.service.ServiceContext serviceContext)
564 throws com.liferay.portal.kernel.exception.PortalException,
565 com.liferay.portal.kernel.exception.SystemException {
566 return _dlFileEntryLocalService.updateStatus(userId, fileEntryId,
567 status, serviceContext);
568 }
569
570 public DLFileEntryLocalService getWrappedDLFileEntryLocalService() {
571 return _dlFileEntryLocalService;
572 }
573
574 private DLFileEntryLocalService _dlFileEntryLocalService;
575 }