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.PersistedModelLocalServiceRegistry;
033 import com.liferay.portal.service.ResourceLocalService;
034 import com.liferay.portal.service.UserLocalService;
035 import com.liferay.portal.service.UserService;
036 import com.liferay.portal.service.WorkflowDefinitionLinkLocalService;
037 import com.liferay.portal.service.WorkflowInstanceLinkLocalService;
038 import com.liferay.portal.service.persistence.UserFinder;
039 import com.liferay.portal.service.persistence.UserPersistence;
040 import com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistence;
041 import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
042
043 import com.liferay.portlet.documentlibrary.model.DLFileEntryType;
044 import com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService;
045 import com.liferay.portlet.documentlibrary.service.DLAppLocalService;
046 import com.liferay.portlet.documentlibrary.service.DLAppService;
047 import com.liferay.portlet.documentlibrary.service.DLContentLocalService;
048 import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
049 import com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService;
050 import com.liferay.portlet.documentlibrary.service.DLFileEntryService;
051 import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService;
052 import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService;
053 import com.liferay.portlet.documentlibrary.service.DLFileRankLocalService;
054 import com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService;
055 import com.liferay.portlet.documentlibrary.service.DLFileShortcutService;
056 import com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService;
057 import com.liferay.portlet.documentlibrary.service.DLFileVersionService;
058 import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
059 import com.liferay.portlet.documentlibrary.service.DLFolderService;
060 import com.liferay.portlet.documentlibrary.service.DLSyncLocalService;
061 import com.liferay.portlet.documentlibrary.service.DLSyncService;
062 import com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence;
063 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
064 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
065 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
066 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
067 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
068 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
069 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
070 import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
071 import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
072 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
073 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
074 import com.liferay.portlet.documentlibrary.service.persistence.DLSyncFinder;
075 import com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistence;
076 import com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService;
077 import com.liferay.portlet.dynamicdatamapping.service.DDMStructureService;
078 import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder;
079 import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence;
080
081 import java.io.Serializable;
082
083 import java.util.List;
084
085 import javax.sql.DataSource;
086
087
099 public abstract class DLFileEntryTypeLocalServiceBaseImpl
100 extends BaseLocalServiceImpl implements DLFileEntryTypeLocalService,
101 IdentifiableBean {
102
107
108
115 @Indexable(type = IndexableType.REINDEX)
116 public DLFileEntryType addDLFileEntryType(DLFileEntryType dlFileEntryType)
117 throws SystemException {
118 dlFileEntryType.setNew(true);
119
120 return dlFileEntryTypePersistence.update(dlFileEntryType);
121 }
122
123
129 public DLFileEntryType createDLFileEntryType(long fileEntryTypeId) {
130 return dlFileEntryTypePersistence.create(fileEntryTypeId);
131 }
132
133
141 @Indexable(type = IndexableType.DELETE)
142 public DLFileEntryType deleteDLFileEntryType(long fileEntryTypeId)
143 throws PortalException, SystemException {
144 return dlFileEntryTypePersistence.remove(fileEntryTypeId);
145 }
146
147
154 @Indexable(type = IndexableType.DELETE)
155 public DLFileEntryType deleteDLFileEntryType(
156 DLFileEntryType dlFileEntryType) throws SystemException {
157 return dlFileEntryTypePersistence.remove(dlFileEntryType);
158 }
159
160 public DynamicQuery dynamicQuery() {
161 Class<?> clazz = getClass();
162
163 return DynamicQueryFactoryUtil.forClass(DLFileEntryType.class,
164 clazz.getClassLoader());
165 }
166
167
174 @SuppressWarnings("rawtypes")
175 public List dynamicQuery(DynamicQuery dynamicQuery)
176 throws SystemException {
177 return dlFileEntryTypePersistence.findWithDynamicQuery(dynamicQuery);
178 }
179
180
193 @SuppressWarnings("rawtypes")
194 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
195 throws SystemException {
196 return dlFileEntryTypePersistence.findWithDynamicQuery(dynamicQuery,
197 start, end);
198 }
199
200
214 @SuppressWarnings("rawtypes")
215 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
216 OrderByComparator orderByComparator) throws SystemException {
217 return dlFileEntryTypePersistence.findWithDynamicQuery(dynamicQuery,
218 start, end, orderByComparator);
219 }
220
221
228 public long dynamicQueryCount(DynamicQuery dynamicQuery)
229 throws SystemException {
230 return dlFileEntryTypePersistence.countWithDynamicQuery(dynamicQuery);
231 }
232
233 public DLFileEntryType fetchDLFileEntryType(long fileEntryTypeId)
234 throws SystemException {
235 return dlFileEntryTypePersistence.fetchByPrimaryKey(fileEntryTypeId);
236 }
237
238
246 public DLFileEntryType getDLFileEntryType(long fileEntryTypeId)
247 throws PortalException, SystemException {
248 return dlFileEntryTypePersistence.findByPrimaryKey(fileEntryTypeId);
249 }
250
251 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
252 throws PortalException, SystemException {
253 return dlFileEntryTypePersistence.findByPrimaryKey(primaryKeyObj);
254 }
255
256
265 public DLFileEntryType getDLFileEntryTypeByUuidAndGroupId(String uuid,
266 long groupId) throws PortalException, SystemException {
267 return dlFileEntryTypePersistence.findByUUID_G(uuid, groupId);
268 }
269
270
282 public List<DLFileEntryType> getDLFileEntryTypes(int start, int end)
283 throws SystemException {
284 return dlFileEntryTypePersistence.findAll(start, end);
285 }
286
287
293 public int getDLFileEntryTypesCount() throws SystemException {
294 return dlFileEntryTypePersistence.countAll();
295 }
296
297
304 @Indexable(type = IndexableType.REINDEX)
305 public DLFileEntryType updateDLFileEntryType(
306 DLFileEntryType dlFileEntryType) throws SystemException {
307 return dlFileEntryTypePersistence.update(dlFileEntryType);
308 }
309
310
313 public void addDLFolderDLFileEntryType(long folderId, long fileEntryTypeId)
314 throws SystemException {
315 dlFolderPersistence.addDLFileEntryType(folderId, fileEntryTypeId);
316 }
317
318
321 public void addDLFolderDLFileEntryType(long folderId,
322 DLFileEntryType dlFileEntryType) throws SystemException {
323 dlFolderPersistence.addDLFileEntryType(folderId, dlFileEntryType);
324 }
325
326
329 public void addDLFolderDLFileEntryTypes(long folderId,
330 long[] fileEntryTypeIds) throws SystemException {
331 dlFolderPersistence.addDLFileEntryTypes(folderId, fileEntryTypeIds);
332 }
333
334
337 public void addDLFolderDLFileEntryTypes(long folderId,
338 List<DLFileEntryType> DLFileEntryTypes) throws SystemException {
339 dlFolderPersistence.addDLFileEntryTypes(folderId, DLFileEntryTypes);
340 }
341
342
345 public void clearDLFolderDLFileEntryTypes(long folderId)
346 throws SystemException {
347 dlFolderPersistence.clearDLFileEntryTypes(folderId);
348 }
349
350
353 public void deleteDLFolderDLFileEntryType(long folderId,
354 long fileEntryTypeId) throws SystemException {
355 dlFolderPersistence.removeDLFileEntryType(folderId, fileEntryTypeId);
356 }
357
358
361 public void deleteDLFolderDLFileEntryType(long folderId,
362 DLFileEntryType dlFileEntryType) throws SystemException {
363 dlFolderPersistence.removeDLFileEntryType(folderId, dlFileEntryType);
364 }
365
366
369 public void deleteDLFolderDLFileEntryTypes(long folderId,
370 long[] fileEntryTypeIds) throws SystemException {
371 dlFolderPersistence.removeDLFileEntryTypes(folderId, fileEntryTypeIds);
372 }
373
374
377 public void deleteDLFolderDLFileEntryTypes(long folderId,
378 List<DLFileEntryType> DLFileEntryTypes) throws SystemException {
379 dlFolderPersistence.removeDLFileEntryTypes(folderId, DLFileEntryTypes);
380 }
381
382
385 public List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId)
386 throws SystemException {
387 return dlFolderPersistence.getDLFileEntryTypes(folderId);
388 }
389
390
393 public List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId,
394 int start, int end) throws SystemException {
395 return dlFolderPersistence.getDLFileEntryTypes(folderId, start, end);
396 }
397
398
401 public List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId,
402 int start, int end, OrderByComparator orderByComparator)
403 throws SystemException {
404 return dlFolderPersistence.getDLFileEntryTypes(folderId, start, end,
405 orderByComparator);
406 }
407
408
411 public int getDLFolderDLFileEntryTypesCount(long folderId)
412 throws SystemException {
413 return dlFolderPersistence.getDLFileEntryTypesSize(folderId);
414 }
415
416
419 public boolean hasDLFolderDLFileEntryType(long folderId,
420 long fileEntryTypeId) throws SystemException {
421 return dlFolderPersistence.containsDLFileEntryType(folderId,
422 fileEntryTypeId);
423 }
424
425
428 public boolean hasDLFolderDLFileEntryTypes(long folderId)
429 throws SystemException {
430 return dlFolderPersistence.containsDLFileEntryTypes(folderId);
431 }
432
433
436 public void setDLFolderDLFileEntryTypes(long folderId,
437 long[] fileEntryTypeIds) throws SystemException {
438 dlFolderPersistence.setDLFileEntryTypes(folderId, fileEntryTypeIds);
439 }
440
441
444 public void addDDMStructureDLFileEntryType(long structureId,
445 long fileEntryTypeId) throws SystemException {
446 ddmStructurePersistence.addDLFileEntryType(structureId, fileEntryTypeId);
447 }
448
449
452 public void addDDMStructureDLFileEntryType(long structureId,
453 DLFileEntryType dlFileEntryType) throws SystemException {
454 ddmStructurePersistence.addDLFileEntryType(structureId, dlFileEntryType);
455 }
456
457
460 public void addDDMStructureDLFileEntryTypes(long structureId,
461 long[] fileEntryTypeIds) throws SystemException {
462 ddmStructurePersistence.addDLFileEntryTypes(structureId,
463 fileEntryTypeIds);
464 }
465
466
469 public void addDDMStructureDLFileEntryTypes(long structureId,
470 List<DLFileEntryType> DLFileEntryTypes) throws SystemException {
471 ddmStructurePersistence.addDLFileEntryTypes(structureId,
472 DLFileEntryTypes);
473 }
474
475
478 public void clearDDMStructureDLFileEntryTypes(long structureId)
479 throws SystemException {
480 ddmStructurePersistence.clearDLFileEntryTypes(structureId);
481 }
482
483
486 public void deleteDDMStructureDLFileEntryType(long structureId,
487 long fileEntryTypeId) throws SystemException {
488 ddmStructurePersistence.removeDLFileEntryType(structureId,
489 fileEntryTypeId);
490 }
491
492
495 public void deleteDDMStructureDLFileEntryType(long structureId,
496 DLFileEntryType dlFileEntryType) throws SystemException {
497 ddmStructurePersistence.removeDLFileEntryType(structureId,
498 dlFileEntryType);
499 }
500
501
504 public void deleteDDMStructureDLFileEntryTypes(long structureId,
505 long[] fileEntryTypeIds) throws SystemException {
506 ddmStructurePersistence.removeDLFileEntryTypes(structureId,
507 fileEntryTypeIds);
508 }
509
510
513 public void deleteDDMStructureDLFileEntryTypes(long structureId,
514 List<DLFileEntryType> DLFileEntryTypes) throws SystemException {
515 ddmStructurePersistence.removeDLFileEntryTypes(structureId,
516 DLFileEntryTypes);
517 }
518
519
522 public List<DLFileEntryType> getDDMStructureDLFileEntryTypes(
523 long structureId) throws SystemException {
524 return ddmStructurePersistence.getDLFileEntryTypes(structureId);
525 }
526
527
530 public List<DLFileEntryType> getDDMStructureDLFileEntryTypes(
531 long structureId, int start, int end) throws SystemException {
532 return ddmStructurePersistence.getDLFileEntryTypes(structureId, start,
533 end);
534 }
535
536
539 public List<DLFileEntryType> getDDMStructureDLFileEntryTypes(
540 long structureId, int start, int end,
541 OrderByComparator orderByComparator) throws SystemException {
542 return ddmStructurePersistence.getDLFileEntryTypes(structureId, start,
543 end, orderByComparator);
544 }
545
546
549 public int getDDMStructureDLFileEntryTypesCount(long structureId)
550 throws SystemException {
551 return ddmStructurePersistence.getDLFileEntryTypesSize(structureId);
552 }
553
554
557 public boolean hasDDMStructureDLFileEntryType(long structureId,
558 long fileEntryTypeId) throws SystemException {
559 return ddmStructurePersistence.containsDLFileEntryType(structureId,
560 fileEntryTypeId);
561 }
562
563
566 public boolean hasDDMStructureDLFileEntryTypes(long structureId)
567 throws SystemException {
568 return ddmStructurePersistence.containsDLFileEntryTypes(structureId);
569 }
570
571
574 public void setDDMStructureDLFileEntryTypes(long structureId,
575 long[] fileEntryTypeIds) throws SystemException {
576 ddmStructurePersistence.setDLFileEntryTypes(structureId,
577 fileEntryTypeIds);
578 }
579
580
585 public DLAppLocalService getDLAppLocalService() {
586 return dlAppLocalService;
587 }
588
589
594 public void setDLAppLocalService(DLAppLocalService dlAppLocalService) {
595 this.dlAppLocalService = dlAppLocalService;
596 }
597
598
603 public DLAppService getDLAppService() {
604 return dlAppService;
605 }
606
607
612 public void setDLAppService(DLAppService dlAppService) {
613 this.dlAppService = dlAppService;
614 }
615
616
621 public DLAppHelperLocalService getDLAppHelperLocalService() {
622 return dlAppHelperLocalService;
623 }
624
625
630 public void setDLAppHelperLocalService(
631 DLAppHelperLocalService dlAppHelperLocalService) {
632 this.dlAppHelperLocalService = dlAppHelperLocalService;
633 }
634
635
640 public DLContentLocalService getDLContentLocalService() {
641 return dlContentLocalService;
642 }
643
644
649 public void setDLContentLocalService(
650 DLContentLocalService dlContentLocalService) {
651 this.dlContentLocalService = dlContentLocalService;
652 }
653
654
659 public DLContentPersistence getDLContentPersistence() {
660 return dlContentPersistence;
661 }
662
663
668 public void setDLContentPersistence(
669 DLContentPersistence dlContentPersistence) {
670 this.dlContentPersistence = dlContentPersistence;
671 }
672
673
678 public DLFileEntryLocalService getDLFileEntryLocalService() {
679 return dlFileEntryLocalService;
680 }
681
682
687 public void setDLFileEntryLocalService(
688 DLFileEntryLocalService dlFileEntryLocalService) {
689 this.dlFileEntryLocalService = dlFileEntryLocalService;
690 }
691
692
697 public DLFileEntryService getDLFileEntryService() {
698 return dlFileEntryService;
699 }
700
701
706 public void setDLFileEntryService(DLFileEntryService dlFileEntryService) {
707 this.dlFileEntryService = dlFileEntryService;
708 }
709
710
715 public DLFileEntryPersistence getDLFileEntryPersistence() {
716 return dlFileEntryPersistence;
717 }
718
719
724 public void setDLFileEntryPersistence(
725 DLFileEntryPersistence dlFileEntryPersistence) {
726 this.dlFileEntryPersistence = dlFileEntryPersistence;
727 }
728
729
734 public DLFileEntryFinder getDLFileEntryFinder() {
735 return dlFileEntryFinder;
736 }
737
738
743 public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
744 this.dlFileEntryFinder = dlFileEntryFinder;
745 }
746
747
752 public DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
753 return dlFileEntryMetadataLocalService;
754 }
755
756
761 public void setDLFileEntryMetadataLocalService(
762 DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
763 this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
764 }
765
766
771 public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
772 return dlFileEntryMetadataPersistence;
773 }
774
775
780 public void setDLFileEntryMetadataPersistence(
781 DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
782 this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
783 }
784
785
790 public DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
791 return dlFileEntryTypeLocalService;
792 }
793
794
799 public void setDLFileEntryTypeLocalService(
800 DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
801 this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
802 }
803
804
809 public DLFileEntryTypeService getDLFileEntryTypeService() {
810 return dlFileEntryTypeService;
811 }
812
813
818 public void setDLFileEntryTypeService(
819 DLFileEntryTypeService dlFileEntryTypeService) {
820 this.dlFileEntryTypeService = dlFileEntryTypeService;
821 }
822
823
828 public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
829 return dlFileEntryTypePersistence;
830 }
831
832
837 public void setDLFileEntryTypePersistence(
838 DLFileEntryTypePersistence dlFileEntryTypePersistence) {
839 this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
840 }
841
842
847 public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
848 return dlFileEntryTypeFinder;
849 }
850
851
856 public void setDLFileEntryTypeFinder(
857 DLFileEntryTypeFinder dlFileEntryTypeFinder) {
858 this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
859 }
860
861
866 public DLFileRankLocalService getDLFileRankLocalService() {
867 return dlFileRankLocalService;
868 }
869
870
875 public void setDLFileRankLocalService(
876 DLFileRankLocalService dlFileRankLocalService) {
877 this.dlFileRankLocalService = dlFileRankLocalService;
878 }
879
880
885 public DLFileRankPersistence getDLFileRankPersistence() {
886 return dlFileRankPersistence;
887 }
888
889
894 public void setDLFileRankPersistence(
895 DLFileRankPersistence dlFileRankPersistence) {
896 this.dlFileRankPersistence = dlFileRankPersistence;
897 }
898
899
904 public DLFileRankFinder getDLFileRankFinder() {
905 return dlFileRankFinder;
906 }
907
908
913 public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
914 this.dlFileRankFinder = dlFileRankFinder;
915 }
916
917
922 public DLFileShortcutLocalService getDLFileShortcutLocalService() {
923 return dlFileShortcutLocalService;
924 }
925
926
931 public void setDLFileShortcutLocalService(
932 DLFileShortcutLocalService dlFileShortcutLocalService) {
933 this.dlFileShortcutLocalService = dlFileShortcutLocalService;
934 }
935
936
941 public DLFileShortcutService getDLFileShortcutService() {
942 return dlFileShortcutService;
943 }
944
945
950 public void setDLFileShortcutService(
951 DLFileShortcutService dlFileShortcutService) {
952 this.dlFileShortcutService = dlFileShortcutService;
953 }
954
955
960 public DLFileShortcutPersistence getDLFileShortcutPersistence() {
961 return dlFileShortcutPersistence;
962 }
963
964
969 public void setDLFileShortcutPersistence(
970 DLFileShortcutPersistence dlFileShortcutPersistence) {
971 this.dlFileShortcutPersistence = dlFileShortcutPersistence;
972 }
973
974
979 public DLFileVersionLocalService getDLFileVersionLocalService() {
980 return dlFileVersionLocalService;
981 }
982
983
988 public void setDLFileVersionLocalService(
989 DLFileVersionLocalService dlFileVersionLocalService) {
990 this.dlFileVersionLocalService = dlFileVersionLocalService;
991 }
992
993
998 public DLFileVersionService getDLFileVersionService() {
999 return dlFileVersionService;
1000 }
1001
1002
1007 public void setDLFileVersionService(
1008 DLFileVersionService dlFileVersionService) {
1009 this.dlFileVersionService = dlFileVersionService;
1010 }
1011
1012
1017 public DLFileVersionPersistence getDLFileVersionPersistence() {
1018 return dlFileVersionPersistence;
1019 }
1020
1021
1026 public void setDLFileVersionPersistence(
1027 DLFileVersionPersistence dlFileVersionPersistence) {
1028 this.dlFileVersionPersistence = dlFileVersionPersistence;
1029 }
1030
1031
1036 public DLFolderLocalService getDLFolderLocalService() {
1037 return dlFolderLocalService;
1038 }
1039
1040
1045 public void setDLFolderLocalService(
1046 DLFolderLocalService dlFolderLocalService) {
1047 this.dlFolderLocalService = dlFolderLocalService;
1048 }
1049
1050
1055 public DLFolderService getDLFolderService() {
1056 return dlFolderService;
1057 }
1058
1059
1064 public void setDLFolderService(DLFolderService dlFolderService) {
1065 this.dlFolderService = dlFolderService;
1066 }
1067
1068
1073 public DLFolderPersistence getDLFolderPersistence() {
1074 return dlFolderPersistence;
1075 }
1076
1077
1082 public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
1083 this.dlFolderPersistence = dlFolderPersistence;
1084 }
1085
1086
1091 public DLFolderFinder getDLFolderFinder() {
1092 return dlFolderFinder;
1093 }
1094
1095
1100 public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
1101 this.dlFolderFinder = dlFolderFinder;
1102 }
1103
1104
1109 public DLSyncLocalService getDLSyncLocalService() {
1110 return dlSyncLocalService;
1111 }
1112
1113
1118 public void setDLSyncLocalService(DLSyncLocalService dlSyncLocalService) {
1119 this.dlSyncLocalService = dlSyncLocalService;
1120 }
1121
1122
1127 public DLSyncService getDLSyncService() {
1128 return dlSyncService;
1129 }
1130
1131
1136 public void setDLSyncService(DLSyncService dlSyncService) {
1137 this.dlSyncService = dlSyncService;
1138 }
1139
1140
1145 public DLSyncPersistence getDLSyncPersistence() {
1146 return dlSyncPersistence;
1147 }
1148
1149
1154 public void setDLSyncPersistence(DLSyncPersistence dlSyncPersistence) {
1155 this.dlSyncPersistence = dlSyncPersistence;
1156 }
1157
1158
1163 public DLSyncFinder getDLSyncFinder() {
1164 return dlSyncFinder;
1165 }
1166
1167
1172 public void setDLSyncFinder(DLSyncFinder dlSyncFinder) {
1173 this.dlSyncFinder = dlSyncFinder;
1174 }
1175
1176
1181 public CounterLocalService getCounterLocalService() {
1182 return counterLocalService;
1183 }
1184
1185
1190 public void setCounterLocalService(CounterLocalService counterLocalService) {
1191 this.counterLocalService = counterLocalService;
1192 }
1193
1194
1199 public ResourceLocalService getResourceLocalService() {
1200 return resourceLocalService;
1201 }
1202
1203
1208 public void setResourceLocalService(
1209 ResourceLocalService resourceLocalService) {
1210 this.resourceLocalService = resourceLocalService;
1211 }
1212
1213
1218 public UserLocalService getUserLocalService() {
1219 return userLocalService;
1220 }
1221
1222
1227 public void setUserLocalService(UserLocalService userLocalService) {
1228 this.userLocalService = userLocalService;
1229 }
1230
1231
1236 public UserService getUserService() {
1237 return userService;
1238 }
1239
1240
1245 public void setUserService(UserService userService) {
1246 this.userService = userService;
1247 }
1248
1249
1254 public UserPersistence getUserPersistence() {
1255 return userPersistence;
1256 }
1257
1258
1263 public void setUserPersistence(UserPersistence userPersistence) {
1264 this.userPersistence = userPersistence;
1265 }
1266
1267
1272 public UserFinder getUserFinder() {
1273 return userFinder;
1274 }
1275
1276
1281 public void setUserFinder(UserFinder userFinder) {
1282 this.userFinder = userFinder;
1283 }
1284
1285
1290 public WorkflowDefinitionLinkLocalService getWorkflowDefinitionLinkLocalService() {
1291 return workflowDefinitionLinkLocalService;
1292 }
1293
1294
1299 public void setWorkflowDefinitionLinkLocalService(
1300 WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) {
1301 this.workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService;
1302 }
1303
1304
1309 public WorkflowDefinitionLinkPersistence getWorkflowDefinitionLinkPersistence() {
1310 return workflowDefinitionLinkPersistence;
1311 }
1312
1313
1318 public void setWorkflowDefinitionLinkPersistence(
1319 WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence) {
1320 this.workflowDefinitionLinkPersistence = workflowDefinitionLinkPersistence;
1321 }
1322
1323
1328 public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1329 return workflowInstanceLinkLocalService;
1330 }
1331
1332
1337 public void setWorkflowInstanceLinkLocalService(
1338 WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1339 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1340 }
1341
1342
1347 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1348 return workflowInstanceLinkPersistence;
1349 }
1350
1351
1356 public void setWorkflowInstanceLinkPersistence(
1357 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1358 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1359 }
1360
1361
1366 public DDMStructureLocalService getDDMStructureLocalService() {
1367 return ddmStructureLocalService;
1368 }
1369
1370
1375 public void setDDMStructureLocalService(
1376 DDMStructureLocalService ddmStructureLocalService) {
1377 this.ddmStructureLocalService = ddmStructureLocalService;
1378 }
1379
1380
1385 public DDMStructureService getDDMStructureService() {
1386 return ddmStructureService;
1387 }
1388
1389
1394 public void setDDMStructureService(DDMStructureService ddmStructureService) {
1395 this.ddmStructureService = ddmStructureService;
1396 }
1397
1398
1403 public DDMStructurePersistence getDDMStructurePersistence() {
1404 return ddmStructurePersistence;
1405 }
1406
1407
1412 public void setDDMStructurePersistence(
1413 DDMStructurePersistence ddmStructurePersistence) {
1414 this.ddmStructurePersistence = ddmStructurePersistence;
1415 }
1416
1417
1422 public DDMStructureFinder getDDMStructureFinder() {
1423 return ddmStructureFinder;
1424 }
1425
1426
1431 public void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder) {
1432 this.ddmStructureFinder = ddmStructureFinder;
1433 }
1434
1435 public void afterPropertiesSet() {
1436 persistedModelLocalServiceRegistry.register("com.liferay.portlet.documentlibrary.model.DLFileEntryType",
1437 dlFileEntryTypeLocalService);
1438 }
1439
1440 public void destroy() {
1441 persistedModelLocalServiceRegistry.unregister(
1442 "com.liferay.portlet.documentlibrary.model.DLFileEntryType");
1443 }
1444
1445
1450 public String getBeanIdentifier() {
1451 return _beanIdentifier;
1452 }
1453
1454
1459 public void setBeanIdentifier(String beanIdentifier) {
1460 _beanIdentifier = beanIdentifier;
1461 }
1462
1463 protected Class<?> getModelClass() {
1464 return DLFileEntryType.class;
1465 }
1466
1467 protected String getModelClassName() {
1468 return DLFileEntryType.class.getName();
1469 }
1470
1471
1476 protected void runSQL(String sql) throws SystemException {
1477 try {
1478 DataSource dataSource = dlFileEntryTypePersistence.getDataSource();
1479
1480 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1481 sql, new int[0]);
1482
1483 sqlUpdate.update();
1484 }
1485 catch (Exception e) {
1486 throw new SystemException(e);
1487 }
1488 }
1489
1490 @BeanReference(type = DLAppLocalService.class)
1491 protected DLAppLocalService dlAppLocalService;
1492 @BeanReference(type = DLAppService.class)
1493 protected DLAppService dlAppService;
1494 @BeanReference(type = DLAppHelperLocalService.class)
1495 protected DLAppHelperLocalService dlAppHelperLocalService;
1496 @BeanReference(type = DLContentLocalService.class)
1497 protected DLContentLocalService dlContentLocalService;
1498 @BeanReference(type = DLContentPersistence.class)
1499 protected DLContentPersistence dlContentPersistence;
1500 @BeanReference(type = DLFileEntryLocalService.class)
1501 protected DLFileEntryLocalService dlFileEntryLocalService;
1502 @BeanReference(type = DLFileEntryService.class)
1503 protected DLFileEntryService dlFileEntryService;
1504 @BeanReference(type = DLFileEntryPersistence.class)
1505 protected DLFileEntryPersistence dlFileEntryPersistence;
1506 @BeanReference(type = DLFileEntryFinder.class)
1507 protected DLFileEntryFinder dlFileEntryFinder;
1508 @BeanReference(type = DLFileEntryMetadataLocalService.class)
1509 protected DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
1510 @BeanReference(type = DLFileEntryMetadataPersistence.class)
1511 protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
1512 @BeanReference(type = DLFileEntryTypeLocalService.class)
1513 protected DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1514 @BeanReference(type = DLFileEntryTypeService.class)
1515 protected DLFileEntryTypeService dlFileEntryTypeService;
1516 @BeanReference(type = DLFileEntryTypePersistence.class)
1517 protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1518 @BeanReference(type = DLFileEntryTypeFinder.class)
1519 protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1520 @BeanReference(type = DLFileRankLocalService.class)
1521 protected DLFileRankLocalService dlFileRankLocalService;
1522 @BeanReference(type = DLFileRankPersistence.class)
1523 protected DLFileRankPersistence dlFileRankPersistence;
1524 @BeanReference(type = DLFileRankFinder.class)
1525 protected DLFileRankFinder dlFileRankFinder;
1526 @BeanReference(type = DLFileShortcutLocalService.class)
1527 protected DLFileShortcutLocalService dlFileShortcutLocalService;
1528 @BeanReference(type = DLFileShortcutService.class)
1529 protected DLFileShortcutService dlFileShortcutService;
1530 @BeanReference(type = DLFileShortcutPersistence.class)
1531 protected DLFileShortcutPersistence dlFileShortcutPersistence;
1532 @BeanReference(type = DLFileVersionLocalService.class)
1533 protected DLFileVersionLocalService dlFileVersionLocalService;
1534 @BeanReference(type = DLFileVersionService.class)
1535 protected DLFileVersionService dlFileVersionService;
1536 @BeanReference(type = DLFileVersionPersistence.class)
1537 protected DLFileVersionPersistence dlFileVersionPersistence;
1538 @BeanReference(type = DLFolderLocalService.class)
1539 protected DLFolderLocalService dlFolderLocalService;
1540 @BeanReference(type = DLFolderService.class)
1541 protected DLFolderService dlFolderService;
1542 @BeanReference(type = DLFolderPersistence.class)
1543 protected DLFolderPersistence dlFolderPersistence;
1544 @BeanReference(type = DLFolderFinder.class)
1545 protected DLFolderFinder dlFolderFinder;
1546 @BeanReference(type = DLSyncLocalService.class)
1547 protected DLSyncLocalService dlSyncLocalService;
1548 @BeanReference(type = DLSyncService.class)
1549 protected DLSyncService dlSyncService;
1550 @BeanReference(type = DLSyncPersistence.class)
1551 protected DLSyncPersistence dlSyncPersistence;
1552 @BeanReference(type = DLSyncFinder.class)
1553 protected DLSyncFinder dlSyncFinder;
1554 @BeanReference(type = CounterLocalService.class)
1555 protected CounterLocalService counterLocalService;
1556 @BeanReference(type = ResourceLocalService.class)
1557 protected ResourceLocalService resourceLocalService;
1558 @BeanReference(type = UserLocalService.class)
1559 protected UserLocalService userLocalService;
1560 @BeanReference(type = UserService.class)
1561 protected UserService userService;
1562 @BeanReference(type = UserPersistence.class)
1563 protected UserPersistence userPersistence;
1564 @BeanReference(type = UserFinder.class)
1565 protected UserFinder userFinder;
1566 @BeanReference(type = WorkflowDefinitionLinkLocalService.class)
1567 protected WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService;
1568 @BeanReference(type = WorkflowDefinitionLinkPersistence.class)
1569 protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence;
1570 @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1571 protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1572 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1573 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1574 @BeanReference(type = DDMStructureLocalService.class)
1575 protected DDMStructureLocalService ddmStructureLocalService;
1576 @BeanReference(type = DDMStructureService.class)
1577 protected DDMStructureService ddmStructureService;
1578 @BeanReference(type = DDMStructurePersistence.class)
1579 protected DDMStructurePersistence ddmStructurePersistence;
1580 @BeanReference(type = DDMStructureFinder.class)
1581 protected DDMStructureFinder ddmStructureFinder;
1582 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1583 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1584 private String _beanIdentifier;
1585 }