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.ResourceService;
038 import com.liferay.portal.service.UserLocalService;
039 import com.liferay.portal.service.UserService;
040 import com.liferay.portal.service.WebDAVPropsLocalService;
041 import com.liferay.portal.service.WorkflowInstanceLinkLocalService;
042 import com.liferay.portal.service.persistence.ImagePersistence;
043 import com.liferay.portal.service.persistence.LockFinder;
044 import com.liferay.portal.service.persistence.LockPersistence;
045 import com.liferay.portal.service.persistence.ResourceFinder;
046 import com.liferay.portal.service.persistence.ResourcePersistence;
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.AssetLinkPersistence;
064 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
065 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
066 import com.liferay.portlet.documentlibrary.model.DLFileEntry;
067 import com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService;
068 import com.liferay.portlet.documentlibrary.service.DLAppLocalService;
069 import com.liferay.portlet.documentlibrary.service.DLAppService;
070 import com.liferay.portlet.documentlibrary.service.DLContentLocalService;
071 import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
072 import com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService;
073 import com.liferay.portlet.documentlibrary.service.DLFileEntryService;
074 import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService;
075 import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService;
076 import com.liferay.portlet.documentlibrary.service.DLFileRankLocalService;
077 import com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService;
078 import com.liferay.portlet.documentlibrary.service.DLFileShortcutService;
079 import com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService;
080 import com.liferay.portlet.documentlibrary.service.DLFileVersionService;
081 import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
082 import com.liferay.portlet.documentlibrary.service.DLFolderService;
083 import com.liferay.portlet.documentlibrary.service.DLSyncLocalService;
084 import com.liferay.portlet.documentlibrary.service.DLSyncService;
085 import com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence;
086 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
087 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
088 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
089 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
090 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
091 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
092 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
093 import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
094 import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
095 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
096 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
097 import com.liferay.portlet.documentlibrary.service.persistence.DLSyncFinder;
098 import com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistence;
099 import com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService;
100 import com.liferay.portlet.dynamicdatamapping.service.DDMStructureService;
101 import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder;
102 import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence;
103 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
104 import com.liferay.portlet.expando.service.ExpandoValueService;
105 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
106
107 import java.io.Serializable;
108
109 import java.util.List;
110
111 import javax.sql.DataSource;
112
113
125 public abstract class DLFileEntryLocalServiceBaseImpl
126 extends BaseLocalServiceImpl implements DLFileEntryLocalService,
127 IdentifiableBean {
128
133
134
141 @Indexable(type = IndexableType.REINDEX)
142 public DLFileEntry addDLFileEntry(DLFileEntry dlFileEntry)
143 throws SystemException {
144 dlFileEntry.setNew(true);
145
146 return dlFileEntryPersistence.update(dlFileEntry, false);
147 }
148
149
155 public DLFileEntry createDLFileEntry(long fileEntryId) {
156 return dlFileEntryPersistence.create(fileEntryId);
157 }
158
159
167 @Indexable(type = IndexableType.DELETE)
168 public DLFileEntry deleteDLFileEntry(long fileEntryId)
169 throws PortalException, SystemException {
170 return dlFileEntryPersistence.remove(fileEntryId);
171 }
172
173
180 @Indexable(type = IndexableType.DELETE)
181 public DLFileEntry deleteDLFileEntry(DLFileEntry dlFileEntry)
182 throws SystemException {
183 return dlFileEntryPersistence.remove(dlFileEntry);
184 }
185
186 public DynamicQuery dynamicQuery() {
187 Class<?> clazz = getClass();
188
189 return DynamicQueryFactoryUtil.forClass(DLFileEntry.class,
190 clazz.getClassLoader());
191 }
192
193
200 @SuppressWarnings("rawtypes")
201 public List dynamicQuery(DynamicQuery dynamicQuery)
202 throws SystemException {
203 return dlFileEntryPersistence.findWithDynamicQuery(dynamicQuery);
204 }
205
206
219 @SuppressWarnings("rawtypes")
220 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
221 throws SystemException {
222 return dlFileEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
223 end);
224 }
225
226
240 @SuppressWarnings("rawtypes")
241 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
242 OrderByComparator orderByComparator) throws SystemException {
243 return dlFileEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
244 end, orderByComparator);
245 }
246
247
254 public long dynamicQueryCount(DynamicQuery dynamicQuery)
255 throws SystemException {
256 return dlFileEntryPersistence.countWithDynamicQuery(dynamicQuery);
257 }
258
259 public DLFileEntry fetchDLFileEntry(long fileEntryId)
260 throws SystemException {
261 return dlFileEntryPersistence.fetchByPrimaryKey(fileEntryId);
262 }
263
264
272 public DLFileEntry getDLFileEntry(long fileEntryId)
273 throws PortalException, SystemException {
274 return dlFileEntryPersistence.findByPrimaryKey(fileEntryId);
275 }
276
277 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
278 throws PortalException, SystemException {
279 return dlFileEntryPersistence.findByPrimaryKey(primaryKeyObj);
280 }
281
282
291 public DLFileEntry getDLFileEntryByUuidAndGroupId(String uuid, long groupId)
292 throws PortalException, SystemException {
293 return dlFileEntryPersistence.findByUUID_G(uuid, groupId);
294 }
295
296
308 public List<DLFileEntry> getDLFileEntries(int start, int end)
309 throws SystemException {
310 return dlFileEntryPersistence.findAll(start, end);
311 }
312
313
319 public int getDLFileEntriesCount() throws SystemException {
320 return dlFileEntryPersistence.countAll();
321 }
322
323
330 @Indexable(type = IndexableType.REINDEX)
331 public DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry)
332 throws SystemException {
333 return updateDLFileEntry(dlFileEntry, true);
334 }
335
336
344 @Indexable(type = IndexableType.REINDEX)
345 public DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry, boolean merge)
346 throws SystemException {
347 dlFileEntry.setNew(false);
348
349 return dlFileEntryPersistence.update(dlFileEntry, merge);
350 }
351
352
357 public DLAppLocalService getDLAppLocalService() {
358 return dlAppLocalService;
359 }
360
361
366 public void setDLAppLocalService(DLAppLocalService dlAppLocalService) {
367 this.dlAppLocalService = dlAppLocalService;
368 }
369
370
375 public DLAppService getDLAppService() {
376 return dlAppService;
377 }
378
379
384 public void setDLAppService(DLAppService dlAppService) {
385 this.dlAppService = dlAppService;
386 }
387
388
393 public DLAppHelperLocalService getDLAppHelperLocalService() {
394 return dlAppHelperLocalService;
395 }
396
397
402 public void setDLAppHelperLocalService(
403 DLAppHelperLocalService dlAppHelperLocalService) {
404 this.dlAppHelperLocalService = dlAppHelperLocalService;
405 }
406
407
412 public DLContentLocalService getDLContentLocalService() {
413 return dlContentLocalService;
414 }
415
416
421 public void setDLContentLocalService(
422 DLContentLocalService dlContentLocalService) {
423 this.dlContentLocalService = dlContentLocalService;
424 }
425
426
431 public DLContentPersistence getDLContentPersistence() {
432 return dlContentPersistence;
433 }
434
435
440 public void setDLContentPersistence(
441 DLContentPersistence dlContentPersistence) {
442 this.dlContentPersistence = dlContentPersistence;
443 }
444
445
450 public DLFileEntryLocalService getDLFileEntryLocalService() {
451 return dlFileEntryLocalService;
452 }
453
454
459 public void setDLFileEntryLocalService(
460 DLFileEntryLocalService dlFileEntryLocalService) {
461 this.dlFileEntryLocalService = dlFileEntryLocalService;
462 }
463
464
469 public DLFileEntryService getDLFileEntryService() {
470 return dlFileEntryService;
471 }
472
473
478 public void setDLFileEntryService(DLFileEntryService dlFileEntryService) {
479 this.dlFileEntryService = dlFileEntryService;
480 }
481
482
487 public DLFileEntryPersistence getDLFileEntryPersistence() {
488 return dlFileEntryPersistence;
489 }
490
491
496 public void setDLFileEntryPersistence(
497 DLFileEntryPersistence dlFileEntryPersistence) {
498 this.dlFileEntryPersistence = dlFileEntryPersistence;
499 }
500
501
506 public DLFileEntryFinder getDLFileEntryFinder() {
507 return dlFileEntryFinder;
508 }
509
510
515 public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
516 this.dlFileEntryFinder = dlFileEntryFinder;
517 }
518
519
524 public DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
525 return dlFileEntryMetadataLocalService;
526 }
527
528
533 public void setDLFileEntryMetadataLocalService(
534 DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
535 this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
536 }
537
538
543 public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
544 return dlFileEntryMetadataPersistence;
545 }
546
547
552 public void setDLFileEntryMetadataPersistence(
553 DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
554 this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
555 }
556
557
562 public DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
563 return dlFileEntryTypeLocalService;
564 }
565
566
571 public void setDLFileEntryTypeLocalService(
572 DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
573 this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
574 }
575
576
581 public DLFileEntryTypeService getDLFileEntryTypeService() {
582 return dlFileEntryTypeService;
583 }
584
585
590 public void setDLFileEntryTypeService(
591 DLFileEntryTypeService dlFileEntryTypeService) {
592 this.dlFileEntryTypeService = dlFileEntryTypeService;
593 }
594
595
600 public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
601 return dlFileEntryTypePersistence;
602 }
603
604
609 public void setDLFileEntryTypePersistence(
610 DLFileEntryTypePersistence dlFileEntryTypePersistence) {
611 this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
612 }
613
614
619 public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
620 return dlFileEntryTypeFinder;
621 }
622
623
628 public void setDLFileEntryTypeFinder(
629 DLFileEntryTypeFinder dlFileEntryTypeFinder) {
630 this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
631 }
632
633
638 public DLFileRankLocalService getDLFileRankLocalService() {
639 return dlFileRankLocalService;
640 }
641
642
647 public void setDLFileRankLocalService(
648 DLFileRankLocalService dlFileRankLocalService) {
649 this.dlFileRankLocalService = dlFileRankLocalService;
650 }
651
652
657 public DLFileRankPersistence getDLFileRankPersistence() {
658 return dlFileRankPersistence;
659 }
660
661
666 public void setDLFileRankPersistence(
667 DLFileRankPersistence dlFileRankPersistence) {
668 this.dlFileRankPersistence = dlFileRankPersistence;
669 }
670
671
676 public DLFileRankFinder getDLFileRankFinder() {
677 return dlFileRankFinder;
678 }
679
680
685 public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
686 this.dlFileRankFinder = dlFileRankFinder;
687 }
688
689
694 public DLFileShortcutLocalService getDLFileShortcutLocalService() {
695 return dlFileShortcutLocalService;
696 }
697
698
703 public void setDLFileShortcutLocalService(
704 DLFileShortcutLocalService dlFileShortcutLocalService) {
705 this.dlFileShortcutLocalService = dlFileShortcutLocalService;
706 }
707
708
713 public DLFileShortcutService getDLFileShortcutService() {
714 return dlFileShortcutService;
715 }
716
717
722 public void setDLFileShortcutService(
723 DLFileShortcutService dlFileShortcutService) {
724 this.dlFileShortcutService = dlFileShortcutService;
725 }
726
727
732 public DLFileShortcutPersistence getDLFileShortcutPersistence() {
733 return dlFileShortcutPersistence;
734 }
735
736
741 public void setDLFileShortcutPersistence(
742 DLFileShortcutPersistence dlFileShortcutPersistence) {
743 this.dlFileShortcutPersistence = dlFileShortcutPersistence;
744 }
745
746
751 public DLFileVersionLocalService getDLFileVersionLocalService() {
752 return dlFileVersionLocalService;
753 }
754
755
760 public void setDLFileVersionLocalService(
761 DLFileVersionLocalService dlFileVersionLocalService) {
762 this.dlFileVersionLocalService = dlFileVersionLocalService;
763 }
764
765
770 public DLFileVersionService getDLFileVersionService() {
771 return dlFileVersionService;
772 }
773
774
779 public void setDLFileVersionService(
780 DLFileVersionService dlFileVersionService) {
781 this.dlFileVersionService = dlFileVersionService;
782 }
783
784
789 public DLFileVersionPersistence getDLFileVersionPersistence() {
790 return dlFileVersionPersistence;
791 }
792
793
798 public void setDLFileVersionPersistence(
799 DLFileVersionPersistence dlFileVersionPersistence) {
800 this.dlFileVersionPersistence = dlFileVersionPersistence;
801 }
802
803
808 public DLFolderLocalService getDLFolderLocalService() {
809 return dlFolderLocalService;
810 }
811
812
817 public void setDLFolderLocalService(
818 DLFolderLocalService dlFolderLocalService) {
819 this.dlFolderLocalService = dlFolderLocalService;
820 }
821
822
827 public DLFolderService getDLFolderService() {
828 return dlFolderService;
829 }
830
831
836 public void setDLFolderService(DLFolderService dlFolderService) {
837 this.dlFolderService = dlFolderService;
838 }
839
840
845 public DLFolderPersistence getDLFolderPersistence() {
846 return dlFolderPersistence;
847 }
848
849
854 public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
855 this.dlFolderPersistence = dlFolderPersistence;
856 }
857
858
863 public DLFolderFinder getDLFolderFinder() {
864 return dlFolderFinder;
865 }
866
867
872 public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
873 this.dlFolderFinder = dlFolderFinder;
874 }
875
876
881 public DLSyncLocalService getDLSyncLocalService() {
882 return dlSyncLocalService;
883 }
884
885
890 public void setDLSyncLocalService(DLSyncLocalService dlSyncLocalService) {
891 this.dlSyncLocalService = dlSyncLocalService;
892 }
893
894
899 public DLSyncService getDLSyncService() {
900 return dlSyncService;
901 }
902
903
908 public void setDLSyncService(DLSyncService dlSyncService) {
909 this.dlSyncService = dlSyncService;
910 }
911
912
917 public DLSyncPersistence getDLSyncPersistence() {
918 return dlSyncPersistence;
919 }
920
921
926 public void setDLSyncPersistence(DLSyncPersistence dlSyncPersistence) {
927 this.dlSyncPersistence = dlSyncPersistence;
928 }
929
930
935 public DLSyncFinder getDLSyncFinder() {
936 return dlSyncFinder;
937 }
938
939
944 public void setDLSyncFinder(DLSyncFinder dlSyncFinder) {
945 this.dlSyncFinder = dlSyncFinder;
946 }
947
948
953 public CounterLocalService getCounterLocalService() {
954 return counterLocalService;
955 }
956
957
962 public void setCounterLocalService(CounterLocalService counterLocalService) {
963 this.counterLocalService = counterLocalService;
964 }
965
966
971 public ImageLocalService getImageLocalService() {
972 return imageLocalService;
973 }
974
975
980 public void setImageLocalService(ImageLocalService imageLocalService) {
981 this.imageLocalService = imageLocalService;
982 }
983
984
989 public ImageService getImageService() {
990 return imageService;
991 }
992
993
998 public void setImageService(ImageService imageService) {
999 this.imageService = imageService;
1000 }
1001
1002
1007 public ImagePersistence getImagePersistence() {
1008 return imagePersistence;
1009 }
1010
1011
1016 public void setImagePersistence(ImagePersistence imagePersistence) {
1017 this.imagePersistence = imagePersistence;
1018 }
1019
1020
1025 public LockLocalService getLockLocalService() {
1026 return lockLocalService;
1027 }
1028
1029
1034 public void setLockLocalService(LockLocalService lockLocalService) {
1035 this.lockLocalService = lockLocalService;
1036 }
1037
1038
1043 public LockPersistence getLockPersistence() {
1044 return lockPersistence;
1045 }
1046
1047
1052 public void setLockPersistence(LockPersistence lockPersistence) {
1053 this.lockPersistence = lockPersistence;
1054 }
1055
1056
1061 public LockFinder getLockFinder() {
1062 return lockFinder;
1063 }
1064
1065
1070 public void setLockFinder(LockFinder lockFinder) {
1071 this.lockFinder = lockFinder;
1072 }
1073
1074
1079 public ResourceLocalService getResourceLocalService() {
1080 return resourceLocalService;
1081 }
1082
1083
1088 public void setResourceLocalService(
1089 ResourceLocalService resourceLocalService) {
1090 this.resourceLocalService = resourceLocalService;
1091 }
1092
1093
1098 public ResourceService getResourceService() {
1099 return resourceService;
1100 }
1101
1102
1107 public void setResourceService(ResourceService resourceService) {
1108 this.resourceService = resourceService;
1109 }
1110
1111
1116 public ResourcePersistence getResourcePersistence() {
1117 return resourcePersistence;
1118 }
1119
1120
1125 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
1126 this.resourcePersistence = resourcePersistence;
1127 }
1128
1129
1134 public ResourceFinder getResourceFinder() {
1135 return resourceFinder;
1136 }
1137
1138
1143 public void setResourceFinder(ResourceFinder resourceFinder) {
1144 this.resourceFinder = resourceFinder;
1145 }
1146
1147
1152 public UserLocalService getUserLocalService() {
1153 return userLocalService;
1154 }
1155
1156
1161 public void setUserLocalService(UserLocalService userLocalService) {
1162 this.userLocalService = userLocalService;
1163 }
1164
1165
1170 public UserService getUserService() {
1171 return userService;
1172 }
1173
1174
1179 public void setUserService(UserService userService) {
1180 this.userService = userService;
1181 }
1182
1183
1188 public UserPersistence getUserPersistence() {
1189 return userPersistence;
1190 }
1191
1192
1197 public void setUserPersistence(UserPersistence userPersistence) {
1198 this.userPersistence = userPersistence;
1199 }
1200
1201
1206 public UserFinder getUserFinder() {
1207 return userFinder;
1208 }
1209
1210
1215 public void setUserFinder(UserFinder userFinder) {
1216 this.userFinder = userFinder;
1217 }
1218
1219
1224 public WebDAVPropsLocalService getWebDAVPropsLocalService() {
1225 return webDAVPropsLocalService;
1226 }
1227
1228
1233 public void setWebDAVPropsLocalService(
1234 WebDAVPropsLocalService webDAVPropsLocalService) {
1235 this.webDAVPropsLocalService = webDAVPropsLocalService;
1236 }
1237
1238
1243 public WebDAVPropsPersistence getWebDAVPropsPersistence() {
1244 return webDAVPropsPersistence;
1245 }
1246
1247
1252 public void setWebDAVPropsPersistence(
1253 WebDAVPropsPersistence webDAVPropsPersistence) {
1254 this.webDAVPropsPersistence = webDAVPropsPersistence;
1255 }
1256
1257
1262 public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1263 return workflowInstanceLinkLocalService;
1264 }
1265
1266
1271 public void setWorkflowInstanceLinkLocalService(
1272 WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1273 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1274 }
1275
1276
1281 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1282 return workflowInstanceLinkPersistence;
1283 }
1284
1285
1290 public void setWorkflowInstanceLinkPersistence(
1291 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1292 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1293 }
1294
1295
1300 public AssetCategoryLocalService getAssetCategoryLocalService() {
1301 return assetCategoryLocalService;
1302 }
1303
1304
1309 public void setAssetCategoryLocalService(
1310 AssetCategoryLocalService assetCategoryLocalService) {
1311 this.assetCategoryLocalService = assetCategoryLocalService;
1312 }
1313
1314
1319 public AssetCategoryService getAssetCategoryService() {
1320 return assetCategoryService;
1321 }
1322
1323
1328 public void setAssetCategoryService(
1329 AssetCategoryService assetCategoryService) {
1330 this.assetCategoryService = assetCategoryService;
1331 }
1332
1333
1338 public AssetCategoryPersistence getAssetCategoryPersistence() {
1339 return assetCategoryPersistence;
1340 }
1341
1342
1347 public void setAssetCategoryPersistence(
1348 AssetCategoryPersistence assetCategoryPersistence) {
1349 this.assetCategoryPersistence = assetCategoryPersistence;
1350 }
1351
1352
1357 public AssetCategoryFinder getAssetCategoryFinder() {
1358 return assetCategoryFinder;
1359 }
1360
1361
1366 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
1367 this.assetCategoryFinder = assetCategoryFinder;
1368 }
1369
1370
1375 public AssetEntryLocalService getAssetEntryLocalService() {
1376 return assetEntryLocalService;
1377 }
1378
1379
1384 public void setAssetEntryLocalService(
1385 AssetEntryLocalService assetEntryLocalService) {
1386 this.assetEntryLocalService = assetEntryLocalService;
1387 }
1388
1389
1394 public AssetEntryService getAssetEntryService() {
1395 return assetEntryService;
1396 }
1397
1398
1403 public void setAssetEntryService(AssetEntryService assetEntryService) {
1404 this.assetEntryService = assetEntryService;
1405 }
1406
1407
1412 public AssetEntryPersistence getAssetEntryPersistence() {
1413 return assetEntryPersistence;
1414 }
1415
1416
1421 public void setAssetEntryPersistence(
1422 AssetEntryPersistence assetEntryPersistence) {
1423 this.assetEntryPersistence = assetEntryPersistence;
1424 }
1425
1426
1431 public AssetEntryFinder getAssetEntryFinder() {
1432 return assetEntryFinder;
1433 }
1434
1435
1440 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1441 this.assetEntryFinder = assetEntryFinder;
1442 }
1443
1444
1449 public AssetLinkLocalService getAssetLinkLocalService() {
1450 return assetLinkLocalService;
1451 }
1452
1453
1458 public void setAssetLinkLocalService(
1459 AssetLinkLocalService assetLinkLocalService) {
1460 this.assetLinkLocalService = assetLinkLocalService;
1461 }
1462
1463
1468 public AssetLinkPersistence getAssetLinkPersistence() {
1469 return assetLinkPersistence;
1470 }
1471
1472
1477 public void setAssetLinkPersistence(
1478 AssetLinkPersistence assetLinkPersistence) {
1479 this.assetLinkPersistence = assetLinkPersistence;
1480 }
1481
1482
1487 public AssetTagLocalService getAssetTagLocalService() {
1488 return assetTagLocalService;
1489 }
1490
1491
1496 public void setAssetTagLocalService(
1497 AssetTagLocalService assetTagLocalService) {
1498 this.assetTagLocalService = assetTagLocalService;
1499 }
1500
1501
1506 public AssetTagService getAssetTagService() {
1507 return assetTagService;
1508 }
1509
1510
1515 public void setAssetTagService(AssetTagService assetTagService) {
1516 this.assetTagService = assetTagService;
1517 }
1518
1519
1524 public AssetTagPersistence getAssetTagPersistence() {
1525 return assetTagPersistence;
1526 }
1527
1528
1533 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1534 this.assetTagPersistence = assetTagPersistence;
1535 }
1536
1537
1542 public AssetTagFinder getAssetTagFinder() {
1543 return assetTagFinder;
1544 }
1545
1546
1551 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1552 this.assetTagFinder = assetTagFinder;
1553 }
1554
1555
1560 public DDMStructureLocalService getDDMStructureLocalService() {
1561 return ddmStructureLocalService;
1562 }
1563
1564
1569 public void setDDMStructureLocalService(
1570 DDMStructureLocalService ddmStructureLocalService) {
1571 this.ddmStructureLocalService = ddmStructureLocalService;
1572 }
1573
1574
1579 public DDMStructureService getDDMStructureService() {
1580 return ddmStructureService;
1581 }
1582
1583
1588 public void setDDMStructureService(DDMStructureService ddmStructureService) {
1589 this.ddmStructureService = ddmStructureService;
1590 }
1591
1592
1597 public DDMStructurePersistence getDDMStructurePersistence() {
1598 return ddmStructurePersistence;
1599 }
1600
1601
1606 public void setDDMStructurePersistence(
1607 DDMStructurePersistence ddmStructurePersistence) {
1608 this.ddmStructurePersistence = ddmStructurePersistence;
1609 }
1610
1611
1616 public DDMStructureFinder getDDMStructureFinder() {
1617 return ddmStructureFinder;
1618 }
1619
1620
1625 public void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder) {
1626 this.ddmStructureFinder = ddmStructureFinder;
1627 }
1628
1629
1634 public ExpandoValueLocalService getExpandoValueLocalService() {
1635 return expandoValueLocalService;
1636 }
1637
1638
1643 public void setExpandoValueLocalService(
1644 ExpandoValueLocalService expandoValueLocalService) {
1645 this.expandoValueLocalService = expandoValueLocalService;
1646 }
1647
1648
1653 public ExpandoValueService getExpandoValueService() {
1654 return expandoValueService;
1655 }
1656
1657
1662 public void setExpandoValueService(ExpandoValueService expandoValueService) {
1663 this.expandoValueService = expandoValueService;
1664 }
1665
1666
1671 public ExpandoValuePersistence getExpandoValuePersistence() {
1672 return expandoValuePersistence;
1673 }
1674
1675
1680 public void setExpandoValuePersistence(
1681 ExpandoValuePersistence expandoValuePersistence) {
1682 this.expandoValuePersistence = expandoValuePersistence;
1683 }
1684
1685 public void afterPropertiesSet() {
1686 persistedModelLocalServiceRegistry.register("com.liferay.portlet.documentlibrary.model.DLFileEntry",
1687 dlFileEntryLocalService);
1688 }
1689
1690 public void destroy() {
1691 persistedModelLocalServiceRegistry.unregister(
1692 "com.liferay.portlet.documentlibrary.model.DLFileEntry");
1693 }
1694
1695
1700 public String getBeanIdentifier() {
1701 return _beanIdentifier;
1702 }
1703
1704
1709 public void setBeanIdentifier(String beanIdentifier) {
1710 _beanIdentifier = beanIdentifier;
1711 }
1712
1713 protected Class<?> getModelClass() {
1714 return DLFileEntry.class;
1715 }
1716
1717 protected String getModelClassName() {
1718 return DLFileEntry.class.getName();
1719 }
1720
1721
1726 protected void runSQL(String sql) throws SystemException {
1727 try {
1728 DataSource dataSource = dlFileEntryPersistence.getDataSource();
1729
1730 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1731 sql, new int[0]);
1732
1733 sqlUpdate.update();
1734 }
1735 catch (Exception e) {
1736 throw new SystemException(e);
1737 }
1738 }
1739
1740 @BeanReference(type = DLAppLocalService.class)
1741 protected DLAppLocalService dlAppLocalService;
1742 @BeanReference(type = DLAppService.class)
1743 protected DLAppService dlAppService;
1744 @BeanReference(type = DLAppHelperLocalService.class)
1745 protected DLAppHelperLocalService dlAppHelperLocalService;
1746 @BeanReference(type = DLContentLocalService.class)
1747 protected DLContentLocalService dlContentLocalService;
1748 @BeanReference(type = DLContentPersistence.class)
1749 protected DLContentPersistence dlContentPersistence;
1750 @BeanReference(type = DLFileEntryLocalService.class)
1751 protected DLFileEntryLocalService dlFileEntryLocalService;
1752 @BeanReference(type = DLFileEntryService.class)
1753 protected DLFileEntryService dlFileEntryService;
1754 @BeanReference(type = DLFileEntryPersistence.class)
1755 protected DLFileEntryPersistence dlFileEntryPersistence;
1756 @BeanReference(type = DLFileEntryFinder.class)
1757 protected DLFileEntryFinder dlFileEntryFinder;
1758 @BeanReference(type = DLFileEntryMetadataLocalService.class)
1759 protected DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
1760 @BeanReference(type = DLFileEntryMetadataPersistence.class)
1761 protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
1762 @BeanReference(type = DLFileEntryTypeLocalService.class)
1763 protected DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1764 @BeanReference(type = DLFileEntryTypeService.class)
1765 protected DLFileEntryTypeService dlFileEntryTypeService;
1766 @BeanReference(type = DLFileEntryTypePersistence.class)
1767 protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1768 @BeanReference(type = DLFileEntryTypeFinder.class)
1769 protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1770 @BeanReference(type = DLFileRankLocalService.class)
1771 protected DLFileRankLocalService dlFileRankLocalService;
1772 @BeanReference(type = DLFileRankPersistence.class)
1773 protected DLFileRankPersistence dlFileRankPersistence;
1774 @BeanReference(type = DLFileRankFinder.class)
1775 protected DLFileRankFinder dlFileRankFinder;
1776 @BeanReference(type = DLFileShortcutLocalService.class)
1777 protected DLFileShortcutLocalService dlFileShortcutLocalService;
1778 @BeanReference(type = DLFileShortcutService.class)
1779 protected DLFileShortcutService dlFileShortcutService;
1780 @BeanReference(type = DLFileShortcutPersistence.class)
1781 protected DLFileShortcutPersistence dlFileShortcutPersistence;
1782 @BeanReference(type = DLFileVersionLocalService.class)
1783 protected DLFileVersionLocalService dlFileVersionLocalService;
1784 @BeanReference(type = DLFileVersionService.class)
1785 protected DLFileVersionService dlFileVersionService;
1786 @BeanReference(type = DLFileVersionPersistence.class)
1787 protected DLFileVersionPersistence dlFileVersionPersistence;
1788 @BeanReference(type = DLFolderLocalService.class)
1789 protected DLFolderLocalService dlFolderLocalService;
1790 @BeanReference(type = DLFolderService.class)
1791 protected DLFolderService dlFolderService;
1792 @BeanReference(type = DLFolderPersistence.class)
1793 protected DLFolderPersistence dlFolderPersistence;
1794 @BeanReference(type = DLFolderFinder.class)
1795 protected DLFolderFinder dlFolderFinder;
1796 @BeanReference(type = DLSyncLocalService.class)
1797 protected DLSyncLocalService dlSyncLocalService;
1798 @BeanReference(type = DLSyncService.class)
1799 protected DLSyncService dlSyncService;
1800 @BeanReference(type = DLSyncPersistence.class)
1801 protected DLSyncPersistence dlSyncPersistence;
1802 @BeanReference(type = DLSyncFinder.class)
1803 protected DLSyncFinder dlSyncFinder;
1804 @BeanReference(type = CounterLocalService.class)
1805 protected CounterLocalService counterLocalService;
1806 @BeanReference(type = ImageLocalService.class)
1807 protected ImageLocalService imageLocalService;
1808 @BeanReference(type = ImageService.class)
1809 protected ImageService imageService;
1810 @BeanReference(type = ImagePersistence.class)
1811 protected ImagePersistence imagePersistence;
1812 @BeanReference(type = LockLocalService.class)
1813 protected LockLocalService lockLocalService;
1814 @BeanReference(type = LockPersistence.class)
1815 protected LockPersistence lockPersistence;
1816 @BeanReference(type = LockFinder.class)
1817 protected LockFinder lockFinder;
1818 @BeanReference(type = ResourceLocalService.class)
1819 protected ResourceLocalService resourceLocalService;
1820 @BeanReference(type = ResourceService.class)
1821 protected ResourceService resourceService;
1822 @BeanReference(type = ResourcePersistence.class)
1823 protected ResourcePersistence resourcePersistence;
1824 @BeanReference(type = ResourceFinder.class)
1825 protected ResourceFinder resourceFinder;
1826 @BeanReference(type = UserLocalService.class)
1827 protected UserLocalService userLocalService;
1828 @BeanReference(type = UserService.class)
1829 protected UserService userService;
1830 @BeanReference(type = UserPersistence.class)
1831 protected UserPersistence userPersistence;
1832 @BeanReference(type = UserFinder.class)
1833 protected UserFinder userFinder;
1834 @BeanReference(type = WebDAVPropsLocalService.class)
1835 protected WebDAVPropsLocalService webDAVPropsLocalService;
1836 @BeanReference(type = WebDAVPropsPersistence.class)
1837 protected WebDAVPropsPersistence webDAVPropsPersistence;
1838 @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1839 protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1840 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1841 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1842 @BeanReference(type = AssetCategoryLocalService.class)
1843 protected AssetCategoryLocalService assetCategoryLocalService;
1844 @BeanReference(type = AssetCategoryService.class)
1845 protected AssetCategoryService assetCategoryService;
1846 @BeanReference(type = AssetCategoryPersistence.class)
1847 protected AssetCategoryPersistence assetCategoryPersistence;
1848 @BeanReference(type = AssetCategoryFinder.class)
1849 protected AssetCategoryFinder assetCategoryFinder;
1850 @BeanReference(type = AssetEntryLocalService.class)
1851 protected AssetEntryLocalService assetEntryLocalService;
1852 @BeanReference(type = AssetEntryService.class)
1853 protected AssetEntryService assetEntryService;
1854 @BeanReference(type = AssetEntryPersistence.class)
1855 protected AssetEntryPersistence assetEntryPersistence;
1856 @BeanReference(type = AssetEntryFinder.class)
1857 protected AssetEntryFinder assetEntryFinder;
1858 @BeanReference(type = AssetLinkLocalService.class)
1859 protected AssetLinkLocalService assetLinkLocalService;
1860 @BeanReference(type = AssetLinkPersistence.class)
1861 protected AssetLinkPersistence assetLinkPersistence;
1862 @BeanReference(type = AssetTagLocalService.class)
1863 protected AssetTagLocalService assetTagLocalService;
1864 @BeanReference(type = AssetTagService.class)
1865 protected AssetTagService assetTagService;
1866 @BeanReference(type = AssetTagPersistence.class)
1867 protected AssetTagPersistence assetTagPersistence;
1868 @BeanReference(type = AssetTagFinder.class)
1869 protected AssetTagFinder assetTagFinder;
1870 @BeanReference(type = DDMStructureLocalService.class)
1871 protected DDMStructureLocalService ddmStructureLocalService;
1872 @BeanReference(type = DDMStructureService.class)
1873 protected DDMStructureService ddmStructureService;
1874 @BeanReference(type = DDMStructurePersistence.class)
1875 protected DDMStructurePersistence ddmStructurePersistence;
1876 @BeanReference(type = DDMStructureFinder.class)
1877 protected DDMStructureFinder ddmStructureFinder;
1878 @BeanReference(type = ExpandoValueLocalService.class)
1879 protected ExpandoValueLocalService expandoValueLocalService;
1880 @BeanReference(type = ExpandoValueService.class)
1881 protected ExpandoValueService expandoValueService;
1882 @BeanReference(type = ExpandoValuePersistence.class)
1883 protected ExpandoValuePersistence expandoValuePersistence;
1884 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1885 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1886 private String _beanIdentifier;
1887 }