001
014
015 package com.liferay.portlet.documentlibrary.service.base;
016
017 import com.liferay.counter.service.CounterLocalService;
018
019 import com.liferay.portal.kernel.bean.BeanReference;
020 import com.liferay.portal.kernel.bean.IdentifiableBean;
021 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
022 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
023 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
024 import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
025 import com.liferay.portal.kernel.exception.PortalException;
026 import com.liferay.portal.kernel.exception.SystemException;
027 import com.liferay.portal.kernel.search.Indexable;
028 import com.liferay.portal.kernel.search.IndexableType;
029 import com.liferay.portal.kernel.util.OrderByComparator;
030 import com.liferay.portal.model.PersistedModel;
031 import com.liferay.portal.service.BaseLocalServiceImpl;
032 import com.liferay.portal.service.GroupLocalService;
033 import com.liferay.portal.service.GroupService;
034 import com.liferay.portal.service.LockLocalService;
035 import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
036 import com.liferay.portal.service.ResourceLocalService;
037 import com.liferay.portal.service.UserLocalService;
038 import com.liferay.portal.service.UserService;
039 import com.liferay.portal.service.WebDAVPropsLocalService;
040 import com.liferay.portal.service.WorkflowDefinitionLinkLocalService;
041 import com.liferay.portal.service.WorkflowInstanceLinkLocalService;
042 import com.liferay.portal.service.persistence.GroupFinder;
043 import com.liferay.portal.service.persistence.GroupPersistence;
044 import com.liferay.portal.service.persistence.LockFinder;
045 import com.liferay.portal.service.persistence.LockPersistence;
046 import com.liferay.portal.service.persistence.UserFinder;
047 import com.liferay.portal.service.persistence.UserPersistence;
048 import com.liferay.portal.service.persistence.WebDAVPropsPersistence;
049 import com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistence;
050 import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
051
052 import com.liferay.portlet.asset.service.AssetEntryLocalService;
053 import com.liferay.portlet.asset.service.AssetEntryService;
054 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
055 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
056 import com.liferay.portlet.documentlibrary.model.DLFolder;
057 import com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService;
058 import com.liferay.portlet.documentlibrary.service.DLAppLocalService;
059 import com.liferay.portlet.documentlibrary.service.DLAppService;
060 import com.liferay.portlet.documentlibrary.service.DLContentLocalService;
061 import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
062 import com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService;
063 import com.liferay.portlet.documentlibrary.service.DLFileEntryService;
064 import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService;
065 import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService;
066 import com.liferay.portlet.documentlibrary.service.DLFileRankLocalService;
067 import com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService;
068 import com.liferay.portlet.documentlibrary.service.DLFileShortcutService;
069 import com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService;
070 import com.liferay.portlet.documentlibrary.service.DLFileVersionService;
071 import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
072 import com.liferay.portlet.documentlibrary.service.DLFolderService;
073 import com.liferay.portlet.documentlibrary.service.DLSyncLocalService;
074 import com.liferay.portlet.documentlibrary.service.DLSyncService;
075 import com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence;
076 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
077 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
078 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
079 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
080 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
081 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
082 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
083 import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
084 import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
085 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
086 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
087 import com.liferay.portlet.documentlibrary.service.persistence.DLSyncFinder;
088 import com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistence;
089 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
090 import com.liferay.portlet.expando.service.ExpandoValueService;
091 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
092 import com.liferay.portlet.trash.service.TrashEntryLocalService;
093 import com.liferay.portlet.trash.service.TrashEntryService;
094 import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
095
096 import java.io.Serializable;
097
098 import java.util.List;
099
100 import javax.sql.DataSource;
101
102
114 public abstract class DLFolderLocalServiceBaseImpl extends BaseLocalServiceImpl
115 implements DLFolderLocalService, IdentifiableBean {
116
121
122
129 @Indexable(type = IndexableType.REINDEX)
130 public DLFolder addDLFolder(DLFolder dlFolder) throws SystemException {
131 dlFolder.setNew(true);
132
133 return dlFolderPersistence.update(dlFolder);
134 }
135
136
142 public DLFolder createDLFolder(long folderId) {
143 return dlFolderPersistence.create(folderId);
144 }
145
146
154 @Indexable(type = IndexableType.DELETE)
155 public DLFolder deleteDLFolder(long folderId)
156 throws PortalException, SystemException {
157 return dlFolderPersistence.remove(folderId);
158 }
159
160
167 @Indexable(type = IndexableType.DELETE)
168 public DLFolder deleteDLFolder(DLFolder dlFolder) throws SystemException {
169 return dlFolderPersistence.remove(dlFolder);
170 }
171
172 public DynamicQuery dynamicQuery() {
173 Class<?> clazz = getClass();
174
175 return DynamicQueryFactoryUtil.forClass(DLFolder.class,
176 clazz.getClassLoader());
177 }
178
179
186 @SuppressWarnings("rawtypes")
187 public List dynamicQuery(DynamicQuery dynamicQuery)
188 throws SystemException {
189 return dlFolderPersistence.findWithDynamicQuery(dynamicQuery);
190 }
191
192
205 @SuppressWarnings("rawtypes")
206 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
207 throws SystemException {
208 return dlFolderPersistence.findWithDynamicQuery(dynamicQuery, start, end);
209 }
210
211
225 @SuppressWarnings("rawtypes")
226 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
227 OrderByComparator orderByComparator) throws SystemException {
228 return dlFolderPersistence.findWithDynamicQuery(dynamicQuery, start,
229 end, orderByComparator);
230 }
231
232
239 public long dynamicQueryCount(DynamicQuery dynamicQuery)
240 throws SystemException {
241 return dlFolderPersistence.countWithDynamicQuery(dynamicQuery);
242 }
243
244 public DLFolder fetchDLFolder(long folderId) throws SystemException {
245 return dlFolderPersistence.fetchByPrimaryKey(folderId);
246 }
247
248
256 public DLFolder getDLFolder(long folderId)
257 throws PortalException, SystemException {
258 return dlFolderPersistence.findByPrimaryKey(folderId);
259 }
260
261 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
262 throws PortalException, SystemException {
263 return dlFolderPersistence.findByPrimaryKey(primaryKeyObj);
264 }
265
266
275 public DLFolder getDLFolderByUuidAndGroupId(String uuid, long groupId)
276 throws PortalException, SystemException {
277 return dlFolderPersistence.findByUUID_G(uuid, groupId);
278 }
279
280
292 public List<DLFolder> getDLFolders(int start, int end)
293 throws SystemException {
294 return dlFolderPersistence.findAll(start, end);
295 }
296
297
303 public int getDLFoldersCount() throws SystemException {
304 return dlFolderPersistence.countAll();
305 }
306
307
314 @Indexable(type = IndexableType.REINDEX)
315 public DLFolder updateDLFolder(DLFolder dlFolder) throws SystemException {
316 return dlFolderPersistence.update(dlFolder);
317 }
318
319
322 public void addDLFileEntryTypeDLFolder(long fileEntryTypeId, long folderId)
323 throws SystemException {
324 dlFileEntryTypePersistence.addDLFolder(fileEntryTypeId, folderId);
325 }
326
327
330 public void addDLFileEntryTypeDLFolder(long fileEntryTypeId,
331 DLFolder dlFolder) throws SystemException {
332 dlFileEntryTypePersistence.addDLFolder(fileEntryTypeId, dlFolder);
333 }
334
335
338 public void addDLFileEntryTypeDLFolders(long fileEntryTypeId,
339 long[] folderIds) throws SystemException {
340 dlFileEntryTypePersistence.addDLFolders(fileEntryTypeId, folderIds);
341 }
342
343
346 public void addDLFileEntryTypeDLFolders(long fileEntryTypeId,
347 List<DLFolder> DLFolders) throws SystemException {
348 dlFileEntryTypePersistence.addDLFolders(fileEntryTypeId, DLFolders);
349 }
350
351
354 public void clearDLFileEntryTypeDLFolders(long fileEntryTypeId)
355 throws SystemException {
356 dlFileEntryTypePersistence.clearDLFolders(fileEntryTypeId);
357 }
358
359
362 public void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
363 long folderId) throws SystemException {
364 dlFileEntryTypePersistence.removeDLFolder(fileEntryTypeId, folderId);
365 }
366
367
370 public void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
371 DLFolder dlFolder) throws SystemException {
372 dlFileEntryTypePersistence.removeDLFolder(fileEntryTypeId, dlFolder);
373 }
374
375
378 public void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
379 long[] folderIds) throws SystemException {
380 dlFileEntryTypePersistence.removeDLFolders(fileEntryTypeId, folderIds);
381 }
382
383
386 public void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
387 List<DLFolder> DLFolders) throws SystemException {
388 dlFileEntryTypePersistence.removeDLFolders(fileEntryTypeId, DLFolders);
389 }
390
391
394 public List<DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId)
395 throws SystemException {
396 return dlFileEntryTypePersistence.getDLFolders(fileEntryTypeId);
397 }
398
399
402 public List<DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId,
403 int start, int end) throws SystemException {
404 return dlFileEntryTypePersistence.getDLFolders(fileEntryTypeId, start,
405 end);
406 }
407
408
411 public List<DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId,
412 int start, int end, OrderByComparator orderByComparator)
413 throws SystemException {
414 return dlFileEntryTypePersistence.getDLFolders(fileEntryTypeId, start,
415 end, orderByComparator);
416 }
417
418
421 public int getDLFileEntryTypeDLFoldersCount(long fileEntryTypeId)
422 throws SystemException {
423 return dlFileEntryTypePersistence.getDLFoldersSize(fileEntryTypeId);
424 }
425
426
429 public boolean hasDLFileEntryTypeDLFolder(long fileEntryTypeId,
430 long folderId) throws SystemException {
431 return dlFileEntryTypePersistence.containsDLFolder(fileEntryTypeId,
432 folderId);
433 }
434
435
438 public boolean hasDLFileEntryTypeDLFolders(long fileEntryTypeId)
439 throws SystemException {
440 return dlFileEntryTypePersistence.containsDLFolders(fileEntryTypeId);
441 }
442
443
446 public void setDLFileEntryTypeDLFolders(long fileEntryTypeId,
447 long[] folderIds) throws SystemException {
448 dlFileEntryTypePersistence.setDLFolders(fileEntryTypeId, folderIds);
449 }
450
451
456 public DLAppLocalService getDLAppLocalService() {
457 return dlAppLocalService;
458 }
459
460
465 public void setDLAppLocalService(DLAppLocalService dlAppLocalService) {
466 this.dlAppLocalService = dlAppLocalService;
467 }
468
469
474 public DLAppService getDLAppService() {
475 return dlAppService;
476 }
477
478
483 public void setDLAppService(DLAppService dlAppService) {
484 this.dlAppService = dlAppService;
485 }
486
487
492 public DLAppHelperLocalService getDLAppHelperLocalService() {
493 return dlAppHelperLocalService;
494 }
495
496
501 public void setDLAppHelperLocalService(
502 DLAppHelperLocalService dlAppHelperLocalService) {
503 this.dlAppHelperLocalService = dlAppHelperLocalService;
504 }
505
506
511 public DLContentLocalService getDLContentLocalService() {
512 return dlContentLocalService;
513 }
514
515
520 public void setDLContentLocalService(
521 DLContentLocalService dlContentLocalService) {
522 this.dlContentLocalService = dlContentLocalService;
523 }
524
525
530 public DLContentPersistence getDLContentPersistence() {
531 return dlContentPersistence;
532 }
533
534
539 public void setDLContentPersistence(
540 DLContentPersistence dlContentPersistence) {
541 this.dlContentPersistence = dlContentPersistence;
542 }
543
544
549 public DLFileEntryLocalService getDLFileEntryLocalService() {
550 return dlFileEntryLocalService;
551 }
552
553
558 public void setDLFileEntryLocalService(
559 DLFileEntryLocalService dlFileEntryLocalService) {
560 this.dlFileEntryLocalService = dlFileEntryLocalService;
561 }
562
563
568 public DLFileEntryService getDLFileEntryService() {
569 return dlFileEntryService;
570 }
571
572
577 public void setDLFileEntryService(DLFileEntryService dlFileEntryService) {
578 this.dlFileEntryService = dlFileEntryService;
579 }
580
581
586 public DLFileEntryPersistence getDLFileEntryPersistence() {
587 return dlFileEntryPersistence;
588 }
589
590
595 public void setDLFileEntryPersistence(
596 DLFileEntryPersistence dlFileEntryPersistence) {
597 this.dlFileEntryPersistence = dlFileEntryPersistence;
598 }
599
600
605 public DLFileEntryFinder getDLFileEntryFinder() {
606 return dlFileEntryFinder;
607 }
608
609
614 public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
615 this.dlFileEntryFinder = dlFileEntryFinder;
616 }
617
618
623 public DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
624 return dlFileEntryMetadataLocalService;
625 }
626
627
632 public void setDLFileEntryMetadataLocalService(
633 DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
634 this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
635 }
636
637
642 public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
643 return dlFileEntryMetadataPersistence;
644 }
645
646
651 public void setDLFileEntryMetadataPersistence(
652 DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
653 this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
654 }
655
656
661 public DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
662 return dlFileEntryTypeLocalService;
663 }
664
665
670 public void setDLFileEntryTypeLocalService(
671 DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
672 this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
673 }
674
675
680 public DLFileEntryTypeService getDLFileEntryTypeService() {
681 return dlFileEntryTypeService;
682 }
683
684
689 public void setDLFileEntryTypeService(
690 DLFileEntryTypeService dlFileEntryTypeService) {
691 this.dlFileEntryTypeService = dlFileEntryTypeService;
692 }
693
694
699 public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
700 return dlFileEntryTypePersistence;
701 }
702
703
708 public void setDLFileEntryTypePersistence(
709 DLFileEntryTypePersistence dlFileEntryTypePersistence) {
710 this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
711 }
712
713
718 public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
719 return dlFileEntryTypeFinder;
720 }
721
722
727 public void setDLFileEntryTypeFinder(
728 DLFileEntryTypeFinder dlFileEntryTypeFinder) {
729 this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
730 }
731
732
737 public DLFileRankLocalService getDLFileRankLocalService() {
738 return dlFileRankLocalService;
739 }
740
741
746 public void setDLFileRankLocalService(
747 DLFileRankLocalService dlFileRankLocalService) {
748 this.dlFileRankLocalService = dlFileRankLocalService;
749 }
750
751
756 public DLFileRankPersistence getDLFileRankPersistence() {
757 return dlFileRankPersistence;
758 }
759
760
765 public void setDLFileRankPersistence(
766 DLFileRankPersistence dlFileRankPersistence) {
767 this.dlFileRankPersistence = dlFileRankPersistence;
768 }
769
770
775 public DLFileRankFinder getDLFileRankFinder() {
776 return dlFileRankFinder;
777 }
778
779
784 public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
785 this.dlFileRankFinder = dlFileRankFinder;
786 }
787
788
793 public DLFileShortcutLocalService getDLFileShortcutLocalService() {
794 return dlFileShortcutLocalService;
795 }
796
797
802 public void setDLFileShortcutLocalService(
803 DLFileShortcutLocalService dlFileShortcutLocalService) {
804 this.dlFileShortcutLocalService = dlFileShortcutLocalService;
805 }
806
807
812 public DLFileShortcutService getDLFileShortcutService() {
813 return dlFileShortcutService;
814 }
815
816
821 public void setDLFileShortcutService(
822 DLFileShortcutService dlFileShortcutService) {
823 this.dlFileShortcutService = dlFileShortcutService;
824 }
825
826
831 public DLFileShortcutPersistence getDLFileShortcutPersistence() {
832 return dlFileShortcutPersistence;
833 }
834
835
840 public void setDLFileShortcutPersistence(
841 DLFileShortcutPersistence dlFileShortcutPersistence) {
842 this.dlFileShortcutPersistence = dlFileShortcutPersistence;
843 }
844
845
850 public DLFileVersionLocalService getDLFileVersionLocalService() {
851 return dlFileVersionLocalService;
852 }
853
854
859 public void setDLFileVersionLocalService(
860 DLFileVersionLocalService dlFileVersionLocalService) {
861 this.dlFileVersionLocalService = dlFileVersionLocalService;
862 }
863
864
869 public DLFileVersionService getDLFileVersionService() {
870 return dlFileVersionService;
871 }
872
873
878 public void setDLFileVersionService(
879 DLFileVersionService dlFileVersionService) {
880 this.dlFileVersionService = dlFileVersionService;
881 }
882
883
888 public DLFileVersionPersistence getDLFileVersionPersistence() {
889 return dlFileVersionPersistence;
890 }
891
892
897 public void setDLFileVersionPersistence(
898 DLFileVersionPersistence dlFileVersionPersistence) {
899 this.dlFileVersionPersistence = dlFileVersionPersistence;
900 }
901
902
907 public DLFolderLocalService getDLFolderLocalService() {
908 return dlFolderLocalService;
909 }
910
911
916 public void setDLFolderLocalService(
917 DLFolderLocalService dlFolderLocalService) {
918 this.dlFolderLocalService = dlFolderLocalService;
919 }
920
921
926 public DLFolderService getDLFolderService() {
927 return dlFolderService;
928 }
929
930
935 public void setDLFolderService(DLFolderService dlFolderService) {
936 this.dlFolderService = dlFolderService;
937 }
938
939
944 public DLFolderPersistence getDLFolderPersistence() {
945 return dlFolderPersistence;
946 }
947
948
953 public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
954 this.dlFolderPersistence = dlFolderPersistence;
955 }
956
957
962 public DLFolderFinder getDLFolderFinder() {
963 return dlFolderFinder;
964 }
965
966
971 public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
972 this.dlFolderFinder = dlFolderFinder;
973 }
974
975
980 public DLSyncLocalService getDLSyncLocalService() {
981 return dlSyncLocalService;
982 }
983
984
989 public void setDLSyncLocalService(DLSyncLocalService dlSyncLocalService) {
990 this.dlSyncLocalService = dlSyncLocalService;
991 }
992
993
998 public DLSyncService getDLSyncService() {
999 return dlSyncService;
1000 }
1001
1002
1007 public void setDLSyncService(DLSyncService dlSyncService) {
1008 this.dlSyncService = dlSyncService;
1009 }
1010
1011
1016 public DLSyncPersistence getDLSyncPersistence() {
1017 return dlSyncPersistence;
1018 }
1019
1020
1025 public void setDLSyncPersistence(DLSyncPersistence dlSyncPersistence) {
1026 this.dlSyncPersistence = dlSyncPersistence;
1027 }
1028
1029
1034 public DLSyncFinder getDLSyncFinder() {
1035 return dlSyncFinder;
1036 }
1037
1038
1043 public void setDLSyncFinder(DLSyncFinder dlSyncFinder) {
1044 this.dlSyncFinder = dlSyncFinder;
1045 }
1046
1047
1052 public CounterLocalService getCounterLocalService() {
1053 return counterLocalService;
1054 }
1055
1056
1061 public void setCounterLocalService(CounterLocalService counterLocalService) {
1062 this.counterLocalService = counterLocalService;
1063 }
1064
1065
1070 public GroupLocalService getGroupLocalService() {
1071 return groupLocalService;
1072 }
1073
1074
1079 public void setGroupLocalService(GroupLocalService groupLocalService) {
1080 this.groupLocalService = groupLocalService;
1081 }
1082
1083
1088 public GroupService getGroupService() {
1089 return groupService;
1090 }
1091
1092
1097 public void setGroupService(GroupService groupService) {
1098 this.groupService = groupService;
1099 }
1100
1101
1106 public GroupPersistence getGroupPersistence() {
1107 return groupPersistence;
1108 }
1109
1110
1115 public void setGroupPersistence(GroupPersistence groupPersistence) {
1116 this.groupPersistence = groupPersistence;
1117 }
1118
1119
1124 public GroupFinder getGroupFinder() {
1125 return groupFinder;
1126 }
1127
1128
1133 public void setGroupFinder(GroupFinder groupFinder) {
1134 this.groupFinder = groupFinder;
1135 }
1136
1137
1142 public LockLocalService getLockLocalService() {
1143 return lockLocalService;
1144 }
1145
1146
1151 public void setLockLocalService(LockLocalService lockLocalService) {
1152 this.lockLocalService = lockLocalService;
1153 }
1154
1155
1160 public LockPersistence getLockPersistence() {
1161 return lockPersistence;
1162 }
1163
1164
1169 public void setLockPersistence(LockPersistence lockPersistence) {
1170 this.lockPersistence = lockPersistence;
1171 }
1172
1173
1178 public LockFinder getLockFinder() {
1179 return lockFinder;
1180 }
1181
1182
1187 public void setLockFinder(LockFinder lockFinder) {
1188 this.lockFinder = lockFinder;
1189 }
1190
1191
1196 public ResourceLocalService getResourceLocalService() {
1197 return resourceLocalService;
1198 }
1199
1200
1205 public void setResourceLocalService(
1206 ResourceLocalService resourceLocalService) {
1207 this.resourceLocalService = resourceLocalService;
1208 }
1209
1210
1215 public UserLocalService getUserLocalService() {
1216 return userLocalService;
1217 }
1218
1219
1224 public void setUserLocalService(UserLocalService userLocalService) {
1225 this.userLocalService = userLocalService;
1226 }
1227
1228
1233 public UserService getUserService() {
1234 return userService;
1235 }
1236
1237
1242 public void setUserService(UserService userService) {
1243 this.userService = userService;
1244 }
1245
1246
1251 public UserPersistence getUserPersistence() {
1252 return userPersistence;
1253 }
1254
1255
1260 public void setUserPersistence(UserPersistence userPersistence) {
1261 this.userPersistence = userPersistence;
1262 }
1263
1264
1269 public UserFinder getUserFinder() {
1270 return userFinder;
1271 }
1272
1273
1278 public void setUserFinder(UserFinder userFinder) {
1279 this.userFinder = userFinder;
1280 }
1281
1282
1287 public WebDAVPropsLocalService getWebDAVPropsLocalService() {
1288 return webDAVPropsLocalService;
1289 }
1290
1291
1296 public void setWebDAVPropsLocalService(
1297 WebDAVPropsLocalService webDAVPropsLocalService) {
1298 this.webDAVPropsLocalService = webDAVPropsLocalService;
1299 }
1300
1301
1306 public WebDAVPropsPersistence getWebDAVPropsPersistence() {
1307 return webDAVPropsPersistence;
1308 }
1309
1310
1315 public void setWebDAVPropsPersistence(
1316 WebDAVPropsPersistence webDAVPropsPersistence) {
1317 this.webDAVPropsPersistence = webDAVPropsPersistence;
1318 }
1319
1320
1325 public WorkflowDefinitionLinkLocalService getWorkflowDefinitionLinkLocalService() {
1326 return workflowDefinitionLinkLocalService;
1327 }
1328
1329
1334 public void setWorkflowDefinitionLinkLocalService(
1335 WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) {
1336 this.workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService;
1337 }
1338
1339
1344 public WorkflowDefinitionLinkPersistence getWorkflowDefinitionLinkPersistence() {
1345 return workflowDefinitionLinkPersistence;
1346 }
1347
1348
1353 public void setWorkflowDefinitionLinkPersistence(
1354 WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence) {
1355 this.workflowDefinitionLinkPersistence = workflowDefinitionLinkPersistence;
1356 }
1357
1358
1363 public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1364 return workflowInstanceLinkLocalService;
1365 }
1366
1367
1372 public void setWorkflowInstanceLinkLocalService(
1373 WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1374 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1375 }
1376
1377
1382 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1383 return workflowInstanceLinkPersistence;
1384 }
1385
1386
1391 public void setWorkflowInstanceLinkPersistence(
1392 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1393 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1394 }
1395
1396
1401 public AssetEntryLocalService getAssetEntryLocalService() {
1402 return assetEntryLocalService;
1403 }
1404
1405
1410 public void setAssetEntryLocalService(
1411 AssetEntryLocalService assetEntryLocalService) {
1412 this.assetEntryLocalService = assetEntryLocalService;
1413 }
1414
1415
1420 public AssetEntryService getAssetEntryService() {
1421 return assetEntryService;
1422 }
1423
1424
1429 public void setAssetEntryService(AssetEntryService assetEntryService) {
1430 this.assetEntryService = assetEntryService;
1431 }
1432
1433
1438 public AssetEntryPersistence getAssetEntryPersistence() {
1439 return assetEntryPersistence;
1440 }
1441
1442
1447 public void setAssetEntryPersistence(
1448 AssetEntryPersistence assetEntryPersistence) {
1449 this.assetEntryPersistence = assetEntryPersistence;
1450 }
1451
1452
1457 public AssetEntryFinder getAssetEntryFinder() {
1458 return assetEntryFinder;
1459 }
1460
1461
1466 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1467 this.assetEntryFinder = assetEntryFinder;
1468 }
1469
1470
1475 public ExpandoValueLocalService getExpandoValueLocalService() {
1476 return expandoValueLocalService;
1477 }
1478
1479
1484 public void setExpandoValueLocalService(
1485 ExpandoValueLocalService expandoValueLocalService) {
1486 this.expandoValueLocalService = expandoValueLocalService;
1487 }
1488
1489
1494 public ExpandoValueService getExpandoValueService() {
1495 return expandoValueService;
1496 }
1497
1498
1503 public void setExpandoValueService(ExpandoValueService expandoValueService) {
1504 this.expandoValueService = expandoValueService;
1505 }
1506
1507
1512 public ExpandoValuePersistence getExpandoValuePersistence() {
1513 return expandoValuePersistence;
1514 }
1515
1516
1521 public void setExpandoValuePersistence(
1522 ExpandoValuePersistence expandoValuePersistence) {
1523 this.expandoValuePersistence = expandoValuePersistence;
1524 }
1525
1526
1531 public TrashEntryLocalService getTrashEntryLocalService() {
1532 return trashEntryLocalService;
1533 }
1534
1535
1540 public void setTrashEntryLocalService(
1541 TrashEntryLocalService trashEntryLocalService) {
1542 this.trashEntryLocalService = trashEntryLocalService;
1543 }
1544
1545
1550 public TrashEntryService getTrashEntryService() {
1551 return trashEntryService;
1552 }
1553
1554
1559 public void setTrashEntryService(TrashEntryService trashEntryService) {
1560 this.trashEntryService = trashEntryService;
1561 }
1562
1563
1568 public TrashEntryPersistence getTrashEntryPersistence() {
1569 return trashEntryPersistence;
1570 }
1571
1572
1577 public void setTrashEntryPersistence(
1578 TrashEntryPersistence trashEntryPersistence) {
1579 this.trashEntryPersistence = trashEntryPersistence;
1580 }
1581
1582 public void afterPropertiesSet() {
1583 persistedModelLocalServiceRegistry.register("com.liferay.portlet.documentlibrary.model.DLFolder",
1584 dlFolderLocalService);
1585 }
1586
1587 public void destroy() {
1588 persistedModelLocalServiceRegistry.unregister(
1589 "com.liferay.portlet.documentlibrary.model.DLFolder");
1590 }
1591
1592
1597 public String getBeanIdentifier() {
1598 return _beanIdentifier;
1599 }
1600
1601
1606 public void setBeanIdentifier(String beanIdentifier) {
1607 _beanIdentifier = beanIdentifier;
1608 }
1609
1610 protected Class<?> getModelClass() {
1611 return DLFolder.class;
1612 }
1613
1614 protected String getModelClassName() {
1615 return DLFolder.class.getName();
1616 }
1617
1618
1623 protected void runSQL(String sql) throws SystemException {
1624 try {
1625 DataSource dataSource = dlFolderPersistence.getDataSource();
1626
1627 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1628 sql, new int[0]);
1629
1630 sqlUpdate.update();
1631 }
1632 catch (Exception e) {
1633 throw new SystemException(e);
1634 }
1635 }
1636
1637 @BeanReference(type = DLAppLocalService.class)
1638 protected DLAppLocalService dlAppLocalService;
1639 @BeanReference(type = DLAppService.class)
1640 protected DLAppService dlAppService;
1641 @BeanReference(type = DLAppHelperLocalService.class)
1642 protected DLAppHelperLocalService dlAppHelperLocalService;
1643 @BeanReference(type = DLContentLocalService.class)
1644 protected DLContentLocalService dlContentLocalService;
1645 @BeanReference(type = DLContentPersistence.class)
1646 protected DLContentPersistence dlContentPersistence;
1647 @BeanReference(type = DLFileEntryLocalService.class)
1648 protected DLFileEntryLocalService dlFileEntryLocalService;
1649 @BeanReference(type = DLFileEntryService.class)
1650 protected DLFileEntryService dlFileEntryService;
1651 @BeanReference(type = DLFileEntryPersistence.class)
1652 protected DLFileEntryPersistence dlFileEntryPersistence;
1653 @BeanReference(type = DLFileEntryFinder.class)
1654 protected DLFileEntryFinder dlFileEntryFinder;
1655 @BeanReference(type = DLFileEntryMetadataLocalService.class)
1656 protected DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
1657 @BeanReference(type = DLFileEntryMetadataPersistence.class)
1658 protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
1659 @BeanReference(type = DLFileEntryTypeLocalService.class)
1660 protected DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1661 @BeanReference(type = DLFileEntryTypeService.class)
1662 protected DLFileEntryTypeService dlFileEntryTypeService;
1663 @BeanReference(type = DLFileEntryTypePersistence.class)
1664 protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1665 @BeanReference(type = DLFileEntryTypeFinder.class)
1666 protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1667 @BeanReference(type = DLFileRankLocalService.class)
1668 protected DLFileRankLocalService dlFileRankLocalService;
1669 @BeanReference(type = DLFileRankPersistence.class)
1670 protected DLFileRankPersistence dlFileRankPersistence;
1671 @BeanReference(type = DLFileRankFinder.class)
1672 protected DLFileRankFinder dlFileRankFinder;
1673 @BeanReference(type = DLFileShortcutLocalService.class)
1674 protected DLFileShortcutLocalService dlFileShortcutLocalService;
1675 @BeanReference(type = DLFileShortcutService.class)
1676 protected DLFileShortcutService dlFileShortcutService;
1677 @BeanReference(type = DLFileShortcutPersistence.class)
1678 protected DLFileShortcutPersistence dlFileShortcutPersistence;
1679 @BeanReference(type = DLFileVersionLocalService.class)
1680 protected DLFileVersionLocalService dlFileVersionLocalService;
1681 @BeanReference(type = DLFileVersionService.class)
1682 protected DLFileVersionService dlFileVersionService;
1683 @BeanReference(type = DLFileVersionPersistence.class)
1684 protected DLFileVersionPersistence dlFileVersionPersistence;
1685 @BeanReference(type = DLFolderLocalService.class)
1686 protected DLFolderLocalService dlFolderLocalService;
1687 @BeanReference(type = DLFolderService.class)
1688 protected DLFolderService dlFolderService;
1689 @BeanReference(type = DLFolderPersistence.class)
1690 protected DLFolderPersistence dlFolderPersistence;
1691 @BeanReference(type = DLFolderFinder.class)
1692 protected DLFolderFinder dlFolderFinder;
1693 @BeanReference(type = DLSyncLocalService.class)
1694 protected DLSyncLocalService dlSyncLocalService;
1695 @BeanReference(type = DLSyncService.class)
1696 protected DLSyncService dlSyncService;
1697 @BeanReference(type = DLSyncPersistence.class)
1698 protected DLSyncPersistence dlSyncPersistence;
1699 @BeanReference(type = DLSyncFinder.class)
1700 protected DLSyncFinder dlSyncFinder;
1701 @BeanReference(type = CounterLocalService.class)
1702 protected CounterLocalService counterLocalService;
1703 @BeanReference(type = GroupLocalService.class)
1704 protected GroupLocalService groupLocalService;
1705 @BeanReference(type = GroupService.class)
1706 protected GroupService groupService;
1707 @BeanReference(type = GroupPersistence.class)
1708 protected GroupPersistence groupPersistence;
1709 @BeanReference(type = GroupFinder.class)
1710 protected GroupFinder groupFinder;
1711 @BeanReference(type = LockLocalService.class)
1712 protected LockLocalService lockLocalService;
1713 @BeanReference(type = LockPersistence.class)
1714 protected LockPersistence lockPersistence;
1715 @BeanReference(type = LockFinder.class)
1716 protected LockFinder lockFinder;
1717 @BeanReference(type = ResourceLocalService.class)
1718 protected ResourceLocalService resourceLocalService;
1719 @BeanReference(type = UserLocalService.class)
1720 protected UserLocalService userLocalService;
1721 @BeanReference(type = UserService.class)
1722 protected UserService userService;
1723 @BeanReference(type = UserPersistence.class)
1724 protected UserPersistence userPersistence;
1725 @BeanReference(type = UserFinder.class)
1726 protected UserFinder userFinder;
1727 @BeanReference(type = WebDAVPropsLocalService.class)
1728 protected WebDAVPropsLocalService webDAVPropsLocalService;
1729 @BeanReference(type = WebDAVPropsPersistence.class)
1730 protected WebDAVPropsPersistence webDAVPropsPersistence;
1731 @BeanReference(type = WorkflowDefinitionLinkLocalService.class)
1732 protected WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService;
1733 @BeanReference(type = WorkflowDefinitionLinkPersistence.class)
1734 protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence;
1735 @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1736 protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1737 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1738 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1739 @BeanReference(type = AssetEntryLocalService.class)
1740 protected AssetEntryLocalService assetEntryLocalService;
1741 @BeanReference(type = AssetEntryService.class)
1742 protected AssetEntryService assetEntryService;
1743 @BeanReference(type = AssetEntryPersistence.class)
1744 protected AssetEntryPersistence assetEntryPersistence;
1745 @BeanReference(type = AssetEntryFinder.class)
1746 protected AssetEntryFinder assetEntryFinder;
1747 @BeanReference(type = ExpandoValueLocalService.class)
1748 protected ExpandoValueLocalService expandoValueLocalService;
1749 @BeanReference(type = ExpandoValueService.class)
1750 protected ExpandoValueService expandoValueService;
1751 @BeanReference(type = ExpandoValuePersistence.class)
1752 protected ExpandoValuePersistence expandoValuePersistence;
1753 @BeanReference(type = TrashEntryLocalService.class)
1754 protected TrashEntryLocalService trashEntryLocalService;
1755 @BeanReference(type = TrashEntryService.class)
1756 protected TrashEntryService trashEntryService;
1757 @BeanReference(type = TrashEntryPersistence.class)
1758 protected TrashEntryPersistence trashEntryPersistence;
1759 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1760 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1761 private String _beanIdentifier;
1762 }