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.ImageLocalService;
033 import com.liferay.portal.service.ImageService;
034 import com.liferay.portal.service.LockLocalService;
035 import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
036 import com.liferay.portal.service.RepositoryLocalService;
037 import com.liferay.portal.service.RepositoryService;
038 import com.liferay.portal.service.ResourceLocalService;
039 import com.liferay.portal.service.UserLocalService;
040 import com.liferay.portal.service.UserService;
041 import com.liferay.portal.service.WebDAVPropsLocalService;
042 import com.liferay.portal.service.WorkflowInstanceLinkLocalService;
043 import com.liferay.portal.service.persistence.ImagePersistence;
044 import com.liferay.portal.service.persistence.LockFinder;
045 import com.liferay.portal.service.persistence.LockPersistence;
046 import com.liferay.portal.service.persistence.RepositoryPersistence;
047 import com.liferay.portal.service.persistence.UserFinder;
048 import com.liferay.portal.service.persistence.UserPersistence;
049 import com.liferay.portal.service.persistence.WebDAVPropsPersistence;
050 import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
051
052 import com.liferay.portlet.asset.service.AssetCategoryLocalService;
053 import com.liferay.portlet.asset.service.AssetCategoryService;
054 import com.liferay.portlet.asset.service.AssetEntryLocalService;
055 import com.liferay.portlet.asset.service.AssetEntryService;
056 import com.liferay.portlet.asset.service.AssetLinkLocalService;
057 import com.liferay.portlet.asset.service.AssetTagLocalService;
058 import com.liferay.portlet.asset.service.AssetTagService;
059 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
060 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
061 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
062 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
063 import com.liferay.portlet.asset.service.persistence.AssetLinkFinder;
064 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
065 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
066 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
067 import com.liferay.portlet.documentlibrary.model.DLFileEntry;
068 import com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService;
069 import com.liferay.portlet.documentlibrary.service.DLAppLocalService;
070 import com.liferay.portlet.documentlibrary.service.DLAppService;
071 import com.liferay.portlet.documentlibrary.service.DLContentLocalService;
072 import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
073 import com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService;
074 import com.liferay.portlet.documentlibrary.service.DLFileEntryService;
075 import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService;
076 import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService;
077 import com.liferay.portlet.documentlibrary.service.DLFileRankLocalService;
078 import com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService;
079 import com.liferay.portlet.documentlibrary.service.DLFileShortcutService;
080 import com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService;
081 import com.liferay.portlet.documentlibrary.service.DLFileVersionService;
082 import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
083 import com.liferay.portlet.documentlibrary.service.DLFolderService;
084 import com.liferay.portlet.documentlibrary.service.DLSyncLocalService;
085 import com.liferay.portlet.documentlibrary.service.DLSyncService;
086 import com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence;
087 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
088 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
089 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
090 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
091 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
092 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
093 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
094 import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
095 import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
096 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
097 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
098 import com.liferay.portlet.documentlibrary.service.persistence.DLSyncFinder;
099 import com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistence;
100 import com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService;
101 import com.liferay.portlet.dynamicdatamapping.service.DDMStructureService;
102 import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder;
103 import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence;
104 import com.liferay.portlet.expando.service.ExpandoRowLocalService;
105 import com.liferay.portlet.expando.service.ExpandoTableLocalService;
106 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
107 import com.liferay.portlet.expando.service.ExpandoValueService;
108 import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
109 import com.liferay.portlet.expando.service.persistence.ExpandoTablePersistence;
110 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
111 import com.liferay.portlet.trash.service.TrashEntryLocalService;
112 import com.liferay.portlet.trash.service.TrashEntryService;
113 import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
114
115 import java.io.Serializable;
116
117 import java.util.List;
118
119 import javax.sql.DataSource;
120
121
133 public abstract class DLFileEntryLocalServiceBaseImpl
134 extends BaseLocalServiceImpl implements DLFileEntryLocalService,
135 IdentifiableBean {
136
141
142
149 @Indexable(type = IndexableType.REINDEX)
150 public DLFileEntry addDLFileEntry(DLFileEntry dlFileEntry)
151 throws SystemException {
152 dlFileEntry.setNew(true);
153
154 return dlFileEntryPersistence.update(dlFileEntry);
155 }
156
157
163 public DLFileEntry createDLFileEntry(long fileEntryId) {
164 return dlFileEntryPersistence.create(fileEntryId);
165 }
166
167
175 @Indexable(type = IndexableType.DELETE)
176 public DLFileEntry deleteDLFileEntry(long fileEntryId)
177 throws PortalException, SystemException {
178 return dlFileEntryPersistence.remove(fileEntryId);
179 }
180
181
188 @Indexable(type = IndexableType.DELETE)
189 public DLFileEntry deleteDLFileEntry(DLFileEntry dlFileEntry)
190 throws SystemException {
191 return dlFileEntryPersistence.remove(dlFileEntry);
192 }
193
194 public DynamicQuery dynamicQuery() {
195 Class<?> clazz = getClass();
196
197 return DynamicQueryFactoryUtil.forClass(DLFileEntry.class,
198 clazz.getClassLoader());
199 }
200
201
208 @SuppressWarnings("rawtypes")
209 public List dynamicQuery(DynamicQuery dynamicQuery)
210 throws SystemException {
211 return dlFileEntryPersistence.findWithDynamicQuery(dynamicQuery);
212 }
213
214
227 @SuppressWarnings("rawtypes")
228 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
229 throws SystemException {
230 return dlFileEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
231 end);
232 }
233
234
248 @SuppressWarnings("rawtypes")
249 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
250 OrderByComparator orderByComparator) throws SystemException {
251 return dlFileEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
252 end, orderByComparator);
253 }
254
255
262 public long dynamicQueryCount(DynamicQuery dynamicQuery)
263 throws SystemException {
264 return dlFileEntryPersistence.countWithDynamicQuery(dynamicQuery);
265 }
266
267 public DLFileEntry fetchDLFileEntry(long fileEntryId)
268 throws SystemException {
269 return dlFileEntryPersistence.fetchByPrimaryKey(fileEntryId);
270 }
271
272
280 public DLFileEntry getDLFileEntry(long fileEntryId)
281 throws PortalException, SystemException {
282 return dlFileEntryPersistence.findByPrimaryKey(fileEntryId);
283 }
284
285 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
286 throws PortalException, SystemException {
287 return dlFileEntryPersistence.findByPrimaryKey(primaryKeyObj);
288 }
289
290
299 public DLFileEntry getDLFileEntryByUuidAndGroupId(String uuid, long groupId)
300 throws PortalException, SystemException {
301 return dlFileEntryPersistence.findByUUID_G(uuid, groupId);
302 }
303
304
316 public List<DLFileEntry> getDLFileEntries(int start, int end)
317 throws SystemException {
318 return dlFileEntryPersistence.findAll(start, end);
319 }
320
321
327 public int getDLFileEntriesCount() throws SystemException {
328 return dlFileEntryPersistence.countAll();
329 }
330
331
338 @Indexable(type = IndexableType.REINDEX)
339 public DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry)
340 throws SystemException {
341 return dlFileEntryPersistence.update(dlFileEntry);
342 }
343
344
349 public DLAppLocalService getDLAppLocalService() {
350 return dlAppLocalService;
351 }
352
353
358 public void setDLAppLocalService(DLAppLocalService dlAppLocalService) {
359 this.dlAppLocalService = dlAppLocalService;
360 }
361
362
367 public DLAppService getDLAppService() {
368 return dlAppService;
369 }
370
371
376 public void setDLAppService(DLAppService dlAppService) {
377 this.dlAppService = dlAppService;
378 }
379
380
385 public DLAppHelperLocalService getDLAppHelperLocalService() {
386 return dlAppHelperLocalService;
387 }
388
389
394 public void setDLAppHelperLocalService(
395 DLAppHelperLocalService dlAppHelperLocalService) {
396 this.dlAppHelperLocalService = dlAppHelperLocalService;
397 }
398
399
404 public DLContentLocalService getDLContentLocalService() {
405 return dlContentLocalService;
406 }
407
408
413 public void setDLContentLocalService(
414 DLContentLocalService dlContentLocalService) {
415 this.dlContentLocalService = dlContentLocalService;
416 }
417
418
423 public DLContentPersistence getDLContentPersistence() {
424 return dlContentPersistence;
425 }
426
427
432 public void setDLContentPersistence(
433 DLContentPersistence dlContentPersistence) {
434 this.dlContentPersistence = dlContentPersistence;
435 }
436
437
442 public DLFileEntryLocalService getDLFileEntryLocalService() {
443 return dlFileEntryLocalService;
444 }
445
446
451 public void setDLFileEntryLocalService(
452 DLFileEntryLocalService dlFileEntryLocalService) {
453 this.dlFileEntryLocalService = dlFileEntryLocalService;
454 }
455
456
461 public DLFileEntryService getDLFileEntryService() {
462 return dlFileEntryService;
463 }
464
465
470 public void setDLFileEntryService(DLFileEntryService dlFileEntryService) {
471 this.dlFileEntryService = dlFileEntryService;
472 }
473
474
479 public DLFileEntryPersistence getDLFileEntryPersistence() {
480 return dlFileEntryPersistence;
481 }
482
483
488 public void setDLFileEntryPersistence(
489 DLFileEntryPersistence dlFileEntryPersistence) {
490 this.dlFileEntryPersistence = dlFileEntryPersistence;
491 }
492
493
498 public DLFileEntryFinder getDLFileEntryFinder() {
499 return dlFileEntryFinder;
500 }
501
502
507 public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
508 this.dlFileEntryFinder = dlFileEntryFinder;
509 }
510
511
516 public DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
517 return dlFileEntryMetadataLocalService;
518 }
519
520
525 public void setDLFileEntryMetadataLocalService(
526 DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
527 this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
528 }
529
530
535 public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
536 return dlFileEntryMetadataPersistence;
537 }
538
539
544 public void setDLFileEntryMetadataPersistence(
545 DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
546 this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
547 }
548
549
554 public DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
555 return dlFileEntryTypeLocalService;
556 }
557
558
563 public void setDLFileEntryTypeLocalService(
564 DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
565 this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
566 }
567
568
573 public DLFileEntryTypeService getDLFileEntryTypeService() {
574 return dlFileEntryTypeService;
575 }
576
577
582 public void setDLFileEntryTypeService(
583 DLFileEntryTypeService dlFileEntryTypeService) {
584 this.dlFileEntryTypeService = dlFileEntryTypeService;
585 }
586
587
592 public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
593 return dlFileEntryTypePersistence;
594 }
595
596
601 public void setDLFileEntryTypePersistence(
602 DLFileEntryTypePersistence dlFileEntryTypePersistence) {
603 this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
604 }
605
606
611 public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
612 return dlFileEntryTypeFinder;
613 }
614
615
620 public void setDLFileEntryTypeFinder(
621 DLFileEntryTypeFinder dlFileEntryTypeFinder) {
622 this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
623 }
624
625
630 public DLFileRankLocalService getDLFileRankLocalService() {
631 return dlFileRankLocalService;
632 }
633
634
639 public void setDLFileRankLocalService(
640 DLFileRankLocalService dlFileRankLocalService) {
641 this.dlFileRankLocalService = dlFileRankLocalService;
642 }
643
644
649 public DLFileRankPersistence getDLFileRankPersistence() {
650 return dlFileRankPersistence;
651 }
652
653
658 public void setDLFileRankPersistence(
659 DLFileRankPersistence dlFileRankPersistence) {
660 this.dlFileRankPersistence = dlFileRankPersistence;
661 }
662
663
668 public DLFileRankFinder getDLFileRankFinder() {
669 return dlFileRankFinder;
670 }
671
672
677 public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
678 this.dlFileRankFinder = dlFileRankFinder;
679 }
680
681
686 public DLFileShortcutLocalService getDLFileShortcutLocalService() {
687 return dlFileShortcutLocalService;
688 }
689
690
695 public void setDLFileShortcutLocalService(
696 DLFileShortcutLocalService dlFileShortcutLocalService) {
697 this.dlFileShortcutLocalService = dlFileShortcutLocalService;
698 }
699
700
705 public DLFileShortcutService getDLFileShortcutService() {
706 return dlFileShortcutService;
707 }
708
709
714 public void setDLFileShortcutService(
715 DLFileShortcutService dlFileShortcutService) {
716 this.dlFileShortcutService = dlFileShortcutService;
717 }
718
719
724 public DLFileShortcutPersistence getDLFileShortcutPersistence() {
725 return dlFileShortcutPersistence;
726 }
727
728
733 public void setDLFileShortcutPersistence(
734 DLFileShortcutPersistence dlFileShortcutPersistence) {
735 this.dlFileShortcutPersistence = dlFileShortcutPersistence;
736 }
737
738
743 public DLFileVersionLocalService getDLFileVersionLocalService() {
744 return dlFileVersionLocalService;
745 }
746
747
752 public void setDLFileVersionLocalService(
753 DLFileVersionLocalService dlFileVersionLocalService) {
754 this.dlFileVersionLocalService = dlFileVersionLocalService;
755 }
756
757
762 public DLFileVersionService getDLFileVersionService() {
763 return dlFileVersionService;
764 }
765
766
771 public void setDLFileVersionService(
772 DLFileVersionService dlFileVersionService) {
773 this.dlFileVersionService = dlFileVersionService;
774 }
775
776
781 public DLFileVersionPersistence getDLFileVersionPersistence() {
782 return dlFileVersionPersistence;
783 }
784
785
790 public void setDLFileVersionPersistence(
791 DLFileVersionPersistence dlFileVersionPersistence) {
792 this.dlFileVersionPersistence = dlFileVersionPersistence;
793 }
794
795
800 public DLFolderLocalService getDLFolderLocalService() {
801 return dlFolderLocalService;
802 }
803
804
809 public void setDLFolderLocalService(
810 DLFolderLocalService dlFolderLocalService) {
811 this.dlFolderLocalService = dlFolderLocalService;
812 }
813
814
819 public DLFolderService getDLFolderService() {
820 return dlFolderService;
821 }
822
823
828 public void setDLFolderService(DLFolderService dlFolderService) {
829 this.dlFolderService = dlFolderService;
830 }
831
832
837 public DLFolderPersistence getDLFolderPersistence() {
838 return dlFolderPersistence;
839 }
840
841
846 public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
847 this.dlFolderPersistence = dlFolderPersistence;
848 }
849
850
855 public DLFolderFinder getDLFolderFinder() {
856 return dlFolderFinder;
857 }
858
859
864 public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
865 this.dlFolderFinder = dlFolderFinder;
866 }
867
868
873 public DLSyncLocalService getDLSyncLocalService() {
874 return dlSyncLocalService;
875 }
876
877
882 public void setDLSyncLocalService(DLSyncLocalService dlSyncLocalService) {
883 this.dlSyncLocalService = dlSyncLocalService;
884 }
885
886
891 public DLSyncService getDLSyncService() {
892 return dlSyncService;
893 }
894
895
900 public void setDLSyncService(DLSyncService dlSyncService) {
901 this.dlSyncService = dlSyncService;
902 }
903
904
909 public DLSyncPersistence getDLSyncPersistence() {
910 return dlSyncPersistence;
911 }
912
913
918 public void setDLSyncPersistence(DLSyncPersistence dlSyncPersistence) {
919 this.dlSyncPersistence = dlSyncPersistence;
920 }
921
922
927 public DLSyncFinder getDLSyncFinder() {
928 return dlSyncFinder;
929 }
930
931
936 public void setDLSyncFinder(DLSyncFinder dlSyncFinder) {
937 this.dlSyncFinder = dlSyncFinder;
938 }
939
940
945 public CounterLocalService getCounterLocalService() {
946 return counterLocalService;
947 }
948
949
954 public void setCounterLocalService(CounterLocalService counterLocalService) {
955 this.counterLocalService = counterLocalService;
956 }
957
958
963 public ImageLocalService getImageLocalService() {
964 return imageLocalService;
965 }
966
967
972 public void setImageLocalService(ImageLocalService imageLocalService) {
973 this.imageLocalService = imageLocalService;
974 }
975
976
981 public ImageService getImageService() {
982 return imageService;
983 }
984
985
990 public void setImageService(ImageService imageService) {
991 this.imageService = imageService;
992 }
993
994
999 public ImagePersistence getImagePersistence() {
1000 return imagePersistence;
1001 }
1002
1003
1008 public void setImagePersistence(ImagePersistence imagePersistence) {
1009 this.imagePersistence = imagePersistence;
1010 }
1011
1012
1017 public LockLocalService getLockLocalService() {
1018 return lockLocalService;
1019 }
1020
1021
1026 public void setLockLocalService(LockLocalService lockLocalService) {
1027 this.lockLocalService = lockLocalService;
1028 }
1029
1030
1035 public LockPersistence getLockPersistence() {
1036 return lockPersistence;
1037 }
1038
1039
1044 public void setLockPersistence(LockPersistence lockPersistence) {
1045 this.lockPersistence = lockPersistence;
1046 }
1047
1048
1053 public LockFinder getLockFinder() {
1054 return lockFinder;
1055 }
1056
1057
1062 public void setLockFinder(LockFinder lockFinder) {
1063 this.lockFinder = lockFinder;
1064 }
1065
1066
1071 public RepositoryLocalService getRepositoryLocalService() {
1072 return repositoryLocalService;
1073 }
1074
1075
1080 public void setRepositoryLocalService(
1081 RepositoryLocalService repositoryLocalService) {
1082 this.repositoryLocalService = repositoryLocalService;
1083 }
1084
1085
1090 public RepositoryService getRepositoryService() {
1091 return repositoryService;
1092 }
1093
1094
1099 public void setRepositoryService(RepositoryService repositoryService) {
1100 this.repositoryService = repositoryService;
1101 }
1102
1103
1108 public RepositoryPersistence getRepositoryPersistence() {
1109 return repositoryPersistence;
1110 }
1111
1112
1117 public void setRepositoryPersistence(
1118 RepositoryPersistence repositoryPersistence) {
1119 this.repositoryPersistence = repositoryPersistence;
1120 }
1121
1122
1127 public ResourceLocalService getResourceLocalService() {
1128 return resourceLocalService;
1129 }
1130
1131
1136 public void setResourceLocalService(
1137 ResourceLocalService resourceLocalService) {
1138 this.resourceLocalService = resourceLocalService;
1139 }
1140
1141
1146 public UserLocalService getUserLocalService() {
1147 return userLocalService;
1148 }
1149
1150
1155 public void setUserLocalService(UserLocalService userLocalService) {
1156 this.userLocalService = userLocalService;
1157 }
1158
1159
1164 public UserService getUserService() {
1165 return userService;
1166 }
1167
1168
1173 public void setUserService(UserService userService) {
1174 this.userService = userService;
1175 }
1176
1177
1182 public UserPersistence getUserPersistence() {
1183 return userPersistence;
1184 }
1185
1186
1191 public void setUserPersistence(UserPersistence userPersistence) {
1192 this.userPersistence = userPersistence;
1193 }
1194
1195
1200 public UserFinder getUserFinder() {
1201 return userFinder;
1202 }
1203
1204
1209 public void setUserFinder(UserFinder userFinder) {
1210 this.userFinder = userFinder;
1211 }
1212
1213
1218 public WebDAVPropsLocalService getWebDAVPropsLocalService() {
1219 return webDAVPropsLocalService;
1220 }
1221
1222
1227 public void setWebDAVPropsLocalService(
1228 WebDAVPropsLocalService webDAVPropsLocalService) {
1229 this.webDAVPropsLocalService = webDAVPropsLocalService;
1230 }
1231
1232
1237 public WebDAVPropsPersistence getWebDAVPropsPersistence() {
1238 return webDAVPropsPersistence;
1239 }
1240
1241
1246 public void setWebDAVPropsPersistence(
1247 WebDAVPropsPersistence webDAVPropsPersistence) {
1248 this.webDAVPropsPersistence = webDAVPropsPersistence;
1249 }
1250
1251
1256 public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1257 return workflowInstanceLinkLocalService;
1258 }
1259
1260
1265 public void setWorkflowInstanceLinkLocalService(
1266 WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1267 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1268 }
1269
1270
1275 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1276 return workflowInstanceLinkPersistence;
1277 }
1278
1279
1284 public void setWorkflowInstanceLinkPersistence(
1285 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1286 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1287 }
1288
1289
1294 public AssetCategoryLocalService getAssetCategoryLocalService() {
1295 return assetCategoryLocalService;
1296 }
1297
1298
1303 public void setAssetCategoryLocalService(
1304 AssetCategoryLocalService assetCategoryLocalService) {
1305 this.assetCategoryLocalService = assetCategoryLocalService;
1306 }
1307
1308
1313 public AssetCategoryService getAssetCategoryService() {
1314 return assetCategoryService;
1315 }
1316
1317
1322 public void setAssetCategoryService(
1323 AssetCategoryService assetCategoryService) {
1324 this.assetCategoryService = assetCategoryService;
1325 }
1326
1327
1332 public AssetCategoryPersistence getAssetCategoryPersistence() {
1333 return assetCategoryPersistence;
1334 }
1335
1336
1341 public void setAssetCategoryPersistence(
1342 AssetCategoryPersistence assetCategoryPersistence) {
1343 this.assetCategoryPersistence = assetCategoryPersistence;
1344 }
1345
1346
1351 public AssetCategoryFinder getAssetCategoryFinder() {
1352 return assetCategoryFinder;
1353 }
1354
1355
1360 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
1361 this.assetCategoryFinder = assetCategoryFinder;
1362 }
1363
1364
1369 public AssetEntryLocalService getAssetEntryLocalService() {
1370 return assetEntryLocalService;
1371 }
1372
1373
1378 public void setAssetEntryLocalService(
1379 AssetEntryLocalService assetEntryLocalService) {
1380 this.assetEntryLocalService = assetEntryLocalService;
1381 }
1382
1383
1388 public AssetEntryService getAssetEntryService() {
1389 return assetEntryService;
1390 }
1391
1392
1397 public void setAssetEntryService(AssetEntryService assetEntryService) {
1398 this.assetEntryService = assetEntryService;
1399 }
1400
1401
1406 public AssetEntryPersistence getAssetEntryPersistence() {
1407 return assetEntryPersistence;
1408 }
1409
1410
1415 public void setAssetEntryPersistence(
1416 AssetEntryPersistence assetEntryPersistence) {
1417 this.assetEntryPersistence = assetEntryPersistence;
1418 }
1419
1420
1425 public AssetEntryFinder getAssetEntryFinder() {
1426 return assetEntryFinder;
1427 }
1428
1429
1434 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1435 this.assetEntryFinder = assetEntryFinder;
1436 }
1437
1438
1443 public AssetLinkLocalService getAssetLinkLocalService() {
1444 return assetLinkLocalService;
1445 }
1446
1447
1452 public void setAssetLinkLocalService(
1453 AssetLinkLocalService assetLinkLocalService) {
1454 this.assetLinkLocalService = assetLinkLocalService;
1455 }
1456
1457
1462 public AssetLinkPersistence getAssetLinkPersistence() {
1463 return assetLinkPersistence;
1464 }
1465
1466
1471 public void setAssetLinkPersistence(
1472 AssetLinkPersistence assetLinkPersistence) {
1473 this.assetLinkPersistence = assetLinkPersistence;
1474 }
1475
1476
1481 public AssetLinkFinder getAssetLinkFinder() {
1482 return assetLinkFinder;
1483 }
1484
1485
1490 public void setAssetLinkFinder(AssetLinkFinder assetLinkFinder) {
1491 this.assetLinkFinder = assetLinkFinder;
1492 }
1493
1494
1499 public AssetTagLocalService getAssetTagLocalService() {
1500 return assetTagLocalService;
1501 }
1502
1503
1508 public void setAssetTagLocalService(
1509 AssetTagLocalService assetTagLocalService) {
1510 this.assetTagLocalService = assetTagLocalService;
1511 }
1512
1513
1518 public AssetTagService getAssetTagService() {
1519 return assetTagService;
1520 }
1521
1522
1527 public void setAssetTagService(AssetTagService assetTagService) {
1528 this.assetTagService = assetTagService;
1529 }
1530
1531
1536 public AssetTagPersistence getAssetTagPersistence() {
1537 return assetTagPersistence;
1538 }
1539
1540
1545 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1546 this.assetTagPersistence = assetTagPersistence;
1547 }
1548
1549
1554 public AssetTagFinder getAssetTagFinder() {
1555 return assetTagFinder;
1556 }
1557
1558
1563 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1564 this.assetTagFinder = assetTagFinder;
1565 }
1566
1567
1572 public DDMStructureLocalService getDDMStructureLocalService() {
1573 return ddmStructureLocalService;
1574 }
1575
1576
1581 public void setDDMStructureLocalService(
1582 DDMStructureLocalService ddmStructureLocalService) {
1583 this.ddmStructureLocalService = ddmStructureLocalService;
1584 }
1585
1586
1591 public DDMStructureService getDDMStructureService() {
1592 return ddmStructureService;
1593 }
1594
1595
1600 public void setDDMStructureService(DDMStructureService ddmStructureService) {
1601 this.ddmStructureService = ddmStructureService;
1602 }
1603
1604
1609 public DDMStructurePersistence getDDMStructurePersistence() {
1610 return ddmStructurePersistence;
1611 }
1612
1613
1618 public void setDDMStructurePersistence(
1619 DDMStructurePersistence ddmStructurePersistence) {
1620 this.ddmStructurePersistence = ddmStructurePersistence;
1621 }
1622
1623
1628 public DDMStructureFinder getDDMStructureFinder() {
1629 return ddmStructureFinder;
1630 }
1631
1632
1637 public void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder) {
1638 this.ddmStructureFinder = ddmStructureFinder;
1639 }
1640
1641
1646 public ExpandoRowLocalService getExpandoRowLocalService() {
1647 return expandoRowLocalService;
1648 }
1649
1650
1655 public void setExpandoRowLocalService(
1656 ExpandoRowLocalService expandoRowLocalService) {
1657 this.expandoRowLocalService = expandoRowLocalService;
1658 }
1659
1660
1665 public ExpandoRowPersistence getExpandoRowPersistence() {
1666 return expandoRowPersistence;
1667 }
1668
1669
1674 public void setExpandoRowPersistence(
1675 ExpandoRowPersistence expandoRowPersistence) {
1676 this.expandoRowPersistence = expandoRowPersistence;
1677 }
1678
1679
1684 public ExpandoTableLocalService getExpandoTableLocalService() {
1685 return expandoTableLocalService;
1686 }
1687
1688
1693 public void setExpandoTableLocalService(
1694 ExpandoTableLocalService expandoTableLocalService) {
1695 this.expandoTableLocalService = expandoTableLocalService;
1696 }
1697
1698
1703 public ExpandoTablePersistence getExpandoTablePersistence() {
1704 return expandoTablePersistence;
1705 }
1706
1707
1712 public void setExpandoTablePersistence(
1713 ExpandoTablePersistence expandoTablePersistence) {
1714 this.expandoTablePersistence = expandoTablePersistence;
1715 }
1716
1717
1722 public ExpandoValueLocalService getExpandoValueLocalService() {
1723 return expandoValueLocalService;
1724 }
1725
1726
1731 public void setExpandoValueLocalService(
1732 ExpandoValueLocalService expandoValueLocalService) {
1733 this.expandoValueLocalService = expandoValueLocalService;
1734 }
1735
1736
1741 public ExpandoValueService getExpandoValueService() {
1742 return expandoValueService;
1743 }
1744
1745
1750 public void setExpandoValueService(ExpandoValueService expandoValueService) {
1751 this.expandoValueService = expandoValueService;
1752 }
1753
1754
1759 public ExpandoValuePersistence getExpandoValuePersistence() {
1760 return expandoValuePersistence;
1761 }
1762
1763
1768 public void setExpandoValuePersistence(
1769 ExpandoValuePersistence expandoValuePersistence) {
1770 this.expandoValuePersistence = expandoValuePersistence;
1771 }
1772
1773
1778 public TrashEntryLocalService getTrashEntryLocalService() {
1779 return trashEntryLocalService;
1780 }
1781
1782
1787 public void setTrashEntryLocalService(
1788 TrashEntryLocalService trashEntryLocalService) {
1789 this.trashEntryLocalService = trashEntryLocalService;
1790 }
1791
1792
1797 public TrashEntryService getTrashEntryService() {
1798 return trashEntryService;
1799 }
1800
1801
1806 public void setTrashEntryService(TrashEntryService trashEntryService) {
1807 this.trashEntryService = trashEntryService;
1808 }
1809
1810
1815 public TrashEntryPersistence getTrashEntryPersistence() {
1816 return trashEntryPersistence;
1817 }
1818
1819
1824 public void setTrashEntryPersistence(
1825 TrashEntryPersistence trashEntryPersistence) {
1826 this.trashEntryPersistence = trashEntryPersistence;
1827 }
1828
1829 public void afterPropertiesSet() {
1830 persistedModelLocalServiceRegistry.register("com.liferay.portlet.documentlibrary.model.DLFileEntry",
1831 dlFileEntryLocalService);
1832 }
1833
1834 public void destroy() {
1835 persistedModelLocalServiceRegistry.unregister(
1836 "com.liferay.portlet.documentlibrary.model.DLFileEntry");
1837 }
1838
1839
1844 public String getBeanIdentifier() {
1845 return _beanIdentifier;
1846 }
1847
1848
1853 public void setBeanIdentifier(String beanIdentifier) {
1854 _beanIdentifier = beanIdentifier;
1855 }
1856
1857 protected Class<?> getModelClass() {
1858 return DLFileEntry.class;
1859 }
1860
1861 protected String getModelClassName() {
1862 return DLFileEntry.class.getName();
1863 }
1864
1865
1870 protected void runSQL(String sql) throws SystemException {
1871 try {
1872 DataSource dataSource = dlFileEntryPersistence.getDataSource();
1873
1874 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1875 sql, new int[0]);
1876
1877 sqlUpdate.update();
1878 }
1879 catch (Exception e) {
1880 throw new SystemException(e);
1881 }
1882 }
1883
1884 @BeanReference(type = DLAppLocalService.class)
1885 protected DLAppLocalService dlAppLocalService;
1886 @BeanReference(type = DLAppService.class)
1887 protected DLAppService dlAppService;
1888 @BeanReference(type = DLAppHelperLocalService.class)
1889 protected DLAppHelperLocalService dlAppHelperLocalService;
1890 @BeanReference(type = DLContentLocalService.class)
1891 protected DLContentLocalService dlContentLocalService;
1892 @BeanReference(type = DLContentPersistence.class)
1893 protected DLContentPersistence dlContentPersistence;
1894 @BeanReference(type = DLFileEntryLocalService.class)
1895 protected DLFileEntryLocalService dlFileEntryLocalService;
1896 @BeanReference(type = DLFileEntryService.class)
1897 protected DLFileEntryService dlFileEntryService;
1898 @BeanReference(type = DLFileEntryPersistence.class)
1899 protected DLFileEntryPersistence dlFileEntryPersistence;
1900 @BeanReference(type = DLFileEntryFinder.class)
1901 protected DLFileEntryFinder dlFileEntryFinder;
1902 @BeanReference(type = DLFileEntryMetadataLocalService.class)
1903 protected DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
1904 @BeanReference(type = DLFileEntryMetadataPersistence.class)
1905 protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
1906 @BeanReference(type = DLFileEntryTypeLocalService.class)
1907 protected DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1908 @BeanReference(type = DLFileEntryTypeService.class)
1909 protected DLFileEntryTypeService dlFileEntryTypeService;
1910 @BeanReference(type = DLFileEntryTypePersistence.class)
1911 protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1912 @BeanReference(type = DLFileEntryTypeFinder.class)
1913 protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1914 @BeanReference(type = DLFileRankLocalService.class)
1915 protected DLFileRankLocalService dlFileRankLocalService;
1916 @BeanReference(type = DLFileRankPersistence.class)
1917 protected DLFileRankPersistence dlFileRankPersistence;
1918 @BeanReference(type = DLFileRankFinder.class)
1919 protected DLFileRankFinder dlFileRankFinder;
1920 @BeanReference(type = DLFileShortcutLocalService.class)
1921 protected DLFileShortcutLocalService dlFileShortcutLocalService;
1922 @BeanReference(type = DLFileShortcutService.class)
1923 protected DLFileShortcutService dlFileShortcutService;
1924 @BeanReference(type = DLFileShortcutPersistence.class)
1925 protected DLFileShortcutPersistence dlFileShortcutPersistence;
1926 @BeanReference(type = DLFileVersionLocalService.class)
1927 protected DLFileVersionLocalService dlFileVersionLocalService;
1928 @BeanReference(type = DLFileVersionService.class)
1929 protected DLFileVersionService dlFileVersionService;
1930 @BeanReference(type = DLFileVersionPersistence.class)
1931 protected DLFileVersionPersistence dlFileVersionPersistence;
1932 @BeanReference(type = DLFolderLocalService.class)
1933 protected DLFolderLocalService dlFolderLocalService;
1934 @BeanReference(type = DLFolderService.class)
1935 protected DLFolderService dlFolderService;
1936 @BeanReference(type = DLFolderPersistence.class)
1937 protected DLFolderPersistence dlFolderPersistence;
1938 @BeanReference(type = DLFolderFinder.class)
1939 protected DLFolderFinder dlFolderFinder;
1940 @BeanReference(type = DLSyncLocalService.class)
1941 protected DLSyncLocalService dlSyncLocalService;
1942 @BeanReference(type = DLSyncService.class)
1943 protected DLSyncService dlSyncService;
1944 @BeanReference(type = DLSyncPersistence.class)
1945 protected DLSyncPersistence dlSyncPersistence;
1946 @BeanReference(type = DLSyncFinder.class)
1947 protected DLSyncFinder dlSyncFinder;
1948 @BeanReference(type = CounterLocalService.class)
1949 protected CounterLocalService counterLocalService;
1950 @BeanReference(type = ImageLocalService.class)
1951 protected ImageLocalService imageLocalService;
1952 @BeanReference(type = ImageService.class)
1953 protected ImageService imageService;
1954 @BeanReference(type = ImagePersistence.class)
1955 protected ImagePersistence imagePersistence;
1956 @BeanReference(type = LockLocalService.class)
1957 protected LockLocalService lockLocalService;
1958 @BeanReference(type = LockPersistence.class)
1959 protected LockPersistence lockPersistence;
1960 @BeanReference(type = LockFinder.class)
1961 protected LockFinder lockFinder;
1962 @BeanReference(type = RepositoryLocalService.class)
1963 protected RepositoryLocalService repositoryLocalService;
1964 @BeanReference(type = RepositoryService.class)
1965 protected RepositoryService repositoryService;
1966 @BeanReference(type = RepositoryPersistence.class)
1967 protected RepositoryPersistence repositoryPersistence;
1968 @BeanReference(type = ResourceLocalService.class)
1969 protected ResourceLocalService resourceLocalService;
1970 @BeanReference(type = UserLocalService.class)
1971 protected UserLocalService userLocalService;
1972 @BeanReference(type = UserService.class)
1973 protected UserService userService;
1974 @BeanReference(type = UserPersistence.class)
1975 protected UserPersistence userPersistence;
1976 @BeanReference(type = UserFinder.class)
1977 protected UserFinder userFinder;
1978 @BeanReference(type = WebDAVPropsLocalService.class)
1979 protected WebDAVPropsLocalService webDAVPropsLocalService;
1980 @BeanReference(type = WebDAVPropsPersistence.class)
1981 protected WebDAVPropsPersistence webDAVPropsPersistence;
1982 @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1983 protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1984 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1985 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1986 @BeanReference(type = AssetCategoryLocalService.class)
1987 protected AssetCategoryLocalService assetCategoryLocalService;
1988 @BeanReference(type = AssetCategoryService.class)
1989 protected AssetCategoryService assetCategoryService;
1990 @BeanReference(type = AssetCategoryPersistence.class)
1991 protected AssetCategoryPersistence assetCategoryPersistence;
1992 @BeanReference(type = AssetCategoryFinder.class)
1993 protected AssetCategoryFinder assetCategoryFinder;
1994 @BeanReference(type = AssetEntryLocalService.class)
1995 protected AssetEntryLocalService assetEntryLocalService;
1996 @BeanReference(type = AssetEntryService.class)
1997 protected AssetEntryService assetEntryService;
1998 @BeanReference(type = AssetEntryPersistence.class)
1999 protected AssetEntryPersistence assetEntryPersistence;
2000 @BeanReference(type = AssetEntryFinder.class)
2001 protected AssetEntryFinder assetEntryFinder;
2002 @BeanReference(type = AssetLinkLocalService.class)
2003 protected AssetLinkLocalService assetLinkLocalService;
2004 @BeanReference(type = AssetLinkPersistence.class)
2005 protected AssetLinkPersistence assetLinkPersistence;
2006 @BeanReference(type = AssetLinkFinder.class)
2007 protected AssetLinkFinder assetLinkFinder;
2008 @BeanReference(type = AssetTagLocalService.class)
2009 protected AssetTagLocalService assetTagLocalService;
2010 @BeanReference(type = AssetTagService.class)
2011 protected AssetTagService assetTagService;
2012 @BeanReference(type = AssetTagPersistence.class)
2013 protected AssetTagPersistence assetTagPersistence;
2014 @BeanReference(type = AssetTagFinder.class)
2015 protected AssetTagFinder assetTagFinder;
2016 @BeanReference(type = DDMStructureLocalService.class)
2017 protected DDMStructureLocalService ddmStructureLocalService;
2018 @BeanReference(type = DDMStructureService.class)
2019 protected DDMStructureService ddmStructureService;
2020 @BeanReference(type = DDMStructurePersistence.class)
2021 protected DDMStructurePersistence ddmStructurePersistence;
2022 @BeanReference(type = DDMStructureFinder.class)
2023 protected DDMStructureFinder ddmStructureFinder;
2024 @BeanReference(type = ExpandoRowLocalService.class)
2025 protected ExpandoRowLocalService expandoRowLocalService;
2026 @BeanReference(type = ExpandoRowPersistence.class)
2027 protected ExpandoRowPersistence expandoRowPersistence;
2028 @BeanReference(type = ExpandoTableLocalService.class)
2029 protected ExpandoTableLocalService expandoTableLocalService;
2030 @BeanReference(type = ExpandoTablePersistence.class)
2031 protected ExpandoTablePersistence expandoTablePersistence;
2032 @BeanReference(type = ExpandoValueLocalService.class)
2033 protected ExpandoValueLocalService expandoValueLocalService;
2034 @BeanReference(type = ExpandoValueService.class)
2035 protected ExpandoValueService expandoValueService;
2036 @BeanReference(type = ExpandoValuePersistence.class)
2037 protected ExpandoValuePersistence expandoValuePersistence;
2038 @BeanReference(type = TrashEntryLocalService.class)
2039 protected TrashEntryLocalService trashEntryLocalService;
2040 @BeanReference(type = TrashEntryService.class)
2041 protected TrashEntryService trashEntryService;
2042 @BeanReference(type = TrashEntryPersistence.class)
2043 protected TrashEntryPersistence trashEntryPersistence;
2044 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
2045 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
2046 private String _beanIdentifier;
2047 }