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.ResourceService;
035 import com.liferay.portal.service.UserLocalService;
036 import com.liferay.portal.service.UserService;
037 import com.liferay.portal.service.WorkflowDefinitionLinkLocalService;
038 import com.liferay.portal.service.WorkflowInstanceLinkLocalService;
039 import com.liferay.portal.service.persistence.ResourceFinder;
040 import com.liferay.portal.service.persistence.ResourcePersistence;
041 import com.liferay.portal.service.persistence.UserFinder;
042 import com.liferay.portal.service.persistence.UserPersistence;
043 import com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistence;
044 import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
045
046 import com.liferay.portlet.documentlibrary.model.DLFileEntryType;
047 import com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService;
048 import com.liferay.portlet.documentlibrary.service.DLAppLocalService;
049 import com.liferay.portlet.documentlibrary.service.DLAppService;
050 import com.liferay.portlet.documentlibrary.service.DLContentLocalService;
051 import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
052 import com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService;
053 import com.liferay.portlet.documentlibrary.service.DLFileEntryService;
054 import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService;
055 import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService;
056 import com.liferay.portlet.documentlibrary.service.DLFileRankLocalService;
057 import com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService;
058 import com.liferay.portlet.documentlibrary.service.DLFileShortcutService;
059 import com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService;
060 import com.liferay.portlet.documentlibrary.service.DLFileVersionService;
061 import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
062 import com.liferay.portlet.documentlibrary.service.DLFolderService;
063 import com.liferay.portlet.documentlibrary.service.DLSyncLocalService;
064 import com.liferay.portlet.documentlibrary.service.DLSyncService;
065 import com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence;
066 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
067 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
068 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
069 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
070 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
071 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
072 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
073 import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
074 import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
075 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
076 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
077 import com.liferay.portlet.documentlibrary.service.persistence.DLSyncFinder;
078 import com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistence;
079 import com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService;
080 import com.liferay.portlet.dynamicdatamapping.service.DDMStructureService;
081 import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder;
082 import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence;
083
084 import java.io.Serializable;
085
086 import java.util.List;
087
088 import javax.sql.DataSource;
089
090
102 public abstract class DLFileEntryTypeLocalServiceBaseImpl
103 extends BaseLocalServiceImpl implements DLFileEntryTypeLocalService,
104 IdentifiableBean {
105
110
111
118 @Indexable(type = IndexableType.REINDEX)
119 public DLFileEntryType addDLFileEntryType(DLFileEntryType dlFileEntryType)
120 throws SystemException {
121 dlFileEntryType.setNew(true);
122
123 return dlFileEntryTypePersistence.update(dlFileEntryType, false);
124 }
125
126
132 public DLFileEntryType createDLFileEntryType(long fileEntryTypeId) {
133 return dlFileEntryTypePersistence.create(fileEntryTypeId);
134 }
135
136
144 @Indexable(type = IndexableType.DELETE)
145 public DLFileEntryType deleteDLFileEntryType(long fileEntryTypeId)
146 throws PortalException, SystemException {
147 return dlFileEntryTypePersistence.remove(fileEntryTypeId);
148 }
149
150
157 @Indexable(type = IndexableType.DELETE)
158 public DLFileEntryType deleteDLFileEntryType(
159 DLFileEntryType dlFileEntryType) throws SystemException {
160 return dlFileEntryTypePersistence.remove(dlFileEntryType);
161 }
162
163 public DynamicQuery dynamicQuery() {
164 Class<?> clazz = getClass();
165
166 return DynamicQueryFactoryUtil.forClass(DLFileEntryType.class,
167 clazz.getClassLoader());
168 }
169
170
177 @SuppressWarnings("rawtypes")
178 public List dynamicQuery(DynamicQuery dynamicQuery)
179 throws SystemException {
180 return dlFileEntryTypePersistence.findWithDynamicQuery(dynamicQuery);
181 }
182
183
196 @SuppressWarnings("rawtypes")
197 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
198 throws SystemException {
199 return dlFileEntryTypePersistence.findWithDynamicQuery(dynamicQuery,
200 start, end);
201 }
202
203
217 @SuppressWarnings("rawtypes")
218 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
219 OrderByComparator orderByComparator) throws SystemException {
220 return dlFileEntryTypePersistence.findWithDynamicQuery(dynamicQuery,
221 start, end, orderByComparator);
222 }
223
224
231 public long dynamicQueryCount(DynamicQuery dynamicQuery)
232 throws SystemException {
233 return dlFileEntryTypePersistence.countWithDynamicQuery(dynamicQuery);
234 }
235
236 public DLFileEntryType fetchDLFileEntryType(long fileEntryTypeId)
237 throws SystemException {
238 return dlFileEntryTypePersistence.fetchByPrimaryKey(fileEntryTypeId);
239 }
240
241
249 public DLFileEntryType getDLFileEntryType(long fileEntryTypeId)
250 throws PortalException, SystemException {
251 return dlFileEntryTypePersistence.findByPrimaryKey(fileEntryTypeId);
252 }
253
254 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
255 throws PortalException, SystemException {
256 return dlFileEntryTypePersistence.findByPrimaryKey(primaryKeyObj);
257 }
258
259
268 public DLFileEntryType getDLFileEntryTypeByUuidAndGroupId(String uuid,
269 long groupId) throws PortalException, SystemException {
270 return dlFileEntryTypePersistence.findByUUID_G(uuid, groupId);
271 }
272
273
285 public List<DLFileEntryType> getDLFileEntryTypes(int start, int end)
286 throws SystemException {
287 return dlFileEntryTypePersistence.findAll(start, end);
288 }
289
290
296 public int getDLFileEntryTypesCount() throws SystemException {
297 return dlFileEntryTypePersistence.countAll();
298 }
299
300
307 @Indexable(type = IndexableType.REINDEX)
308 public DLFileEntryType updateDLFileEntryType(
309 DLFileEntryType dlFileEntryType) throws SystemException {
310 return updateDLFileEntryType(dlFileEntryType, true);
311 }
312
313
321 @Indexable(type = IndexableType.REINDEX)
322 public DLFileEntryType updateDLFileEntryType(
323 DLFileEntryType dlFileEntryType, boolean merge)
324 throws SystemException {
325 dlFileEntryType.setNew(false);
326
327 return dlFileEntryTypePersistence.update(dlFileEntryType, merge);
328 }
329
330
333 public void addDLFolderDLFileEntryType(long folderId, long fileEntryTypeId)
334 throws SystemException {
335 dlFolderPersistence.addDLFileEntryType(folderId, fileEntryTypeId);
336 }
337
338
341 public void addDLFolderDLFileEntryType(long folderId,
342 DLFileEntryType dlFileEntryType) throws SystemException {
343 dlFolderPersistence.addDLFileEntryType(folderId, dlFileEntryType);
344 }
345
346
349 public void addDLFolderDLFileEntryTypes(long folderId,
350 long[] fileEntryTypeIds) throws SystemException {
351 dlFolderPersistence.addDLFileEntryTypes(folderId, fileEntryTypeIds);
352 }
353
354
357 public void addDLFolderDLFileEntryTypes(long folderId,
358 List<DLFileEntryType> DLFileEntryTypes) throws SystemException {
359 dlFolderPersistence.addDLFileEntryTypes(folderId, DLFileEntryTypes);
360 }
361
362
365 public void clearDLFolderDLFileEntryTypes(long folderId)
366 throws SystemException {
367 dlFolderPersistence.clearDLFileEntryTypes(folderId);
368 }
369
370
373 public void deleteDLFolderDLFileEntryType(long folderId,
374 long fileEntryTypeId) throws SystemException {
375 dlFolderPersistence.removeDLFileEntryType(folderId, fileEntryTypeId);
376 }
377
378
381 public void deleteDLFolderDLFileEntryType(long folderId,
382 DLFileEntryType dlFileEntryType) throws SystemException {
383 dlFolderPersistence.removeDLFileEntryType(folderId, dlFileEntryType);
384 }
385
386
389 public void deleteDLFolderDLFileEntryTypes(long folderId,
390 long[] fileEntryTypeIds) throws SystemException {
391 dlFolderPersistence.removeDLFileEntryTypes(folderId, fileEntryTypeIds);
392 }
393
394
397 public void deleteDLFolderDLFileEntryTypes(long folderId,
398 List<DLFileEntryType> DLFileEntryTypes) throws SystemException {
399 dlFolderPersistence.removeDLFileEntryTypes(folderId, DLFileEntryTypes);
400 }
401
402
405 public List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId)
406 throws SystemException {
407 return dlFolderPersistence.getDLFileEntryTypes(folderId);
408 }
409
410
413 public List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId,
414 int start, int end) throws SystemException {
415 return dlFolderPersistence.getDLFileEntryTypes(folderId, start, end);
416 }
417
418
421 public List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId,
422 int start, int end, OrderByComparator orderByComparator)
423 throws SystemException {
424 return dlFolderPersistence.getDLFileEntryTypes(folderId, start, end,
425 orderByComparator);
426 }
427
428
431 public int getDLFolderDLFileEntryTypesCount(long folderId)
432 throws SystemException {
433 return dlFolderPersistence.getDLFileEntryTypesSize(folderId);
434 }
435
436
439 public boolean hasDLFolderDLFileEntryType(long folderId,
440 long fileEntryTypeId) throws SystemException {
441 return dlFolderPersistence.containsDLFileEntryType(folderId,
442 fileEntryTypeId);
443 }
444
445
448 public boolean hasDLFolderDLFileEntryTypes(long folderId)
449 throws SystemException {
450 return dlFolderPersistence.containsDLFileEntryTypes(folderId);
451 }
452
453
456 public void setDLFolderDLFileEntryTypes(long folderId,
457 long[] fileEntryTypeIds) throws SystemException {
458 dlFolderPersistence.setDLFileEntryTypes(folderId, fileEntryTypeIds);
459 }
460
461
464 public void addDDMStructureDLFileEntryType(long structureId,
465 long fileEntryTypeId) throws SystemException {
466 ddmStructurePersistence.addDLFileEntryType(structureId, fileEntryTypeId);
467 }
468
469
472 public void addDDMStructureDLFileEntryType(long structureId,
473 DLFileEntryType dlFileEntryType) throws SystemException {
474 ddmStructurePersistence.addDLFileEntryType(structureId, dlFileEntryType);
475 }
476
477
480 public void addDDMStructureDLFileEntryTypes(long structureId,
481 long[] fileEntryTypeIds) throws SystemException {
482 ddmStructurePersistence.addDLFileEntryTypes(structureId,
483 fileEntryTypeIds);
484 }
485
486
489 public void addDDMStructureDLFileEntryTypes(long structureId,
490 List<DLFileEntryType> DLFileEntryTypes) throws SystemException {
491 ddmStructurePersistence.addDLFileEntryTypes(structureId,
492 DLFileEntryTypes);
493 }
494
495
498 public void clearDDMStructureDLFileEntryTypes(long structureId)
499 throws SystemException {
500 ddmStructurePersistence.clearDLFileEntryTypes(structureId);
501 }
502
503
506 public void deleteDDMStructureDLFileEntryType(long structureId,
507 long fileEntryTypeId) throws SystemException {
508 ddmStructurePersistence.removeDLFileEntryType(structureId,
509 fileEntryTypeId);
510 }
511
512
515 public void deleteDDMStructureDLFileEntryType(long structureId,
516 DLFileEntryType dlFileEntryType) throws SystemException {
517 ddmStructurePersistence.removeDLFileEntryType(structureId,
518 dlFileEntryType);
519 }
520
521
524 public void deleteDDMStructureDLFileEntryTypes(long structureId,
525 long[] fileEntryTypeIds) throws SystemException {
526 ddmStructurePersistence.removeDLFileEntryTypes(structureId,
527 fileEntryTypeIds);
528 }
529
530
533 public void deleteDDMStructureDLFileEntryTypes(long structureId,
534 List<DLFileEntryType> DLFileEntryTypes) throws SystemException {
535 ddmStructurePersistence.removeDLFileEntryTypes(structureId,
536 DLFileEntryTypes);
537 }
538
539
542 public List<DLFileEntryType> getDDMStructureDLFileEntryTypes(
543 long structureId) throws SystemException {
544 return ddmStructurePersistence.getDLFileEntryTypes(structureId);
545 }
546
547
550 public List<DLFileEntryType> getDDMStructureDLFileEntryTypes(
551 long structureId, int start, int end) throws SystemException {
552 return ddmStructurePersistence.getDLFileEntryTypes(structureId, start,
553 end);
554 }
555
556
559 public List<DLFileEntryType> getDDMStructureDLFileEntryTypes(
560 long structureId, int start, int end,
561 OrderByComparator orderByComparator) throws SystemException {
562 return ddmStructurePersistence.getDLFileEntryTypes(structureId, start,
563 end, orderByComparator);
564 }
565
566
569 public int getDDMStructureDLFileEntryTypesCount(long structureId)
570 throws SystemException {
571 return ddmStructurePersistence.getDLFileEntryTypesSize(structureId);
572 }
573
574
577 public boolean hasDDMStructureDLFileEntryType(long structureId,
578 long fileEntryTypeId) throws SystemException {
579 return ddmStructurePersistence.containsDLFileEntryType(structureId,
580 fileEntryTypeId);
581 }
582
583
586 public boolean hasDDMStructureDLFileEntryTypes(long structureId)
587 throws SystemException {
588 return ddmStructurePersistence.containsDLFileEntryTypes(structureId);
589 }
590
591
594 public void setDDMStructureDLFileEntryTypes(long structureId,
595 long[] fileEntryTypeIds) throws SystemException {
596 ddmStructurePersistence.setDLFileEntryTypes(structureId,
597 fileEntryTypeIds);
598 }
599
600
605 public DLAppLocalService getDLAppLocalService() {
606 return dlAppLocalService;
607 }
608
609
614 public void setDLAppLocalService(DLAppLocalService dlAppLocalService) {
615 this.dlAppLocalService = dlAppLocalService;
616 }
617
618
623 public DLAppService getDLAppService() {
624 return dlAppService;
625 }
626
627
632 public void setDLAppService(DLAppService dlAppService) {
633 this.dlAppService = dlAppService;
634 }
635
636
641 public DLAppHelperLocalService getDLAppHelperLocalService() {
642 return dlAppHelperLocalService;
643 }
644
645
650 public void setDLAppHelperLocalService(
651 DLAppHelperLocalService dlAppHelperLocalService) {
652 this.dlAppHelperLocalService = dlAppHelperLocalService;
653 }
654
655
660 public DLContentLocalService getDLContentLocalService() {
661 return dlContentLocalService;
662 }
663
664
669 public void setDLContentLocalService(
670 DLContentLocalService dlContentLocalService) {
671 this.dlContentLocalService = dlContentLocalService;
672 }
673
674
679 public DLContentPersistence getDLContentPersistence() {
680 return dlContentPersistence;
681 }
682
683
688 public void setDLContentPersistence(
689 DLContentPersistence dlContentPersistence) {
690 this.dlContentPersistence = dlContentPersistence;
691 }
692
693
698 public DLFileEntryLocalService getDLFileEntryLocalService() {
699 return dlFileEntryLocalService;
700 }
701
702
707 public void setDLFileEntryLocalService(
708 DLFileEntryLocalService dlFileEntryLocalService) {
709 this.dlFileEntryLocalService = dlFileEntryLocalService;
710 }
711
712
717 public DLFileEntryService getDLFileEntryService() {
718 return dlFileEntryService;
719 }
720
721
726 public void setDLFileEntryService(DLFileEntryService dlFileEntryService) {
727 this.dlFileEntryService = dlFileEntryService;
728 }
729
730
735 public DLFileEntryPersistence getDLFileEntryPersistence() {
736 return dlFileEntryPersistence;
737 }
738
739
744 public void setDLFileEntryPersistence(
745 DLFileEntryPersistence dlFileEntryPersistence) {
746 this.dlFileEntryPersistence = dlFileEntryPersistence;
747 }
748
749
754 public DLFileEntryFinder getDLFileEntryFinder() {
755 return dlFileEntryFinder;
756 }
757
758
763 public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
764 this.dlFileEntryFinder = dlFileEntryFinder;
765 }
766
767
772 public DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
773 return dlFileEntryMetadataLocalService;
774 }
775
776
781 public void setDLFileEntryMetadataLocalService(
782 DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
783 this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
784 }
785
786
791 public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
792 return dlFileEntryMetadataPersistence;
793 }
794
795
800 public void setDLFileEntryMetadataPersistence(
801 DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
802 this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
803 }
804
805
810 public DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
811 return dlFileEntryTypeLocalService;
812 }
813
814
819 public void setDLFileEntryTypeLocalService(
820 DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
821 this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
822 }
823
824
829 public DLFileEntryTypeService getDLFileEntryTypeService() {
830 return dlFileEntryTypeService;
831 }
832
833
838 public void setDLFileEntryTypeService(
839 DLFileEntryTypeService dlFileEntryTypeService) {
840 this.dlFileEntryTypeService = dlFileEntryTypeService;
841 }
842
843
848 public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
849 return dlFileEntryTypePersistence;
850 }
851
852
857 public void setDLFileEntryTypePersistence(
858 DLFileEntryTypePersistence dlFileEntryTypePersistence) {
859 this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
860 }
861
862
867 public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
868 return dlFileEntryTypeFinder;
869 }
870
871
876 public void setDLFileEntryTypeFinder(
877 DLFileEntryTypeFinder dlFileEntryTypeFinder) {
878 this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
879 }
880
881
886 public DLFileRankLocalService getDLFileRankLocalService() {
887 return dlFileRankLocalService;
888 }
889
890
895 public void setDLFileRankLocalService(
896 DLFileRankLocalService dlFileRankLocalService) {
897 this.dlFileRankLocalService = dlFileRankLocalService;
898 }
899
900
905 public DLFileRankPersistence getDLFileRankPersistence() {
906 return dlFileRankPersistence;
907 }
908
909
914 public void setDLFileRankPersistence(
915 DLFileRankPersistence dlFileRankPersistence) {
916 this.dlFileRankPersistence = dlFileRankPersistence;
917 }
918
919
924 public DLFileRankFinder getDLFileRankFinder() {
925 return dlFileRankFinder;
926 }
927
928
933 public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
934 this.dlFileRankFinder = dlFileRankFinder;
935 }
936
937
942 public DLFileShortcutLocalService getDLFileShortcutLocalService() {
943 return dlFileShortcutLocalService;
944 }
945
946
951 public void setDLFileShortcutLocalService(
952 DLFileShortcutLocalService dlFileShortcutLocalService) {
953 this.dlFileShortcutLocalService = dlFileShortcutLocalService;
954 }
955
956
961 public DLFileShortcutService getDLFileShortcutService() {
962 return dlFileShortcutService;
963 }
964
965
970 public void setDLFileShortcutService(
971 DLFileShortcutService dlFileShortcutService) {
972 this.dlFileShortcutService = dlFileShortcutService;
973 }
974
975
980 public DLFileShortcutPersistence getDLFileShortcutPersistence() {
981 return dlFileShortcutPersistence;
982 }
983
984
989 public void setDLFileShortcutPersistence(
990 DLFileShortcutPersistence dlFileShortcutPersistence) {
991 this.dlFileShortcutPersistence = dlFileShortcutPersistence;
992 }
993
994
999 public DLFileVersionLocalService getDLFileVersionLocalService() {
1000 return dlFileVersionLocalService;
1001 }
1002
1003
1008 public void setDLFileVersionLocalService(
1009 DLFileVersionLocalService dlFileVersionLocalService) {
1010 this.dlFileVersionLocalService = dlFileVersionLocalService;
1011 }
1012
1013
1018 public DLFileVersionService getDLFileVersionService() {
1019 return dlFileVersionService;
1020 }
1021
1022
1027 public void setDLFileVersionService(
1028 DLFileVersionService dlFileVersionService) {
1029 this.dlFileVersionService = dlFileVersionService;
1030 }
1031
1032
1037 public DLFileVersionPersistence getDLFileVersionPersistence() {
1038 return dlFileVersionPersistence;
1039 }
1040
1041
1046 public void setDLFileVersionPersistence(
1047 DLFileVersionPersistence dlFileVersionPersistence) {
1048 this.dlFileVersionPersistence = dlFileVersionPersistence;
1049 }
1050
1051
1056 public DLFolderLocalService getDLFolderLocalService() {
1057 return dlFolderLocalService;
1058 }
1059
1060
1065 public void setDLFolderLocalService(
1066 DLFolderLocalService dlFolderLocalService) {
1067 this.dlFolderLocalService = dlFolderLocalService;
1068 }
1069
1070
1075 public DLFolderService getDLFolderService() {
1076 return dlFolderService;
1077 }
1078
1079
1084 public void setDLFolderService(DLFolderService dlFolderService) {
1085 this.dlFolderService = dlFolderService;
1086 }
1087
1088
1093 public DLFolderPersistence getDLFolderPersistence() {
1094 return dlFolderPersistence;
1095 }
1096
1097
1102 public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
1103 this.dlFolderPersistence = dlFolderPersistence;
1104 }
1105
1106
1111 public DLFolderFinder getDLFolderFinder() {
1112 return dlFolderFinder;
1113 }
1114
1115
1120 public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
1121 this.dlFolderFinder = dlFolderFinder;
1122 }
1123
1124
1129 public DLSyncLocalService getDLSyncLocalService() {
1130 return dlSyncLocalService;
1131 }
1132
1133
1138 public void setDLSyncLocalService(DLSyncLocalService dlSyncLocalService) {
1139 this.dlSyncLocalService = dlSyncLocalService;
1140 }
1141
1142
1147 public DLSyncService getDLSyncService() {
1148 return dlSyncService;
1149 }
1150
1151
1156 public void setDLSyncService(DLSyncService dlSyncService) {
1157 this.dlSyncService = dlSyncService;
1158 }
1159
1160
1165 public DLSyncPersistence getDLSyncPersistence() {
1166 return dlSyncPersistence;
1167 }
1168
1169
1174 public void setDLSyncPersistence(DLSyncPersistence dlSyncPersistence) {
1175 this.dlSyncPersistence = dlSyncPersistence;
1176 }
1177
1178
1183 public DLSyncFinder getDLSyncFinder() {
1184 return dlSyncFinder;
1185 }
1186
1187
1192 public void setDLSyncFinder(DLSyncFinder dlSyncFinder) {
1193 this.dlSyncFinder = dlSyncFinder;
1194 }
1195
1196
1201 public CounterLocalService getCounterLocalService() {
1202 return counterLocalService;
1203 }
1204
1205
1210 public void setCounterLocalService(CounterLocalService counterLocalService) {
1211 this.counterLocalService = counterLocalService;
1212 }
1213
1214
1219 public ResourceLocalService getResourceLocalService() {
1220 return resourceLocalService;
1221 }
1222
1223
1228 public void setResourceLocalService(
1229 ResourceLocalService resourceLocalService) {
1230 this.resourceLocalService = resourceLocalService;
1231 }
1232
1233
1238 public ResourceService getResourceService() {
1239 return resourceService;
1240 }
1241
1242
1247 public void setResourceService(ResourceService resourceService) {
1248 this.resourceService = resourceService;
1249 }
1250
1251
1256 public ResourcePersistence getResourcePersistence() {
1257 return resourcePersistence;
1258 }
1259
1260
1265 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
1266 this.resourcePersistence = resourcePersistence;
1267 }
1268
1269
1274 public ResourceFinder getResourceFinder() {
1275 return resourceFinder;
1276 }
1277
1278
1283 public void setResourceFinder(ResourceFinder resourceFinder) {
1284 this.resourceFinder = resourceFinder;
1285 }
1286
1287
1292 public UserLocalService getUserLocalService() {
1293 return userLocalService;
1294 }
1295
1296
1301 public void setUserLocalService(UserLocalService userLocalService) {
1302 this.userLocalService = userLocalService;
1303 }
1304
1305
1310 public UserService getUserService() {
1311 return userService;
1312 }
1313
1314
1319 public void setUserService(UserService userService) {
1320 this.userService = userService;
1321 }
1322
1323
1328 public UserPersistence getUserPersistence() {
1329 return userPersistence;
1330 }
1331
1332
1337 public void setUserPersistence(UserPersistence userPersistence) {
1338 this.userPersistence = userPersistence;
1339 }
1340
1341
1346 public UserFinder getUserFinder() {
1347 return userFinder;
1348 }
1349
1350
1355 public void setUserFinder(UserFinder userFinder) {
1356 this.userFinder = userFinder;
1357 }
1358
1359
1364 public WorkflowDefinitionLinkLocalService getWorkflowDefinitionLinkLocalService() {
1365 return workflowDefinitionLinkLocalService;
1366 }
1367
1368
1373 public void setWorkflowDefinitionLinkLocalService(
1374 WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) {
1375 this.workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService;
1376 }
1377
1378
1383 public WorkflowDefinitionLinkPersistence getWorkflowDefinitionLinkPersistence() {
1384 return workflowDefinitionLinkPersistence;
1385 }
1386
1387
1392 public void setWorkflowDefinitionLinkPersistence(
1393 WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence) {
1394 this.workflowDefinitionLinkPersistence = workflowDefinitionLinkPersistence;
1395 }
1396
1397
1402 public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1403 return workflowInstanceLinkLocalService;
1404 }
1405
1406
1411 public void setWorkflowInstanceLinkLocalService(
1412 WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1413 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1414 }
1415
1416
1421 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1422 return workflowInstanceLinkPersistence;
1423 }
1424
1425
1430 public void setWorkflowInstanceLinkPersistence(
1431 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1432 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1433 }
1434
1435
1440 public DDMStructureLocalService getDDMStructureLocalService() {
1441 return ddmStructureLocalService;
1442 }
1443
1444
1449 public void setDDMStructureLocalService(
1450 DDMStructureLocalService ddmStructureLocalService) {
1451 this.ddmStructureLocalService = ddmStructureLocalService;
1452 }
1453
1454
1459 public DDMStructureService getDDMStructureService() {
1460 return ddmStructureService;
1461 }
1462
1463
1468 public void setDDMStructureService(DDMStructureService ddmStructureService) {
1469 this.ddmStructureService = ddmStructureService;
1470 }
1471
1472
1477 public DDMStructurePersistence getDDMStructurePersistence() {
1478 return ddmStructurePersistence;
1479 }
1480
1481
1486 public void setDDMStructurePersistence(
1487 DDMStructurePersistence ddmStructurePersistence) {
1488 this.ddmStructurePersistence = ddmStructurePersistence;
1489 }
1490
1491
1496 public DDMStructureFinder getDDMStructureFinder() {
1497 return ddmStructureFinder;
1498 }
1499
1500
1505 public void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder) {
1506 this.ddmStructureFinder = ddmStructureFinder;
1507 }
1508
1509 public void afterPropertiesSet() {
1510 persistedModelLocalServiceRegistry.register("com.liferay.portlet.documentlibrary.model.DLFileEntryType",
1511 dlFileEntryTypeLocalService);
1512 }
1513
1514 public void destroy() {
1515 persistedModelLocalServiceRegistry.unregister(
1516 "com.liferay.portlet.documentlibrary.model.DLFileEntryType");
1517 }
1518
1519
1524 public String getBeanIdentifier() {
1525 return _beanIdentifier;
1526 }
1527
1528
1533 public void setBeanIdentifier(String beanIdentifier) {
1534 _beanIdentifier = beanIdentifier;
1535 }
1536
1537 protected Class<?> getModelClass() {
1538 return DLFileEntryType.class;
1539 }
1540
1541 protected String getModelClassName() {
1542 return DLFileEntryType.class.getName();
1543 }
1544
1545
1550 protected void runSQL(String sql) throws SystemException {
1551 try {
1552 DataSource dataSource = dlFileEntryTypePersistence.getDataSource();
1553
1554 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1555 sql, new int[0]);
1556
1557 sqlUpdate.update();
1558 }
1559 catch (Exception e) {
1560 throw new SystemException(e);
1561 }
1562 }
1563
1564 @BeanReference(type = DLAppLocalService.class)
1565 protected DLAppLocalService dlAppLocalService;
1566 @BeanReference(type = DLAppService.class)
1567 protected DLAppService dlAppService;
1568 @BeanReference(type = DLAppHelperLocalService.class)
1569 protected DLAppHelperLocalService dlAppHelperLocalService;
1570 @BeanReference(type = DLContentLocalService.class)
1571 protected DLContentLocalService dlContentLocalService;
1572 @BeanReference(type = DLContentPersistence.class)
1573 protected DLContentPersistence dlContentPersistence;
1574 @BeanReference(type = DLFileEntryLocalService.class)
1575 protected DLFileEntryLocalService dlFileEntryLocalService;
1576 @BeanReference(type = DLFileEntryService.class)
1577 protected DLFileEntryService dlFileEntryService;
1578 @BeanReference(type = DLFileEntryPersistence.class)
1579 protected DLFileEntryPersistence dlFileEntryPersistence;
1580 @BeanReference(type = DLFileEntryFinder.class)
1581 protected DLFileEntryFinder dlFileEntryFinder;
1582 @BeanReference(type = DLFileEntryMetadataLocalService.class)
1583 protected DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
1584 @BeanReference(type = DLFileEntryMetadataPersistence.class)
1585 protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
1586 @BeanReference(type = DLFileEntryTypeLocalService.class)
1587 protected DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1588 @BeanReference(type = DLFileEntryTypeService.class)
1589 protected DLFileEntryTypeService dlFileEntryTypeService;
1590 @BeanReference(type = DLFileEntryTypePersistence.class)
1591 protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1592 @BeanReference(type = DLFileEntryTypeFinder.class)
1593 protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1594 @BeanReference(type = DLFileRankLocalService.class)
1595 protected DLFileRankLocalService dlFileRankLocalService;
1596 @BeanReference(type = DLFileRankPersistence.class)
1597 protected DLFileRankPersistence dlFileRankPersistence;
1598 @BeanReference(type = DLFileRankFinder.class)
1599 protected DLFileRankFinder dlFileRankFinder;
1600 @BeanReference(type = DLFileShortcutLocalService.class)
1601 protected DLFileShortcutLocalService dlFileShortcutLocalService;
1602 @BeanReference(type = DLFileShortcutService.class)
1603 protected DLFileShortcutService dlFileShortcutService;
1604 @BeanReference(type = DLFileShortcutPersistence.class)
1605 protected DLFileShortcutPersistence dlFileShortcutPersistence;
1606 @BeanReference(type = DLFileVersionLocalService.class)
1607 protected DLFileVersionLocalService dlFileVersionLocalService;
1608 @BeanReference(type = DLFileVersionService.class)
1609 protected DLFileVersionService dlFileVersionService;
1610 @BeanReference(type = DLFileVersionPersistence.class)
1611 protected DLFileVersionPersistence dlFileVersionPersistence;
1612 @BeanReference(type = DLFolderLocalService.class)
1613 protected DLFolderLocalService dlFolderLocalService;
1614 @BeanReference(type = DLFolderService.class)
1615 protected DLFolderService dlFolderService;
1616 @BeanReference(type = DLFolderPersistence.class)
1617 protected DLFolderPersistence dlFolderPersistence;
1618 @BeanReference(type = DLFolderFinder.class)
1619 protected DLFolderFinder dlFolderFinder;
1620 @BeanReference(type = DLSyncLocalService.class)
1621 protected DLSyncLocalService dlSyncLocalService;
1622 @BeanReference(type = DLSyncService.class)
1623 protected DLSyncService dlSyncService;
1624 @BeanReference(type = DLSyncPersistence.class)
1625 protected DLSyncPersistence dlSyncPersistence;
1626 @BeanReference(type = DLSyncFinder.class)
1627 protected DLSyncFinder dlSyncFinder;
1628 @BeanReference(type = CounterLocalService.class)
1629 protected CounterLocalService counterLocalService;
1630 @BeanReference(type = ResourceLocalService.class)
1631 protected ResourceLocalService resourceLocalService;
1632 @BeanReference(type = ResourceService.class)
1633 protected ResourceService resourceService;
1634 @BeanReference(type = ResourcePersistence.class)
1635 protected ResourcePersistence resourcePersistence;
1636 @BeanReference(type = ResourceFinder.class)
1637 protected ResourceFinder resourceFinder;
1638 @BeanReference(type = UserLocalService.class)
1639 protected UserLocalService userLocalService;
1640 @BeanReference(type = UserService.class)
1641 protected UserService userService;
1642 @BeanReference(type = UserPersistence.class)
1643 protected UserPersistence userPersistence;
1644 @BeanReference(type = UserFinder.class)
1645 protected UserFinder userFinder;
1646 @BeanReference(type = WorkflowDefinitionLinkLocalService.class)
1647 protected WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService;
1648 @BeanReference(type = WorkflowDefinitionLinkPersistence.class)
1649 protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence;
1650 @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1651 protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1652 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1653 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1654 @BeanReference(type = DDMStructureLocalService.class)
1655 protected DDMStructureLocalService ddmStructureLocalService;
1656 @BeanReference(type = DDMStructureService.class)
1657 protected DDMStructureService ddmStructureService;
1658 @BeanReference(type = DDMStructurePersistence.class)
1659 protected DDMStructurePersistence ddmStructurePersistence;
1660 @BeanReference(type = DDMStructureFinder.class)
1661 protected DDMStructureFinder ddmStructureFinder;
1662 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1663 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1664 private String _beanIdentifier;
1665 }