001
014
015 package com.liferay.portlet.documentlibrary.service.base;
016
017 import com.liferay.portal.kernel.bean.BeanReference;
018 import com.liferay.portal.kernel.bean.IdentifiableBean;
019 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
020 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
021 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
022 import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
023 import com.liferay.portal.kernel.dao.orm.Projection;
024 import com.liferay.portal.kernel.exception.PortalException;
025 import com.liferay.portal.kernel.exception.SystemException;
026 import com.liferay.portal.kernel.search.Indexable;
027 import com.liferay.portal.kernel.search.IndexableType;
028 import com.liferay.portal.kernel.util.OrderByComparator;
029 import com.liferay.portal.model.PersistedModel;
030 import com.liferay.portal.service.BaseLocalServiceImpl;
031 import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
032 import com.liferay.portal.service.persistence.GroupFinder;
033 import com.liferay.portal.service.persistence.GroupPersistence;
034 import com.liferay.portal.service.persistence.LockFinder;
035 import com.liferay.portal.service.persistence.LockPersistence;
036 import com.liferay.portal.service.persistence.RepositoryPersistence;
037 import com.liferay.portal.service.persistence.UserFinder;
038 import com.liferay.portal.service.persistence.UserPersistence;
039 import com.liferay.portal.service.persistence.WebDAVPropsPersistence;
040 import com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistence;
041 import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
042
043 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
044 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
045 import com.liferay.portlet.documentlibrary.model.DLFolder;
046 import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
047 import com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence;
048 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
049 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
050 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
051 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
052 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
053 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
054 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
055 import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
056 import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
057 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
058 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
059 import com.liferay.portlet.documentlibrary.service.persistence.DLSyncEventPersistence;
060 import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
061 import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
062
063 import java.io.Serializable;
064
065 import java.util.List;
066
067 import javax.sql.DataSource;
068
069
081 public abstract class DLFolderLocalServiceBaseImpl extends BaseLocalServiceImpl
082 implements DLFolderLocalService, IdentifiableBean {
083
088
089
096 @Indexable(type = IndexableType.REINDEX)
097 @Override
098 public DLFolder addDLFolder(DLFolder dlFolder) throws SystemException {
099 dlFolder.setNew(true);
100
101 return dlFolderPersistence.update(dlFolder);
102 }
103
104
110 @Override
111 public DLFolder createDLFolder(long folderId) {
112 return dlFolderPersistence.create(folderId);
113 }
114
115
123 @Indexable(type = IndexableType.DELETE)
124 @Override
125 public DLFolder deleteDLFolder(long folderId)
126 throws PortalException, SystemException {
127 return dlFolderPersistence.remove(folderId);
128 }
129
130
137 @Indexable(type = IndexableType.DELETE)
138 @Override
139 public DLFolder deleteDLFolder(DLFolder dlFolder) throws SystemException {
140 return dlFolderPersistence.remove(dlFolder);
141 }
142
143 @Override
144 public DynamicQuery dynamicQuery() {
145 Class<?> clazz = getClass();
146
147 return DynamicQueryFactoryUtil.forClass(DLFolder.class,
148 clazz.getClassLoader());
149 }
150
151
158 @Override
159 @SuppressWarnings("rawtypes")
160 public List dynamicQuery(DynamicQuery dynamicQuery)
161 throws SystemException {
162 return dlFolderPersistence.findWithDynamicQuery(dynamicQuery);
163 }
164
165
178 @Override
179 @SuppressWarnings("rawtypes")
180 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
181 throws SystemException {
182 return dlFolderPersistence.findWithDynamicQuery(dynamicQuery, start, end);
183 }
184
185
199 @Override
200 @SuppressWarnings("rawtypes")
201 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
202 OrderByComparator orderByComparator) throws SystemException {
203 return dlFolderPersistence.findWithDynamicQuery(dynamicQuery, start,
204 end, orderByComparator);
205 }
206
207
214 @Override
215 public long dynamicQueryCount(DynamicQuery dynamicQuery)
216 throws SystemException {
217 return dlFolderPersistence.countWithDynamicQuery(dynamicQuery);
218 }
219
220
228 @Override
229 public long dynamicQueryCount(DynamicQuery dynamicQuery,
230 Projection projection) throws SystemException {
231 return dlFolderPersistence.countWithDynamicQuery(dynamicQuery,
232 projection);
233 }
234
235 @Override
236 public DLFolder fetchDLFolder(long folderId) throws SystemException {
237 return dlFolderPersistence.fetchByPrimaryKey(folderId);
238 }
239
240
248 @Override
249 public DLFolder fetchDLFolderByUuidAndCompanyId(String uuid, long companyId)
250 throws SystemException {
251 return dlFolderPersistence.fetchByUuid_C_First(uuid, companyId, null);
252 }
253
254
262 @Override
263 public DLFolder fetchDLFolderByUuidAndGroupId(String uuid, long groupId)
264 throws SystemException {
265 return dlFolderPersistence.fetchByUUID_G(uuid, groupId);
266 }
267
268
276 @Override
277 public DLFolder getDLFolder(long folderId)
278 throws PortalException, SystemException {
279 return dlFolderPersistence.findByPrimaryKey(folderId);
280 }
281
282 @Override
283 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
284 throws PortalException, SystemException {
285 return dlFolderPersistence.findByPrimaryKey(primaryKeyObj);
286 }
287
288
297 @Override
298 public DLFolder getDLFolderByUuidAndCompanyId(String uuid, long companyId)
299 throws PortalException, SystemException {
300 return dlFolderPersistence.findByUuid_C_First(uuid, companyId, null);
301 }
302
303
312 @Override
313 public DLFolder getDLFolderByUuidAndGroupId(String uuid, long groupId)
314 throws PortalException, SystemException {
315 return dlFolderPersistence.findByUUID_G(uuid, groupId);
316 }
317
318
330 @Override
331 public List<DLFolder> getDLFolders(int start, int end)
332 throws SystemException {
333 return dlFolderPersistence.findAll(start, end);
334 }
335
336
342 @Override
343 public int getDLFoldersCount() throws SystemException {
344 return dlFolderPersistence.countAll();
345 }
346
347
354 @Indexable(type = IndexableType.REINDEX)
355 @Override
356 public DLFolder updateDLFolder(DLFolder dlFolder) throws SystemException {
357 return dlFolderPersistence.update(dlFolder);
358 }
359
360
363 @Override
364 public void addDLFileEntryTypeDLFolder(long fileEntryTypeId, long folderId)
365 throws SystemException {
366 dlFileEntryTypePersistence.addDLFolder(fileEntryTypeId, folderId);
367 }
368
369
372 @Override
373 public void addDLFileEntryTypeDLFolder(long fileEntryTypeId,
374 DLFolder dlFolder) throws SystemException {
375 dlFileEntryTypePersistence.addDLFolder(fileEntryTypeId, dlFolder);
376 }
377
378
381 @Override
382 public void addDLFileEntryTypeDLFolders(long fileEntryTypeId,
383 long[] folderIds) throws SystemException {
384 dlFileEntryTypePersistence.addDLFolders(fileEntryTypeId, folderIds);
385 }
386
387
390 @Override
391 public void addDLFileEntryTypeDLFolders(long fileEntryTypeId,
392 List<DLFolder> DLFolders) throws SystemException {
393 dlFileEntryTypePersistence.addDLFolders(fileEntryTypeId, DLFolders);
394 }
395
396
399 @Override
400 public void clearDLFileEntryTypeDLFolders(long fileEntryTypeId)
401 throws SystemException {
402 dlFileEntryTypePersistence.clearDLFolders(fileEntryTypeId);
403 }
404
405
408 @Override
409 public void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
410 long folderId) throws SystemException {
411 dlFileEntryTypePersistence.removeDLFolder(fileEntryTypeId, folderId);
412 }
413
414
417 @Override
418 public void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
419 DLFolder dlFolder) throws SystemException {
420 dlFileEntryTypePersistence.removeDLFolder(fileEntryTypeId, dlFolder);
421 }
422
423
426 @Override
427 public void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
428 long[] folderIds) throws SystemException {
429 dlFileEntryTypePersistence.removeDLFolders(fileEntryTypeId, folderIds);
430 }
431
432
435 @Override
436 public void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
437 List<DLFolder> DLFolders) throws SystemException {
438 dlFileEntryTypePersistence.removeDLFolders(fileEntryTypeId, DLFolders);
439 }
440
441
444 @Override
445 public List<DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId)
446 throws SystemException {
447 return dlFileEntryTypePersistence.getDLFolders(fileEntryTypeId);
448 }
449
450
453 @Override
454 public List<DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId,
455 int start, int end) throws SystemException {
456 return dlFileEntryTypePersistence.getDLFolders(fileEntryTypeId, start,
457 end);
458 }
459
460
463 @Override
464 public List<DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId,
465 int start, int end, OrderByComparator orderByComparator)
466 throws SystemException {
467 return dlFileEntryTypePersistence.getDLFolders(fileEntryTypeId, start,
468 end, orderByComparator);
469 }
470
471
474 @Override
475 public int getDLFileEntryTypeDLFoldersCount(long fileEntryTypeId)
476 throws SystemException {
477 return dlFileEntryTypePersistence.getDLFoldersSize(fileEntryTypeId);
478 }
479
480
483 @Override
484 public boolean hasDLFileEntryTypeDLFolder(long fileEntryTypeId,
485 long folderId) throws SystemException {
486 return dlFileEntryTypePersistence.containsDLFolder(fileEntryTypeId,
487 folderId);
488 }
489
490
493 @Override
494 public boolean hasDLFileEntryTypeDLFolders(long fileEntryTypeId)
495 throws SystemException {
496 return dlFileEntryTypePersistence.containsDLFolders(fileEntryTypeId);
497 }
498
499
502 @Override
503 public void setDLFileEntryTypeDLFolders(long fileEntryTypeId,
504 long[] folderIds) throws SystemException {
505 dlFileEntryTypePersistence.setDLFolders(fileEntryTypeId, folderIds);
506 }
507
508
513 public com.liferay.portlet.documentlibrary.service.DLAppLocalService getDLAppLocalService() {
514 return dlAppLocalService;
515 }
516
517
522 public void setDLAppLocalService(
523 com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService) {
524 this.dlAppLocalService = dlAppLocalService;
525 }
526
527
532 public com.liferay.portlet.documentlibrary.service.DLAppService getDLAppService() {
533 return dlAppService;
534 }
535
536
541 public void setDLAppService(
542 com.liferay.portlet.documentlibrary.service.DLAppService dlAppService) {
543 this.dlAppService = dlAppService;
544 }
545
546
551 public com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService getDLAppHelperLocalService() {
552 return dlAppHelperLocalService;
553 }
554
555
560 public void setDLAppHelperLocalService(
561 com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService dlAppHelperLocalService) {
562 this.dlAppHelperLocalService = dlAppHelperLocalService;
563 }
564
565
570 public com.liferay.portlet.documentlibrary.service.DLContentLocalService getDLContentLocalService() {
571 return dlContentLocalService;
572 }
573
574
579 public void setDLContentLocalService(
580 com.liferay.portlet.documentlibrary.service.DLContentLocalService dlContentLocalService) {
581 this.dlContentLocalService = dlContentLocalService;
582 }
583
584
589 public DLContentPersistence getDLContentPersistence() {
590 return dlContentPersistence;
591 }
592
593
598 public void setDLContentPersistence(
599 DLContentPersistence dlContentPersistence) {
600 this.dlContentPersistence = dlContentPersistence;
601 }
602
603
608 public com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService getDLFileEntryLocalService() {
609 return dlFileEntryLocalService;
610 }
611
612
617 public void setDLFileEntryLocalService(
618 com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService) {
619 this.dlFileEntryLocalService = dlFileEntryLocalService;
620 }
621
622
627 public com.liferay.portlet.documentlibrary.service.DLFileEntryService getDLFileEntryService() {
628 return dlFileEntryService;
629 }
630
631
636 public void setDLFileEntryService(
637 com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService) {
638 this.dlFileEntryService = dlFileEntryService;
639 }
640
641
646 public DLFileEntryPersistence getDLFileEntryPersistence() {
647 return dlFileEntryPersistence;
648 }
649
650
655 public void setDLFileEntryPersistence(
656 DLFileEntryPersistence dlFileEntryPersistence) {
657 this.dlFileEntryPersistence = dlFileEntryPersistence;
658 }
659
660
665 public DLFileEntryFinder getDLFileEntryFinder() {
666 return dlFileEntryFinder;
667 }
668
669
674 public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
675 this.dlFileEntryFinder = dlFileEntryFinder;
676 }
677
678
683 public com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
684 return dlFileEntryMetadataLocalService;
685 }
686
687
692 public void setDLFileEntryMetadataLocalService(
693 com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
694 this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
695 }
696
697
702 public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
703 return dlFileEntryMetadataPersistence;
704 }
705
706
711 public void setDLFileEntryMetadataPersistence(
712 DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
713 this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
714 }
715
716
721 public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
722 return dlFileEntryTypeLocalService;
723 }
724
725
730 public void setDLFileEntryTypeLocalService(
731 com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
732 this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
733 }
734
735
740 public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService getDLFileEntryTypeService() {
741 return dlFileEntryTypeService;
742 }
743
744
749 public void setDLFileEntryTypeService(
750 com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService) {
751 this.dlFileEntryTypeService = dlFileEntryTypeService;
752 }
753
754
759 public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
760 return dlFileEntryTypePersistence;
761 }
762
763
768 public void setDLFileEntryTypePersistence(
769 DLFileEntryTypePersistence dlFileEntryTypePersistence) {
770 this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
771 }
772
773
778 public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
779 return dlFileEntryTypeFinder;
780 }
781
782
787 public void setDLFileEntryTypeFinder(
788 DLFileEntryTypeFinder dlFileEntryTypeFinder) {
789 this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
790 }
791
792
797 public com.liferay.portlet.documentlibrary.service.DLFileRankLocalService getDLFileRankLocalService() {
798 return dlFileRankLocalService;
799 }
800
801
806 public void setDLFileRankLocalService(
807 com.liferay.portlet.documentlibrary.service.DLFileRankLocalService dlFileRankLocalService) {
808 this.dlFileRankLocalService = dlFileRankLocalService;
809 }
810
811
816 public DLFileRankPersistence getDLFileRankPersistence() {
817 return dlFileRankPersistence;
818 }
819
820
825 public void setDLFileRankPersistence(
826 DLFileRankPersistence dlFileRankPersistence) {
827 this.dlFileRankPersistence = dlFileRankPersistence;
828 }
829
830
835 public DLFileRankFinder getDLFileRankFinder() {
836 return dlFileRankFinder;
837 }
838
839
844 public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
845 this.dlFileRankFinder = dlFileRankFinder;
846 }
847
848
853 public com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService getDLFileShortcutLocalService() {
854 return dlFileShortcutLocalService;
855 }
856
857
862 public void setDLFileShortcutLocalService(
863 com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService dlFileShortcutLocalService) {
864 this.dlFileShortcutLocalService = dlFileShortcutLocalService;
865 }
866
867
872 public com.liferay.portlet.documentlibrary.service.DLFileShortcutService getDLFileShortcutService() {
873 return dlFileShortcutService;
874 }
875
876
881 public void setDLFileShortcutService(
882 com.liferay.portlet.documentlibrary.service.DLFileShortcutService dlFileShortcutService) {
883 this.dlFileShortcutService = dlFileShortcutService;
884 }
885
886
891 public DLFileShortcutPersistence getDLFileShortcutPersistence() {
892 return dlFileShortcutPersistence;
893 }
894
895
900 public void setDLFileShortcutPersistence(
901 DLFileShortcutPersistence dlFileShortcutPersistence) {
902 this.dlFileShortcutPersistence = dlFileShortcutPersistence;
903 }
904
905
910 public com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService getDLFileVersionLocalService() {
911 return dlFileVersionLocalService;
912 }
913
914
919 public void setDLFileVersionLocalService(
920 com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService dlFileVersionLocalService) {
921 this.dlFileVersionLocalService = dlFileVersionLocalService;
922 }
923
924
929 public com.liferay.portlet.documentlibrary.service.DLFileVersionService getDLFileVersionService() {
930 return dlFileVersionService;
931 }
932
933
938 public void setDLFileVersionService(
939 com.liferay.portlet.documentlibrary.service.DLFileVersionService dlFileVersionService) {
940 this.dlFileVersionService = dlFileVersionService;
941 }
942
943
948 public DLFileVersionPersistence getDLFileVersionPersistence() {
949 return dlFileVersionPersistence;
950 }
951
952
957 public void setDLFileVersionPersistence(
958 DLFileVersionPersistence dlFileVersionPersistence) {
959 this.dlFileVersionPersistence = dlFileVersionPersistence;
960 }
961
962
967 public com.liferay.portlet.documentlibrary.service.DLFolderLocalService getDLFolderLocalService() {
968 return dlFolderLocalService;
969 }
970
971
976 public void setDLFolderLocalService(
977 com.liferay.portlet.documentlibrary.service.DLFolderLocalService dlFolderLocalService) {
978 this.dlFolderLocalService = dlFolderLocalService;
979 }
980
981
986 public com.liferay.portlet.documentlibrary.service.DLFolderService getDLFolderService() {
987 return dlFolderService;
988 }
989
990
995 public void setDLFolderService(
996 com.liferay.portlet.documentlibrary.service.DLFolderService dlFolderService) {
997 this.dlFolderService = dlFolderService;
998 }
999
1000
1005 public DLFolderPersistence getDLFolderPersistence() {
1006 return dlFolderPersistence;
1007 }
1008
1009
1014 public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
1015 this.dlFolderPersistence = dlFolderPersistence;
1016 }
1017
1018
1023 public DLFolderFinder getDLFolderFinder() {
1024 return dlFolderFinder;
1025 }
1026
1027
1032 public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
1033 this.dlFolderFinder = dlFolderFinder;
1034 }
1035
1036
1041 public com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService getDLSyncEventLocalService() {
1042 return dlSyncEventLocalService;
1043 }
1044
1045
1050 public void setDLSyncEventLocalService(
1051 com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService dlSyncEventLocalService) {
1052 this.dlSyncEventLocalService = dlSyncEventLocalService;
1053 }
1054
1055
1060 public DLSyncEventPersistence getDLSyncEventPersistence() {
1061 return dlSyncEventPersistence;
1062 }
1063
1064
1069 public void setDLSyncEventPersistence(
1070 DLSyncEventPersistence dlSyncEventPersistence) {
1071 this.dlSyncEventPersistence = dlSyncEventPersistence;
1072 }
1073
1074
1079 public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
1080 return counterLocalService;
1081 }
1082
1083
1088 public void setCounterLocalService(
1089 com.liferay.counter.service.CounterLocalService counterLocalService) {
1090 this.counterLocalService = counterLocalService;
1091 }
1092
1093
1098 public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
1099 return groupLocalService;
1100 }
1101
1102
1107 public void setGroupLocalService(
1108 com.liferay.portal.service.GroupLocalService groupLocalService) {
1109 this.groupLocalService = groupLocalService;
1110 }
1111
1112
1117 public com.liferay.portal.service.GroupService getGroupService() {
1118 return groupService;
1119 }
1120
1121
1126 public void setGroupService(
1127 com.liferay.portal.service.GroupService groupService) {
1128 this.groupService = groupService;
1129 }
1130
1131
1136 public GroupPersistence getGroupPersistence() {
1137 return groupPersistence;
1138 }
1139
1140
1145 public void setGroupPersistence(GroupPersistence groupPersistence) {
1146 this.groupPersistence = groupPersistence;
1147 }
1148
1149
1154 public GroupFinder getGroupFinder() {
1155 return groupFinder;
1156 }
1157
1158
1163 public void setGroupFinder(GroupFinder groupFinder) {
1164 this.groupFinder = groupFinder;
1165 }
1166
1167
1172 public com.liferay.portal.service.LockLocalService getLockLocalService() {
1173 return lockLocalService;
1174 }
1175
1176
1181 public void setLockLocalService(
1182 com.liferay.portal.service.LockLocalService lockLocalService) {
1183 this.lockLocalService = lockLocalService;
1184 }
1185
1186
1191 public LockPersistence getLockPersistence() {
1192 return lockPersistence;
1193 }
1194
1195
1200 public void setLockPersistence(LockPersistence lockPersistence) {
1201 this.lockPersistence = lockPersistence;
1202 }
1203
1204
1209 public LockFinder getLockFinder() {
1210 return lockFinder;
1211 }
1212
1213
1218 public void setLockFinder(LockFinder lockFinder) {
1219 this.lockFinder = lockFinder;
1220 }
1221
1222
1227 public com.liferay.portal.service.RepositoryLocalService getRepositoryLocalService() {
1228 return repositoryLocalService;
1229 }
1230
1231
1236 public void setRepositoryLocalService(
1237 com.liferay.portal.service.RepositoryLocalService repositoryLocalService) {
1238 this.repositoryLocalService = repositoryLocalService;
1239 }
1240
1241
1246 public com.liferay.portal.service.RepositoryService getRepositoryService() {
1247 return repositoryService;
1248 }
1249
1250
1255 public void setRepositoryService(
1256 com.liferay.portal.service.RepositoryService repositoryService) {
1257 this.repositoryService = repositoryService;
1258 }
1259
1260
1265 public RepositoryPersistence getRepositoryPersistence() {
1266 return repositoryPersistence;
1267 }
1268
1269
1274 public void setRepositoryPersistence(
1275 RepositoryPersistence repositoryPersistence) {
1276 this.repositoryPersistence = repositoryPersistence;
1277 }
1278
1279
1284 public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
1285 return resourceLocalService;
1286 }
1287
1288
1293 public void setResourceLocalService(
1294 com.liferay.portal.service.ResourceLocalService resourceLocalService) {
1295 this.resourceLocalService = resourceLocalService;
1296 }
1297
1298
1303 public com.liferay.portal.service.UserLocalService getUserLocalService() {
1304 return userLocalService;
1305 }
1306
1307
1312 public void setUserLocalService(
1313 com.liferay.portal.service.UserLocalService userLocalService) {
1314 this.userLocalService = userLocalService;
1315 }
1316
1317
1322 public com.liferay.portal.service.UserService getUserService() {
1323 return userService;
1324 }
1325
1326
1331 public void setUserService(
1332 com.liferay.portal.service.UserService userService) {
1333 this.userService = userService;
1334 }
1335
1336
1341 public UserPersistence getUserPersistence() {
1342 return userPersistence;
1343 }
1344
1345
1350 public void setUserPersistence(UserPersistence userPersistence) {
1351 this.userPersistence = userPersistence;
1352 }
1353
1354
1359 public UserFinder getUserFinder() {
1360 return userFinder;
1361 }
1362
1363
1368 public void setUserFinder(UserFinder userFinder) {
1369 this.userFinder = userFinder;
1370 }
1371
1372
1377 public com.liferay.portal.service.WebDAVPropsLocalService getWebDAVPropsLocalService() {
1378 return webDAVPropsLocalService;
1379 }
1380
1381
1386 public void setWebDAVPropsLocalService(
1387 com.liferay.portal.service.WebDAVPropsLocalService webDAVPropsLocalService) {
1388 this.webDAVPropsLocalService = webDAVPropsLocalService;
1389 }
1390
1391
1396 public WebDAVPropsPersistence getWebDAVPropsPersistence() {
1397 return webDAVPropsPersistence;
1398 }
1399
1400
1405 public void setWebDAVPropsPersistence(
1406 WebDAVPropsPersistence webDAVPropsPersistence) {
1407 this.webDAVPropsPersistence = webDAVPropsPersistence;
1408 }
1409
1410
1415 public com.liferay.portal.service.WorkflowDefinitionLinkLocalService getWorkflowDefinitionLinkLocalService() {
1416 return workflowDefinitionLinkLocalService;
1417 }
1418
1419
1424 public void setWorkflowDefinitionLinkLocalService(
1425 com.liferay.portal.service.WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) {
1426 this.workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService;
1427 }
1428
1429
1434 public WorkflowDefinitionLinkPersistence getWorkflowDefinitionLinkPersistence() {
1435 return workflowDefinitionLinkPersistence;
1436 }
1437
1438
1443 public void setWorkflowDefinitionLinkPersistence(
1444 WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence) {
1445 this.workflowDefinitionLinkPersistence = workflowDefinitionLinkPersistence;
1446 }
1447
1448
1453 public com.liferay.portal.service.WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1454 return workflowInstanceLinkLocalService;
1455 }
1456
1457
1462 public void setWorkflowInstanceLinkLocalService(
1463 com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1464 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1465 }
1466
1467
1472 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1473 return workflowInstanceLinkPersistence;
1474 }
1475
1476
1481 public void setWorkflowInstanceLinkPersistence(
1482 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1483 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1484 }
1485
1486
1491 public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
1492 return assetEntryLocalService;
1493 }
1494
1495
1500 public void setAssetEntryLocalService(
1501 com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
1502 this.assetEntryLocalService = assetEntryLocalService;
1503 }
1504
1505
1510 public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
1511 return assetEntryService;
1512 }
1513
1514
1519 public void setAssetEntryService(
1520 com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
1521 this.assetEntryService = assetEntryService;
1522 }
1523
1524
1529 public AssetEntryPersistence getAssetEntryPersistence() {
1530 return assetEntryPersistence;
1531 }
1532
1533
1538 public void setAssetEntryPersistence(
1539 AssetEntryPersistence assetEntryPersistence) {
1540 this.assetEntryPersistence = assetEntryPersistence;
1541 }
1542
1543
1548 public AssetEntryFinder getAssetEntryFinder() {
1549 return assetEntryFinder;
1550 }
1551
1552
1557 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1558 this.assetEntryFinder = assetEntryFinder;
1559 }
1560
1561
1566 public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
1567 return expandoRowLocalService;
1568 }
1569
1570
1575 public void setExpandoRowLocalService(
1576 com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
1577 this.expandoRowLocalService = expandoRowLocalService;
1578 }
1579
1580
1585 public ExpandoRowPersistence getExpandoRowPersistence() {
1586 return expandoRowPersistence;
1587 }
1588
1589
1594 public void setExpandoRowPersistence(
1595 ExpandoRowPersistence expandoRowPersistence) {
1596 this.expandoRowPersistence = expandoRowPersistence;
1597 }
1598
1599
1604 public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
1605 return trashEntryLocalService;
1606 }
1607
1608
1613 public void setTrashEntryLocalService(
1614 com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
1615 this.trashEntryLocalService = trashEntryLocalService;
1616 }
1617
1618
1623 public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
1624 return trashEntryService;
1625 }
1626
1627
1632 public void setTrashEntryService(
1633 com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
1634 this.trashEntryService = trashEntryService;
1635 }
1636
1637
1642 public TrashEntryPersistence getTrashEntryPersistence() {
1643 return trashEntryPersistence;
1644 }
1645
1646
1651 public void setTrashEntryPersistence(
1652 TrashEntryPersistence trashEntryPersistence) {
1653 this.trashEntryPersistence = trashEntryPersistence;
1654 }
1655
1656 public void afterPropertiesSet() {
1657 persistedModelLocalServiceRegistry.register("com.liferay.portlet.documentlibrary.model.DLFolder",
1658 dlFolderLocalService);
1659 }
1660
1661 public void destroy() {
1662 persistedModelLocalServiceRegistry.unregister(
1663 "com.liferay.portlet.documentlibrary.model.DLFolder");
1664 }
1665
1666
1671 @Override
1672 public String getBeanIdentifier() {
1673 return _beanIdentifier;
1674 }
1675
1676
1681 @Override
1682 public void setBeanIdentifier(String beanIdentifier) {
1683 _beanIdentifier = beanIdentifier;
1684 }
1685
1686 protected Class<?> getModelClass() {
1687 return DLFolder.class;
1688 }
1689
1690 protected String getModelClassName() {
1691 return DLFolder.class.getName();
1692 }
1693
1694
1699 protected void runSQL(String sql) throws SystemException {
1700 try {
1701 DataSource dataSource = dlFolderPersistence.getDataSource();
1702
1703 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1704 sql, new int[0]);
1705
1706 sqlUpdate.update();
1707 }
1708 catch (Exception e) {
1709 throw new SystemException(e);
1710 }
1711 }
1712
1713 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppLocalService.class)
1714 protected com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService;
1715 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppService.class)
1716 protected com.liferay.portlet.documentlibrary.service.DLAppService dlAppService;
1717 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService.class)
1718 protected com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService dlAppHelperLocalService;
1719 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLContentLocalService.class)
1720 protected com.liferay.portlet.documentlibrary.service.DLContentLocalService dlContentLocalService;
1721 @BeanReference(type = DLContentPersistence.class)
1722 protected DLContentPersistence dlContentPersistence;
1723 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService.class)
1724 protected com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService;
1725 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryService.class)
1726 protected com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService;
1727 @BeanReference(type = DLFileEntryPersistence.class)
1728 protected DLFileEntryPersistence dlFileEntryPersistence;
1729 @BeanReference(type = DLFileEntryFinder.class)
1730 protected DLFileEntryFinder dlFileEntryFinder;
1731 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService.class)
1732 protected com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
1733 @BeanReference(type = DLFileEntryMetadataPersistence.class)
1734 protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
1735 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService.class)
1736 protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1737 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService.class)
1738 protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService;
1739 @BeanReference(type = DLFileEntryTypePersistence.class)
1740 protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1741 @BeanReference(type = DLFileEntryTypeFinder.class)
1742 protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1743 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileRankLocalService.class)
1744 protected com.liferay.portlet.documentlibrary.service.DLFileRankLocalService dlFileRankLocalService;
1745 @BeanReference(type = DLFileRankPersistence.class)
1746 protected DLFileRankPersistence dlFileRankPersistence;
1747 @BeanReference(type = DLFileRankFinder.class)
1748 protected DLFileRankFinder dlFileRankFinder;
1749 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService.class)
1750 protected com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService dlFileShortcutLocalService;
1751 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileShortcutService.class)
1752 protected com.liferay.portlet.documentlibrary.service.DLFileShortcutService dlFileShortcutService;
1753 @BeanReference(type = DLFileShortcutPersistence.class)
1754 protected DLFileShortcutPersistence dlFileShortcutPersistence;
1755 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService.class)
1756 protected com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService dlFileVersionLocalService;
1757 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileVersionService.class)
1758 protected com.liferay.portlet.documentlibrary.service.DLFileVersionService dlFileVersionService;
1759 @BeanReference(type = DLFileVersionPersistence.class)
1760 protected DLFileVersionPersistence dlFileVersionPersistence;
1761 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFolderLocalService.class)
1762 protected com.liferay.portlet.documentlibrary.service.DLFolderLocalService dlFolderLocalService;
1763 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFolderService.class)
1764 protected com.liferay.portlet.documentlibrary.service.DLFolderService dlFolderService;
1765 @BeanReference(type = DLFolderPersistence.class)
1766 protected DLFolderPersistence dlFolderPersistence;
1767 @BeanReference(type = DLFolderFinder.class)
1768 protected DLFolderFinder dlFolderFinder;
1769 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService.class)
1770 protected com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService dlSyncEventLocalService;
1771 @BeanReference(type = DLSyncEventPersistence.class)
1772 protected DLSyncEventPersistence dlSyncEventPersistence;
1773 @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1774 protected com.liferay.counter.service.CounterLocalService counterLocalService;
1775 @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
1776 protected com.liferay.portal.service.GroupLocalService groupLocalService;
1777 @BeanReference(type = com.liferay.portal.service.GroupService.class)
1778 protected com.liferay.portal.service.GroupService groupService;
1779 @BeanReference(type = GroupPersistence.class)
1780 protected GroupPersistence groupPersistence;
1781 @BeanReference(type = GroupFinder.class)
1782 protected GroupFinder groupFinder;
1783 @BeanReference(type = com.liferay.portal.service.LockLocalService.class)
1784 protected com.liferay.portal.service.LockLocalService lockLocalService;
1785 @BeanReference(type = LockPersistence.class)
1786 protected LockPersistence lockPersistence;
1787 @BeanReference(type = LockFinder.class)
1788 protected LockFinder lockFinder;
1789 @BeanReference(type = com.liferay.portal.service.RepositoryLocalService.class)
1790 protected com.liferay.portal.service.RepositoryLocalService repositoryLocalService;
1791 @BeanReference(type = com.liferay.portal.service.RepositoryService.class)
1792 protected com.liferay.portal.service.RepositoryService repositoryService;
1793 @BeanReference(type = RepositoryPersistence.class)
1794 protected RepositoryPersistence repositoryPersistence;
1795 @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1796 protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1797 @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1798 protected com.liferay.portal.service.UserLocalService userLocalService;
1799 @BeanReference(type = com.liferay.portal.service.UserService.class)
1800 protected com.liferay.portal.service.UserService userService;
1801 @BeanReference(type = UserPersistence.class)
1802 protected UserPersistence userPersistence;
1803 @BeanReference(type = UserFinder.class)
1804 protected UserFinder userFinder;
1805 @BeanReference(type = com.liferay.portal.service.WebDAVPropsLocalService.class)
1806 protected com.liferay.portal.service.WebDAVPropsLocalService webDAVPropsLocalService;
1807 @BeanReference(type = WebDAVPropsPersistence.class)
1808 protected WebDAVPropsPersistence webDAVPropsPersistence;
1809 @BeanReference(type = com.liferay.portal.service.WorkflowDefinitionLinkLocalService.class)
1810 protected com.liferay.portal.service.WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService;
1811 @BeanReference(type = WorkflowDefinitionLinkPersistence.class)
1812 protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence;
1813 @BeanReference(type = com.liferay.portal.service.WorkflowInstanceLinkLocalService.class)
1814 protected com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1815 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1816 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1817 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1818 protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1819 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1820 protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1821 @BeanReference(type = AssetEntryPersistence.class)
1822 protected AssetEntryPersistence assetEntryPersistence;
1823 @BeanReference(type = AssetEntryFinder.class)
1824 protected AssetEntryFinder assetEntryFinder;
1825 @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
1826 protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
1827 @BeanReference(type = ExpandoRowPersistence.class)
1828 protected ExpandoRowPersistence expandoRowPersistence;
1829 @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
1830 protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
1831 @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryService.class)
1832 protected com.liferay.portlet.trash.service.TrashEntryService trashEntryService;
1833 @BeanReference(type = TrashEntryPersistence.class)
1834 protected TrashEntryPersistence trashEntryPersistence;
1835 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1836 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1837 private String _beanIdentifier;
1838 }