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.UserFinder;
037 import com.liferay.portal.service.persistence.UserPersistence;
038 import com.liferay.portal.service.persistence.WebDAVPropsPersistence;
039 import com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistence;
040 import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
041
042 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
043 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
044 import com.liferay.portlet.documentlibrary.model.DLFolder;
045 import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
046 import com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence;
047 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
048 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
049 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
050 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
051 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
052 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
053 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
054 import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
055 import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
056 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
057 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
058 import com.liferay.portlet.documentlibrary.service.persistence.DLSyncEventPersistence;
059 import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
060 import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
061
062 import java.io.Serializable;
063
064 import java.util.List;
065
066 import javax.sql.DataSource;
067
068
080 public abstract class DLFolderLocalServiceBaseImpl extends BaseLocalServiceImpl
081 implements DLFolderLocalService, IdentifiableBean {
082
087
088
095 @Indexable(type = IndexableType.REINDEX)
096 @Override
097 public DLFolder addDLFolder(DLFolder dlFolder) throws SystemException {
098 dlFolder.setNew(true);
099
100 return dlFolderPersistence.update(dlFolder);
101 }
102
103
109 @Override
110 public DLFolder createDLFolder(long folderId) {
111 return dlFolderPersistence.create(folderId);
112 }
113
114
122 @Indexable(type = IndexableType.DELETE)
123 @Override
124 public DLFolder deleteDLFolder(long folderId)
125 throws PortalException, SystemException {
126 return dlFolderPersistence.remove(folderId);
127 }
128
129
136 @Indexable(type = IndexableType.DELETE)
137 @Override
138 public DLFolder deleteDLFolder(DLFolder dlFolder) throws SystemException {
139 return dlFolderPersistence.remove(dlFolder);
140 }
141
142 @Override
143 public DynamicQuery dynamicQuery() {
144 Class<?> clazz = getClass();
145
146 return DynamicQueryFactoryUtil.forClass(DLFolder.class,
147 clazz.getClassLoader());
148 }
149
150
157 @Override
158 @SuppressWarnings("rawtypes")
159 public List dynamicQuery(DynamicQuery dynamicQuery)
160 throws SystemException {
161 return dlFolderPersistence.findWithDynamicQuery(dynamicQuery);
162 }
163
164
177 @Override
178 @SuppressWarnings("rawtypes")
179 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
180 throws SystemException {
181 return dlFolderPersistence.findWithDynamicQuery(dynamicQuery, start, end);
182 }
183
184
198 @Override
199 @SuppressWarnings("rawtypes")
200 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
201 OrderByComparator orderByComparator) throws SystemException {
202 return dlFolderPersistence.findWithDynamicQuery(dynamicQuery, start,
203 end, orderByComparator);
204 }
205
206
213 @Override
214 public long dynamicQueryCount(DynamicQuery dynamicQuery)
215 throws SystemException {
216 return dlFolderPersistence.countWithDynamicQuery(dynamicQuery);
217 }
218
219
227 @Override
228 public long dynamicQueryCount(DynamicQuery dynamicQuery,
229 Projection projection) throws SystemException {
230 return dlFolderPersistence.countWithDynamicQuery(dynamicQuery,
231 projection);
232 }
233
234 @Override
235 public DLFolder fetchDLFolder(long folderId) throws SystemException {
236 return dlFolderPersistence.fetchByPrimaryKey(folderId);
237 }
238
239
247 @Override
248 public DLFolder fetchDLFolderByUuidAndCompanyId(String uuid, long companyId)
249 throws SystemException {
250 return dlFolderPersistence.fetchByUuid_C_First(uuid, companyId, null);
251 }
252
253
261 @Override
262 public DLFolder fetchDLFolderByUuidAndGroupId(String uuid, long groupId)
263 throws SystemException {
264 return dlFolderPersistence.fetchByUUID_G(uuid, groupId);
265 }
266
267
275 @Override
276 public DLFolder getDLFolder(long folderId)
277 throws PortalException, SystemException {
278 return dlFolderPersistence.findByPrimaryKey(folderId);
279 }
280
281 @Override
282 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
283 throws PortalException, SystemException {
284 return dlFolderPersistence.findByPrimaryKey(primaryKeyObj);
285 }
286
287
296 @Override
297 public DLFolder getDLFolderByUuidAndCompanyId(String uuid, long companyId)
298 throws PortalException, SystemException {
299 return dlFolderPersistence.findByUuid_C_First(uuid, companyId, null);
300 }
301
302
311 @Override
312 public DLFolder getDLFolderByUuidAndGroupId(String uuid, long groupId)
313 throws PortalException, SystemException {
314 return dlFolderPersistence.findByUUID_G(uuid, groupId);
315 }
316
317
329 @Override
330 public List<DLFolder> getDLFolders(int start, int end)
331 throws SystemException {
332 return dlFolderPersistence.findAll(start, end);
333 }
334
335
341 @Override
342 public int getDLFoldersCount() throws SystemException {
343 return dlFolderPersistence.countAll();
344 }
345
346
353 @Indexable(type = IndexableType.REINDEX)
354 @Override
355 public DLFolder updateDLFolder(DLFolder dlFolder) throws SystemException {
356 return dlFolderPersistence.update(dlFolder);
357 }
358
359
362 @Override
363 public void addDLFileEntryTypeDLFolder(long fileEntryTypeId, long folderId)
364 throws SystemException {
365 dlFileEntryTypePersistence.addDLFolder(fileEntryTypeId, folderId);
366 }
367
368
371 @Override
372 public void addDLFileEntryTypeDLFolder(long fileEntryTypeId,
373 DLFolder dlFolder) throws SystemException {
374 dlFileEntryTypePersistence.addDLFolder(fileEntryTypeId, dlFolder);
375 }
376
377
380 @Override
381 public void addDLFileEntryTypeDLFolders(long fileEntryTypeId,
382 long[] folderIds) throws SystemException {
383 dlFileEntryTypePersistence.addDLFolders(fileEntryTypeId, folderIds);
384 }
385
386
389 @Override
390 public void addDLFileEntryTypeDLFolders(long fileEntryTypeId,
391 List<DLFolder> DLFolders) throws SystemException {
392 dlFileEntryTypePersistence.addDLFolders(fileEntryTypeId, DLFolders);
393 }
394
395
398 @Override
399 public void clearDLFileEntryTypeDLFolders(long fileEntryTypeId)
400 throws SystemException {
401 dlFileEntryTypePersistence.clearDLFolders(fileEntryTypeId);
402 }
403
404
407 @Override
408 public void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
409 long folderId) throws SystemException {
410 dlFileEntryTypePersistence.removeDLFolder(fileEntryTypeId, folderId);
411 }
412
413
416 @Override
417 public void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
418 DLFolder dlFolder) throws SystemException {
419 dlFileEntryTypePersistence.removeDLFolder(fileEntryTypeId, dlFolder);
420 }
421
422
425 @Override
426 public void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
427 long[] folderIds) throws SystemException {
428 dlFileEntryTypePersistence.removeDLFolders(fileEntryTypeId, folderIds);
429 }
430
431
434 @Override
435 public void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
436 List<DLFolder> DLFolders) throws SystemException {
437 dlFileEntryTypePersistence.removeDLFolders(fileEntryTypeId, DLFolders);
438 }
439
440
443 @Override
444 public List<DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId)
445 throws SystemException {
446 return dlFileEntryTypePersistence.getDLFolders(fileEntryTypeId);
447 }
448
449
452 @Override
453 public List<DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId,
454 int start, int end) throws SystemException {
455 return dlFileEntryTypePersistence.getDLFolders(fileEntryTypeId, start,
456 end);
457 }
458
459
462 @Override
463 public List<DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId,
464 int start, int end, OrderByComparator orderByComparator)
465 throws SystemException {
466 return dlFileEntryTypePersistence.getDLFolders(fileEntryTypeId, start,
467 end, orderByComparator);
468 }
469
470
473 @Override
474 public int getDLFileEntryTypeDLFoldersCount(long fileEntryTypeId)
475 throws SystemException {
476 return dlFileEntryTypePersistence.getDLFoldersSize(fileEntryTypeId);
477 }
478
479
482 @Override
483 public boolean hasDLFileEntryTypeDLFolder(long fileEntryTypeId,
484 long folderId) throws SystemException {
485 return dlFileEntryTypePersistence.containsDLFolder(fileEntryTypeId,
486 folderId);
487 }
488
489
492 @Override
493 public boolean hasDLFileEntryTypeDLFolders(long fileEntryTypeId)
494 throws SystemException {
495 return dlFileEntryTypePersistence.containsDLFolders(fileEntryTypeId);
496 }
497
498
501 @Override
502 public void setDLFileEntryTypeDLFolders(long fileEntryTypeId,
503 long[] folderIds) throws SystemException {
504 dlFileEntryTypePersistence.setDLFolders(fileEntryTypeId, folderIds);
505 }
506
507
512 public com.liferay.portlet.documentlibrary.service.DLAppLocalService getDLAppLocalService() {
513 return dlAppLocalService;
514 }
515
516
521 public void setDLAppLocalService(
522 com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService) {
523 this.dlAppLocalService = dlAppLocalService;
524 }
525
526
531 public com.liferay.portlet.documentlibrary.service.DLAppService getDLAppService() {
532 return dlAppService;
533 }
534
535
540 public void setDLAppService(
541 com.liferay.portlet.documentlibrary.service.DLAppService dlAppService) {
542 this.dlAppService = dlAppService;
543 }
544
545
550 public com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService getDLAppHelperLocalService() {
551 return dlAppHelperLocalService;
552 }
553
554
559 public void setDLAppHelperLocalService(
560 com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService dlAppHelperLocalService) {
561 this.dlAppHelperLocalService = dlAppHelperLocalService;
562 }
563
564
569 public com.liferay.portlet.documentlibrary.service.DLContentLocalService getDLContentLocalService() {
570 return dlContentLocalService;
571 }
572
573
578 public void setDLContentLocalService(
579 com.liferay.portlet.documentlibrary.service.DLContentLocalService dlContentLocalService) {
580 this.dlContentLocalService = dlContentLocalService;
581 }
582
583
588 public DLContentPersistence getDLContentPersistence() {
589 return dlContentPersistence;
590 }
591
592
597 public void setDLContentPersistence(
598 DLContentPersistence dlContentPersistence) {
599 this.dlContentPersistence = dlContentPersistence;
600 }
601
602
607 public com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService getDLFileEntryLocalService() {
608 return dlFileEntryLocalService;
609 }
610
611
616 public void setDLFileEntryLocalService(
617 com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService) {
618 this.dlFileEntryLocalService = dlFileEntryLocalService;
619 }
620
621
626 public com.liferay.portlet.documentlibrary.service.DLFileEntryService getDLFileEntryService() {
627 return dlFileEntryService;
628 }
629
630
635 public void setDLFileEntryService(
636 com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService) {
637 this.dlFileEntryService = dlFileEntryService;
638 }
639
640
645 public DLFileEntryPersistence getDLFileEntryPersistence() {
646 return dlFileEntryPersistence;
647 }
648
649
654 public void setDLFileEntryPersistence(
655 DLFileEntryPersistence dlFileEntryPersistence) {
656 this.dlFileEntryPersistence = dlFileEntryPersistence;
657 }
658
659
664 public DLFileEntryFinder getDLFileEntryFinder() {
665 return dlFileEntryFinder;
666 }
667
668
673 public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
674 this.dlFileEntryFinder = dlFileEntryFinder;
675 }
676
677
682 public com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
683 return dlFileEntryMetadataLocalService;
684 }
685
686
691 public void setDLFileEntryMetadataLocalService(
692 com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
693 this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
694 }
695
696
701 public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
702 return dlFileEntryMetadataPersistence;
703 }
704
705
710 public void setDLFileEntryMetadataPersistence(
711 DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
712 this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
713 }
714
715
720 public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
721 return dlFileEntryTypeLocalService;
722 }
723
724
729 public void setDLFileEntryTypeLocalService(
730 com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
731 this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
732 }
733
734
739 public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService getDLFileEntryTypeService() {
740 return dlFileEntryTypeService;
741 }
742
743
748 public void setDLFileEntryTypeService(
749 com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService) {
750 this.dlFileEntryTypeService = dlFileEntryTypeService;
751 }
752
753
758 public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
759 return dlFileEntryTypePersistence;
760 }
761
762
767 public void setDLFileEntryTypePersistence(
768 DLFileEntryTypePersistence dlFileEntryTypePersistence) {
769 this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
770 }
771
772
777 public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
778 return dlFileEntryTypeFinder;
779 }
780
781
786 public void setDLFileEntryTypeFinder(
787 DLFileEntryTypeFinder dlFileEntryTypeFinder) {
788 this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
789 }
790
791
796 public com.liferay.portlet.documentlibrary.service.DLFileRankLocalService getDLFileRankLocalService() {
797 return dlFileRankLocalService;
798 }
799
800
805 public void setDLFileRankLocalService(
806 com.liferay.portlet.documentlibrary.service.DLFileRankLocalService dlFileRankLocalService) {
807 this.dlFileRankLocalService = dlFileRankLocalService;
808 }
809
810
815 public DLFileRankPersistence getDLFileRankPersistence() {
816 return dlFileRankPersistence;
817 }
818
819
824 public void setDLFileRankPersistence(
825 DLFileRankPersistence dlFileRankPersistence) {
826 this.dlFileRankPersistence = dlFileRankPersistence;
827 }
828
829
834 public DLFileRankFinder getDLFileRankFinder() {
835 return dlFileRankFinder;
836 }
837
838
843 public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
844 this.dlFileRankFinder = dlFileRankFinder;
845 }
846
847
852 public com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService getDLFileShortcutLocalService() {
853 return dlFileShortcutLocalService;
854 }
855
856
861 public void setDLFileShortcutLocalService(
862 com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService dlFileShortcutLocalService) {
863 this.dlFileShortcutLocalService = dlFileShortcutLocalService;
864 }
865
866
871 public com.liferay.portlet.documentlibrary.service.DLFileShortcutService getDLFileShortcutService() {
872 return dlFileShortcutService;
873 }
874
875
880 public void setDLFileShortcutService(
881 com.liferay.portlet.documentlibrary.service.DLFileShortcutService dlFileShortcutService) {
882 this.dlFileShortcutService = dlFileShortcutService;
883 }
884
885
890 public DLFileShortcutPersistence getDLFileShortcutPersistence() {
891 return dlFileShortcutPersistence;
892 }
893
894
899 public void setDLFileShortcutPersistence(
900 DLFileShortcutPersistence dlFileShortcutPersistence) {
901 this.dlFileShortcutPersistence = dlFileShortcutPersistence;
902 }
903
904
909 public com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService getDLFileVersionLocalService() {
910 return dlFileVersionLocalService;
911 }
912
913
918 public void setDLFileVersionLocalService(
919 com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService dlFileVersionLocalService) {
920 this.dlFileVersionLocalService = dlFileVersionLocalService;
921 }
922
923
928 public com.liferay.portlet.documentlibrary.service.DLFileVersionService getDLFileVersionService() {
929 return dlFileVersionService;
930 }
931
932
937 public void setDLFileVersionService(
938 com.liferay.portlet.documentlibrary.service.DLFileVersionService dlFileVersionService) {
939 this.dlFileVersionService = dlFileVersionService;
940 }
941
942
947 public DLFileVersionPersistence getDLFileVersionPersistence() {
948 return dlFileVersionPersistence;
949 }
950
951
956 public void setDLFileVersionPersistence(
957 DLFileVersionPersistence dlFileVersionPersistence) {
958 this.dlFileVersionPersistence = dlFileVersionPersistence;
959 }
960
961
966 public com.liferay.portlet.documentlibrary.service.DLFolderLocalService getDLFolderLocalService() {
967 return dlFolderLocalService;
968 }
969
970
975 public void setDLFolderLocalService(
976 com.liferay.portlet.documentlibrary.service.DLFolderLocalService dlFolderLocalService) {
977 this.dlFolderLocalService = dlFolderLocalService;
978 }
979
980
985 public com.liferay.portlet.documentlibrary.service.DLFolderService getDLFolderService() {
986 return dlFolderService;
987 }
988
989
994 public void setDLFolderService(
995 com.liferay.portlet.documentlibrary.service.DLFolderService dlFolderService) {
996 this.dlFolderService = dlFolderService;
997 }
998
999
1004 public DLFolderPersistence getDLFolderPersistence() {
1005 return dlFolderPersistence;
1006 }
1007
1008
1013 public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
1014 this.dlFolderPersistence = dlFolderPersistence;
1015 }
1016
1017
1022 public DLFolderFinder getDLFolderFinder() {
1023 return dlFolderFinder;
1024 }
1025
1026
1031 public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
1032 this.dlFolderFinder = dlFolderFinder;
1033 }
1034
1035
1040 public com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService getDLSyncEventLocalService() {
1041 return dlSyncEventLocalService;
1042 }
1043
1044
1049 public void setDLSyncEventLocalService(
1050 com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService dlSyncEventLocalService) {
1051 this.dlSyncEventLocalService = dlSyncEventLocalService;
1052 }
1053
1054
1059 public DLSyncEventPersistence getDLSyncEventPersistence() {
1060 return dlSyncEventPersistence;
1061 }
1062
1063
1068 public void setDLSyncEventPersistence(
1069 DLSyncEventPersistence dlSyncEventPersistence) {
1070 this.dlSyncEventPersistence = dlSyncEventPersistence;
1071 }
1072
1073
1078 public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
1079 return counterLocalService;
1080 }
1081
1082
1087 public void setCounterLocalService(
1088 com.liferay.counter.service.CounterLocalService counterLocalService) {
1089 this.counterLocalService = counterLocalService;
1090 }
1091
1092
1097 public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
1098 return groupLocalService;
1099 }
1100
1101
1106 public void setGroupLocalService(
1107 com.liferay.portal.service.GroupLocalService groupLocalService) {
1108 this.groupLocalService = groupLocalService;
1109 }
1110
1111
1116 public com.liferay.portal.service.GroupService getGroupService() {
1117 return groupService;
1118 }
1119
1120
1125 public void setGroupService(
1126 com.liferay.portal.service.GroupService groupService) {
1127 this.groupService = groupService;
1128 }
1129
1130
1135 public GroupPersistence getGroupPersistence() {
1136 return groupPersistence;
1137 }
1138
1139
1144 public void setGroupPersistence(GroupPersistence groupPersistence) {
1145 this.groupPersistence = groupPersistence;
1146 }
1147
1148
1153 public GroupFinder getGroupFinder() {
1154 return groupFinder;
1155 }
1156
1157
1162 public void setGroupFinder(GroupFinder groupFinder) {
1163 this.groupFinder = groupFinder;
1164 }
1165
1166
1171 public com.liferay.portal.service.LockLocalService getLockLocalService() {
1172 return lockLocalService;
1173 }
1174
1175
1180 public void setLockLocalService(
1181 com.liferay.portal.service.LockLocalService lockLocalService) {
1182 this.lockLocalService = lockLocalService;
1183 }
1184
1185
1190 public LockPersistence getLockPersistence() {
1191 return lockPersistence;
1192 }
1193
1194
1199 public void setLockPersistence(LockPersistence lockPersistence) {
1200 this.lockPersistence = lockPersistence;
1201 }
1202
1203
1208 public LockFinder getLockFinder() {
1209 return lockFinder;
1210 }
1211
1212
1217 public void setLockFinder(LockFinder lockFinder) {
1218 this.lockFinder = lockFinder;
1219 }
1220
1221
1226 public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
1227 return resourceLocalService;
1228 }
1229
1230
1235 public void setResourceLocalService(
1236 com.liferay.portal.service.ResourceLocalService resourceLocalService) {
1237 this.resourceLocalService = resourceLocalService;
1238 }
1239
1240
1245 public com.liferay.portal.service.UserLocalService getUserLocalService() {
1246 return userLocalService;
1247 }
1248
1249
1254 public void setUserLocalService(
1255 com.liferay.portal.service.UserLocalService userLocalService) {
1256 this.userLocalService = userLocalService;
1257 }
1258
1259
1264 public com.liferay.portal.service.UserService getUserService() {
1265 return userService;
1266 }
1267
1268
1273 public void setUserService(
1274 com.liferay.portal.service.UserService userService) {
1275 this.userService = userService;
1276 }
1277
1278
1283 public UserPersistence getUserPersistence() {
1284 return userPersistence;
1285 }
1286
1287
1292 public void setUserPersistence(UserPersistence userPersistence) {
1293 this.userPersistence = userPersistence;
1294 }
1295
1296
1301 public UserFinder getUserFinder() {
1302 return userFinder;
1303 }
1304
1305
1310 public void setUserFinder(UserFinder userFinder) {
1311 this.userFinder = userFinder;
1312 }
1313
1314
1319 public com.liferay.portal.service.WebDAVPropsLocalService getWebDAVPropsLocalService() {
1320 return webDAVPropsLocalService;
1321 }
1322
1323
1328 public void setWebDAVPropsLocalService(
1329 com.liferay.portal.service.WebDAVPropsLocalService webDAVPropsLocalService) {
1330 this.webDAVPropsLocalService = webDAVPropsLocalService;
1331 }
1332
1333
1338 public WebDAVPropsPersistence getWebDAVPropsPersistence() {
1339 return webDAVPropsPersistence;
1340 }
1341
1342
1347 public void setWebDAVPropsPersistence(
1348 WebDAVPropsPersistence webDAVPropsPersistence) {
1349 this.webDAVPropsPersistence = webDAVPropsPersistence;
1350 }
1351
1352
1357 public com.liferay.portal.service.WorkflowDefinitionLinkLocalService getWorkflowDefinitionLinkLocalService() {
1358 return workflowDefinitionLinkLocalService;
1359 }
1360
1361
1366 public void setWorkflowDefinitionLinkLocalService(
1367 com.liferay.portal.service.WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) {
1368 this.workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService;
1369 }
1370
1371
1376 public WorkflowDefinitionLinkPersistence getWorkflowDefinitionLinkPersistence() {
1377 return workflowDefinitionLinkPersistence;
1378 }
1379
1380
1385 public void setWorkflowDefinitionLinkPersistence(
1386 WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence) {
1387 this.workflowDefinitionLinkPersistence = workflowDefinitionLinkPersistence;
1388 }
1389
1390
1395 public com.liferay.portal.service.WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1396 return workflowInstanceLinkLocalService;
1397 }
1398
1399
1404 public void setWorkflowInstanceLinkLocalService(
1405 com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1406 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1407 }
1408
1409
1414 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1415 return workflowInstanceLinkPersistence;
1416 }
1417
1418
1423 public void setWorkflowInstanceLinkPersistence(
1424 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1425 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1426 }
1427
1428
1433 public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
1434 return assetEntryLocalService;
1435 }
1436
1437
1442 public void setAssetEntryLocalService(
1443 com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
1444 this.assetEntryLocalService = assetEntryLocalService;
1445 }
1446
1447
1452 public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
1453 return assetEntryService;
1454 }
1455
1456
1461 public void setAssetEntryService(
1462 com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
1463 this.assetEntryService = assetEntryService;
1464 }
1465
1466
1471 public AssetEntryPersistence getAssetEntryPersistence() {
1472 return assetEntryPersistence;
1473 }
1474
1475
1480 public void setAssetEntryPersistence(
1481 AssetEntryPersistence assetEntryPersistence) {
1482 this.assetEntryPersistence = assetEntryPersistence;
1483 }
1484
1485
1490 public AssetEntryFinder getAssetEntryFinder() {
1491 return assetEntryFinder;
1492 }
1493
1494
1499 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1500 this.assetEntryFinder = assetEntryFinder;
1501 }
1502
1503
1508 public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
1509 return expandoRowLocalService;
1510 }
1511
1512
1517 public void setExpandoRowLocalService(
1518 com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
1519 this.expandoRowLocalService = expandoRowLocalService;
1520 }
1521
1522
1527 public ExpandoRowPersistence getExpandoRowPersistence() {
1528 return expandoRowPersistence;
1529 }
1530
1531
1536 public void setExpandoRowPersistence(
1537 ExpandoRowPersistence expandoRowPersistence) {
1538 this.expandoRowPersistence = expandoRowPersistence;
1539 }
1540
1541
1546 public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
1547 return trashEntryLocalService;
1548 }
1549
1550
1555 public void setTrashEntryLocalService(
1556 com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
1557 this.trashEntryLocalService = trashEntryLocalService;
1558 }
1559
1560
1565 public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
1566 return trashEntryService;
1567 }
1568
1569
1574 public void setTrashEntryService(
1575 com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
1576 this.trashEntryService = trashEntryService;
1577 }
1578
1579
1584 public TrashEntryPersistence getTrashEntryPersistence() {
1585 return trashEntryPersistence;
1586 }
1587
1588
1593 public void setTrashEntryPersistence(
1594 TrashEntryPersistence trashEntryPersistence) {
1595 this.trashEntryPersistence = trashEntryPersistence;
1596 }
1597
1598 public void afterPropertiesSet() {
1599 persistedModelLocalServiceRegistry.register("com.liferay.portlet.documentlibrary.model.DLFolder",
1600 dlFolderLocalService);
1601 }
1602
1603 public void destroy() {
1604 persistedModelLocalServiceRegistry.unregister(
1605 "com.liferay.portlet.documentlibrary.model.DLFolder");
1606 }
1607
1608
1613 @Override
1614 public String getBeanIdentifier() {
1615 return _beanIdentifier;
1616 }
1617
1618
1623 @Override
1624 public void setBeanIdentifier(String beanIdentifier) {
1625 _beanIdentifier = beanIdentifier;
1626 }
1627
1628 protected Class<?> getModelClass() {
1629 return DLFolder.class;
1630 }
1631
1632 protected String getModelClassName() {
1633 return DLFolder.class.getName();
1634 }
1635
1636
1641 protected void runSQL(String sql) throws SystemException {
1642 try {
1643 DataSource dataSource = dlFolderPersistence.getDataSource();
1644
1645 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1646 sql, new int[0]);
1647
1648 sqlUpdate.update();
1649 }
1650 catch (Exception e) {
1651 throw new SystemException(e);
1652 }
1653 }
1654
1655 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppLocalService.class)
1656 protected com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService;
1657 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppService.class)
1658 protected com.liferay.portlet.documentlibrary.service.DLAppService dlAppService;
1659 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService.class)
1660 protected com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService dlAppHelperLocalService;
1661 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLContentLocalService.class)
1662 protected com.liferay.portlet.documentlibrary.service.DLContentLocalService dlContentLocalService;
1663 @BeanReference(type = DLContentPersistence.class)
1664 protected DLContentPersistence dlContentPersistence;
1665 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService.class)
1666 protected com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService;
1667 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryService.class)
1668 protected com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService;
1669 @BeanReference(type = DLFileEntryPersistence.class)
1670 protected DLFileEntryPersistence dlFileEntryPersistence;
1671 @BeanReference(type = DLFileEntryFinder.class)
1672 protected DLFileEntryFinder dlFileEntryFinder;
1673 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService.class)
1674 protected com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
1675 @BeanReference(type = DLFileEntryMetadataPersistence.class)
1676 protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
1677 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService.class)
1678 protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1679 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService.class)
1680 protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService;
1681 @BeanReference(type = DLFileEntryTypePersistence.class)
1682 protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1683 @BeanReference(type = DLFileEntryTypeFinder.class)
1684 protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1685 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileRankLocalService.class)
1686 protected com.liferay.portlet.documentlibrary.service.DLFileRankLocalService dlFileRankLocalService;
1687 @BeanReference(type = DLFileRankPersistence.class)
1688 protected DLFileRankPersistence dlFileRankPersistence;
1689 @BeanReference(type = DLFileRankFinder.class)
1690 protected DLFileRankFinder dlFileRankFinder;
1691 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService.class)
1692 protected com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService dlFileShortcutLocalService;
1693 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileShortcutService.class)
1694 protected com.liferay.portlet.documentlibrary.service.DLFileShortcutService dlFileShortcutService;
1695 @BeanReference(type = DLFileShortcutPersistence.class)
1696 protected DLFileShortcutPersistence dlFileShortcutPersistence;
1697 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService.class)
1698 protected com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService dlFileVersionLocalService;
1699 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileVersionService.class)
1700 protected com.liferay.portlet.documentlibrary.service.DLFileVersionService dlFileVersionService;
1701 @BeanReference(type = DLFileVersionPersistence.class)
1702 protected DLFileVersionPersistence dlFileVersionPersistence;
1703 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFolderLocalService.class)
1704 protected com.liferay.portlet.documentlibrary.service.DLFolderLocalService dlFolderLocalService;
1705 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFolderService.class)
1706 protected com.liferay.portlet.documentlibrary.service.DLFolderService dlFolderService;
1707 @BeanReference(type = DLFolderPersistence.class)
1708 protected DLFolderPersistence dlFolderPersistence;
1709 @BeanReference(type = DLFolderFinder.class)
1710 protected DLFolderFinder dlFolderFinder;
1711 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService.class)
1712 protected com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService dlSyncEventLocalService;
1713 @BeanReference(type = DLSyncEventPersistence.class)
1714 protected DLSyncEventPersistence dlSyncEventPersistence;
1715 @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1716 protected com.liferay.counter.service.CounterLocalService counterLocalService;
1717 @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
1718 protected com.liferay.portal.service.GroupLocalService groupLocalService;
1719 @BeanReference(type = com.liferay.portal.service.GroupService.class)
1720 protected com.liferay.portal.service.GroupService groupService;
1721 @BeanReference(type = GroupPersistence.class)
1722 protected GroupPersistence groupPersistence;
1723 @BeanReference(type = GroupFinder.class)
1724 protected GroupFinder groupFinder;
1725 @BeanReference(type = com.liferay.portal.service.LockLocalService.class)
1726 protected com.liferay.portal.service.LockLocalService lockLocalService;
1727 @BeanReference(type = LockPersistence.class)
1728 protected LockPersistence lockPersistence;
1729 @BeanReference(type = LockFinder.class)
1730 protected LockFinder lockFinder;
1731 @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1732 protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1733 @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1734 protected com.liferay.portal.service.UserLocalService userLocalService;
1735 @BeanReference(type = com.liferay.portal.service.UserService.class)
1736 protected com.liferay.portal.service.UserService userService;
1737 @BeanReference(type = UserPersistence.class)
1738 protected UserPersistence userPersistence;
1739 @BeanReference(type = UserFinder.class)
1740 protected UserFinder userFinder;
1741 @BeanReference(type = com.liferay.portal.service.WebDAVPropsLocalService.class)
1742 protected com.liferay.portal.service.WebDAVPropsLocalService webDAVPropsLocalService;
1743 @BeanReference(type = WebDAVPropsPersistence.class)
1744 protected WebDAVPropsPersistence webDAVPropsPersistence;
1745 @BeanReference(type = com.liferay.portal.service.WorkflowDefinitionLinkLocalService.class)
1746 protected com.liferay.portal.service.WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService;
1747 @BeanReference(type = WorkflowDefinitionLinkPersistence.class)
1748 protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence;
1749 @BeanReference(type = com.liferay.portal.service.WorkflowInstanceLinkLocalService.class)
1750 protected com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1751 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1752 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1753 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1754 protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1755 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1756 protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1757 @BeanReference(type = AssetEntryPersistence.class)
1758 protected AssetEntryPersistence assetEntryPersistence;
1759 @BeanReference(type = AssetEntryFinder.class)
1760 protected AssetEntryFinder assetEntryFinder;
1761 @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
1762 protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
1763 @BeanReference(type = ExpandoRowPersistence.class)
1764 protected ExpandoRowPersistence expandoRowPersistence;
1765 @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
1766 protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
1767 @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryService.class)
1768 protected com.liferay.portlet.trash.service.TrashEntryService trashEntryService;
1769 @BeanReference(type = TrashEntryPersistence.class)
1770 protected TrashEntryPersistence trashEntryPersistence;
1771 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1772 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1773 private String _beanIdentifier;
1774 }