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.UserFinder;
033 import com.liferay.portal.service.persistence.UserPersistence;
034 import com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistence;
035 import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
036
037 import com.liferay.portlet.documentlibrary.model.DLFileEntryType;
038 import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService;
039 import com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence;
040 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
041 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
042 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
043 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
044 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
045 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
046 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
047 import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
048 import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
049 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
050 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
051 import com.liferay.portlet.documentlibrary.service.persistence.DLSyncEventPersistence;
052 import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder;
053 import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence;
054
055 import java.io.Serializable;
056
057 import java.util.List;
058
059 import javax.sql.DataSource;
060
061
073 public abstract class DLFileEntryTypeLocalServiceBaseImpl
074 extends BaseLocalServiceImpl implements DLFileEntryTypeLocalService,
075 IdentifiableBean {
076
081
082
089 @Indexable(type = IndexableType.REINDEX)
090 @Override
091 public DLFileEntryType addDLFileEntryType(DLFileEntryType dlFileEntryType)
092 throws SystemException {
093 dlFileEntryType.setNew(true);
094
095 return dlFileEntryTypePersistence.update(dlFileEntryType);
096 }
097
098
104 @Override
105 public DLFileEntryType createDLFileEntryType(long fileEntryTypeId) {
106 return dlFileEntryTypePersistence.create(fileEntryTypeId);
107 }
108
109
117 @Indexable(type = IndexableType.DELETE)
118 @Override
119 public DLFileEntryType deleteDLFileEntryType(long fileEntryTypeId)
120 throws PortalException, SystemException {
121 return dlFileEntryTypePersistence.remove(fileEntryTypeId);
122 }
123
124
131 @Indexable(type = IndexableType.DELETE)
132 @Override
133 public DLFileEntryType deleteDLFileEntryType(
134 DLFileEntryType dlFileEntryType) throws SystemException {
135 return dlFileEntryTypePersistence.remove(dlFileEntryType);
136 }
137
138 @Override
139 public DynamicQuery dynamicQuery() {
140 Class<?> clazz = getClass();
141
142 return DynamicQueryFactoryUtil.forClass(DLFileEntryType.class,
143 clazz.getClassLoader());
144 }
145
146
153 @Override
154 @SuppressWarnings("rawtypes")
155 public List dynamicQuery(DynamicQuery dynamicQuery)
156 throws SystemException {
157 return dlFileEntryTypePersistence.findWithDynamicQuery(dynamicQuery);
158 }
159
160
173 @Override
174 @SuppressWarnings("rawtypes")
175 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
176 throws SystemException {
177 return dlFileEntryTypePersistence.findWithDynamicQuery(dynamicQuery,
178 start, end);
179 }
180
181
195 @Override
196 @SuppressWarnings("rawtypes")
197 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
198 OrderByComparator orderByComparator) throws SystemException {
199 return dlFileEntryTypePersistence.findWithDynamicQuery(dynamicQuery,
200 start, end, orderByComparator);
201 }
202
203
210 @Override
211 public long dynamicQueryCount(DynamicQuery dynamicQuery)
212 throws SystemException {
213 return dlFileEntryTypePersistence.countWithDynamicQuery(dynamicQuery);
214 }
215
216
224 @Override
225 public long dynamicQueryCount(DynamicQuery dynamicQuery,
226 Projection projection) throws SystemException {
227 return dlFileEntryTypePersistence.countWithDynamicQuery(dynamicQuery,
228 projection);
229 }
230
231 @Override
232 public DLFileEntryType fetchDLFileEntryType(long fileEntryTypeId)
233 throws SystemException {
234 return dlFileEntryTypePersistence.fetchByPrimaryKey(fileEntryTypeId);
235 }
236
237
245 @Override
246 public DLFileEntryType fetchDLFileEntryTypeByUuidAndCompanyId(String uuid,
247 long companyId) throws SystemException {
248 return dlFileEntryTypePersistence.fetchByUuid_C_First(uuid, companyId,
249 null);
250 }
251
252
260 @Override
261 public DLFileEntryType fetchDLFileEntryTypeByUuidAndGroupId(String uuid,
262 long groupId) throws SystemException {
263 return dlFileEntryTypePersistence.fetchByUUID_G(uuid, groupId);
264 }
265
266
274 @Override
275 public DLFileEntryType getDLFileEntryType(long fileEntryTypeId)
276 throws PortalException, SystemException {
277 return dlFileEntryTypePersistence.findByPrimaryKey(fileEntryTypeId);
278 }
279
280 @Override
281 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
282 throws PortalException, SystemException {
283 return dlFileEntryTypePersistence.findByPrimaryKey(primaryKeyObj);
284 }
285
286
295 @Override
296 public DLFileEntryType getDLFileEntryTypeByUuidAndCompanyId(String uuid,
297 long companyId) throws PortalException, SystemException {
298 return dlFileEntryTypePersistence.findByUuid_C_First(uuid, companyId,
299 null);
300 }
301
302
311 @Override
312 public DLFileEntryType getDLFileEntryTypeByUuidAndGroupId(String uuid,
313 long groupId) throws PortalException, SystemException {
314 return dlFileEntryTypePersistence.findByUUID_G(uuid, groupId);
315 }
316
317
329 @Override
330 public List<DLFileEntryType> getDLFileEntryTypes(int start, int end)
331 throws SystemException {
332 return dlFileEntryTypePersistence.findAll(start, end);
333 }
334
335
341 @Override
342 public int getDLFileEntryTypesCount() throws SystemException {
343 return dlFileEntryTypePersistence.countAll();
344 }
345
346
353 @Indexable(type = IndexableType.REINDEX)
354 @Override
355 public DLFileEntryType updateDLFileEntryType(
356 DLFileEntryType dlFileEntryType) throws SystemException {
357 return dlFileEntryTypePersistence.update(dlFileEntryType);
358 }
359
360
363 @Override
364 public void addDLFolderDLFileEntryType(long folderId, long fileEntryTypeId)
365 throws SystemException {
366 dlFolderPersistence.addDLFileEntryType(folderId, fileEntryTypeId);
367 }
368
369
372 @Override
373 public void addDLFolderDLFileEntryType(long folderId,
374 DLFileEntryType dlFileEntryType) throws SystemException {
375 dlFolderPersistence.addDLFileEntryType(folderId, dlFileEntryType);
376 }
377
378
381 @Override
382 public void addDLFolderDLFileEntryTypes(long folderId,
383 long[] fileEntryTypeIds) throws SystemException {
384 dlFolderPersistence.addDLFileEntryTypes(folderId, fileEntryTypeIds);
385 }
386
387
390 @Override
391 public void addDLFolderDLFileEntryTypes(long folderId,
392 List<DLFileEntryType> DLFileEntryTypes) throws SystemException {
393 dlFolderPersistence.addDLFileEntryTypes(folderId, DLFileEntryTypes);
394 }
395
396
399 @Override
400 public void clearDLFolderDLFileEntryTypes(long folderId)
401 throws SystemException {
402 dlFolderPersistence.clearDLFileEntryTypes(folderId);
403 }
404
405
408 @Override
409 public void deleteDLFolderDLFileEntryType(long folderId,
410 long fileEntryTypeId) throws SystemException {
411 dlFolderPersistence.removeDLFileEntryType(folderId, fileEntryTypeId);
412 }
413
414
417 @Override
418 public void deleteDLFolderDLFileEntryType(long folderId,
419 DLFileEntryType dlFileEntryType) throws SystemException {
420 dlFolderPersistence.removeDLFileEntryType(folderId, dlFileEntryType);
421 }
422
423
426 @Override
427 public void deleteDLFolderDLFileEntryTypes(long folderId,
428 long[] fileEntryTypeIds) throws SystemException {
429 dlFolderPersistence.removeDLFileEntryTypes(folderId, fileEntryTypeIds);
430 }
431
432
435 @Override
436 public void deleteDLFolderDLFileEntryTypes(long folderId,
437 List<DLFileEntryType> DLFileEntryTypes) throws SystemException {
438 dlFolderPersistence.removeDLFileEntryTypes(folderId, DLFileEntryTypes);
439 }
440
441
444 @Override
445 public List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId)
446 throws SystemException {
447 return dlFolderPersistence.getDLFileEntryTypes(folderId);
448 }
449
450
453 @Override
454 public List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId,
455 int start, int end) throws SystemException {
456 return dlFolderPersistence.getDLFileEntryTypes(folderId, start, end);
457 }
458
459
462 @Override
463 public List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId,
464 int start, int end, OrderByComparator orderByComparator)
465 throws SystemException {
466 return dlFolderPersistence.getDLFileEntryTypes(folderId, start, end,
467 orderByComparator);
468 }
469
470
473 @Override
474 public int getDLFolderDLFileEntryTypesCount(long folderId)
475 throws SystemException {
476 return dlFolderPersistence.getDLFileEntryTypesSize(folderId);
477 }
478
479
482 @Override
483 public boolean hasDLFolderDLFileEntryType(long folderId,
484 long fileEntryTypeId) throws SystemException {
485 return dlFolderPersistence.containsDLFileEntryType(folderId,
486 fileEntryTypeId);
487 }
488
489
492 @Override
493 public boolean hasDLFolderDLFileEntryTypes(long folderId)
494 throws SystemException {
495 return dlFolderPersistence.containsDLFileEntryTypes(folderId);
496 }
497
498
501 @Override
502 public void setDLFolderDLFileEntryTypes(long folderId,
503 long[] fileEntryTypeIds) throws SystemException {
504 dlFolderPersistence.setDLFileEntryTypes(folderId, fileEntryTypeIds);
505 }
506
507
510 @Override
511 public void addDDMStructureDLFileEntryType(long structureId,
512 long fileEntryTypeId) throws SystemException {
513 ddmStructurePersistence.addDLFileEntryType(structureId, fileEntryTypeId);
514 }
515
516
519 @Override
520 public void addDDMStructureDLFileEntryType(long structureId,
521 DLFileEntryType dlFileEntryType) throws SystemException {
522 ddmStructurePersistence.addDLFileEntryType(structureId, dlFileEntryType);
523 }
524
525
528 @Override
529 public void addDDMStructureDLFileEntryTypes(long structureId,
530 long[] fileEntryTypeIds) throws SystemException {
531 ddmStructurePersistence.addDLFileEntryTypes(structureId,
532 fileEntryTypeIds);
533 }
534
535
538 @Override
539 public void addDDMStructureDLFileEntryTypes(long structureId,
540 List<DLFileEntryType> DLFileEntryTypes) throws SystemException {
541 ddmStructurePersistence.addDLFileEntryTypes(structureId,
542 DLFileEntryTypes);
543 }
544
545
548 @Override
549 public void clearDDMStructureDLFileEntryTypes(long structureId)
550 throws SystemException {
551 ddmStructurePersistence.clearDLFileEntryTypes(structureId);
552 }
553
554
557 @Override
558 public void deleteDDMStructureDLFileEntryType(long structureId,
559 long fileEntryTypeId) throws SystemException {
560 ddmStructurePersistence.removeDLFileEntryType(structureId,
561 fileEntryTypeId);
562 }
563
564
567 @Override
568 public void deleteDDMStructureDLFileEntryType(long structureId,
569 DLFileEntryType dlFileEntryType) throws SystemException {
570 ddmStructurePersistence.removeDLFileEntryType(structureId,
571 dlFileEntryType);
572 }
573
574
577 @Override
578 public void deleteDDMStructureDLFileEntryTypes(long structureId,
579 long[] fileEntryTypeIds) throws SystemException {
580 ddmStructurePersistence.removeDLFileEntryTypes(structureId,
581 fileEntryTypeIds);
582 }
583
584
587 @Override
588 public void deleteDDMStructureDLFileEntryTypes(long structureId,
589 List<DLFileEntryType> DLFileEntryTypes) throws SystemException {
590 ddmStructurePersistence.removeDLFileEntryTypes(structureId,
591 DLFileEntryTypes);
592 }
593
594
597 @Override
598 public List<DLFileEntryType> getDDMStructureDLFileEntryTypes(
599 long structureId) throws SystemException {
600 return ddmStructurePersistence.getDLFileEntryTypes(structureId);
601 }
602
603
606 @Override
607 public List<DLFileEntryType> getDDMStructureDLFileEntryTypes(
608 long structureId, int start, int end) throws SystemException {
609 return ddmStructurePersistence.getDLFileEntryTypes(structureId, start,
610 end);
611 }
612
613
616 @Override
617 public List<DLFileEntryType> getDDMStructureDLFileEntryTypes(
618 long structureId, int start, int end,
619 OrderByComparator orderByComparator) throws SystemException {
620 return ddmStructurePersistence.getDLFileEntryTypes(structureId, start,
621 end, orderByComparator);
622 }
623
624
627 @Override
628 public int getDDMStructureDLFileEntryTypesCount(long structureId)
629 throws SystemException {
630 return ddmStructurePersistence.getDLFileEntryTypesSize(structureId);
631 }
632
633
636 @Override
637 public boolean hasDDMStructureDLFileEntryType(long structureId,
638 long fileEntryTypeId) throws SystemException {
639 return ddmStructurePersistence.containsDLFileEntryType(structureId,
640 fileEntryTypeId);
641 }
642
643
646 @Override
647 public boolean hasDDMStructureDLFileEntryTypes(long structureId)
648 throws SystemException {
649 return ddmStructurePersistence.containsDLFileEntryTypes(structureId);
650 }
651
652
655 @Override
656 public void setDDMStructureDLFileEntryTypes(long structureId,
657 long[] fileEntryTypeIds) throws SystemException {
658 ddmStructurePersistence.setDLFileEntryTypes(structureId,
659 fileEntryTypeIds);
660 }
661
662
667 public com.liferay.portlet.documentlibrary.service.DLAppLocalService getDLAppLocalService() {
668 return dlAppLocalService;
669 }
670
671
676 public void setDLAppLocalService(
677 com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService) {
678 this.dlAppLocalService = dlAppLocalService;
679 }
680
681
686 public com.liferay.portlet.documentlibrary.service.DLAppService getDLAppService() {
687 return dlAppService;
688 }
689
690
695 public void setDLAppService(
696 com.liferay.portlet.documentlibrary.service.DLAppService dlAppService) {
697 this.dlAppService = dlAppService;
698 }
699
700
705 public com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService getDLAppHelperLocalService() {
706 return dlAppHelperLocalService;
707 }
708
709
714 public void setDLAppHelperLocalService(
715 com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService dlAppHelperLocalService) {
716 this.dlAppHelperLocalService = dlAppHelperLocalService;
717 }
718
719
724 public com.liferay.portlet.documentlibrary.service.DLContentLocalService getDLContentLocalService() {
725 return dlContentLocalService;
726 }
727
728
733 public void setDLContentLocalService(
734 com.liferay.portlet.documentlibrary.service.DLContentLocalService dlContentLocalService) {
735 this.dlContentLocalService = dlContentLocalService;
736 }
737
738
743 public DLContentPersistence getDLContentPersistence() {
744 return dlContentPersistence;
745 }
746
747
752 public void setDLContentPersistence(
753 DLContentPersistence dlContentPersistence) {
754 this.dlContentPersistence = dlContentPersistence;
755 }
756
757
762 public com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService getDLFileEntryLocalService() {
763 return dlFileEntryLocalService;
764 }
765
766
771 public void setDLFileEntryLocalService(
772 com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService) {
773 this.dlFileEntryLocalService = dlFileEntryLocalService;
774 }
775
776
781 public com.liferay.portlet.documentlibrary.service.DLFileEntryService getDLFileEntryService() {
782 return dlFileEntryService;
783 }
784
785
790 public void setDLFileEntryService(
791 com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService) {
792 this.dlFileEntryService = dlFileEntryService;
793 }
794
795
800 public DLFileEntryPersistence getDLFileEntryPersistence() {
801 return dlFileEntryPersistence;
802 }
803
804
809 public void setDLFileEntryPersistence(
810 DLFileEntryPersistence dlFileEntryPersistence) {
811 this.dlFileEntryPersistence = dlFileEntryPersistence;
812 }
813
814
819 public DLFileEntryFinder getDLFileEntryFinder() {
820 return dlFileEntryFinder;
821 }
822
823
828 public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
829 this.dlFileEntryFinder = dlFileEntryFinder;
830 }
831
832
837 public com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
838 return dlFileEntryMetadataLocalService;
839 }
840
841
846 public void setDLFileEntryMetadataLocalService(
847 com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
848 this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
849 }
850
851
856 public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
857 return dlFileEntryMetadataPersistence;
858 }
859
860
865 public void setDLFileEntryMetadataPersistence(
866 DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
867 this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
868 }
869
870
875 public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
876 return dlFileEntryTypeLocalService;
877 }
878
879
884 public void setDLFileEntryTypeLocalService(
885 com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
886 this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
887 }
888
889
894 public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService getDLFileEntryTypeService() {
895 return dlFileEntryTypeService;
896 }
897
898
903 public void setDLFileEntryTypeService(
904 com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService) {
905 this.dlFileEntryTypeService = dlFileEntryTypeService;
906 }
907
908
913 public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
914 return dlFileEntryTypePersistence;
915 }
916
917
922 public void setDLFileEntryTypePersistence(
923 DLFileEntryTypePersistence dlFileEntryTypePersistence) {
924 this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
925 }
926
927
932 public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
933 return dlFileEntryTypeFinder;
934 }
935
936
941 public void setDLFileEntryTypeFinder(
942 DLFileEntryTypeFinder dlFileEntryTypeFinder) {
943 this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
944 }
945
946
951 public com.liferay.portlet.documentlibrary.service.DLFileRankLocalService getDLFileRankLocalService() {
952 return dlFileRankLocalService;
953 }
954
955
960 public void setDLFileRankLocalService(
961 com.liferay.portlet.documentlibrary.service.DLFileRankLocalService dlFileRankLocalService) {
962 this.dlFileRankLocalService = dlFileRankLocalService;
963 }
964
965
970 public DLFileRankPersistence getDLFileRankPersistence() {
971 return dlFileRankPersistence;
972 }
973
974
979 public void setDLFileRankPersistence(
980 DLFileRankPersistence dlFileRankPersistence) {
981 this.dlFileRankPersistence = dlFileRankPersistence;
982 }
983
984
989 public DLFileRankFinder getDLFileRankFinder() {
990 return dlFileRankFinder;
991 }
992
993
998 public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
999 this.dlFileRankFinder = dlFileRankFinder;
1000 }
1001
1002
1007 public com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService getDLFileShortcutLocalService() {
1008 return dlFileShortcutLocalService;
1009 }
1010
1011
1016 public void setDLFileShortcutLocalService(
1017 com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService dlFileShortcutLocalService) {
1018 this.dlFileShortcutLocalService = dlFileShortcutLocalService;
1019 }
1020
1021
1026 public com.liferay.portlet.documentlibrary.service.DLFileShortcutService getDLFileShortcutService() {
1027 return dlFileShortcutService;
1028 }
1029
1030
1035 public void setDLFileShortcutService(
1036 com.liferay.portlet.documentlibrary.service.DLFileShortcutService dlFileShortcutService) {
1037 this.dlFileShortcutService = dlFileShortcutService;
1038 }
1039
1040
1045 public DLFileShortcutPersistence getDLFileShortcutPersistence() {
1046 return dlFileShortcutPersistence;
1047 }
1048
1049
1054 public void setDLFileShortcutPersistence(
1055 DLFileShortcutPersistence dlFileShortcutPersistence) {
1056 this.dlFileShortcutPersistence = dlFileShortcutPersistence;
1057 }
1058
1059
1064 public com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService getDLFileVersionLocalService() {
1065 return dlFileVersionLocalService;
1066 }
1067
1068
1073 public void setDLFileVersionLocalService(
1074 com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService dlFileVersionLocalService) {
1075 this.dlFileVersionLocalService = dlFileVersionLocalService;
1076 }
1077
1078
1083 public com.liferay.portlet.documentlibrary.service.DLFileVersionService getDLFileVersionService() {
1084 return dlFileVersionService;
1085 }
1086
1087
1092 public void setDLFileVersionService(
1093 com.liferay.portlet.documentlibrary.service.DLFileVersionService dlFileVersionService) {
1094 this.dlFileVersionService = dlFileVersionService;
1095 }
1096
1097
1102 public DLFileVersionPersistence getDLFileVersionPersistence() {
1103 return dlFileVersionPersistence;
1104 }
1105
1106
1111 public void setDLFileVersionPersistence(
1112 DLFileVersionPersistence dlFileVersionPersistence) {
1113 this.dlFileVersionPersistence = dlFileVersionPersistence;
1114 }
1115
1116
1121 public com.liferay.portlet.documentlibrary.service.DLFolderLocalService getDLFolderLocalService() {
1122 return dlFolderLocalService;
1123 }
1124
1125
1130 public void setDLFolderLocalService(
1131 com.liferay.portlet.documentlibrary.service.DLFolderLocalService dlFolderLocalService) {
1132 this.dlFolderLocalService = dlFolderLocalService;
1133 }
1134
1135
1140 public com.liferay.portlet.documentlibrary.service.DLFolderService getDLFolderService() {
1141 return dlFolderService;
1142 }
1143
1144
1149 public void setDLFolderService(
1150 com.liferay.portlet.documentlibrary.service.DLFolderService dlFolderService) {
1151 this.dlFolderService = dlFolderService;
1152 }
1153
1154
1159 public DLFolderPersistence getDLFolderPersistence() {
1160 return dlFolderPersistence;
1161 }
1162
1163
1168 public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
1169 this.dlFolderPersistence = dlFolderPersistence;
1170 }
1171
1172
1177 public DLFolderFinder getDLFolderFinder() {
1178 return dlFolderFinder;
1179 }
1180
1181
1186 public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
1187 this.dlFolderFinder = dlFolderFinder;
1188 }
1189
1190
1195 public com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService getDLSyncEventLocalService() {
1196 return dlSyncEventLocalService;
1197 }
1198
1199
1204 public void setDLSyncEventLocalService(
1205 com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService dlSyncEventLocalService) {
1206 this.dlSyncEventLocalService = dlSyncEventLocalService;
1207 }
1208
1209
1214 public DLSyncEventPersistence getDLSyncEventPersistence() {
1215 return dlSyncEventPersistence;
1216 }
1217
1218
1223 public void setDLSyncEventPersistence(
1224 DLSyncEventPersistence dlSyncEventPersistence) {
1225 this.dlSyncEventPersistence = dlSyncEventPersistence;
1226 }
1227
1228
1233 public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
1234 return counterLocalService;
1235 }
1236
1237
1242 public void setCounterLocalService(
1243 com.liferay.counter.service.CounterLocalService counterLocalService) {
1244 this.counterLocalService = counterLocalService;
1245 }
1246
1247
1252 public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
1253 return resourceLocalService;
1254 }
1255
1256
1261 public void setResourceLocalService(
1262 com.liferay.portal.service.ResourceLocalService resourceLocalService) {
1263 this.resourceLocalService = resourceLocalService;
1264 }
1265
1266
1271 public com.liferay.portal.service.UserLocalService getUserLocalService() {
1272 return userLocalService;
1273 }
1274
1275
1280 public void setUserLocalService(
1281 com.liferay.portal.service.UserLocalService userLocalService) {
1282 this.userLocalService = userLocalService;
1283 }
1284
1285
1290 public com.liferay.portal.service.UserService getUserService() {
1291 return userService;
1292 }
1293
1294
1299 public void setUserService(
1300 com.liferay.portal.service.UserService userService) {
1301 this.userService = userService;
1302 }
1303
1304
1309 public UserPersistence getUserPersistence() {
1310 return userPersistence;
1311 }
1312
1313
1318 public void setUserPersistence(UserPersistence userPersistence) {
1319 this.userPersistence = userPersistence;
1320 }
1321
1322
1327 public UserFinder getUserFinder() {
1328 return userFinder;
1329 }
1330
1331
1336 public void setUserFinder(UserFinder userFinder) {
1337 this.userFinder = userFinder;
1338 }
1339
1340
1345 public com.liferay.portal.service.WorkflowDefinitionLinkLocalService getWorkflowDefinitionLinkLocalService() {
1346 return workflowDefinitionLinkLocalService;
1347 }
1348
1349
1354 public void setWorkflowDefinitionLinkLocalService(
1355 com.liferay.portal.service.WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) {
1356 this.workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService;
1357 }
1358
1359
1364 public WorkflowDefinitionLinkPersistence getWorkflowDefinitionLinkPersistence() {
1365 return workflowDefinitionLinkPersistence;
1366 }
1367
1368
1373 public void setWorkflowDefinitionLinkPersistence(
1374 WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence) {
1375 this.workflowDefinitionLinkPersistence = workflowDefinitionLinkPersistence;
1376 }
1377
1378
1383 public com.liferay.portal.service.WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1384 return workflowInstanceLinkLocalService;
1385 }
1386
1387
1392 public void setWorkflowInstanceLinkLocalService(
1393 com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1394 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1395 }
1396
1397
1402 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1403 return workflowInstanceLinkPersistence;
1404 }
1405
1406
1411 public void setWorkflowInstanceLinkPersistence(
1412 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1413 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1414 }
1415
1416
1421 public com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService getDDMStructureLocalService() {
1422 return ddmStructureLocalService;
1423 }
1424
1425
1430 public void setDDMStructureLocalService(
1431 com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService) {
1432 this.ddmStructureLocalService = ddmStructureLocalService;
1433 }
1434
1435
1440 public com.liferay.portlet.dynamicdatamapping.service.DDMStructureService getDDMStructureService() {
1441 return ddmStructureService;
1442 }
1443
1444
1449 public void setDDMStructureService(
1450 com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService) {
1451 this.ddmStructureService = ddmStructureService;
1452 }
1453
1454
1459 public DDMStructurePersistence getDDMStructurePersistence() {
1460 return ddmStructurePersistence;
1461 }
1462
1463
1468 public void setDDMStructurePersistence(
1469 DDMStructurePersistence ddmStructurePersistence) {
1470 this.ddmStructurePersistence = ddmStructurePersistence;
1471 }
1472
1473
1478 public DDMStructureFinder getDDMStructureFinder() {
1479 return ddmStructureFinder;
1480 }
1481
1482
1487 public void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder) {
1488 this.ddmStructureFinder = ddmStructureFinder;
1489 }
1490
1491 public void afterPropertiesSet() {
1492 persistedModelLocalServiceRegistry.register("com.liferay.portlet.documentlibrary.model.DLFileEntryType",
1493 dlFileEntryTypeLocalService);
1494 }
1495
1496 public void destroy() {
1497 persistedModelLocalServiceRegistry.unregister(
1498 "com.liferay.portlet.documentlibrary.model.DLFileEntryType");
1499 }
1500
1501
1506 @Override
1507 public String getBeanIdentifier() {
1508 return _beanIdentifier;
1509 }
1510
1511
1516 @Override
1517 public void setBeanIdentifier(String beanIdentifier) {
1518 _beanIdentifier = beanIdentifier;
1519 }
1520
1521 protected Class<?> getModelClass() {
1522 return DLFileEntryType.class;
1523 }
1524
1525 protected String getModelClassName() {
1526 return DLFileEntryType.class.getName();
1527 }
1528
1529
1534 protected void runSQL(String sql) throws SystemException {
1535 try {
1536 DataSource dataSource = dlFileEntryTypePersistence.getDataSource();
1537
1538 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1539 sql, new int[0]);
1540
1541 sqlUpdate.update();
1542 }
1543 catch (Exception e) {
1544 throw new SystemException(e);
1545 }
1546 }
1547
1548 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppLocalService.class)
1549 protected com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService;
1550 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppService.class)
1551 protected com.liferay.portlet.documentlibrary.service.DLAppService dlAppService;
1552 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService.class)
1553 protected com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService dlAppHelperLocalService;
1554 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLContentLocalService.class)
1555 protected com.liferay.portlet.documentlibrary.service.DLContentLocalService dlContentLocalService;
1556 @BeanReference(type = DLContentPersistence.class)
1557 protected DLContentPersistence dlContentPersistence;
1558 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService.class)
1559 protected com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService;
1560 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryService.class)
1561 protected com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService;
1562 @BeanReference(type = DLFileEntryPersistence.class)
1563 protected DLFileEntryPersistence dlFileEntryPersistence;
1564 @BeanReference(type = DLFileEntryFinder.class)
1565 protected DLFileEntryFinder dlFileEntryFinder;
1566 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService.class)
1567 protected com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
1568 @BeanReference(type = DLFileEntryMetadataPersistence.class)
1569 protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
1570 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService.class)
1571 protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1572 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService.class)
1573 protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService;
1574 @BeanReference(type = DLFileEntryTypePersistence.class)
1575 protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1576 @BeanReference(type = DLFileEntryTypeFinder.class)
1577 protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1578 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileRankLocalService.class)
1579 protected com.liferay.portlet.documentlibrary.service.DLFileRankLocalService dlFileRankLocalService;
1580 @BeanReference(type = DLFileRankPersistence.class)
1581 protected DLFileRankPersistence dlFileRankPersistence;
1582 @BeanReference(type = DLFileRankFinder.class)
1583 protected DLFileRankFinder dlFileRankFinder;
1584 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService.class)
1585 protected com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService dlFileShortcutLocalService;
1586 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileShortcutService.class)
1587 protected com.liferay.portlet.documentlibrary.service.DLFileShortcutService dlFileShortcutService;
1588 @BeanReference(type = DLFileShortcutPersistence.class)
1589 protected DLFileShortcutPersistence dlFileShortcutPersistence;
1590 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService.class)
1591 protected com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService dlFileVersionLocalService;
1592 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileVersionService.class)
1593 protected com.liferay.portlet.documentlibrary.service.DLFileVersionService dlFileVersionService;
1594 @BeanReference(type = DLFileVersionPersistence.class)
1595 protected DLFileVersionPersistence dlFileVersionPersistence;
1596 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFolderLocalService.class)
1597 protected com.liferay.portlet.documentlibrary.service.DLFolderLocalService dlFolderLocalService;
1598 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFolderService.class)
1599 protected com.liferay.portlet.documentlibrary.service.DLFolderService dlFolderService;
1600 @BeanReference(type = DLFolderPersistence.class)
1601 protected DLFolderPersistence dlFolderPersistence;
1602 @BeanReference(type = DLFolderFinder.class)
1603 protected DLFolderFinder dlFolderFinder;
1604 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService.class)
1605 protected com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService dlSyncEventLocalService;
1606 @BeanReference(type = DLSyncEventPersistence.class)
1607 protected DLSyncEventPersistence dlSyncEventPersistence;
1608 @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1609 protected com.liferay.counter.service.CounterLocalService counterLocalService;
1610 @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1611 protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1612 @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1613 protected com.liferay.portal.service.UserLocalService userLocalService;
1614 @BeanReference(type = com.liferay.portal.service.UserService.class)
1615 protected com.liferay.portal.service.UserService userService;
1616 @BeanReference(type = UserPersistence.class)
1617 protected UserPersistence userPersistence;
1618 @BeanReference(type = UserFinder.class)
1619 protected UserFinder userFinder;
1620 @BeanReference(type = com.liferay.portal.service.WorkflowDefinitionLinkLocalService.class)
1621 protected com.liferay.portal.service.WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService;
1622 @BeanReference(type = WorkflowDefinitionLinkPersistence.class)
1623 protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence;
1624 @BeanReference(type = com.liferay.portal.service.WorkflowInstanceLinkLocalService.class)
1625 protected com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1626 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1627 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1628 @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService.class)
1629 protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService;
1630 @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureService.class)
1631 protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService;
1632 @BeanReference(type = DDMStructurePersistence.class)
1633 protected DDMStructurePersistence ddmStructurePersistence;
1634 @BeanReference(type = DDMStructureFinder.class)
1635 protected DDMStructureFinder ddmStructureFinder;
1636 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1637 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1638 private String _beanIdentifier;
1639 }