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 public com.liferay.portal.model.PersistedModel getPersistedModel(
168 java.io.Serializable primaryKeyObj)
169 throws com.liferay.portal.kernel.exception.PortalException,
170 com.liferay.portal.kernel.exception.SystemException {
171 return _dlFileEntryLocalService.getPersistedModel(primaryKeyObj);
172 }
173
174
183 public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntryByUuidAndGroupId(
184 java.lang.String uuid, long groupId)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 return _dlFileEntryLocalService.getDLFileEntryByUuidAndGroupId(uuid,
188 groupId);
189 }
190
191
203 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntries(
204 int start, int end)
205 throws com.liferay.portal.kernel.exception.SystemException {
206 return _dlFileEntryLocalService.getDLFileEntries(start, end);
207 }
208
209
215 public int getDLFileEntriesCount()
216 throws com.liferay.portal.kernel.exception.SystemException {
217 return _dlFileEntryLocalService.getDLFileEntriesCount();
218 }
219
220
227 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
228 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
229 throws com.liferay.portal.kernel.exception.SystemException {
230 return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry);
231 }
232
233
241 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
242 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
243 boolean merge)
244 throws com.liferay.portal.kernel.exception.SystemException {
245 return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry, merge);
246 }
247
248
253 public java.lang.String getBeanIdentifier() {
254 return _dlFileEntryLocalService.getBeanIdentifier();
255 }
256
257
262 public void setBeanIdentifier(java.lang.String beanIdentifier) {
263 _dlFileEntryLocalService.setBeanIdentifier(beanIdentifier);
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 byte[] bytes, com.liferay.portal.service.ServiceContext serviceContext)
271 throws com.liferay.portal.kernel.exception.PortalException,
272 com.liferay.portal.kernel.exception.SystemException {
273 return _dlFileEntryLocalService.addFileEntry(userId, groupId, folderId,
274 name, title, description, changeLog, extraSettings, bytes,
275 serviceContext);
276 }
277
278 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
279 long userId, long groupId, long folderId, java.lang.String name,
280 java.lang.String title, java.lang.String description,
281 java.lang.String changeLog, java.lang.String extraSettings,
282 java.io.File file,
283 com.liferay.portal.service.ServiceContext serviceContext)
284 throws com.liferay.portal.kernel.exception.PortalException,
285 com.liferay.portal.kernel.exception.SystemException {
286 return _dlFileEntryLocalService.addFileEntry(userId, groupId, folderId,
287 name, title, description, changeLog, extraSettings, file,
288 serviceContext);
289 }
290
291 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
292 long userId, long groupId, long folderId, java.lang.String name,
293 java.lang.String title, java.lang.String description,
294 java.lang.String changeLog, java.lang.String extraSettings,
295 java.io.InputStream is, long size,
296 com.liferay.portal.service.ServiceContext serviceContext)
297 throws com.liferay.portal.kernel.exception.PortalException,
298 com.liferay.portal.kernel.exception.SystemException {
299 return _dlFileEntryLocalService.addFileEntry(userId, groupId, folderId,
300 name, title, description, changeLog, extraSettings, is, size,
301 serviceContext);
302 }
303
304 public void addFileEntryResources(
305 com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry,
306 boolean addCommunityPermissions, boolean addGuestPermissions)
307 throws com.liferay.portal.kernel.exception.PortalException,
308 com.liferay.portal.kernel.exception.SystemException {
309 _dlFileEntryLocalService.addFileEntryResources(fileEntry,
310 addCommunityPermissions, addGuestPermissions);
311 }
312
313 public void addFileEntryResources(
314 com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry,
315 java.lang.String[] communityPermissions,
316 java.lang.String[] guestPermissions)
317 throws com.liferay.portal.kernel.exception.PortalException,
318 com.liferay.portal.kernel.exception.SystemException {
319 _dlFileEntryLocalService.addFileEntryResources(fileEntry,
320 communityPermissions, guestPermissions);
321 }
322
323 public void addFileEntryResources(long fileEntryId,
324 boolean addCommunityPermissions, boolean addGuestPermissions)
325 throws com.liferay.portal.kernel.exception.PortalException,
326 com.liferay.portal.kernel.exception.SystemException {
327 _dlFileEntryLocalService.addFileEntryResources(fileEntryId,
328 addCommunityPermissions, addGuestPermissions);
329 }
330
331 public void addFileEntryResources(long fileEntryId,
332 java.lang.String[] communityPermissions,
333 java.lang.String[] guestPermissions)
334 throws com.liferay.portal.kernel.exception.PortalException,
335 com.liferay.portal.kernel.exception.SystemException {
336 _dlFileEntryLocalService.addFileEntryResources(fileEntryId,
337 communityPermissions, guestPermissions);
338 }
339
340 public com.liferay.portlet.documentlibrary.model.DLFileEntry addOrOverwriteFileEntry(
341 long userId, long groupId, long folderId, java.lang.String name,
342 java.lang.String sourceName, java.lang.String title,
343 java.lang.String description, java.lang.String changeLog,
344 java.lang.String extraSettings, java.io.File file,
345 com.liferay.portal.service.ServiceContext serviceContext)
346 throws com.liferay.portal.kernel.exception.PortalException,
347 com.liferay.portal.kernel.exception.SystemException {
348 return _dlFileEntryLocalService.addOrOverwriteFileEntry(userId,
349 groupId, folderId, name, sourceName, title, description, changeLog,
350 extraSettings, file, serviceContext);
351 }
352
353 public void convertExtraSettings(java.lang.String[] keys)
354 throws com.liferay.portal.kernel.exception.PortalException,
355 com.liferay.portal.kernel.exception.SystemException {
356 _dlFileEntryLocalService.convertExtraSettings(keys);
357 }
358
359 public void deleteFileEntries(long groupId, long folderId)
360 throws com.liferay.portal.kernel.exception.PortalException,
361 com.liferay.portal.kernel.exception.SystemException {
362 _dlFileEntryLocalService.deleteFileEntries(groupId, folderId);
363 }
364
365 public void deleteFileEntry(
366 com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry)
367 throws com.liferay.portal.kernel.exception.PortalException,
368 com.liferay.portal.kernel.exception.SystemException {
369 _dlFileEntryLocalService.deleteFileEntry(fileEntry);
370 }
371
372 public void deleteFileEntry(long groupId, long folderId,
373 java.lang.String name)
374 throws com.liferay.portal.kernel.exception.PortalException,
375 com.liferay.portal.kernel.exception.SystemException {
376 _dlFileEntryLocalService.deleteFileEntry(groupId, folderId, name);
377 }
378
379 public void deleteFileEntry(long groupId, long folderId,
380 java.lang.String name, java.lang.String version)
381 throws com.liferay.portal.kernel.exception.PortalException,
382 com.liferay.portal.kernel.exception.SystemException {
383 _dlFileEntryLocalService.deleteFileEntry(groupId, folderId, name,
384 version);
385 }
386
387 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getCompanyFileEntries(
388 long companyId, int start, int end)
389 throws com.liferay.portal.kernel.exception.SystemException {
390 return _dlFileEntryLocalService.getCompanyFileEntries(companyId, start,
391 end);
392 }
393
394 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getCompanyFileEntries(
395 long companyId, int start, int end,
396 com.liferay.portal.kernel.util.OrderByComparator obc)
397 throws com.liferay.portal.kernel.exception.SystemException {
398 return _dlFileEntryLocalService.getCompanyFileEntries(companyId, start,
399 end, obc);
400 }
401
402 public int getCompanyFileEntriesCount(long companyId)
403 throws com.liferay.portal.kernel.exception.SystemException {
404 return _dlFileEntryLocalService.getCompanyFileEntriesCount(companyId);
405 }
406
407 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getExtraSettingsFileEntries(
408 int start, int end)
409 throws com.liferay.portal.kernel.exception.SystemException {
410 return _dlFileEntryLocalService.getExtraSettingsFileEntries(start, end);
411 }
412
413 public java.io.InputStream getFileAsStream(long companyId, long userId,
414 long groupId, long folderId, java.lang.String name)
415 throws com.liferay.portal.kernel.exception.PortalException,
416 com.liferay.portal.kernel.exception.SystemException {
417 return _dlFileEntryLocalService.getFileAsStream(companyId, userId,
418 groupId, folderId, name);
419 }
420
421 public java.io.InputStream getFileAsStream(long companyId, long userId,
422 long groupId, long folderId, java.lang.String name,
423 java.lang.String version)
424 throws com.liferay.portal.kernel.exception.PortalException,
425 com.liferay.portal.kernel.exception.SystemException {
426 return _dlFileEntryLocalService.getFileAsStream(companyId, userId,
427 groupId, folderId, name, version);
428 }
429
430 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
431 long groupId, long folderId)
432 throws com.liferay.portal.kernel.exception.SystemException {
433 return _dlFileEntryLocalService.getFileEntries(groupId, folderId);
434 }
435
436 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
437 long groupId, long folderId, int start, int end)
438 throws com.liferay.portal.kernel.exception.SystemException {
439 return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
440 start, end);
441 }
442
443 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
444 long groupId, long folderId, int start, int end,
445 com.liferay.portal.kernel.util.OrderByComparator obc)
446 throws com.liferay.portal.kernel.exception.SystemException {
447 return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
448 start, end, obc);
449 }
450
451 public int getFileEntriesCount(long groupId, long folderId)
452 throws com.liferay.portal.kernel.exception.SystemException {
453 return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
454 }
455
456 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
457 long fileEntryId)
458 throws com.liferay.portal.kernel.exception.PortalException,
459 com.liferay.portal.kernel.exception.SystemException {
460 return _dlFileEntryLocalService.getFileEntry(fileEntryId);
461 }
462
463 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
464 long groupId, long folderId, java.lang.String name)
465 throws com.liferay.portal.kernel.exception.PortalException,
466 com.liferay.portal.kernel.exception.SystemException {
467 return _dlFileEntryLocalService.getFileEntry(groupId, folderId, name);
468 }
469
470 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByTitle(
471 long groupId, long folderId, java.lang.String title)
472 throws com.liferay.portal.kernel.exception.PortalException,
473 com.liferay.portal.kernel.exception.SystemException {
474 return _dlFileEntryLocalService.getFileEntryByTitle(groupId, folderId,
475 title);
476 }
477
478 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
479 java.lang.String uuid, long groupId)
480 throws com.liferay.portal.kernel.exception.PortalException,
481 com.liferay.portal.kernel.exception.SystemException {
482 return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
483 groupId);
484 }
485
486 public int getFoldersFileEntriesCount(long groupId,
487 java.util.List<java.lang.Long> folderIds, int status)
488 throws com.liferay.portal.kernel.exception.SystemException {
489 return _dlFileEntryLocalService.getFoldersFileEntriesCount(groupId,
490 folderIds, status);
491 }
492
493 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
494 long groupId, int start, int end)
495 throws com.liferay.portal.kernel.exception.SystemException {
496 return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
497 }
498
499 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
500 long groupId, int start, int end,
501 com.liferay.portal.kernel.util.OrderByComparator obc)
502 throws com.liferay.portal.kernel.exception.SystemException {
503 return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
504 end, obc);
505 }
506
507 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
508 long groupId, long userId, int start, int end)
509 throws com.liferay.portal.kernel.exception.SystemException {
510 return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
511 start, end);
512 }
513
514 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
515 long groupId, long userId, int start, int end,
516 com.liferay.portal.kernel.util.OrderByComparator obc)
517 throws com.liferay.portal.kernel.exception.SystemException {
518 return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
519 start, end, obc);
520 }
521
522 public int getGroupFileEntriesCount(long groupId)
523 throws com.liferay.portal.kernel.exception.SystemException {
524 return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
525 }
526
527 public int getGroupFileEntriesCount(long groupId, long userId)
528 throws com.liferay.portal.kernel.exception.SystemException {
529 return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
530 }
531
532 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
533 throws com.liferay.portal.kernel.exception.SystemException {
534 return _dlFileEntryLocalService.getNoAssetFileEntries();
535 }
536
537 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries()
538 throws com.liferay.portal.kernel.exception.SystemException {
539 return _dlFileEntryLocalService.getOrphanedFileEntries();
540 }
541
542 public boolean hasExtraSettings()
543 throws com.liferay.portal.kernel.exception.SystemException {
544 return _dlFileEntryLocalService.hasExtraSettings();
545 }
546
547 public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
548 long userId, long groupId, long folderId, long newFolderId,
549 java.lang.String name,
550 com.liferay.portal.service.ServiceContext serviceContext)
551 throws com.liferay.portal.kernel.exception.PortalException,
552 com.liferay.portal.kernel.exception.SystemException {
553 return _dlFileEntryLocalService.moveFileEntry(userId, groupId,
554 folderId, newFolderId, name, serviceContext);
555 }
556
557 public void updateAsset(long userId,
558 com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry,
559 com.liferay.portlet.documentlibrary.model.DLFileVersion fileVersion,
560 long[] assetCategoryIds, java.lang.String[] assetTagNames)
561 throws com.liferay.portal.kernel.exception.PortalException,
562 com.liferay.portal.kernel.exception.SystemException {
563 _dlFileEntryLocalService.updateAsset(userId, fileEntry, fileVersion,
564 assetCategoryIds, assetTagNames);
565 }
566
567 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
568 long userId, long groupId, long folderId, java.lang.String name,
569 java.lang.String sourceFileName, java.lang.String title,
570 java.lang.String description, java.lang.String changeLog,
571 boolean majorVersion, java.lang.String extraSettings, byte[] bytes,
572 com.liferay.portal.service.ServiceContext serviceContext)
573 throws com.liferay.portal.kernel.exception.PortalException,
574 com.liferay.portal.kernel.exception.SystemException {
575 return _dlFileEntryLocalService.updateFileEntry(userId, groupId,
576 folderId, name, sourceFileName, title, description, changeLog,
577 majorVersion, extraSettings, bytes, serviceContext);
578 }
579
580 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
581 long userId, long groupId, long folderId, java.lang.String name,
582 java.lang.String sourceFileName, java.lang.String title,
583 java.lang.String description, java.lang.String changeLog,
584 boolean majorVersion, java.lang.String extraSettings,
585 java.io.File file,
586 com.liferay.portal.service.ServiceContext serviceContext)
587 throws com.liferay.portal.kernel.exception.PortalException,
588 com.liferay.portal.kernel.exception.SystemException {
589 return _dlFileEntryLocalService.updateFileEntry(userId, groupId,
590 folderId, name, sourceFileName, title, description, changeLog,
591 majorVersion, extraSettings, file, serviceContext);
592 }
593
594 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
595 long userId, long groupId, long folderId, java.lang.String name,
596 java.lang.String sourceFileName, java.lang.String title,
597 java.lang.String description, java.lang.String changeLog,
598 boolean majorVersion, java.lang.String extraSettings,
599 java.io.InputStream is, long size,
600 com.liferay.portal.service.ServiceContext serviceContext)
601 throws com.liferay.portal.kernel.exception.PortalException,
602 com.liferay.portal.kernel.exception.SystemException {
603 return _dlFileEntryLocalService.updateFileEntry(userId, groupId,
604 folderId, name, sourceFileName, title, description, changeLog,
605 majorVersion, extraSettings, is, size, serviceContext);
606 }
607
608 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
609 long userId, long fileVersionId, int status,
610 com.liferay.portal.service.ServiceContext serviceContext)
611 throws com.liferay.portal.kernel.exception.PortalException,
612 com.liferay.portal.kernel.exception.SystemException {
613 return _dlFileEntryLocalService.updateStatus(userId, fileVersionId,
614 status, serviceContext);
615 }
616
617 public DLFileEntryLocalService getWrappedDLFileEntryLocalService() {
618 return _dlFileEntryLocalService;
619 }
620
621 public void setWrappedDLFileEntryLocalService(
622 DLFileEntryLocalService dlFileEntryLocalService) {
623 _dlFileEntryLocalService = dlFileEntryLocalService;
624 }
625
626 private DLFileEntryLocalService _dlFileEntryLocalService;
627 }