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.ResourceService;
038 import com.liferay.portal.service.UserLocalService;
039 import com.liferay.portal.service.UserService;
040 import com.liferay.portal.service.WebDAVPropsLocalService;
041 import com.liferay.portal.service.WorkflowDefinitionLinkLocalService;
042 import com.liferay.portal.service.WorkflowInstanceLinkLocalService;
043 import com.liferay.portal.service.persistence.GroupFinder;
044 import com.liferay.portal.service.persistence.GroupPersistence;
045 import com.liferay.portal.service.persistence.LockFinder;
046 import com.liferay.portal.service.persistence.LockPersistence;
047 import com.liferay.portal.service.persistence.ResourceFinder;
048 import com.liferay.portal.service.persistence.ResourcePersistence;
049 import com.liferay.portal.service.persistence.UserFinder;
050 import com.liferay.portal.service.persistence.UserPersistence;
051 import com.liferay.portal.service.persistence.WebDAVPropsPersistence;
052 import com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistence;
053 import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
054
055 import com.liferay.portlet.documentlibrary.model.DLFolder;
056 import com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService;
057 import com.liferay.portlet.documentlibrary.service.DLAppLocalService;
058 import com.liferay.portlet.documentlibrary.service.DLAppService;
059 import com.liferay.portlet.documentlibrary.service.DLContentLocalService;
060 import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
061 import com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService;
062 import com.liferay.portlet.documentlibrary.service.DLFileEntryService;
063 import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService;
064 import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService;
065 import com.liferay.portlet.documentlibrary.service.DLFileRankLocalService;
066 import com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService;
067 import com.liferay.portlet.documentlibrary.service.DLFileShortcutService;
068 import com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService;
069 import com.liferay.portlet.documentlibrary.service.DLFileVersionService;
070 import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
071 import com.liferay.portlet.documentlibrary.service.DLFolderService;
072 import com.liferay.portlet.documentlibrary.service.DLSyncLocalService;
073 import com.liferay.portlet.documentlibrary.service.DLSyncService;
074 import com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence;
075 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
076 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
077 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
078 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
079 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
080 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
081 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
082 import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
083 import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
084 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
085 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
086 import com.liferay.portlet.documentlibrary.service.persistence.DLSyncFinder;
087 import com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistence;
088 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
089 import com.liferay.portlet.expando.service.ExpandoValueService;
090 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
091
092 import java.io.Serializable;
093
094 import java.util.List;
095
096 import javax.sql.DataSource;
097
098
110 public abstract class DLFolderLocalServiceBaseImpl extends BaseLocalServiceImpl
111 implements DLFolderLocalService, IdentifiableBean {
112
117
118
125 @Indexable(type = IndexableType.REINDEX)
126 public DLFolder addDLFolder(DLFolder dlFolder) throws SystemException {
127 dlFolder.setNew(true);
128
129 return dlFolderPersistence.update(dlFolder, false);
130 }
131
132
138 public DLFolder createDLFolder(long folderId) {
139 return dlFolderPersistence.create(folderId);
140 }
141
142
150 @Indexable(type = IndexableType.DELETE)
151 public DLFolder deleteDLFolder(long folderId)
152 throws PortalException, SystemException {
153 return dlFolderPersistence.remove(folderId);
154 }
155
156
163 @Indexable(type = IndexableType.DELETE)
164 public DLFolder deleteDLFolder(DLFolder dlFolder) throws SystemException {
165 return dlFolderPersistence.remove(dlFolder);
166 }
167
168 public DynamicQuery dynamicQuery() {
169 Class<?> clazz = getClass();
170
171 return DynamicQueryFactoryUtil.forClass(DLFolder.class,
172 clazz.getClassLoader());
173 }
174
175
182 @SuppressWarnings("rawtypes")
183 public List dynamicQuery(DynamicQuery dynamicQuery)
184 throws SystemException {
185 return dlFolderPersistence.findWithDynamicQuery(dynamicQuery);
186 }
187
188
201 @SuppressWarnings("rawtypes")
202 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
203 throws SystemException {
204 return dlFolderPersistence.findWithDynamicQuery(dynamicQuery, start, end);
205 }
206
207
221 @SuppressWarnings("rawtypes")
222 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
223 OrderByComparator orderByComparator) throws SystemException {
224 return dlFolderPersistence.findWithDynamicQuery(dynamicQuery, start,
225 end, orderByComparator);
226 }
227
228
235 public long dynamicQueryCount(DynamicQuery dynamicQuery)
236 throws SystemException {
237 return dlFolderPersistence.countWithDynamicQuery(dynamicQuery);
238 }
239
240 public DLFolder fetchDLFolder(long folderId) throws SystemException {
241 return dlFolderPersistence.fetchByPrimaryKey(folderId);
242 }
243
244
252 public DLFolder getDLFolder(long folderId)
253 throws PortalException, SystemException {
254 return dlFolderPersistence.findByPrimaryKey(folderId);
255 }
256
257 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
258 throws PortalException, SystemException {
259 return dlFolderPersistence.findByPrimaryKey(primaryKeyObj);
260 }
261
262
271 public DLFolder getDLFolderByUuidAndGroupId(String uuid, long groupId)
272 throws PortalException, SystemException {
273 return dlFolderPersistence.findByUUID_G(uuid, groupId);
274 }
275
276
288 public List<DLFolder> getDLFolders(int start, int end)
289 throws SystemException {
290 return dlFolderPersistence.findAll(start, end);
291 }
292
293
299 public int getDLFoldersCount() throws SystemException {
300 return dlFolderPersistence.countAll();
301 }
302
303
310 @Indexable(type = IndexableType.REINDEX)
311 public DLFolder updateDLFolder(DLFolder dlFolder) throws SystemException {
312 return updateDLFolder(dlFolder, true);
313 }
314
315
323 @Indexable(type = IndexableType.REINDEX)
324 public DLFolder updateDLFolder(DLFolder dlFolder, boolean merge)
325 throws SystemException {
326 dlFolder.setNew(false);
327
328 return dlFolderPersistence.update(dlFolder, merge);
329 }
330
331
334 public void addDLFileEntryTypeDLFolder(long fileEntryTypeId, long folderId)
335 throws SystemException {
336 dlFileEntryTypePersistence.addDLFolder(fileEntryTypeId, folderId);
337 }
338
339
342 public void addDLFileEntryTypeDLFolder(long fileEntryTypeId,
343 DLFolder dlFolder) throws SystemException {
344 dlFileEntryTypePersistence.addDLFolder(fileEntryTypeId, dlFolder);
345 }
346
347
350 public void addDLFileEntryTypeDLFolders(long fileEntryTypeId,
351 long[] folderIds) throws SystemException {
352 dlFileEntryTypePersistence.addDLFolders(fileEntryTypeId, folderIds);
353 }
354
355
358 public void addDLFileEntryTypeDLFolders(long fileEntryTypeId,
359 List<DLFolder> DLFolders) throws SystemException {
360 dlFileEntryTypePersistence.addDLFolders(fileEntryTypeId, DLFolders);
361 }
362
363
366 public void clearDLFileEntryTypeDLFolders(long fileEntryTypeId)
367 throws SystemException {
368 dlFileEntryTypePersistence.clearDLFolders(fileEntryTypeId);
369 }
370
371
374 public void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
375 long folderId) throws SystemException {
376 dlFileEntryTypePersistence.removeDLFolder(fileEntryTypeId, folderId);
377 }
378
379
382 public void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
383 DLFolder dlFolder) throws SystemException {
384 dlFileEntryTypePersistence.removeDLFolder(fileEntryTypeId, dlFolder);
385 }
386
387
390 public void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
391 long[] folderIds) throws SystemException {
392 dlFileEntryTypePersistence.removeDLFolders(fileEntryTypeId, folderIds);
393 }
394
395
398 public void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
399 List<DLFolder> DLFolders) throws SystemException {
400 dlFileEntryTypePersistence.removeDLFolders(fileEntryTypeId, DLFolders);
401 }
402
403
406 public List<DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId)
407 throws SystemException {
408 return dlFileEntryTypePersistence.getDLFolders(fileEntryTypeId);
409 }
410
411
414 public List<DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId,
415 int start, int end) throws SystemException {
416 return dlFileEntryTypePersistence.getDLFolders(fileEntryTypeId, start,
417 end);
418 }
419
420
423 public List<DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId,
424 int start, int end, OrderByComparator orderByComparator)
425 throws SystemException {
426 return dlFileEntryTypePersistence.getDLFolders(fileEntryTypeId, start,
427 end, orderByComparator);
428 }
429
430
433 public int getDLFileEntryTypeDLFoldersCount(long fileEntryTypeId)
434 throws SystemException {
435 return dlFileEntryTypePersistence.getDLFoldersSize(fileEntryTypeId);
436 }
437
438
441 public boolean hasDLFileEntryTypeDLFolder(long fileEntryTypeId,
442 long folderId) throws SystemException {
443 return dlFileEntryTypePersistence.containsDLFolder(fileEntryTypeId,
444 folderId);
445 }
446
447
450 public boolean hasDLFileEntryTypeDLFolders(long fileEntryTypeId)
451 throws SystemException {
452 return dlFileEntryTypePersistence.containsDLFolders(fileEntryTypeId);
453 }
454
455
458 public void setDLFileEntryTypeDLFolders(long fileEntryTypeId,
459 long[] folderIds) throws SystemException {
460 dlFileEntryTypePersistence.setDLFolders(fileEntryTypeId, folderIds);
461 }
462
463
468 public DLAppLocalService getDLAppLocalService() {
469 return dlAppLocalService;
470 }
471
472
477 public void setDLAppLocalService(DLAppLocalService dlAppLocalService) {
478 this.dlAppLocalService = dlAppLocalService;
479 }
480
481
486 public DLAppService getDLAppService() {
487 return dlAppService;
488 }
489
490
495 public void setDLAppService(DLAppService dlAppService) {
496 this.dlAppService = dlAppService;
497 }
498
499
504 public DLAppHelperLocalService getDLAppHelperLocalService() {
505 return dlAppHelperLocalService;
506 }
507
508
513 public void setDLAppHelperLocalService(
514 DLAppHelperLocalService dlAppHelperLocalService) {
515 this.dlAppHelperLocalService = dlAppHelperLocalService;
516 }
517
518
523 public DLContentLocalService getDLContentLocalService() {
524 return dlContentLocalService;
525 }
526
527
532 public void setDLContentLocalService(
533 DLContentLocalService dlContentLocalService) {
534 this.dlContentLocalService = dlContentLocalService;
535 }
536
537
542 public DLContentPersistence getDLContentPersistence() {
543 return dlContentPersistence;
544 }
545
546
551 public void setDLContentPersistence(
552 DLContentPersistence dlContentPersistence) {
553 this.dlContentPersistence = dlContentPersistence;
554 }
555
556
561 public DLFileEntryLocalService getDLFileEntryLocalService() {
562 return dlFileEntryLocalService;
563 }
564
565
570 public void setDLFileEntryLocalService(
571 DLFileEntryLocalService dlFileEntryLocalService) {
572 this.dlFileEntryLocalService = dlFileEntryLocalService;
573 }
574
575
580 public DLFileEntryService getDLFileEntryService() {
581 return dlFileEntryService;
582 }
583
584
589 public void setDLFileEntryService(DLFileEntryService dlFileEntryService) {
590 this.dlFileEntryService = dlFileEntryService;
591 }
592
593
598 public DLFileEntryPersistence getDLFileEntryPersistence() {
599 return dlFileEntryPersistence;
600 }
601
602
607 public void setDLFileEntryPersistence(
608 DLFileEntryPersistence dlFileEntryPersistence) {
609 this.dlFileEntryPersistence = dlFileEntryPersistence;
610 }
611
612
617 public DLFileEntryFinder getDLFileEntryFinder() {
618 return dlFileEntryFinder;
619 }
620
621
626 public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
627 this.dlFileEntryFinder = dlFileEntryFinder;
628 }
629
630
635 public DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
636 return dlFileEntryMetadataLocalService;
637 }
638
639
644 public void setDLFileEntryMetadataLocalService(
645 DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
646 this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
647 }
648
649
654 public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
655 return dlFileEntryMetadataPersistence;
656 }
657
658
663 public void setDLFileEntryMetadataPersistence(
664 DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
665 this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
666 }
667
668
673 public DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
674 return dlFileEntryTypeLocalService;
675 }
676
677
682 public void setDLFileEntryTypeLocalService(
683 DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
684 this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
685 }
686
687
692 public DLFileEntryTypeService getDLFileEntryTypeService() {
693 return dlFileEntryTypeService;
694 }
695
696
701 public void setDLFileEntryTypeService(
702 DLFileEntryTypeService dlFileEntryTypeService) {
703 this.dlFileEntryTypeService = dlFileEntryTypeService;
704 }
705
706
711 public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
712 return dlFileEntryTypePersistence;
713 }
714
715
720 public void setDLFileEntryTypePersistence(
721 DLFileEntryTypePersistence dlFileEntryTypePersistence) {
722 this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
723 }
724
725
730 public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
731 return dlFileEntryTypeFinder;
732 }
733
734
739 public void setDLFileEntryTypeFinder(
740 DLFileEntryTypeFinder dlFileEntryTypeFinder) {
741 this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
742 }
743
744
749 public DLFileRankLocalService getDLFileRankLocalService() {
750 return dlFileRankLocalService;
751 }
752
753
758 public void setDLFileRankLocalService(
759 DLFileRankLocalService dlFileRankLocalService) {
760 this.dlFileRankLocalService = dlFileRankLocalService;
761 }
762
763
768 public DLFileRankPersistence getDLFileRankPersistence() {
769 return dlFileRankPersistence;
770 }
771
772
777 public void setDLFileRankPersistence(
778 DLFileRankPersistence dlFileRankPersistence) {
779 this.dlFileRankPersistence = dlFileRankPersistence;
780 }
781
782
787 public DLFileRankFinder getDLFileRankFinder() {
788 return dlFileRankFinder;
789 }
790
791
796 public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
797 this.dlFileRankFinder = dlFileRankFinder;
798 }
799
800
805 public DLFileShortcutLocalService getDLFileShortcutLocalService() {
806 return dlFileShortcutLocalService;
807 }
808
809
814 public void setDLFileShortcutLocalService(
815 DLFileShortcutLocalService dlFileShortcutLocalService) {
816 this.dlFileShortcutLocalService = dlFileShortcutLocalService;
817 }
818
819
824 public DLFileShortcutService getDLFileShortcutService() {
825 return dlFileShortcutService;
826 }
827
828
833 public void setDLFileShortcutService(
834 DLFileShortcutService dlFileShortcutService) {
835 this.dlFileShortcutService = dlFileShortcutService;
836 }
837
838
843 public DLFileShortcutPersistence getDLFileShortcutPersistence() {
844 return dlFileShortcutPersistence;
845 }
846
847
852 public void setDLFileShortcutPersistence(
853 DLFileShortcutPersistence dlFileShortcutPersistence) {
854 this.dlFileShortcutPersistence = dlFileShortcutPersistence;
855 }
856
857
862 public DLFileVersionLocalService getDLFileVersionLocalService() {
863 return dlFileVersionLocalService;
864 }
865
866
871 public void setDLFileVersionLocalService(
872 DLFileVersionLocalService dlFileVersionLocalService) {
873 this.dlFileVersionLocalService = dlFileVersionLocalService;
874 }
875
876
881 public DLFileVersionService getDLFileVersionService() {
882 return dlFileVersionService;
883 }
884
885
890 public void setDLFileVersionService(
891 DLFileVersionService dlFileVersionService) {
892 this.dlFileVersionService = dlFileVersionService;
893 }
894
895
900 public DLFileVersionPersistence getDLFileVersionPersistence() {
901 return dlFileVersionPersistence;
902 }
903
904
909 public void setDLFileVersionPersistence(
910 DLFileVersionPersistence dlFileVersionPersistence) {
911 this.dlFileVersionPersistence = dlFileVersionPersistence;
912 }
913
914
919 public DLFolderLocalService getDLFolderLocalService() {
920 return dlFolderLocalService;
921 }
922
923
928 public void setDLFolderLocalService(
929 DLFolderLocalService dlFolderLocalService) {
930 this.dlFolderLocalService = dlFolderLocalService;
931 }
932
933
938 public DLFolderService getDLFolderService() {
939 return dlFolderService;
940 }
941
942
947 public void setDLFolderService(DLFolderService dlFolderService) {
948 this.dlFolderService = dlFolderService;
949 }
950
951
956 public DLFolderPersistence getDLFolderPersistence() {
957 return dlFolderPersistence;
958 }
959
960
965 public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
966 this.dlFolderPersistence = dlFolderPersistence;
967 }
968
969
974 public DLFolderFinder getDLFolderFinder() {
975 return dlFolderFinder;
976 }
977
978
983 public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
984 this.dlFolderFinder = dlFolderFinder;
985 }
986
987
992 public DLSyncLocalService getDLSyncLocalService() {
993 return dlSyncLocalService;
994 }
995
996
1001 public void setDLSyncLocalService(DLSyncLocalService dlSyncLocalService) {
1002 this.dlSyncLocalService = dlSyncLocalService;
1003 }
1004
1005
1010 public DLSyncService getDLSyncService() {
1011 return dlSyncService;
1012 }
1013
1014
1019 public void setDLSyncService(DLSyncService dlSyncService) {
1020 this.dlSyncService = dlSyncService;
1021 }
1022
1023
1028 public DLSyncPersistence getDLSyncPersistence() {
1029 return dlSyncPersistence;
1030 }
1031
1032
1037 public void setDLSyncPersistence(DLSyncPersistence dlSyncPersistence) {
1038 this.dlSyncPersistence = dlSyncPersistence;
1039 }
1040
1041
1046 public DLSyncFinder getDLSyncFinder() {
1047 return dlSyncFinder;
1048 }
1049
1050
1055 public void setDLSyncFinder(DLSyncFinder dlSyncFinder) {
1056 this.dlSyncFinder = dlSyncFinder;
1057 }
1058
1059
1064 public CounterLocalService getCounterLocalService() {
1065 return counterLocalService;
1066 }
1067
1068
1073 public void setCounterLocalService(CounterLocalService counterLocalService) {
1074 this.counterLocalService = counterLocalService;
1075 }
1076
1077
1082 public GroupLocalService getGroupLocalService() {
1083 return groupLocalService;
1084 }
1085
1086
1091 public void setGroupLocalService(GroupLocalService groupLocalService) {
1092 this.groupLocalService = groupLocalService;
1093 }
1094
1095
1100 public GroupService getGroupService() {
1101 return groupService;
1102 }
1103
1104
1109 public void setGroupService(GroupService groupService) {
1110 this.groupService = groupService;
1111 }
1112
1113
1118 public GroupPersistence getGroupPersistence() {
1119 return groupPersistence;
1120 }
1121
1122
1127 public void setGroupPersistence(GroupPersistence groupPersistence) {
1128 this.groupPersistence = groupPersistence;
1129 }
1130
1131
1136 public GroupFinder getGroupFinder() {
1137 return groupFinder;
1138 }
1139
1140
1145 public void setGroupFinder(GroupFinder groupFinder) {
1146 this.groupFinder = groupFinder;
1147 }
1148
1149
1154 public LockLocalService getLockLocalService() {
1155 return lockLocalService;
1156 }
1157
1158
1163 public void setLockLocalService(LockLocalService lockLocalService) {
1164 this.lockLocalService = lockLocalService;
1165 }
1166
1167
1172 public LockPersistence getLockPersistence() {
1173 return lockPersistence;
1174 }
1175
1176
1181 public void setLockPersistence(LockPersistence lockPersistence) {
1182 this.lockPersistence = lockPersistence;
1183 }
1184
1185
1190 public LockFinder getLockFinder() {
1191 return lockFinder;
1192 }
1193
1194
1199 public void setLockFinder(LockFinder lockFinder) {
1200 this.lockFinder = lockFinder;
1201 }
1202
1203
1208 public ResourceLocalService getResourceLocalService() {
1209 return resourceLocalService;
1210 }
1211
1212
1217 public void setResourceLocalService(
1218 ResourceLocalService resourceLocalService) {
1219 this.resourceLocalService = resourceLocalService;
1220 }
1221
1222
1227 public ResourceService getResourceService() {
1228 return resourceService;
1229 }
1230
1231
1236 public void setResourceService(ResourceService resourceService) {
1237 this.resourceService = resourceService;
1238 }
1239
1240
1245 public ResourcePersistence getResourcePersistence() {
1246 return resourcePersistence;
1247 }
1248
1249
1254 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
1255 this.resourcePersistence = resourcePersistence;
1256 }
1257
1258
1263 public ResourceFinder getResourceFinder() {
1264 return resourceFinder;
1265 }
1266
1267
1272 public void setResourceFinder(ResourceFinder resourceFinder) {
1273 this.resourceFinder = resourceFinder;
1274 }
1275
1276
1281 public UserLocalService getUserLocalService() {
1282 return userLocalService;
1283 }
1284
1285
1290 public void setUserLocalService(UserLocalService userLocalService) {
1291 this.userLocalService = userLocalService;
1292 }
1293
1294
1299 public UserService getUserService() {
1300 return userService;
1301 }
1302
1303
1308 public void setUserService(UserService userService) {
1309 this.userService = userService;
1310 }
1311
1312
1317 public UserPersistence getUserPersistence() {
1318 return userPersistence;
1319 }
1320
1321
1326 public void setUserPersistence(UserPersistence userPersistence) {
1327 this.userPersistence = userPersistence;
1328 }
1329
1330
1335 public UserFinder getUserFinder() {
1336 return userFinder;
1337 }
1338
1339
1344 public void setUserFinder(UserFinder userFinder) {
1345 this.userFinder = userFinder;
1346 }
1347
1348
1353 public WebDAVPropsLocalService getWebDAVPropsLocalService() {
1354 return webDAVPropsLocalService;
1355 }
1356
1357
1362 public void setWebDAVPropsLocalService(
1363 WebDAVPropsLocalService webDAVPropsLocalService) {
1364 this.webDAVPropsLocalService = webDAVPropsLocalService;
1365 }
1366
1367
1372 public WebDAVPropsPersistence getWebDAVPropsPersistence() {
1373 return webDAVPropsPersistence;
1374 }
1375
1376
1381 public void setWebDAVPropsPersistence(
1382 WebDAVPropsPersistence webDAVPropsPersistence) {
1383 this.webDAVPropsPersistence = webDAVPropsPersistence;
1384 }
1385
1386
1391 public WorkflowDefinitionLinkLocalService getWorkflowDefinitionLinkLocalService() {
1392 return workflowDefinitionLinkLocalService;
1393 }
1394
1395
1400 public void setWorkflowDefinitionLinkLocalService(
1401 WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) {
1402 this.workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService;
1403 }
1404
1405
1410 public WorkflowDefinitionLinkPersistence getWorkflowDefinitionLinkPersistence() {
1411 return workflowDefinitionLinkPersistence;
1412 }
1413
1414
1419 public void setWorkflowDefinitionLinkPersistence(
1420 WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence) {
1421 this.workflowDefinitionLinkPersistence = workflowDefinitionLinkPersistence;
1422 }
1423
1424
1429 public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1430 return workflowInstanceLinkLocalService;
1431 }
1432
1433
1438 public void setWorkflowInstanceLinkLocalService(
1439 WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1440 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1441 }
1442
1443
1448 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1449 return workflowInstanceLinkPersistence;
1450 }
1451
1452
1457 public void setWorkflowInstanceLinkPersistence(
1458 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1459 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1460 }
1461
1462
1467 public ExpandoValueLocalService getExpandoValueLocalService() {
1468 return expandoValueLocalService;
1469 }
1470
1471
1476 public void setExpandoValueLocalService(
1477 ExpandoValueLocalService expandoValueLocalService) {
1478 this.expandoValueLocalService = expandoValueLocalService;
1479 }
1480
1481
1486 public ExpandoValueService getExpandoValueService() {
1487 return expandoValueService;
1488 }
1489
1490
1495 public void setExpandoValueService(ExpandoValueService expandoValueService) {
1496 this.expandoValueService = expandoValueService;
1497 }
1498
1499
1504 public ExpandoValuePersistence getExpandoValuePersistence() {
1505 return expandoValuePersistence;
1506 }
1507
1508
1513 public void setExpandoValuePersistence(
1514 ExpandoValuePersistence expandoValuePersistence) {
1515 this.expandoValuePersistence = expandoValuePersistence;
1516 }
1517
1518 public void afterPropertiesSet() {
1519 persistedModelLocalServiceRegistry.register("com.liferay.portlet.documentlibrary.model.DLFolder",
1520 dlFolderLocalService);
1521 }
1522
1523 public void destroy() {
1524 persistedModelLocalServiceRegistry.unregister(
1525 "com.liferay.portlet.documentlibrary.model.DLFolder");
1526 }
1527
1528
1533 public String getBeanIdentifier() {
1534 return _beanIdentifier;
1535 }
1536
1537
1542 public void setBeanIdentifier(String beanIdentifier) {
1543 _beanIdentifier = beanIdentifier;
1544 }
1545
1546 protected Class<?> getModelClass() {
1547 return DLFolder.class;
1548 }
1549
1550 protected String getModelClassName() {
1551 return DLFolder.class.getName();
1552 }
1553
1554
1559 protected void runSQL(String sql) throws SystemException {
1560 try {
1561 DataSource dataSource = dlFolderPersistence.getDataSource();
1562
1563 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1564 sql, new int[0]);
1565
1566 sqlUpdate.update();
1567 }
1568 catch (Exception e) {
1569 throw new SystemException(e);
1570 }
1571 }
1572
1573 @BeanReference(type = DLAppLocalService.class)
1574 protected DLAppLocalService dlAppLocalService;
1575 @BeanReference(type = DLAppService.class)
1576 protected DLAppService dlAppService;
1577 @BeanReference(type = DLAppHelperLocalService.class)
1578 protected DLAppHelperLocalService dlAppHelperLocalService;
1579 @BeanReference(type = DLContentLocalService.class)
1580 protected DLContentLocalService dlContentLocalService;
1581 @BeanReference(type = DLContentPersistence.class)
1582 protected DLContentPersistence dlContentPersistence;
1583 @BeanReference(type = DLFileEntryLocalService.class)
1584 protected DLFileEntryLocalService dlFileEntryLocalService;
1585 @BeanReference(type = DLFileEntryService.class)
1586 protected DLFileEntryService dlFileEntryService;
1587 @BeanReference(type = DLFileEntryPersistence.class)
1588 protected DLFileEntryPersistence dlFileEntryPersistence;
1589 @BeanReference(type = DLFileEntryFinder.class)
1590 protected DLFileEntryFinder dlFileEntryFinder;
1591 @BeanReference(type = DLFileEntryMetadataLocalService.class)
1592 protected DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
1593 @BeanReference(type = DLFileEntryMetadataPersistence.class)
1594 protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
1595 @BeanReference(type = DLFileEntryTypeLocalService.class)
1596 protected DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1597 @BeanReference(type = DLFileEntryTypeService.class)
1598 protected DLFileEntryTypeService dlFileEntryTypeService;
1599 @BeanReference(type = DLFileEntryTypePersistence.class)
1600 protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1601 @BeanReference(type = DLFileEntryTypeFinder.class)
1602 protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1603 @BeanReference(type = DLFileRankLocalService.class)
1604 protected DLFileRankLocalService dlFileRankLocalService;
1605 @BeanReference(type = DLFileRankPersistence.class)
1606 protected DLFileRankPersistence dlFileRankPersistence;
1607 @BeanReference(type = DLFileRankFinder.class)
1608 protected DLFileRankFinder dlFileRankFinder;
1609 @BeanReference(type = DLFileShortcutLocalService.class)
1610 protected DLFileShortcutLocalService dlFileShortcutLocalService;
1611 @BeanReference(type = DLFileShortcutService.class)
1612 protected DLFileShortcutService dlFileShortcutService;
1613 @BeanReference(type = DLFileShortcutPersistence.class)
1614 protected DLFileShortcutPersistence dlFileShortcutPersistence;
1615 @BeanReference(type = DLFileVersionLocalService.class)
1616 protected DLFileVersionLocalService dlFileVersionLocalService;
1617 @BeanReference(type = DLFileVersionService.class)
1618 protected DLFileVersionService dlFileVersionService;
1619 @BeanReference(type = DLFileVersionPersistence.class)
1620 protected DLFileVersionPersistence dlFileVersionPersistence;
1621 @BeanReference(type = DLFolderLocalService.class)
1622 protected DLFolderLocalService dlFolderLocalService;
1623 @BeanReference(type = DLFolderService.class)
1624 protected DLFolderService dlFolderService;
1625 @BeanReference(type = DLFolderPersistence.class)
1626 protected DLFolderPersistence dlFolderPersistence;
1627 @BeanReference(type = DLFolderFinder.class)
1628 protected DLFolderFinder dlFolderFinder;
1629 @BeanReference(type = DLSyncLocalService.class)
1630 protected DLSyncLocalService dlSyncLocalService;
1631 @BeanReference(type = DLSyncService.class)
1632 protected DLSyncService dlSyncService;
1633 @BeanReference(type = DLSyncPersistence.class)
1634 protected DLSyncPersistence dlSyncPersistence;
1635 @BeanReference(type = DLSyncFinder.class)
1636 protected DLSyncFinder dlSyncFinder;
1637 @BeanReference(type = CounterLocalService.class)
1638 protected CounterLocalService counterLocalService;
1639 @BeanReference(type = GroupLocalService.class)
1640 protected GroupLocalService groupLocalService;
1641 @BeanReference(type = GroupService.class)
1642 protected GroupService groupService;
1643 @BeanReference(type = GroupPersistence.class)
1644 protected GroupPersistence groupPersistence;
1645 @BeanReference(type = GroupFinder.class)
1646 protected GroupFinder groupFinder;
1647 @BeanReference(type = LockLocalService.class)
1648 protected LockLocalService lockLocalService;
1649 @BeanReference(type = LockPersistence.class)
1650 protected LockPersistence lockPersistence;
1651 @BeanReference(type = LockFinder.class)
1652 protected LockFinder lockFinder;
1653 @BeanReference(type = ResourceLocalService.class)
1654 protected ResourceLocalService resourceLocalService;
1655 @BeanReference(type = ResourceService.class)
1656 protected ResourceService resourceService;
1657 @BeanReference(type = ResourcePersistence.class)
1658 protected ResourcePersistence resourcePersistence;
1659 @BeanReference(type = ResourceFinder.class)
1660 protected ResourceFinder resourceFinder;
1661 @BeanReference(type = UserLocalService.class)
1662 protected UserLocalService userLocalService;
1663 @BeanReference(type = UserService.class)
1664 protected UserService userService;
1665 @BeanReference(type = UserPersistence.class)
1666 protected UserPersistence userPersistence;
1667 @BeanReference(type = UserFinder.class)
1668 protected UserFinder userFinder;
1669 @BeanReference(type = WebDAVPropsLocalService.class)
1670 protected WebDAVPropsLocalService webDAVPropsLocalService;
1671 @BeanReference(type = WebDAVPropsPersistence.class)
1672 protected WebDAVPropsPersistence webDAVPropsPersistence;
1673 @BeanReference(type = WorkflowDefinitionLinkLocalService.class)
1674 protected WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService;
1675 @BeanReference(type = WorkflowDefinitionLinkPersistence.class)
1676 protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence;
1677 @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1678 protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1679 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1680 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1681 @BeanReference(type = ExpandoValueLocalService.class)
1682 protected ExpandoValueLocalService expandoValueLocalService;
1683 @BeanReference(type = ExpandoValueService.class)
1684 protected ExpandoValueService expandoValueService;
1685 @BeanReference(type = ExpandoValuePersistence.class)
1686 protected ExpandoValuePersistence expandoValuePersistence;
1687 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1688 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1689 private String _beanIdentifier;
1690 }