001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
020 import com.liferay.portal.kernel.util.ReferenceRegistry;
021
022
036 @ProviderType
037 public class DLFolderLocalServiceUtil {
038
043 public static void addDLFileEntryTypeDLFolder(long fileEntryTypeId,
044 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder) {
045 getService().addDLFileEntryTypeDLFolder(fileEntryTypeId, dlFolder);
046 }
047
048 public static void addDLFileEntryTypeDLFolder(long fileEntryTypeId,
049 long folderId) {
050 getService().addDLFileEntryTypeDLFolder(fileEntryTypeId, folderId);
051 }
052
053 public static void addDLFileEntryTypeDLFolders(long fileEntryTypeId,
054 java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> DLFolders) {
055 getService().addDLFileEntryTypeDLFolders(fileEntryTypeId, DLFolders);
056 }
057
058 public static void addDLFileEntryTypeDLFolders(long fileEntryTypeId,
059 long[] folderIds) {
060 getService().addDLFileEntryTypeDLFolders(fileEntryTypeId, folderIds);
061 }
062
063
069 public static com.liferay.portlet.documentlibrary.model.DLFolder addDLFolder(
070 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder) {
071 return getService().addDLFolder(dlFolder);
072 }
073
074 public static com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
075 long userId, long groupId, long repositoryId, boolean mountPoint,
076 long parentFolderId, java.lang.String name,
077 java.lang.String description, boolean hidden,
078 com.liferay.portal.service.ServiceContext serviceContext)
079 throws com.liferay.portal.kernel.exception.PortalException {
080 return getService()
081 .addFolder(userId, groupId, repositoryId, mountPoint,
082 parentFolderId, name, description, hidden, serviceContext);
083 }
084
085
090 @Deprecated
091 public static com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
092 long userId, long groupId, long repositoryId, boolean mountPoint,
093 long parentFolderId, java.lang.String name,
094 java.lang.String description,
095 com.liferay.portal.service.ServiceContext serviceContext)
096 throws com.liferay.portal.kernel.exception.PortalException {
097 return getService()
098 .addFolder(userId, groupId, repositoryId, mountPoint,
099 parentFolderId, name, description, serviceContext);
100 }
101
102 public static void clearDLFileEntryTypeDLFolders(long fileEntryTypeId) {
103 getService().clearDLFileEntryTypeDLFolders(fileEntryTypeId);
104 }
105
106
112 public static com.liferay.portlet.documentlibrary.model.DLFolder createDLFolder(
113 long folderId) {
114 return getService().createDLFolder(folderId);
115 }
116
117
120 @Deprecated
121 public static void deleteAll(long groupId)
122 throws com.liferay.portal.kernel.exception.PortalException {
123 getService().deleteAll(groupId);
124 }
125
126 public static void deleteAllByGroup(long groupId)
127 throws com.liferay.portal.kernel.exception.PortalException {
128 getService().deleteAllByGroup(groupId);
129 }
130
131 public static void deleteAllByRepository(long repositoryId)
132 throws com.liferay.portal.kernel.exception.PortalException {
133 getService().deleteAllByRepository(repositoryId);
134 }
135
136 public static void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
137 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder) {
138 getService().deleteDLFileEntryTypeDLFolder(fileEntryTypeId, dlFolder);
139 }
140
141 public static void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
142 long folderId) {
143 getService().deleteDLFileEntryTypeDLFolder(fileEntryTypeId, folderId);
144 }
145
146 public static void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
147 java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> DLFolders) {
148 getService().deleteDLFileEntryTypeDLFolders(fileEntryTypeId, DLFolders);
149 }
150
151 public static void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
152 long[] folderIds) {
153 getService().deleteDLFileEntryTypeDLFolders(fileEntryTypeId, folderIds);
154 }
155
156
162 public static com.liferay.portlet.documentlibrary.model.DLFolder deleteDLFolder(
163 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder) {
164 return getService().deleteDLFolder(dlFolder);
165 }
166
167
174 public static com.liferay.portlet.documentlibrary.model.DLFolder deleteDLFolder(
175 long folderId)
176 throws com.liferay.portal.kernel.exception.PortalException {
177 return getService().deleteDLFolder(folderId);
178 }
179
180 public static com.liferay.portlet.documentlibrary.model.DLFolder deleteFolder(
181 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
182 throws com.liferay.portal.kernel.exception.PortalException {
183 return getService().deleteFolder(dlFolder);
184 }
185
186 public static com.liferay.portlet.documentlibrary.model.DLFolder deleteFolder(
187 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
188 boolean includeTrashedEntries)
189 throws com.liferay.portal.kernel.exception.PortalException {
190 return getService().deleteFolder(dlFolder, includeTrashedEntries);
191 }
192
193 public static com.liferay.portlet.documentlibrary.model.DLFolder deleteFolder(
194 long folderId)
195 throws com.liferay.portal.kernel.exception.PortalException {
196 return getService().deleteFolder(folderId);
197 }
198
199 public static com.liferay.portlet.documentlibrary.model.DLFolder deleteFolder(
200 long folderId, boolean includeTrashedEntries)
201 throws com.liferay.portal.kernel.exception.PortalException {
202 return getService().deleteFolder(folderId, includeTrashedEntries);
203 }
204
205 public static com.liferay.portlet.documentlibrary.model.DLFolder deleteFolder(
206 long userId, long folderId, boolean includeTrashedEntries)
207 throws com.liferay.portal.kernel.exception.PortalException {
208 return getService().deleteFolder(userId, folderId, includeTrashedEntries);
209 }
210
211
214 public static com.liferay.portal.model.PersistedModel deletePersistedModel(
215 com.liferay.portal.model.PersistedModel persistedModel)
216 throws com.liferay.portal.kernel.exception.PortalException {
217 return getService().deletePersistedModel(persistedModel);
218 }
219
220 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
221 return getService().dynamicQuery();
222 }
223
224
230 public static <T> java.util.List<T> dynamicQuery(
231 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
232 return getService().dynamicQuery(dynamicQuery);
233 }
234
235
247 public static <T> java.util.List<T> dynamicQuery(
248 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
249 int end) {
250 return getService().dynamicQuery(dynamicQuery, start, end);
251 }
252
253
266 public static <T> java.util.List<T> dynamicQuery(
267 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
268 int end,
269 com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
270 return getService()
271 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
272 }
273
274
280 public static long dynamicQueryCount(
281 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
282 return getService().dynamicQueryCount(dynamicQuery);
283 }
284
285
292 public static long dynamicQueryCount(
293 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
294 com.liferay.portal.kernel.dao.orm.Projection projection) {
295 return getService().dynamicQueryCount(dynamicQuery, projection);
296 }
297
298 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchDLFolder(
299 long folderId) {
300 return getService().fetchDLFolder(folderId);
301 }
302
303
310 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchDLFolderByUuidAndGroupId(
311 java.lang.String uuid, long groupId) {
312 return getService().fetchDLFolderByUuidAndGroupId(uuid, groupId);
313 }
314
315 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchFolder(
316 long folderId) {
317 return getService().fetchFolder(folderId);
318 }
319
320 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchFolder(
321 long groupId, long parentFolderId, java.lang.String name) {
322 return getService().fetchFolder(groupId, parentFolderId, name);
323 }
324
325 public static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
326 return getService().getActionableDynamicQuery();
327 }
328
329
334 public static java.lang.String getBeanIdentifier() {
335 return getService().getBeanIdentifier();
336 }
337
338 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getCompanyFolders(
339 long companyId, int start, int end) {
340 return getService().getCompanyFolders(companyId, start, end);
341 }
342
343 public static int getCompanyFoldersCount(long companyId) {
344 return getService().getCompanyFoldersCount(companyId);
345 }
346
347 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFileEntryTypeDLFolders(
348 long fileEntryTypeId) {
349 return getService().getDLFileEntryTypeDLFolders(fileEntryTypeId);
350 }
351
352 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFileEntryTypeDLFolders(
353 long fileEntryTypeId, int start, int end) {
354 return getService()
355 .getDLFileEntryTypeDLFolders(fileEntryTypeId, start, end);
356 }
357
358 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFileEntryTypeDLFolders(
359 long fileEntryTypeId, int start, int end,
360 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) {
361 return getService()
362 .getDLFileEntryTypeDLFolders(fileEntryTypeId, start, end,
363 orderByComparator);
364 }
365
366 public static int getDLFileEntryTypeDLFoldersCount(long fileEntryTypeId) {
367 return getService().getDLFileEntryTypeDLFoldersCount(fileEntryTypeId);
368 }
369
370
376 public static long[] getDLFileEntryTypePrimaryKeys(long folderId) {
377 return getService().getDLFileEntryTypePrimaryKeys(folderId);
378 }
379
380
387 public static com.liferay.portlet.documentlibrary.model.DLFolder getDLFolder(
388 long folderId)
389 throws com.liferay.portal.kernel.exception.PortalException {
390 return getService().getDLFolder(folderId);
391 }
392
393
401 public static com.liferay.portlet.documentlibrary.model.DLFolder getDLFolderByUuidAndGroupId(
402 java.lang.String uuid, long groupId)
403 throws com.liferay.portal.kernel.exception.PortalException {
404 return getService().getDLFolderByUuidAndGroupId(uuid, groupId);
405 }
406
407
418 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
419 int start, int end) {
420 return getService().getDLFolders(start, end);
421 }
422
423
430 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFoldersByUuidAndCompanyId(
431 java.lang.String uuid, long companyId) {
432 return getService().getDLFoldersByUuidAndCompanyId(uuid, companyId);
433 }
434
435
445 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFoldersByUuidAndCompanyId(
446 java.lang.String uuid, long companyId, int start, int end,
447 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) {
448 return getService()
449 .getDLFoldersByUuidAndCompanyId(uuid, companyId, start, end,
450 orderByComparator);
451 }
452
453
458 public static int getDLFoldersCount() {
459 return getService().getDLFoldersCount();
460 }
461
462 public static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
463 com.liferay.portal.kernel.lar.PortletDataContext portletDataContext) {
464 return getService().getExportActionableDynamicQuery(portletDataContext);
465 }
466
467 public static java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
468 long groupId, long folderId,
469 com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) {
470 return getService()
471 .getFileEntriesAndFileShortcuts(groupId, folderId,
472 queryDefinition);
473 }
474
475
479 @Deprecated
480 public static java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
481 long groupId, long folderId, int status, int start, int end) {
482 return getService()
483 .getFileEntriesAndFileShortcuts(groupId, folderId, status,
484 start, end);
485 }
486
487 public static int getFileEntriesAndFileShortcutsCount(long groupId,
488 long folderId,
489 com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) {
490 return getService()
491 .getFileEntriesAndFileShortcutsCount(groupId, folderId,
492 queryDefinition);
493 }
494
495
500 @Deprecated
501 public static int getFileEntriesAndFileShortcutsCount(long groupId,
502 long folderId, int status) {
503 return getService()
504 .getFileEntriesAndFileShortcutsCount(groupId, folderId,
505 status);
506 }
507
508 public static com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
509 long folderId)
510 throws com.liferay.portal.kernel.exception.PortalException {
511 return getService().getFolder(folderId);
512 }
513
514 public static com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
515 long groupId, long parentFolderId, java.lang.String name)
516 throws com.liferay.portal.kernel.exception.PortalException {
517 return getService().getFolder(groupId, parentFolderId, name);
518 }
519
520 public static long getFolderId(long companyId, long folderId) {
521 return getService().getFolderId(companyId, folderId);
522 }
523
524
528 @Deprecated
529 public static java.util.List<java.lang.Long> getFolderIds(long groupId,
530 long parentFolderId) {
531 return getService().getFolderIds(groupId, parentFolderId);
532 }
533
534 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
535 long groupId, long parentFolderId) {
536 return getService().getFolders(groupId, parentFolderId);
537 }
538
539 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
540 long groupId, long parentFolderId, boolean includeMountfolders) {
541 return getService()
542 .getFolders(groupId, parentFolderId, includeMountfolders);
543 }
544
545 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
546 long groupId, long parentFolderId, boolean includeMountfolders,
547 int start, int end,
548 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> obc) {
549 return getService()
550 .getFolders(groupId, parentFolderId, includeMountfolders,
551 start, end, obc);
552 }
553
554 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
555 long groupId, long parentFolderId, int start, int end,
556 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> obc) {
557 return getService().getFolders(groupId, parentFolderId, start, end, obc);
558 }
559
560 public static java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
561 long groupId, long folderId, java.lang.String[] mimeTypes,
562 boolean includeMountFolders,
563 com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) {
564 return getService()
565 .getFoldersAndFileEntriesAndFileShortcuts(groupId, folderId,
566 mimeTypes, includeMountFolders, queryDefinition);
567 }
568
569
574 @Deprecated
575 public static java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
576 long groupId, long folderId, int status, boolean includeMountFolders,
577 int start, int end,
578 com.liferay.portal.kernel.util.OrderByComparator<?> obc) {
579 return getService()
580 .getFoldersAndFileEntriesAndFileShortcuts(groupId, folderId,
581 status, includeMountFolders, start, end, obc);
582 }
583
584
589 @Deprecated
590 public static java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
591 long groupId, long folderId, int status, java.lang.String[] mimeTypes,
592 boolean includeMountFolders, int start, int end,
593 com.liferay.portal.kernel.util.OrderByComparator<?> obc) {
594 return getService()
595 .getFoldersAndFileEntriesAndFileShortcuts(groupId, folderId,
596 status, mimeTypes, includeMountFolders, start, end, obc);
597 }
598
599 public static int getFoldersAndFileEntriesAndFileShortcutsCount(
600 long groupId, long folderId, java.lang.String[] mimeTypes,
601 boolean includeMountFolders,
602 com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) {
603 return getService()
604 .getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
605 folderId, mimeTypes, includeMountFolders, queryDefinition);
606 }
607
608
613 @Deprecated
614 public static int getFoldersAndFileEntriesAndFileShortcutsCount(
615 long groupId, long folderId, int status, boolean includeMountFolders) {
616 return getService()
617 .getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
618 folderId, status, includeMountFolders);
619 }
620
621
626 @Deprecated
627 public static int getFoldersAndFileEntriesAndFileShortcutsCount(
628 long groupId, long folderId, int status, java.lang.String[] mimeTypes,
629 boolean includeMountFolders) {
630 return getService()
631 .getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
632 folderId, status, mimeTypes, includeMountFolders);
633 }
634
635 public static int getFoldersCount(long groupId, long parentFolderId) {
636 return getService().getFoldersCount(groupId, parentFolderId);
637 }
638
639 public static int getFoldersCount(long groupId, long parentFolderId,
640 boolean includeMountfolders) {
641 return getService()
642 .getFoldersCount(groupId, parentFolderId, includeMountfolders);
643 }
644
645 public static int getFoldersCount(long groupId, long parentFolderId,
646 int status, boolean includeMountfolders) {
647 return getService()
648 .getFoldersCount(groupId, parentFolderId, status,
649 includeMountfolders);
650 }
651
652 public static java.util.List<java.lang.Long> getGroupFolderIds(
653 long groupId, long parentFolderId) {
654 return getService().getGroupFolderIds(groupId, parentFolderId);
655 }
656
657 public static void getGroupSubfolderIds(
658 java.util.List<java.lang.Long> folderIds, long groupId, long folderId) {
659 getService().getGroupSubfolderIds(folderIds, groupId, folderId);
660 }
661
662 public static com.liferay.portlet.documentlibrary.model.DLFolder getMountFolder(
663 long repositoryId)
664 throws com.liferay.portal.kernel.exception.PortalException {
665 return getService().getMountFolder(repositoryId);
666 }
667
668 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getMountFolders(
669 long groupId, long parentFolderId, int start, int end,
670 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> obc) {
671 return getService()
672 .getMountFolders(groupId, parentFolderId, start, end, obc);
673 }
674
675 public static int getMountFoldersCount(long groupId, long parentFolderId) {
676 return getService().getMountFoldersCount(groupId, parentFolderId);
677 }
678
679 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getNoAssetFolders() {
680 return getService().getNoAssetFolders();
681 }
682
683 public static com.liferay.portal.model.PersistedModel getPersistedModel(
684 java.io.Serializable primaryKeyObj)
685 throws com.liferay.portal.kernel.exception.PortalException {
686 return getService().getPersistedModel(primaryKeyObj);
687 }
688
689 public static java.util.List<java.lang.Long> getRepositoryFolderIds(
690 long repositoryId, long parentFolderId) {
691 return getService().getRepositoryFolderIds(repositoryId, parentFolderId);
692 }
693
694 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getRepositoryFolders(
695 long repositoryId, int start, int end) {
696 return getService().getRepositoryFolders(repositoryId, start, end);
697 }
698
699 public static int getRepositoryFoldersCount(long repositoryId) {
700 return getService().getRepositoryFoldersCount(repositoryId);
701 }
702
703 public static void getRepositorySubfolderIds(
704 java.util.List<java.lang.Long> folderIds, long repositoryId,
705 long folderId) {
706 getService().getRepositorySubfolderIds(folderIds, repositoryId, folderId);
707 }
708
709
713 @Deprecated
714 public static void getSubfolderIds(
715 java.util.List<java.lang.Long> folderIds, long groupId, long folderId) {
716 getService().getSubfolderIds(folderIds, groupId, folderId);
717 }
718
719 public static boolean hasDLFileEntryTypeDLFolder(long fileEntryTypeId,
720 long folderId) {
721 return getService().hasDLFileEntryTypeDLFolder(fileEntryTypeId, folderId);
722 }
723
724 public static boolean hasDLFileEntryTypeDLFolders(long fileEntryTypeId) {
725 return getService().hasDLFileEntryTypeDLFolders(fileEntryTypeId);
726 }
727
728 public static boolean hasFolderLock(long userId, long folderId) {
729 return getService().hasFolderLock(userId, folderId);
730 }
731
732 public static com.liferay.portal.model.Lock lockFolder(long userId,
733 long folderId)
734 throws com.liferay.portal.kernel.exception.PortalException {
735 return getService().lockFolder(userId, folderId);
736 }
737
738 public static com.liferay.portal.model.Lock lockFolder(long userId,
739 long folderId, java.lang.String owner, boolean inheritable,
740 long expirationTime)
741 throws com.liferay.portal.kernel.exception.PortalException {
742 return getService()
743 .lockFolder(userId, folderId, owner, inheritable,
744 expirationTime);
745 }
746
747 public static com.liferay.portlet.documentlibrary.model.DLFolder moveFolder(
748 long userId, long folderId, long parentFolderId,
749 com.liferay.portal.service.ServiceContext serviceContext)
750 throws com.liferay.portal.kernel.exception.PortalException {
751 return getService()
752 .moveFolder(userId, folderId, parentFolderId, serviceContext);
753 }
754
755 public static void rebuildTree(long companyId)
756 throws com.liferay.portal.kernel.exception.PortalException {
757 getService().rebuildTree(companyId);
758 }
759
760 public static void rebuildTree(long companyId, long parentFolderId,
761 java.lang.String parentTreePath, boolean reindex)
762 throws com.liferay.portal.kernel.exception.PortalException {
763 getService()
764 .rebuildTree(companyId, parentFolderId, parentTreePath, reindex);
765 }
766
767
772 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
773 getService().setBeanIdentifier(beanIdentifier);
774 }
775
776 public static void setDLFileEntryTypeDLFolders(long fileEntryTypeId,
777 long[] folderIds) {
778 getService().setDLFileEntryTypeDLFolders(fileEntryTypeId, folderIds);
779 }
780
781 public static void unlockFolder(long folderId, java.lang.String lockUuid)
782 throws com.liferay.portal.kernel.exception.PortalException {
783 getService().unlockFolder(folderId, lockUuid);
784 }
785
786 public static void unlockFolder(long groupId, long parentFolderId,
787 java.lang.String name, java.lang.String lockUuid)
788 throws com.liferay.portal.kernel.exception.PortalException {
789 getService().unlockFolder(groupId, parentFolderId, name, lockUuid);
790 }
791
792
798 public static com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
799 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder) {
800 return getService().updateDLFolder(dlFolder);
801 }
802
803
807 @Deprecated
808 public static com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
809 long folderId, java.lang.String name, java.lang.String description,
810 long defaultFileEntryTypeId,
811 java.util.List<java.lang.Long> fileEntryTypeIds,
812 boolean overrideFileEntryTypes,
813 com.liferay.portal.service.ServiceContext serviceContext)
814 throws com.liferay.portal.kernel.exception.PortalException {
815 return getService()
816 .updateFolder(folderId, name, description,
817 defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
818 serviceContext);
819 }
820
821 public static com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
822 long folderId, java.lang.String name, java.lang.String description,
823 long defaultFileEntryTypeId,
824 java.util.List<java.lang.Long> fileEntryTypeIds, int restrictionType,
825 com.liferay.portal.service.ServiceContext serviceContext)
826 throws com.liferay.portal.kernel.exception.PortalException {
827 return getService()
828 .updateFolder(folderId, name, description,
829 defaultFileEntryTypeId, fileEntryTypeIds, restrictionType,
830 serviceContext);
831 }
832
833
837 @Deprecated
838 public static com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
839 long folderId, long parentFolderId, java.lang.String name,
840 java.lang.String description, long defaultFileEntryTypeId,
841 java.util.List<java.lang.Long> fileEntryTypeIds,
842 boolean overrideFileEntryTypes,
843 com.liferay.portal.service.ServiceContext serviceContext)
844 throws com.liferay.portal.kernel.exception.PortalException {
845 return getService()
846 .updateFolder(folderId, parentFolderId, name, description,
847 defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
848 serviceContext);
849 }
850
851 public static com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
852 long folderId, long parentFolderId, java.lang.String name,
853 java.lang.String description, long defaultFileEntryTypeId,
854 java.util.List<java.lang.Long> fileEntryTypeIds, int restrictionType,
855 com.liferay.portal.service.ServiceContext serviceContext)
856 throws com.liferay.portal.kernel.exception.PortalException {
857 return getService()
858 .updateFolder(folderId, parentFolderId, name, description,
859 defaultFileEntryTypeId, fileEntryTypeIds, restrictionType,
860 serviceContext);
861 }
862
863
868 @Deprecated
869 public static com.liferay.portlet.documentlibrary.model.DLFolder updateFolderAndFileEntryTypes(
870 long userId, long folderId, long parentFolderId, java.lang.String name,
871 java.lang.String description, long defaultFileEntryTypeId,
872 java.util.List<java.lang.Long> fileEntryTypeIds,
873 boolean overrideFileEntryTypes,
874 com.liferay.portal.service.ServiceContext serviceContext)
875 throws com.liferay.portal.kernel.exception.PortalException {
876 return getService()
877 .updateFolderAndFileEntryTypes(userId, folderId,
878 parentFolderId, name, description, defaultFileEntryTypeId,
879 fileEntryTypeIds, overrideFileEntryTypes, serviceContext);
880 }
881
882 public static com.liferay.portlet.documentlibrary.model.DLFolder updateFolderAndFileEntryTypes(
883 long userId, long folderId, long parentFolderId, java.lang.String name,
884 java.lang.String description, long defaultFileEntryTypeId,
885 java.util.List<java.lang.Long> fileEntryTypeIds, int restrictionType,
886 com.liferay.portal.service.ServiceContext serviceContext)
887 throws com.liferay.portal.kernel.exception.PortalException {
888 return getService()
889 .updateFolderAndFileEntryTypes(userId, folderId,
890 parentFolderId, name, description, defaultFileEntryTypeId,
891 fileEntryTypeIds, restrictionType, serviceContext);
892 }
893
894 public static void updateLastPostDate(long folderId,
895 java.util.Date lastPostDate)
896 throws com.liferay.portal.kernel.exception.PortalException {
897 getService().updateLastPostDate(folderId, lastPostDate);
898 }
899
900 public static com.liferay.portlet.documentlibrary.model.DLFolder updateStatus(
901 long userId, long folderId, int status,
902 java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
903 com.liferay.portal.service.ServiceContext serviceContext)
904 throws com.liferay.portal.kernel.exception.PortalException {
905 return getService()
906 .updateStatus(userId, folderId, status, workflowContext,
907 serviceContext);
908 }
909
910 public static DLFolderLocalService getService() {
911 if (_service == null) {
912 _service = (DLFolderLocalService)PortalBeanLocatorUtil.locate(DLFolderLocalService.class.getName());
913
914 ReferenceRegistry.registerReference(DLFolderLocalServiceUtil.class,
915 "_service");
916 }
917
918 return _service;
919 }
920
921
924 @Deprecated
925 public void setService(DLFolderLocalService service) {
926 }
927
928 private static DLFolderLocalService _service;
929 }