001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class DLFolderLocalServiceWrapper implements DLFolderLocalService,
029 ServiceWrapper<DLFolderLocalService> {
030 public DLFolderLocalServiceWrapper(
031 DLFolderLocalService dlFolderLocalService) {
032 _dlFolderLocalService = dlFolderLocalService;
033 }
034
035
042 public com.liferay.portlet.documentlibrary.model.DLFolder addDLFolder(
043 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _dlFolderLocalService.addDLFolder(dlFolder);
046 }
047
048
054 public com.liferay.portlet.documentlibrary.model.DLFolder createDLFolder(
055 long folderId) {
056 return _dlFolderLocalService.createDLFolder(folderId);
057 }
058
059
067 public com.liferay.portlet.documentlibrary.model.DLFolder deleteDLFolder(
068 long folderId)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 return _dlFolderLocalService.deleteDLFolder(folderId);
072 }
073
074
081 public com.liferay.portlet.documentlibrary.model.DLFolder deleteDLFolder(
082 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
083 throws com.liferay.portal.kernel.exception.SystemException {
084 return _dlFolderLocalService.deleteDLFolder(dlFolder);
085 }
086
087 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
088 return _dlFolderLocalService.dynamicQuery();
089 }
090
091
098 @SuppressWarnings("rawtypes")
099 public java.util.List dynamicQuery(
100 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _dlFolderLocalService.dynamicQuery(dynamicQuery);
103 }
104
105
118 @SuppressWarnings("rawtypes")
119 public java.util.List dynamicQuery(
120 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
121 int end) throws com.liferay.portal.kernel.exception.SystemException {
122 return _dlFolderLocalService.dynamicQuery(dynamicQuery, start, end);
123 }
124
125
139 @SuppressWarnings("rawtypes")
140 public java.util.List dynamicQuery(
141 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
142 int end,
143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return _dlFolderLocalService.dynamicQuery(dynamicQuery, start, end,
146 orderByComparator);
147 }
148
149
156 public long dynamicQueryCount(
157 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return _dlFolderLocalService.dynamicQueryCount(dynamicQuery);
160 }
161
162 public com.liferay.portlet.documentlibrary.model.DLFolder fetchDLFolder(
163 long folderId)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return _dlFolderLocalService.fetchDLFolder(folderId);
166 }
167
168
176 public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolder(
177 long folderId)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _dlFolderLocalService.getDLFolder(folderId);
181 }
182
183 public com.liferay.portal.model.PersistedModel getPersistedModel(
184 java.io.Serializable primaryKeyObj)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 return _dlFolderLocalService.getPersistedModel(primaryKeyObj);
188 }
189
190
199 public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolderByUuidAndGroupId(
200 java.lang.String uuid, long groupId)
201 throws com.liferay.portal.kernel.exception.PortalException,
202 com.liferay.portal.kernel.exception.SystemException {
203 return _dlFolderLocalService.getDLFolderByUuidAndGroupId(uuid, groupId);
204 }
205
206
218 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
219 int start, int end)
220 throws com.liferay.portal.kernel.exception.SystemException {
221 return _dlFolderLocalService.getDLFolders(start, end);
222 }
223
224
230 public int getDLFoldersCount()
231 throws com.liferay.portal.kernel.exception.SystemException {
232 return _dlFolderLocalService.getDLFoldersCount();
233 }
234
235
242 public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
243 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
244 throws com.liferay.portal.kernel.exception.SystemException {
245 return _dlFolderLocalService.updateDLFolder(dlFolder);
246 }
247
248
256 public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
257 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
258 boolean merge)
259 throws com.liferay.portal.kernel.exception.SystemException {
260 return _dlFolderLocalService.updateDLFolder(dlFolder, merge);
261 }
262
263
266 public void addDLFileEntryTypeDLFolder(long fileEntryTypeId, long folderId)
267 throws com.liferay.portal.kernel.exception.SystemException {
268 _dlFolderLocalService.addDLFileEntryTypeDLFolder(fileEntryTypeId,
269 folderId);
270 }
271
272
275 public void addDLFileEntryTypeDLFolder(long fileEntryTypeId,
276 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
277 throws com.liferay.portal.kernel.exception.SystemException {
278 _dlFolderLocalService.addDLFileEntryTypeDLFolder(fileEntryTypeId,
279 dlFolder);
280 }
281
282
285 public void addDLFileEntryTypeDLFolders(long fileEntryTypeId,
286 long[] folderIds)
287 throws com.liferay.portal.kernel.exception.SystemException {
288 _dlFolderLocalService.addDLFileEntryTypeDLFolders(fileEntryTypeId,
289 folderIds);
290 }
291
292
295 public void addDLFileEntryTypeDLFolders(long fileEntryTypeId,
296 java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> DLFolders)
297 throws com.liferay.portal.kernel.exception.SystemException {
298 _dlFolderLocalService.addDLFileEntryTypeDLFolders(fileEntryTypeId,
299 DLFolders);
300 }
301
302
305 public void clearDLFileEntryTypeDLFolders(long fileEntryTypeId)
306 throws com.liferay.portal.kernel.exception.SystemException {
307 _dlFolderLocalService.clearDLFileEntryTypeDLFolders(fileEntryTypeId);
308 }
309
310
313 public void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
314 long folderId)
315 throws com.liferay.portal.kernel.exception.SystemException {
316 _dlFolderLocalService.deleteDLFileEntryTypeDLFolder(fileEntryTypeId,
317 folderId);
318 }
319
320
323 public void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
324 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
325 throws com.liferay.portal.kernel.exception.SystemException {
326 _dlFolderLocalService.deleteDLFileEntryTypeDLFolder(fileEntryTypeId,
327 dlFolder);
328 }
329
330
333 public void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
334 long[] folderIds)
335 throws com.liferay.portal.kernel.exception.SystemException {
336 _dlFolderLocalService.deleteDLFileEntryTypeDLFolders(fileEntryTypeId,
337 folderIds);
338 }
339
340
343 public void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
344 java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> DLFolders)
345 throws com.liferay.portal.kernel.exception.SystemException {
346 _dlFolderLocalService.deleteDLFileEntryTypeDLFolders(fileEntryTypeId,
347 DLFolders);
348 }
349
350
353 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFileEntryTypeDLFolders(
354 long fileEntryTypeId)
355 throws com.liferay.portal.kernel.exception.SystemException {
356 return _dlFolderLocalService.getDLFileEntryTypeDLFolders(fileEntryTypeId);
357 }
358
359
362 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFileEntryTypeDLFolders(
363 long fileEntryTypeId, int start, int end)
364 throws com.liferay.portal.kernel.exception.SystemException {
365 return _dlFolderLocalService.getDLFileEntryTypeDLFolders(fileEntryTypeId,
366 start, end);
367 }
368
369
372 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFileEntryTypeDLFolders(
373 long fileEntryTypeId, int start, int end,
374 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
375 throws com.liferay.portal.kernel.exception.SystemException {
376 return _dlFolderLocalService.getDLFileEntryTypeDLFolders(fileEntryTypeId,
377 start, end, orderByComparator);
378 }
379
380
383 public int getDLFileEntryTypeDLFoldersCount(long fileEntryTypeId)
384 throws com.liferay.portal.kernel.exception.SystemException {
385 return _dlFolderLocalService.getDLFileEntryTypeDLFoldersCount(fileEntryTypeId);
386 }
387
388
391 public boolean hasDLFileEntryTypeDLFolder(long fileEntryTypeId,
392 long folderId)
393 throws com.liferay.portal.kernel.exception.SystemException {
394 return _dlFolderLocalService.hasDLFileEntryTypeDLFolder(fileEntryTypeId,
395 folderId);
396 }
397
398
401 public boolean hasDLFileEntryTypeDLFolders(long fileEntryTypeId)
402 throws com.liferay.portal.kernel.exception.SystemException {
403 return _dlFolderLocalService.hasDLFileEntryTypeDLFolders(fileEntryTypeId);
404 }
405
406
409 public void setDLFileEntryTypeDLFolders(long fileEntryTypeId,
410 long[] folderIds)
411 throws com.liferay.portal.kernel.exception.SystemException {
412 _dlFolderLocalService.setDLFileEntryTypeDLFolders(fileEntryTypeId,
413 folderIds);
414 }
415
416
421 public java.lang.String getBeanIdentifier() {
422 return _dlFolderLocalService.getBeanIdentifier();
423 }
424
425
430 public void setBeanIdentifier(java.lang.String beanIdentifier) {
431 _dlFolderLocalService.setBeanIdentifier(beanIdentifier);
432 }
433
434 public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
435 long userId, long groupId, long repositoryId, boolean mountPoint,
436 long parentFolderId, java.lang.String name,
437 java.lang.String description,
438 com.liferay.portal.service.ServiceContext serviceContext)
439 throws com.liferay.portal.kernel.exception.PortalException,
440 com.liferay.portal.kernel.exception.SystemException {
441 return _dlFolderLocalService.addFolder(userId, groupId, repositoryId,
442 mountPoint, parentFolderId, name, description, serviceContext);
443 }
444
445 public void deleteAll(long groupId)
446 throws com.liferay.portal.kernel.exception.PortalException,
447 com.liferay.portal.kernel.exception.SystemException {
448 _dlFolderLocalService.deleteAll(groupId);
449 }
450
451 public void deleteFolder(long folderId)
452 throws com.liferay.portal.kernel.exception.PortalException,
453 com.liferay.portal.kernel.exception.SystemException {
454 _dlFolderLocalService.deleteFolder(folderId);
455 }
456
457 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getCompanyFolders(
458 long companyId, int start, int end)
459 throws com.liferay.portal.kernel.exception.SystemException {
460 return _dlFolderLocalService.getCompanyFolders(companyId, start, end);
461 }
462
463 public int getCompanyFoldersCount(long companyId)
464 throws com.liferay.portal.kernel.exception.SystemException {
465 return _dlFolderLocalService.getCompanyFoldersCount(companyId);
466 }
467
468 public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
469 long groupId, long folderId, int status, int start, int end)
470 throws com.liferay.portal.kernel.exception.SystemException {
471 return _dlFolderLocalService.getFileEntriesAndFileShortcuts(groupId,
472 folderId, status, start, end);
473 }
474
475 public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
476 int status) throws com.liferay.portal.kernel.exception.SystemException {
477 return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(groupId,
478 folderId, status);
479 }
480
481 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
482 long folderId)
483 throws com.liferay.portal.kernel.exception.PortalException,
484 com.liferay.portal.kernel.exception.SystemException {
485 return _dlFolderLocalService.getFolder(folderId);
486 }
487
488 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
489 long groupId, long parentFolderId, java.lang.String name)
490 throws com.liferay.portal.kernel.exception.PortalException,
491 com.liferay.portal.kernel.exception.SystemException {
492 return _dlFolderLocalService.getFolder(groupId, parentFolderId, name);
493 }
494
495 public long getFolderId(long companyId, long folderId)
496 throws com.liferay.portal.kernel.exception.SystemException {
497 return _dlFolderLocalService.getFolderId(companyId, folderId);
498 }
499
500 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
501 long groupId, long parentFolderId)
502 throws com.liferay.portal.kernel.exception.SystemException {
503 return _dlFolderLocalService.getFolders(groupId, parentFolderId);
504 }
505
506 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
507 long groupId, long parentFolderId, boolean includeMountfolders)
508 throws com.liferay.portal.kernel.exception.SystemException {
509 return _dlFolderLocalService.getFolders(groupId, parentFolderId,
510 includeMountfolders);
511 }
512
513 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
514 long groupId, long parentFolderId, boolean includeMountfolders,
515 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
516 throws com.liferay.portal.kernel.exception.SystemException {
517 return _dlFolderLocalService.getFolders(groupId, parentFolderId,
518 includeMountfolders, start, end, obc);
519 }
520
521 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
522 long groupId, long parentFolderId, int start, int end,
523 com.liferay.portal.kernel.util.OrderByComparator obc)
524 throws com.liferay.portal.kernel.exception.SystemException {
525 return _dlFolderLocalService.getFolders(groupId, parentFolderId, start,
526 end, obc);
527 }
528
529 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
530 long groupId, long folderId, int status, boolean includeMountFolders,
531 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
532 throws com.liferay.portal.kernel.exception.SystemException {
533 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
534 folderId, status, includeMountFolders, start, end, obc);
535 }
536
537 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
538 long groupId, long folderId, int status, java.lang.String[] mimeTypes,
539 boolean includeMountFolders, int start, int end,
540 com.liferay.portal.kernel.util.OrderByComparator obc)
541 throws com.liferay.portal.kernel.exception.SystemException {
542 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
543 folderId, status, mimeTypes, includeMountFolders, start, end, obc);
544 }
545
546 public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
547 long folderId, int status, boolean includeMountFolders)
548 throws com.liferay.portal.kernel.exception.SystemException {
549 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
550 folderId, status, includeMountFolders);
551 }
552
553 public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
554 long folderId, int status, java.lang.String[] mimeTypes,
555 boolean includeMountFolders)
556 throws com.liferay.portal.kernel.exception.SystemException {
557 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
558 folderId, status, mimeTypes, includeMountFolders);
559 }
560
561 public int getFoldersCount(long groupId, long parentFolderId)
562 throws com.liferay.portal.kernel.exception.SystemException {
563 return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId);
564 }
565
566 public int getFoldersCount(long groupId, long parentFolderId,
567 boolean includeMountfolders)
568 throws com.liferay.portal.kernel.exception.SystemException {
569 return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId,
570 includeMountfolders);
571 }
572
573 public int getFoldersFileEntriesCount(long groupId,
574 java.util.List<java.lang.Long> folderIds, int status)
575 throws com.liferay.portal.kernel.exception.SystemException {
576 return _dlFolderLocalService.getFoldersFileEntriesCount(groupId,
577 folderIds, status);
578 }
579
580 public com.liferay.portlet.documentlibrary.model.DLFolder getMountFolder(
581 long repositoryId)
582 throws com.liferay.portal.kernel.exception.PortalException,
583 com.liferay.portal.kernel.exception.SystemException {
584 return _dlFolderLocalService.getMountFolder(repositoryId);
585 }
586
587 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getMountFolders(
588 long groupId, long parentFolderId, int start, int end,
589 com.liferay.portal.kernel.util.OrderByComparator obc)
590 throws com.liferay.portal.kernel.exception.SystemException {
591 return _dlFolderLocalService.getMountFolders(groupId, parentFolderId,
592 start, end, obc);
593 }
594
595 public int getMountFoldersCount(long groupId, long parentFolderId)
596 throws com.liferay.portal.kernel.exception.SystemException {
597 return _dlFolderLocalService.getMountFoldersCount(groupId,
598 parentFolderId);
599 }
600
601 public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
602 long groupId, long folderId)
603 throws com.liferay.portal.kernel.exception.SystemException {
604 _dlFolderLocalService.getSubfolderIds(folderIds, groupId, folderId);
605 }
606
607 public com.liferay.portlet.documentlibrary.model.DLFolder moveFolder(
608 long folderId, long parentFolderId,
609 com.liferay.portal.service.ServiceContext serviceContext)
610 throws com.liferay.portal.kernel.exception.PortalException,
611 com.liferay.portal.kernel.exception.SystemException {
612 return _dlFolderLocalService.moveFolder(folderId, parentFolderId,
613 serviceContext);
614 }
615
616 public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
617 long folderId, long parentFolderId, java.lang.String name,
618 java.lang.String description, long defaultFileEntryTypeId,
619 java.util.List<java.lang.Long> fileEntryTypeIds,
620 boolean overrideFileEntryTypes,
621 com.liferay.portal.service.ServiceContext serviceContext)
622 throws com.liferay.portal.kernel.exception.PortalException,
623 com.liferay.portal.kernel.exception.SystemException {
624 return _dlFolderLocalService.updateFolder(folderId, parentFolderId,
625 name, description, defaultFileEntryTypeId, fileEntryTypeIds,
626 overrideFileEntryTypes, serviceContext);
627 }
628
629 public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
630 long folderId, java.lang.String name, java.lang.String description,
631 long defaultFileEntryTypeId,
632 java.util.List<java.lang.Long> fileEntryTypeIds,
633 boolean overrideFileEntryTypes,
634 com.liferay.portal.service.ServiceContext serviceContext)
635 throws com.liferay.portal.kernel.exception.PortalException,
636 com.liferay.portal.kernel.exception.SystemException {
637 return _dlFolderLocalService.updateFolder(folderId, name, description,
638 defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
639 serviceContext);
640 }
641
642 public com.liferay.portlet.documentlibrary.model.DLFolder updateFolderAndFileEntryTypes(
643 long folderId, long parentFolderId, java.lang.String name,
644 java.lang.String description, long defaultFileEntryTypeId,
645 java.util.List<java.lang.Long> fileEntryTypeIds,
646 boolean overrideFileEntryTypes,
647 com.liferay.portal.service.ServiceContext serviceContext)
648 throws com.liferay.portal.kernel.exception.PortalException,
649 com.liferay.portal.kernel.exception.SystemException {
650 return _dlFolderLocalService.updateFolderAndFileEntryTypes(folderId,
651 parentFolderId, name, description, defaultFileEntryTypeId,
652 fileEntryTypeIds, overrideFileEntryTypes, serviceContext);
653 }
654
655
658 public void updateLastPostDate(long folderId, java.util.Date lastPostDate)
659 throws com.liferay.portal.kernel.exception.PortalException,
660 com.liferay.portal.kernel.exception.SystemException {
661 _dlFolderLocalService.updateLastPostDate(folderId, lastPostDate);
662 }
663
664
667 public DLFolderLocalService getWrappedDLFolderLocalService() {
668 return _dlFolderLocalService;
669 }
670
671
674 public void setWrappedDLFolderLocalService(
675 DLFolderLocalService dlFolderLocalService) {
676 _dlFolderLocalService = dlFolderLocalService;
677 }
678
679 public DLFolderLocalService getWrappedService() {
680 return _dlFolderLocalService;
681 }
682
683 public void setWrappedService(DLFolderLocalService dlFolderLocalService) {
684 _dlFolderLocalService = dlFolderLocalService;
685 }
686
687 private DLFolderLocalService _dlFolderLocalService;
688 }