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.ResourceLocalService;
037 import com.liferay.portal.service.UserLocalService;
038 import com.liferay.portal.service.UserService;
039 import com.liferay.portal.service.WebDAVPropsLocalService;
040 import com.liferay.portal.service.WorkflowInstanceLinkLocalService;
041 import com.liferay.portal.service.persistence.ImagePersistence;
042 import com.liferay.portal.service.persistence.LockFinder;
043 import com.liferay.portal.service.persistence.LockPersistence;
044 import com.liferay.portal.service.persistence.UserFinder;
045 import com.liferay.portal.service.persistence.UserPersistence;
046 import com.liferay.portal.service.persistence.WebDAVPropsPersistence;
047 import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
048
049 import com.liferay.portlet.asset.service.AssetCategoryLocalService;
050 import com.liferay.portlet.asset.service.AssetCategoryService;
051 import com.liferay.portlet.asset.service.AssetEntryLocalService;
052 import com.liferay.portlet.asset.service.AssetEntryService;
053 import com.liferay.portlet.asset.service.AssetLinkLocalService;
054 import com.liferay.portlet.asset.service.AssetTagLocalService;
055 import com.liferay.portlet.asset.service.AssetTagService;
056 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
057 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
058 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
059 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
060 import com.liferay.portlet.asset.service.persistence.AssetLinkFinder;
061 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
062 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
063 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
064 import com.liferay.portlet.documentlibrary.model.DLFileEntry;
065 import com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService;
066 import com.liferay.portlet.documentlibrary.service.DLAppLocalService;
067 import com.liferay.portlet.documentlibrary.service.DLAppService;
068 import com.liferay.portlet.documentlibrary.service.DLContentLocalService;
069 import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
070 import com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService;
071 import com.liferay.portlet.documentlibrary.service.DLFileEntryService;
072 import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService;
073 import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService;
074 import com.liferay.portlet.documentlibrary.service.DLFileRankLocalService;
075 import com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService;
076 import com.liferay.portlet.documentlibrary.service.DLFileShortcutService;
077 import com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService;
078 import com.liferay.portlet.documentlibrary.service.DLFileVersionService;
079 import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
080 import com.liferay.portlet.documentlibrary.service.DLFolderService;
081 import com.liferay.portlet.documentlibrary.service.DLSyncLocalService;
082 import com.liferay.portlet.documentlibrary.service.DLSyncService;
083 import com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence;
084 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
085 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
086 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
087 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
088 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
089 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
090 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
091 import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
092 import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
093 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
094 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
095 import com.liferay.portlet.documentlibrary.service.persistence.DLSyncFinder;
096 import com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistence;
097 import com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService;
098 import com.liferay.portlet.dynamicdatamapping.service.DDMStructureService;
099 import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder;
100 import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence;
101 import com.liferay.portlet.expando.service.ExpandoRowLocalService;
102 import com.liferay.portlet.expando.service.ExpandoTableLocalService;
103 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
104 import com.liferay.portlet.expando.service.ExpandoValueService;
105 import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
106 import com.liferay.portlet.expando.service.persistence.ExpandoTablePersistence;
107 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
108 import com.liferay.portlet.trash.service.TrashEntryLocalService;
109 import com.liferay.portlet.trash.service.TrashEntryService;
110 import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
111
112 import java.io.Serializable;
113
114 import java.util.List;
115
116 import javax.sql.DataSource;
117
118
130 public abstract class DLFileEntryLocalServiceBaseImpl
131 extends BaseLocalServiceImpl implements DLFileEntryLocalService,
132 IdentifiableBean {
133
138
139
146 @Indexable(type = IndexableType.REINDEX)
147 public DLFileEntry addDLFileEntry(DLFileEntry dlFileEntry)
148 throws SystemException {
149 dlFileEntry.setNew(true);
150
151 return dlFileEntryPersistence.update(dlFileEntry);
152 }
153
154
160 public DLFileEntry createDLFileEntry(long fileEntryId) {
161 return dlFileEntryPersistence.create(fileEntryId);
162 }
163
164
172 @Indexable(type = IndexableType.DELETE)
173 public DLFileEntry deleteDLFileEntry(long fileEntryId)
174 throws PortalException, SystemException {
175 return dlFileEntryPersistence.remove(fileEntryId);
176 }
177
178
185 @Indexable(type = IndexableType.DELETE)
186 public DLFileEntry deleteDLFileEntry(DLFileEntry dlFileEntry)
187 throws SystemException {
188 return dlFileEntryPersistence.remove(dlFileEntry);
189 }
190
191 public DynamicQuery dynamicQuery() {
192 Class<?> clazz = getClass();
193
194 return DynamicQueryFactoryUtil.forClass(DLFileEntry.class,
195 clazz.getClassLoader());
196 }
197
198
205 @SuppressWarnings("rawtypes")
206 public List dynamicQuery(DynamicQuery dynamicQuery)
207 throws SystemException {
208 return dlFileEntryPersistence.findWithDynamicQuery(dynamicQuery);
209 }
210
211
224 @SuppressWarnings("rawtypes")
225 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
226 throws SystemException {
227 return dlFileEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
228 end);
229 }
230
231
245 @SuppressWarnings("rawtypes")
246 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
247 OrderByComparator orderByComparator) throws SystemException {
248 return dlFileEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
249 end, orderByComparator);
250 }
251
252
259 public long dynamicQueryCount(DynamicQuery dynamicQuery)
260 throws SystemException {
261 return dlFileEntryPersistence.countWithDynamicQuery(dynamicQuery);
262 }
263
264 public DLFileEntry fetchDLFileEntry(long fileEntryId)
265 throws SystemException {
266 return dlFileEntryPersistence.fetchByPrimaryKey(fileEntryId);
267 }
268
269
277 public DLFileEntry getDLFileEntry(long fileEntryId)
278 throws PortalException, SystemException {
279 return dlFileEntryPersistence.findByPrimaryKey(fileEntryId);
280 }
281
282 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
283 throws PortalException, SystemException {
284 return dlFileEntryPersistence.findByPrimaryKey(primaryKeyObj);
285 }
286
287
296 public DLFileEntry getDLFileEntryByUuidAndGroupId(String uuid, long groupId)
297 throws PortalException, SystemException {
298 return dlFileEntryPersistence.findByUUID_G(uuid, groupId);
299 }
300
301
313 public List<DLFileEntry> getDLFileEntries(int start, int end)
314 throws SystemException {
315 return dlFileEntryPersistence.findAll(start, end);
316 }
317
318
324 public int getDLFileEntriesCount() throws SystemException {
325 return dlFileEntryPersistence.countAll();
326 }
327
328
335 @Indexable(type = IndexableType.REINDEX)
336 public DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry)
337 throws SystemException {
338 return dlFileEntryPersistence.update(dlFileEntry);
339 }
340
341
346 public DLAppLocalService getDLAppLocalService() {
347 return dlAppLocalService;
348 }
349
350
355 public void setDLAppLocalService(DLAppLocalService dlAppLocalService) {
356 this.dlAppLocalService = dlAppLocalService;
357 }
358
359
364 public DLAppService getDLAppService() {
365 return dlAppService;
366 }
367
368
373 public void setDLAppService(DLAppService dlAppService) {
374 this.dlAppService = dlAppService;
375 }
376
377
382 public DLAppHelperLocalService getDLAppHelperLocalService() {
383 return dlAppHelperLocalService;
384 }
385
386
391 public void setDLAppHelperLocalService(
392 DLAppHelperLocalService dlAppHelperLocalService) {
393 this.dlAppHelperLocalService = dlAppHelperLocalService;
394 }
395
396
401 public DLContentLocalService getDLContentLocalService() {
402 return dlContentLocalService;
403 }
404
405
410 public void setDLContentLocalService(
411 DLContentLocalService dlContentLocalService) {
412 this.dlContentLocalService = dlContentLocalService;
413 }
414
415
420 public DLContentPersistence getDLContentPersistence() {
421 return dlContentPersistence;
422 }
423
424
429 public void setDLContentPersistence(
430 DLContentPersistence dlContentPersistence) {
431 this.dlContentPersistence = dlContentPersistence;
432 }
433
434
439 public DLFileEntryLocalService getDLFileEntryLocalService() {
440 return dlFileEntryLocalService;
441 }
442
443
448 public void setDLFileEntryLocalService(
449 DLFileEntryLocalService dlFileEntryLocalService) {
450 this.dlFileEntryLocalService = dlFileEntryLocalService;
451 }
452
453
458 public DLFileEntryService getDLFileEntryService() {
459 return dlFileEntryService;
460 }
461
462
467 public void setDLFileEntryService(DLFileEntryService dlFileEntryService) {
468 this.dlFileEntryService = dlFileEntryService;
469 }
470
471
476 public DLFileEntryPersistence getDLFileEntryPersistence() {
477 return dlFileEntryPersistence;
478 }
479
480
485 public void setDLFileEntryPersistence(
486 DLFileEntryPersistence dlFileEntryPersistence) {
487 this.dlFileEntryPersistence = dlFileEntryPersistence;
488 }
489
490
495 public DLFileEntryFinder getDLFileEntryFinder() {
496 return dlFileEntryFinder;
497 }
498
499
504 public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
505 this.dlFileEntryFinder = dlFileEntryFinder;
506 }
507
508
513 public DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
514 return dlFileEntryMetadataLocalService;
515 }
516
517
522 public void setDLFileEntryMetadataLocalService(
523 DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
524 this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
525 }
526
527
532 public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
533 return dlFileEntryMetadataPersistence;
534 }
535
536
541 public void setDLFileEntryMetadataPersistence(
542 DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
543 this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
544 }
545
546
551 public DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
552 return dlFileEntryTypeLocalService;
553 }
554
555
560 public void setDLFileEntryTypeLocalService(
561 DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
562 this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
563 }
564
565
570 public DLFileEntryTypeService getDLFileEntryTypeService() {
571 return dlFileEntryTypeService;
572 }
573
574
579 public void setDLFileEntryTypeService(
580 DLFileEntryTypeService dlFileEntryTypeService) {
581 this.dlFileEntryTypeService = dlFileEntryTypeService;
582 }
583
584
589 public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
590 return dlFileEntryTypePersistence;
591 }
592
593
598 public void setDLFileEntryTypePersistence(
599 DLFileEntryTypePersistence dlFileEntryTypePersistence) {
600 this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
601 }
602
603
608 public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
609 return dlFileEntryTypeFinder;
610 }
611
612
617 public void setDLFileEntryTypeFinder(
618 DLFileEntryTypeFinder dlFileEntryTypeFinder) {
619 this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
620 }
621
622
627 public DLFileRankLocalService getDLFileRankLocalService() {
628 return dlFileRankLocalService;
629 }
630
631
636 public void setDLFileRankLocalService(
637 DLFileRankLocalService dlFileRankLocalService) {
638 this.dlFileRankLocalService = dlFileRankLocalService;
639 }
640
641
646 public DLFileRankPersistence getDLFileRankPersistence() {
647 return dlFileRankPersistence;
648 }
649
650
655 public void setDLFileRankPersistence(
656 DLFileRankPersistence dlFileRankPersistence) {
657 this.dlFileRankPersistence = dlFileRankPersistence;
658 }
659
660
665 public DLFileRankFinder getDLFileRankFinder() {
666 return dlFileRankFinder;
667 }
668
669
674 public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
675 this.dlFileRankFinder = dlFileRankFinder;
676 }
677
678
683 public DLFileShortcutLocalService getDLFileShortcutLocalService() {
684 return dlFileShortcutLocalService;
685 }
686
687
692 public void setDLFileShortcutLocalService(
693 DLFileShortcutLocalService dlFileShortcutLocalService) {
694 this.dlFileShortcutLocalService = dlFileShortcutLocalService;
695 }
696
697
702 public DLFileShortcutService getDLFileShortcutService() {
703 return dlFileShortcutService;
704 }
705
706
711 public void setDLFileShortcutService(
712 DLFileShortcutService dlFileShortcutService) {
713 this.dlFileShortcutService = dlFileShortcutService;
714 }
715
716
721 public DLFileShortcutPersistence getDLFileShortcutPersistence() {
722 return dlFileShortcutPersistence;
723 }
724
725
730 public void setDLFileShortcutPersistence(
731 DLFileShortcutPersistence dlFileShortcutPersistence) {
732 this.dlFileShortcutPersistence = dlFileShortcutPersistence;
733 }
734
735
740 public DLFileVersionLocalService getDLFileVersionLocalService() {
741 return dlFileVersionLocalService;
742 }
743
744
749 public void setDLFileVersionLocalService(
750 DLFileVersionLocalService dlFileVersionLocalService) {
751 this.dlFileVersionLocalService = dlFileVersionLocalService;
752 }
753
754
759 public DLFileVersionService getDLFileVersionService() {
760 return dlFileVersionService;
761 }
762
763
768 public void setDLFileVersionService(
769 DLFileVersionService dlFileVersionService) {
770 this.dlFileVersionService = dlFileVersionService;
771 }
772
773
778 public DLFileVersionPersistence getDLFileVersionPersistence() {
779 return dlFileVersionPersistence;
780 }
781
782
787 public void setDLFileVersionPersistence(
788 DLFileVersionPersistence dlFileVersionPersistence) {
789 this.dlFileVersionPersistence = dlFileVersionPersistence;
790 }
791
792
797 public DLFolderLocalService getDLFolderLocalService() {
798 return dlFolderLocalService;
799 }
800
801
806 public void setDLFolderLocalService(
807 DLFolderLocalService dlFolderLocalService) {
808 this.dlFolderLocalService = dlFolderLocalService;
809 }
810
811
816 public DLFolderService getDLFolderService() {
817 return dlFolderService;
818 }
819
820
825 public void setDLFolderService(DLFolderService dlFolderService) {
826 this.dlFolderService = dlFolderService;
827 }
828
829
834 public DLFolderPersistence getDLFolderPersistence() {
835 return dlFolderPersistence;
836 }
837
838
843 public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
844 this.dlFolderPersistence = dlFolderPersistence;
845 }
846
847
852 public DLFolderFinder getDLFolderFinder() {
853 return dlFolderFinder;
854 }
855
856
861 public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
862 this.dlFolderFinder = dlFolderFinder;
863 }
864
865
870 public DLSyncLocalService getDLSyncLocalService() {
871 return dlSyncLocalService;
872 }
873
874
879 public void setDLSyncLocalService(DLSyncLocalService dlSyncLocalService) {
880 this.dlSyncLocalService = dlSyncLocalService;
881 }
882
883
888 public DLSyncService getDLSyncService() {
889 return dlSyncService;
890 }
891
892
897 public void setDLSyncService(DLSyncService dlSyncService) {
898 this.dlSyncService = dlSyncService;
899 }
900
901
906 public DLSyncPersistence getDLSyncPersistence() {
907 return dlSyncPersistence;
908 }
909
910
915 public void setDLSyncPersistence(DLSyncPersistence dlSyncPersistence) {
916 this.dlSyncPersistence = dlSyncPersistence;
917 }
918
919
924 public DLSyncFinder getDLSyncFinder() {
925 return dlSyncFinder;
926 }
927
928
933 public void setDLSyncFinder(DLSyncFinder dlSyncFinder) {
934 this.dlSyncFinder = dlSyncFinder;
935 }
936
937
942 public CounterLocalService getCounterLocalService() {
943 return counterLocalService;
944 }
945
946
951 public void setCounterLocalService(CounterLocalService counterLocalService) {
952 this.counterLocalService = counterLocalService;
953 }
954
955
960 public ImageLocalService getImageLocalService() {
961 return imageLocalService;
962 }
963
964
969 public void setImageLocalService(ImageLocalService imageLocalService) {
970 this.imageLocalService = imageLocalService;
971 }
972
973
978 public ImageService getImageService() {
979 return imageService;
980 }
981
982
987 public void setImageService(ImageService imageService) {
988 this.imageService = imageService;
989 }
990
991
996 public ImagePersistence getImagePersistence() {
997 return imagePersistence;
998 }
999
1000
1005 public void setImagePersistence(ImagePersistence imagePersistence) {
1006 this.imagePersistence = imagePersistence;
1007 }
1008
1009
1014 public LockLocalService getLockLocalService() {
1015 return lockLocalService;
1016 }
1017
1018
1023 public void setLockLocalService(LockLocalService lockLocalService) {
1024 this.lockLocalService = lockLocalService;
1025 }
1026
1027
1032 public LockPersistence getLockPersistence() {
1033 return lockPersistence;
1034 }
1035
1036
1041 public void setLockPersistence(LockPersistence lockPersistence) {
1042 this.lockPersistence = lockPersistence;
1043 }
1044
1045
1050 public LockFinder getLockFinder() {
1051 return lockFinder;
1052 }
1053
1054
1059 public void setLockFinder(LockFinder lockFinder) {
1060 this.lockFinder = lockFinder;
1061 }
1062
1063
1068 public ResourceLocalService getResourceLocalService() {
1069 return resourceLocalService;
1070 }
1071
1072
1077 public void setResourceLocalService(
1078 ResourceLocalService resourceLocalService) {
1079 this.resourceLocalService = resourceLocalService;
1080 }
1081
1082
1087 public UserLocalService getUserLocalService() {
1088 return userLocalService;
1089 }
1090
1091
1096 public void setUserLocalService(UserLocalService userLocalService) {
1097 this.userLocalService = userLocalService;
1098 }
1099
1100
1105 public UserService getUserService() {
1106 return userService;
1107 }
1108
1109
1114 public void setUserService(UserService userService) {
1115 this.userService = userService;
1116 }
1117
1118
1123 public UserPersistence getUserPersistence() {
1124 return userPersistence;
1125 }
1126
1127
1132 public void setUserPersistence(UserPersistence userPersistence) {
1133 this.userPersistence = userPersistence;
1134 }
1135
1136
1141 public UserFinder getUserFinder() {
1142 return userFinder;
1143 }
1144
1145
1150 public void setUserFinder(UserFinder userFinder) {
1151 this.userFinder = userFinder;
1152 }
1153
1154
1159 public WebDAVPropsLocalService getWebDAVPropsLocalService() {
1160 return webDAVPropsLocalService;
1161 }
1162
1163
1168 public void setWebDAVPropsLocalService(
1169 WebDAVPropsLocalService webDAVPropsLocalService) {
1170 this.webDAVPropsLocalService = webDAVPropsLocalService;
1171 }
1172
1173
1178 public WebDAVPropsPersistence getWebDAVPropsPersistence() {
1179 return webDAVPropsPersistence;
1180 }
1181
1182
1187 public void setWebDAVPropsPersistence(
1188 WebDAVPropsPersistence webDAVPropsPersistence) {
1189 this.webDAVPropsPersistence = webDAVPropsPersistence;
1190 }
1191
1192
1197 public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1198 return workflowInstanceLinkLocalService;
1199 }
1200
1201
1206 public void setWorkflowInstanceLinkLocalService(
1207 WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1208 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1209 }
1210
1211
1216 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1217 return workflowInstanceLinkPersistence;
1218 }
1219
1220
1225 public void setWorkflowInstanceLinkPersistence(
1226 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1227 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1228 }
1229
1230
1235 public AssetCategoryLocalService getAssetCategoryLocalService() {
1236 return assetCategoryLocalService;
1237 }
1238
1239
1244 public void setAssetCategoryLocalService(
1245 AssetCategoryLocalService assetCategoryLocalService) {
1246 this.assetCategoryLocalService = assetCategoryLocalService;
1247 }
1248
1249
1254 public AssetCategoryService getAssetCategoryService() {
1255 return assetCategoryService;
1256 }
1257
1258
1263 public void setAssetCategoryService(
1264 AssetCategoryService assetCategoryService) {
1265 this.assetCategoryService = assetCategoryService;
1266 }
1267
1268
1273 public AssetCategoryPersistence getAssetCategoryPersistence() {
1274 return assetCategoryPersistence;
1275 }
1276
1277
1282 public void setAssetCategoryPersistence(
1283 AssetCategoryPersistence assetCategoryPersistence) {
1284 this.assetCategoryPersistence = assetCategoryPersistence;
1285 }
1286
1287
1292 public AssetCategoryFinder getAssetCategoryFinder() {
1293 return assetCategoryFinder;
1294 }
1295
1296
1301 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
1302 this.assetCategoryFinder = assetCategoryFinder;
1303 }
1304
1305
1310 public AssetEntryLocalService getAssetEntryLocalService() {
1311 return assetEntryLocalService;
1312 }
1313
1314
1319 public void setAssetEntryLocalService(
1320 AssetEntryLocalService assetEntryLocalService) {
1321 this.assetEntryLocalService = assetEntryLocalService;
1322 }
1323
1324
1329 public AssetEntryService getAssetEntryService() {
1330 return assetEntryService;
1331 }
1332
1333
1338 public void setAssetEntryService(AssetEntryService assetEntryService) {
1339 this.assetEntryService = assetEntryService;
1340 }
1341
1342
1347 public AssetEntryPersistence getAssetEntryPersistence() {
1348 return assetEntryPersistence;
1349 }
1350
1351
1356 public void setAssetEntryPersistence(
1357 AssetEntryPersistence assetEntryPersistence) {
1358 this.assetEntryPersistence = assetEntryPersistence;
1359 }
1360
1361
1366 public AssetEntryFinder getAssetEntryFinder() {
1367 return assetEntryFinder;
1368 }
1369
1370
1375 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1376 this.assetEntryFinder = assetEntryFinder;
1377 }
1378
1379
1384 public AssetLinkLocalService getAssetLinkLocalService() {
1385 return assetLinkLocalService;
1386 }
1387
1388
1393 public void setAssetLinkLocalService(
1394 AssetLinkLocalService assetLinkLocalService) {
1395 this.assetLinkLocalService = assetLinkLocalService;
1396 }
1397
1398
1403 public AssetLinkPersistence getAssetLinkPersistence() {
1404 return assetLinkPersistence;
1405 }
1406
1407
1412 public void setAssetLinkPersistence(
1413 AssetLinkPersistence assetLinkPersistence) {
1414 this.assetLinkPersistence = assetLinkPersistence;
1415 }
1416
1417
1422 public AssetLinkFinder getAssetLinkFinder() {
1423 return assetLinkFinder;
1424 }
1425
1426
1431 public void setAssetLinkFinder(AssetLinkFinder assetLinkFinder) {
1432 this.assetLinkFinder = assetLinkFinder;
1433 }
1434
1435
1440 public AssetTagLocalService getAssetTagLocalService() {
1441 return assetTagLocalService;
1442 }
1443
1444
1449 public void setAssetTagLocalService(
1450 AssetTagLocalService assetTagLocalService) {
1451 this.assetTagLocalService = assetTagLocalService;
1452 }
1453
1454
1459 public AssetTagService getAssetTagService() {
1460 return assetTagService;
1461 }
1462
1463
1468 public void setAssetTagService(AssetTagService assetTagService) {
1469 this.assetTagService = assetTagService;
1470 }
1471
1472
1477 public AssetTagPersistence getAssetTagPersistence() {
1478 return assetTagPersistence;
1479 }
1480
1481
1486 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1487 this.assetTagPersistence = assetTagPersistence;
1488 }
1489
1490
1495 public AssetTagFinder getAssetTagFinder() {
1496 return assetTagFinder;
1497 }
1498
1499
1504 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1505 this.assetTagFinder = assetTagFinder;
1506 }
1507
1508
1513 public DDMStructureLocalService getDDMStructureLocalService() {
1514 return ddmStructureLocalService;
1515 }
1516
1517
1522 public void setDDMStructureLocalService(
1523 DDMStructureLocalService ddmStructureLocalService) {
1524 this.ddmStructureLocalService = ddmStructureLocalService;
1525 }
1526
1527
1532 public DDMStructureService getDDMStructureService() {
1533 return ddmStructureService;
1534 }
1535
1536
1541 public void setDDMStructureService(DDMStructureService ddmStructureService) {
1542 this.ddmStructureService = ddmStructureService;
1543 }
1544
1545
1550 public DDMStructurePersistence getDDMStructurePersistence() {
1551 return ddmStructurePersistence;
1552 }
1553
1554
1559 public void setDDMStructurePersistence(
1560 DDMStructurePersistence ddmStructurePersistence) {
1561 this.ddmStructurePersistence = ddmStructurePersistence;
1562 }
1563
1564
1569 public DDMStructureFinder getDDMStructureFinder() {
1570 return ddmStructureFinder;
1571 }
1572
1573
1578 public void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder) {
1579 this.ddmStructureFinder = ddmStructureFinder;
1580 }
1581
1582
1587 public ExpandoRowLocalService getExpandoRowLocalService() {
1588 return expandoRowLocalService;
1589 }
1590
1591
1596 public void setExpandoRowLocalService(
1597 ExpandoRowLocalService expandoRowLocalService) {
1598 this.expandoRowLocalService = expandoRowLocalService;
1599 }
1600
1601
1606 public ExpandoRowPersistence getExpandoRowPersistence() {
1607 return expandoRowPersistence;
1608 }
1609
1610
1615 public void setExpandoRowPersistence(
1616 ExpandoRowPersistence expandoRowPersistence) {
1617 this.expandoRowPersistence = expandoRowPersistence;
1618 }
1619
1620
1625 public ExpandoTableLocalService getExpandoTableLocalService() {
1626 return expandoTableLocalService;
1627 }
1628
1629
1634 public void setExpandoTableLocalService(
1635 ExpandoTableLocalService expandoTableLocalService) {
1636 this.expandoTableLocalService = expandoTableLocalService;
1637 }
1638
1639
1644 public ExpandoTablePersistence getExpandoTablePersistence() {
1645 return expandoTablePersistence;
1646 }
1647
1648
1653 public void setExpandoTablePersistence(
1654 ExpandoTablePersistence expandoTablePersistence) {
1655 this.expandoTablePersistence = expandoTablePersistence;
1656 }
1657
1658
1663 public ExpandoValueLocalService getExpandoValueLocalService() {
1664 return expandoValueLocalService;
1665 }
1666
1667
1672 public void setExpandoValueLocalService(
1673 ExpandoValueLocalService expandoValueLocalService) {
1674 this.expandoValueLocalService = expandoValueLocalService;
1675 }
1676
1677
1682 public ExpandoValueService getExpandoValueService() {
1683 return expandoValueService;
1684 }
1685
1686
1691 public void setExpandoValueService(ExpandoValueService expandoValueService) {
1692 this.expandoValueService = expandoValueService;
1693 }
1694
1695
1700 public ExpandoValuePersistence getExpandoValuePersistence() {
1701 return expandoValuePersistence;
1702 }
1703
1704
1709 public void setExpandoValuePersistence(
1710 ExpandoValuePersistence expandoValuePersistence) {
1711 this.expandoValuePersistence = expandoValuePersistence;
1712 }
1713
1714
1719 public TrashEntryLocalService getTrashEntryLocalService() {
1720 return trashEntryLocalService;
1721 }
1722
1723
1728 public void setTrashEntryLocalService(
1729 TrashEntryLocalService trashEntryLocalService) {
1730 this.trashEntryLocalService = trashEntryLocalService;
1731 }
1732
1733
1738 public TrashEntryService getTrashEntryService() {
1739 return trashEntryService;
1740 }
1741
1742
1747 public void setTrashEntryService(TrashEntryService trashEntryService) {
1748 this.trashEntryService = trashEntryService;
1749 }
1750
1751
1756 public TrashEntryPersistence getTrashEntryPersistence() {
1757 return trashEntryPersistence;
1758 }
1759
1760
1765 public void setTrashEntryPersistence(
1766 TrashEntryPersistence trashEntryPersistence) {
1767 this.trashEntryPersistence = trashEntryPersistence;
1768 }
1769
1770 public void afterPropertiesSet() {
1771 persistedModelLocalServiceRegistry.register("com.liferay.portlet.documentlibrary.model.DLFileEntry",
1772 dlFileEntryLocalService);
1773 }
1774
1775 public void destroy() {
1776 persistedModelLocalServiceRegistry.unregister(
1777 "com.liferay.portlet.documentlibrary.model.DLFileEntry");
1778 }
1779
1780
1785 public String getBeanIdentifier() {
1786 return _beanIdentifier;
1787 }
1788
1789
1794 public void setBeanIdentifier(String beanIdentifier) {
1795 _beanIdentifier = beanIdentifier;
1796 }
1797
1798 protected Class<?> getModelClass() {
1799 return DLFileEntry.class;
1800 }
1801
1802 protected String getModelClassName() {
1803 return DLFileEntry.class.getName();
1804 }
1805
1806
1811 protected void runSQL(String sql) throws SystemException {
1812 try {
1813 DataSource dataSource = dlFileEntryPersistence.getDataSource();
1814
1815 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1816 sql, new int[0]);
1817
1818 sqlUpdate.update();
1819 }
1820 catch (Exception e) {
1821 throw new SystemException(e);
1822 }
1823 }
1824
1825 @BeanReference(type = DLAppLocalService.class)
1826 protected DLAppLocalService dlAppLocalService;
1827 @BeanReference(type = DLAppService.class)
1828 protected DLAppService dlAppService;
1829 @BeanReference(type = DLAppHelperLocalService.class)
1830 protected DLAppHelperLocalService dlAppHelperLocalService;
1831 @BeanReference(type = DLContentLocalService.class)
1832 protected DLContentLocalService dlContentLocalService;
1833 @BeanReference(type = DLContentPersistence.class)
1834 protected DLContentPersistence dlContentPersistence;
1835 @BeanReference(type = DLFileEntryLocalService.class)
1836 protected DLFileEntryLocalService dlFileEntryLocalService;
1837 @BeanReference(type = DLFileEntryService.class)
1838 protected DLFileEntryService dlFileEntryService;
1839 @BeanReference(type = DLFileEntryPersistence.class)
1840 protected DLFileEntryPersistence dlFileEntryPersistence;
1841 @BeanReference(type = DLFileEntryFinder.class)
1842 protected DLFileEntryFinder dlFileEntryFinder;
1843 @BeanReference(type = DLFileEntryMetadataLocalService.class)
1844 protected DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
1845 @BeanReference(type = DLFileEntryMetadataPersistence.class)
1846 protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
1847 @BeanReference(type = DLFileEntryTypeLocalService.class)
1848 protected DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1849 @BeanReference(type = DLFileEntryTypeService.class)
1850 protected DLFileEntryTypeService dlFileEntryTypeService;
1851 @BeanReference(type = DLFileEntryTypePersistence.class)
1852 protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1853 @BeanReference(type = DLFileEntryTypeFinder.class)
1854 protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1855 @BeanReference(type = DLFileRankLocalService.class)
1856 protected DLFileRankLocalService dlFileRankLocalService;
1857 @BeanReference(type = DLFileRankPersistence.class)
1858 protected DLFileRankPersistence dlFileRankPersistence;
1859 @BeanReference(type = DLFileRankFinder.class)
1860 protected DLFileRankFinder dlFileRankFinder;
1861 @BeanReference(type = DLFileShortcutLocalService.class)
1862 protected DLFileShortcutLocalService dlFileShortcutLocalService;
1863 @BeanReference(type = DLFileShortcutService.class)
1864 protected DLFileShortcutService dlFileShortcutService;
1865 @BeanReference(type = DLFileShortcutPersistence.class)
1866 protected DLFileShortcutPersistence dlFileShortcutPersistence;
1867 @BeanReference(type = DLFileVersionLocalService.class)
1868 protected DLFileVersionLocalService dlFileVersionLocalService;
1869 @BeanReference(type = DLFileVersionService.class)
1870 protected DLFileVersionService dlFileVersionService;
1871 @BeanReference(type = DLFileVersionPersistence.class)
1872 protected DLFileVersionPersistence dlFileVersionPersistence;
1873 @BeanReference(type = DLFolderLocalService.class)
1874 protected DLFolderLocalService dlFolderLocalService;
1875 @BeanReference(type = DLFolderService.class)
1876 protected DLFolderService dlFolderService;
1877 @BeanReference(type = DLFolderPersistence.class)
1878 protected DLFolderPersistence dlFolderPersistence;
1879 @BeanReference(type = DLFolderFinder.class)
1880 protected DLFolderFinder dlFolderFinder;
1881 @BeanReference(type = DLSyncLocalService.class)
1882 protected DLSyncLocalService dlSyncLocalService;
1883 @BeanReference(type = DLSyncService.class)
1884 protected DLSyncService dlSyncService;
1885 @BeanReference(type = DLSyncPersistence.class)
1886 protected DLSyncPersistence dlSyncPersistence;
1887 @BeanReference(type = DLSyncFinder.class)
1888 protected DLSyncFinder dlSyncFinder;
1889 @BeanReference(type = CounterLocalService.class)
1890 protected CounterLocalService counterLocalService;
1891 @BeanReference(type = ImageLocalService.class)
1892 protected ImageLocalService imageLocalService;
1893 @BeanReference(type = ImageService.class)
1894 protected ImageService imageService;
1895 @BeanReference(type = ImagePersistence.class)
1896 protected ImagePersistence imagePersistence;
1897 @BeanReference(type = LockLocalService.class)
1898 protected LockLocalService lockLocalService;
1899 @BeanReference(type = LockPersistence.class)
1900 protected LockPersistence lockPersistence;
1901 @BeanReference(type = LockFinder.class)
1902 protected LockFinder lockFinder;
1903 @BeanReference(type = ResourceLocalService.class)
1904 protected ResourceLocalService resourceLocalService;
1905 @BeanReference(type = UserLocalService.class)
1906 protected UserLocalService userLocalService;
1907 @BeanReference(type = UserService.class)
1908 protected UserService userService;
1909 @BeanReference(type = UserPersistence.class)
1910 protected UserPersistence userPersistence;
1911 @BeanReference(type = UserFinder.class)
1912 protected UserFinder userFinder;
1913 @BeanReference(type = WebDAVPropsLocalService.class)
1914 protected WebDAVPropsLocalService webDAVPropsLocalService;
1915 @BeanReference(type = WebDAVPropsPersistence.class)
1916 protected WebDAVPropsPersistence webDAVPropsPersistence;
1917 @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1918 protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1919 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1920 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1921 @BeanReference(type = AssetCategoryLocalService.class)
1922 protected AssetCategoryLocalService assetCategoryLocalService;
1923 @BeanReference(type = AssetCategoryService.class)
1924 protected AssetCategoryService assetCategoryService;
1925 @BeanReference(type = AssetCategoryPersistence.class)
1926 protected AssetCategoryPersistence assetCategoryPersistence;
1927 @BeanReference(type = AssetCategoryFinder.class)
1928 protected AssetCategoryFinder assetCategoryFinder;
1929 @BeanReference(type = AssetEntryLocalService.class)
1930 protected AssetEntryLocalService assetEntryLocalService;
1931 @BeanReference(type = AssetEntryService.class)
1932 protected AssetEntryService assetEntryService;
1933 @BeanReference(type = AssetEntryPersistence.class)
1934 protected AssetEntryPersistence assetEntryPersistence;
1935 @BeanReference(type = AssetEntryFinder.class)
1936 protected AssetEntryFinder assetEntryFinder;
1937 @BeanReference(type = AssetLinkLocalService.class)
1938 protected AssetLinkLocalService assetLinkLocalService;
1939 @BeanReference(type = AssetLinkPersistence.class)
1940 protected AssetLinkPersistence assetLinkPersistence;
1941 @BeanReference(type = AssetLinkFinder.class)
1942 protected AssetLinkFinder assetLinkFinder;
1943 @BeanReference(type = AssetTagLocalService.class)
1944 protected AssetTagLocalService assetTagLocalService;
1945 @BeanReference(type = AssetTagService.class)
1946 protected AssetTagService assetTagService;
1947 @BeanReference(type = AssetTagPersistence.class)
1948 protected AssetTagPersistence assetTagPersistence;
1949 @BeanReference(type = AssetTagFinder.class)
1950 protected AssetTagFinder assetTagFinder;
1951 @BeanReference(type = DDMStructureLocalService.class)
1952 protected DDMStructureLocalService ddmStructureLocalService;
1953 @BeanReference(type = DDMStructureService.class)
1954 protected DDMStructureService ddmStructureService;
1955 @BeanReference(type = DDMStructurePersistence.class)
1956 protected DDMStructurePersistence ddmStructurePersistence;
1957 @BeanReference(type = DDMStructureFinder.class)
1958 protected DDMStructureFinder ddmStructureFinder;
1959 @BeanReference(type = ExpandoRowLocalService.class)
1960 protected ExpandoRowLocalService expandoRowLocalService;
1961 @BeanReference(type = ExpandoRowPersistence.class)
1962 protected ExpandoRowPersistence expandoRowPersistence;
1963 @BeanReference(type = ExpandoTableLocalService.class)
1964 protected ExpandoTableLocalService expandoTableLocalService;
1965 @BeanReference(type = ExpandoTablePersistence.class)
1966 protected ExpandoTablePersistence expandoTablePersistence;
1967 @BeanReference(type = ExpandoValueLocalService.class)
1968 protected ExpandoValueLocalService expandoValueLocalService;
1969 @BeanReference(type = ExpandoValueService.class)
1970 protected ExpandoValueService expandoValueService;
1971 @BeanReference(type = ExpandoValuePersistence.class)
1972 protected ExpandoValuePersistence expandoValuePersistence;
1973 @BeanReference(type = TrashEntryLocalService.class)
1974 protected TrashEntryLocalService trashEntryLocalService;
1975 @BeanReference(type = TrashEntryService.class)
1976 protected TrashEntryService trashEntryService;
1977 @BeanReference(type = TrashEntryPersistence.class)
1978 protected TrashEntryPersistence trashEntryPersistence;
1979 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1980 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1981 private String _beanIdentifier;
1982 }