001
014
015 package com.liferay.portlet.documentlibrary.service.base;
016
017 import com.liferay.counter.service.CounterLocalService;
018
019 import com.liferay.documentlibrary.service.DLLocalService;
020 import com.liferay.documentlibrary.service.DLService;
021
022 import com.liferay.portal.kernel.annotation.BeanReference;
023 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
024 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
025 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
026 import com.liferay.portal.kernel.exception.PortalException;
027 import com.liferay.portal.kernel.exception.SystemException;
028 import com.liferay.portal.kernel.util.OrderByComparator;
029 import com.liferay.portal.service.LockLocalService;
030 import com.liferay.portal.service.ResourceLocalService;
031 import com.liferay.portal.service.ResourceService;
032 import com.liferay.portal.service.UserLocalService;
033 import com.liferay.portal.service.UserService;
034 import com.liferay.portal.service.WebDAVPropsLocalService;
035 import com.liferay.portal.service.WorkflowInstanceLinkLocalService;
036 import com.liferay.portal.service.persistence.LockPersistence;
037 import com.liferay.portal.service.persistence.ResourceFinder;
038 import com.liferay.portal.service.persistence.ResourcePersistence;
039 import com.liferay.portal.service.persistence.UserFinder;
040 import com.liferay.portal.service.persistence.UserPersistence;
041 import com.liferay.portal.service.persistence.WebDAVPropsPersistence;
042 import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
043
044 import com.liferay.portlet.asset.service.AssetCategoryLocalService;
045 import com.liferay.portlet.asset.service.AssetCategoryService;
046 import com.liferay.portlet.asset.service.AssetEntryLocalService;
047 import com.liferay.portlet.asset.service.AssetEntryService;
048 import com.liferay.portlet.asset.service.AssetTagLocalService;
049 import com.liferay.portlet.asset.service.AssetTagService;
050 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
051 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
052 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
053 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
054 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
055 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
056 import com.liferay.portlet.documentlibrary.model.DLFileEntry;
057 import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
058 import com.liferay.portlet.documentlibrary.service.DLFileEntryService;
059 import com.liferay.portlet.documentlibrary.service.DLFileRankLocalService;
060 import com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService;
061 import com.liferay.portlet.documentlibrary.service.DLFileShortcutService;
062 import com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService;
063 import com.liferay.portlet.documentlibrary.service.DLFileVersionService;
064 import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
065 import com.liferay.portlet.documentlibrary.service.DLFolderService;
066 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
067 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
068 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
069 import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
070 import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
071 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
072 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
073 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
074 import com.liferay.portlet.expando.service.ExpandoValueService;
075 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
076 import com.liferay.portlet.messageboards.service.MBDiscussionLocalService;
077 import com.liferay.portlet.messageboards.service.MBMessageLocalService;
078 import com.liferay.portlet.messageboards.service.MBMessageService;
079 import com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence;
080 import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
081 import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
082 import com.liferay.portlet.ratings.service.RatingsEntryLocalService;
083 import com.liferay.portlet.ratings.service.RatingsEntryService;
084 import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
085 import com.liferay.portlet.ratings.service.persistence.RatingsEntryFinder;
086 import com.liferay.portlet.ratings.service.persistence.RatingsEntryPersistence;
087 import com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder;
088 import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
089 import com.liferay.portlet.social.service.SocialActivityLocalService;
090 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
091 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
092
093 import java.util.List;
094
095 import javax.sql.DataSource;
096
097
113 public abstract class DLFileEntryLocalServiceBaseImpl
114 implements DLFileEntryLocalService {
115
122 public DLFileEntry addDLFileEntry(DLFileEntry dlFileEntry)
123 throws SystemException {
124 dlFileEntry.setNew(true);
125
126 return dlFileEntryPersistence.update(dlFileEntry, false);
127 }
128
129
135 public DLFileEntry createDLFileEntry(long fileEntryId) {
136 return dlFileEntryPersistence.create(fileEntryId);
137 }
138
139
146 public void deleteDLFileEntry(long fileEntryId)
147 throws PortalException, SystemException {
148 dlFileEntryPersistence.remove(fileEntryId);
149 }
150
151
157 public void deleteDLFileEntry(DLFileEntry dlFileEntry)
158 throws SystemException {
159 dlFileEntryPersistence.remove(dlFileEntry);
160 }
161
162
169 @SuppressWarnings("rawtypes")
170 public List dynamicQuery(DynamicQuery dynamicQuery)
171 throws SystemException {
172 return dlFileEntryPersistence.findWithDynamicQuery(dynamicQuery);
173 }
174
175
188 @SuppressWarnings("rawtypes")
189 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
190 throws SystemException {
191 return dlFileEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
192 end);
193 }
194
195
209 @SuppressWarnings("rawtypes")
210 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
211 OrderByComparator orderByComparator) throws SystemException {
212 return dlFileEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
213 end, orderByComparator);
214 }
215
216
223 public long dynamicQueryCount(DynamicQuery dynamicQuery)
224 throws SystemException {
225 return dlFileEntryPersistence.countWithDynamicQuery(dynamicQuery);
226 }
227
228
236 public DLFileEntry getDLFileEntry(long fileEntryId)
237 throws PortalException, SystemException {
238 return dlFileEntryPersistence.findByPrimaryKey(fileEntryId);
239 }
240
241
250 public DLFileEntry getDLFileEntryByUuidAndGroupId(String uuid, long groupId)
251 throws PortalException, SystemException {
252 return dlFileEntryPersistence.findByUUID_G(uuid, groupId);
253 }
254
255
267 public List<DLFileEntry> getDLFileEntries(int start, int end)
268 throws SystemException {
269 return dlFileEntryPersistence.findAll(start, end);
270 }
271
272
278 public int getDLFileEntriesCount() throws SystemException {
279 return dlFileEntryPersistence.countAll();
280 }
281
282
289 public DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry)
290 throws SystemException {
291 dlFileEntry.setNew(false);
292
293 return dlFileEntryPersistence.update(dlFileEntry, true);
294 }
295
296
304 public DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry, boolean merge)
305 throws SystemException {
306 dlFileEntry.setNew(false);
307
308 return dlFileEntryPersistence.update(dlFileEntry, merge);
309 }
310
311
316 public DLFileEntryLocalService getDLFileEntryLocalService() {
317 return dlFileEntryLocalService;
318 }
319
320
325 public void setDLFileEntryLocalService(
326 DLFileEntryLocalService dlFileEntryLocalService) {
327 this.dlFileEntryLocalService = dlFileEntryLocalService;
328 }
329
330
335 public DLFileEntryService getDLFileEntryService() {
336 return dlFileEntryService;
337 }
338
339
344 public void setDLFileEntryService(DLFileEntryService dlFileEntryService) {
345 this.dlFileEntryService = dlFileEntryService;
346 }
347
348
353 public DLFileEntryPersistence getDLFileEntryPersistence() {
354 return dlFileEntryPersistence;
355 }
356
357
362 public void setDLFileEntryPersistence(
363 DLFileEntryPersistence dlFileEntryPersistence) {
364 this.dlFileEntryPersistence = dlFileEntryPersistence;
365 }
366
367
372 public DLFileEntryFinder getDLFileEntryFinder() {
373 return dlFileEntryFinder;
374 }
375
376
381 public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
382 this.dlFileEntryFinder = dlFileEntryFinder;
383 }
384
385
390 public DLFileRankLocalService getDLFileRankLocalService() {
391 return dlFileRankLocalService;
392 }
393
394
399 public void setDLFileRankLocalService(
400 DLFileRankLocalService dlFileRankLocalService) {
401 this.dlFileRankLocalService = dlFileRankLocalService;
402 }
403
404
409 public DLFileRankPersistence getDLFileRankPersistence() {
410 return dlFileRankPersistence;
411 }
412
413
418 public void setDLFileRankPersistence(
419 DLFileRankPersistence dlFileRankPersistence) {
420 this.dlFileRankPersistence = dlFileRankPersistence;
421 }
422
423
428 public DLFileShortcutLocalService getDLFileShortcutLocalService() {
429 return dlFileShortcutLocalService;
430 }
431
432
437 public void setDLFileShortcutLocalService(
438 DLFileShortcutLocalService dlFileShortcutLocalService) {
439 this.dlFileShortcutLocalService = dlFileShortcutLocalService;
440 }
441
442
447 public DLFileShortcutService getDLFileShortcutService() {
448 return dlFileShortcutService;
449 }
450
451
456 public void setDLFileShortcutService(
457 DLFileShortcutService dlFileShortcutService) {
458 this.dlFileShortcutService = dlFileShortcutService;
459 }
460
461
466 public DLFileShortcutPersistence getDLFileShortcutPersistence() {
467 return dlFileShortcutPersistence;
468 }
469
470
475 public void setDLFileShortcutPersistence(
476 DLFileShortcutPersistence dlFileShortcutPersistence) {
477 this.dlFileShortcutPersistence = dlFileShortcutPersistence;
478 }
479
480
485 public DLFileVersionLocalService getDLFileVersionLocalService() {
486 return dlFileVersionLocalService;
487 }
488
489
494 public void setDLFileVersionLocalService(
495 DLFileVersionLocalService dlFileVersionLocalService) {
496 this.dlFileVersionLocalService = dlFileVersionLocalService;
497 }
498
499
504 public DLFileVersionService getDLFileVersionService() {
505 return dlFileVersionService;
506 }
507
508
513 public void setDLFileVersionService(
514 DLFileVersionService dlFileVersionService) {
515 this.dlFileVersionService = dlFileVersionService;
516 }
517
518
523 public DLFileVersionPersistence getDLFileVersionPersistence() {
524 return dlFileVersionPersistence;
525 }
526
527
532 public void setDLFileVersionPersistence(
533 DLFileVersionPersistence dlFileVersionPersistence) {
534 this.dlFileVersionPersistence = dlFileVersionPersistence;
535 }
536
537
542 public DLFolderLocalService getDLFolderLocalService() {
543 return dlFolderLocalService;
544 }
545
546
551 public void setDLFolderLocalService(
552 DLFolderLocalService dlFolderLocalService) {
553 this.dlFolderLocalService = dlFolderLocalService;
554 }
555
556
561 public DLFolderService getDLFolderService() {
562 return dlFolderService;
563 }
564
565
570 public void setDLFolderService(DLFolderService dlFolderService) {
571 this.dlFolderService = dlFolderService;
572 }
573
574
579 public DLFolderPersistence getDLFolderPersistence() {
580 return dlFolderPersistence;
581 }
582
583
588 public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
589 this.dlFolderPersistence = dlFolderPersistence;
590 }
591
592
597 public DLFolderFinder getDLFolderFinder() {
598 return dlFolderFinder;
599 }
600
601
606 public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
607 this.dlFolderFinder = dlFolderFinder;
608 }
609
610
615 public CounterLocalService getCounterLocalService() {
616 return counterLocalService;
617 }
618
619
624 public void setCounterLocalService(CounterLocalService counterLocalService) {
625 this.counterLocalService = counterLocalService;
626 }
627
628
633 public DLLocalService getDLLocalService() {
634 return dlLocalService;
635 }
636
637
642 public void setDLLocalService(DLLocalService dlLocalService) {
643 this.dlLocalService = dlLocalService;
644 }
645
646
651 public DLService getDLService() {
652 return dlService;
653 }
654
655
660 public void setDLService(DLService dlService) {
661 this.dlService = dlService;
662 }
663
664
669 public LockLocalService getLockLocalService() {
670 return lockLocalService;
671 }
672
673
678 public void setLockLocalService(LockLocalService lockLocalService) {
679 this.lockLocalService = lockLocalService;
680 }
681
682
687 public LockPersistence getLockPersistence() {
688 return lockPersistence;
689 }
690
691
696 public void setLockPersistence(LockPersistence lockPersistence) {
697 this.lockPersistence = lockPersistence;
698 }
699
700
705 public ResourceLocalService getResourceLocalService() {
706 return resourceLocalService;
707 }
708
709
714 public void setResourceLocalService(
715 ResourceLocalService resourceLocalService) {
716 this.resourceLocalService = resourceLocalService;
717 }
718
719
724 public ResourceService getResourceService() {
725 return resourceService;
726 }
727
728
733 public void setResourceService(ResourceService resourceService) {
734 this.resourceService = resourceService;
735 }
736
737
742 public ResourcePersistence getResourcePersistence() {
743 return resourcePersistence;
744 }
745
746
751 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
752 this.resourcePersistence = resourcePersistence;
753 }
754
755
760 public ResourceFinder getResourceFinder() {
761 return resourceFinder;
762 }
763
764
769 public void setResourceFinder(ResourceFinder resourceFinder) {
770 this.resourceFinder = resourceFinder;
771 }
772
773
778 public UserLocalService getUserLocalService() {
779 return userLocalService;
780 }
781
782
787 public void setUserLocalService(UserLocalService userLocalService) {
788 this.userLocalService = userLocalService;
789 }
790
791
796 public UserService getUserService() {
797 return userService;
798 }
799
800
805 public void setUserService(UserService userService) {
806 this.userService = userService;
807 }
808
809
814 public UserPersistence getUserPersistence() {
815 return userPersistence;
816 }
817
818
823 public void setUserPersistence(UserPersistence userPersistence) {
824 this.userPersistence = userPersistence;
825 }
826
827
832 public UserFinder getUserFinder() {
833 return userFinder;
834 }
835
836
841 public void setUserFinder(UserFinder userFinder) {
842 this.userFinder = userFinder;
843 }
844
845
850 public WebDAVPropsLocalService getWebDAVPropsLocalService() {
851 return webDAVPropsLocalService;
852 }
853
854
859 public void setWebDAVPropsLocalService(
860 WebDAVPropsLocalService webDAVPropsLocalService) {
861 this.webDAVPropsLocalService = webDAVPropsLocalService;
862 }
863
864
869 public WebDAVPropsPersistence getWebDAVPropsPersistence() {
870 return webDAVPropsPersistence;
871 }
872
873
878 public void setWebDAVPropsPersistence(
879 WebDAVPropsPersistence webDAVPropsPersistence) {
880 this.webDAVPropsPersistence = webDAVPropsPersistence;
881 }
882
883
888 public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
889 return workflowInstanceLinkLocalService;
890 }
891
892
897 public void setWorkflowInstanceLinkLocalService(
898 WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
899 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
900 }
901
902
907 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
908 return workflowInstanceLinkPersistence;
909 }
910
911
916 public void setWorkflowInstanceLinkPersistence(
917 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
918 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
919 }
920
921
926 public AssetCategoryLocalService getAssetCategoryLocalService() {
927 return assetCategoryLocalService;
928 }
929
930
935 public void setAssetCategoryLocalService(
936 AssetCategoryLocalService assetCategoryLocalService) {
937 this.assetCategoryLocalService = assetCategoryLocalService;
938 }
939
940
945 public AssetCategoryService getAssetCategoryService() {
946 return assetCategoryService;
947 }
948
949
954 public void setAssetCategoryService(
955 AssetCategoryService assetCategoryService) {
956 this.assetCategoryService = assetCategoryService;
957 }
958
959
964 public AssetCategoryPersistence getAssetCategoryPersistence() {
965 return assetCategoryPersistence;
966 }
967
968
973 public void setAssetCategoryPersistence(
974 AssetCategoryPersistence assetCategoryPersistence) {
975 this.assetCategoryPersistence = assetCategoryPersistence;
976 }
977
978
983 public AssetCategoryFinder getAssetCategoryFinder() {
984 return assetCategoryFinder;
985 }
986
987
992 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
993 this.assetCategoryFinder = assetCategoryFinder;
994 }
995
996
1001 public AssetEntryLocalService getAssetEntryLocalService() {
1002 return assetEntryLocalService;
1003 }
1004
1005
1010 public void setAssetEntryLocalService(
1011 AssetEntryLocalService assetEntryLocalService) {
1012 this.assetEntryLocalService = assetEntryLocalService;
1013 }
1014
1015
1020 public AssetEntryService getAssetEntryService() {
1021 return assetEntryService;
1022 }
1023
1024
1029 public void setAssetEntryService(AssetEntryService assetEntryService) {
1030 this.assetEntryService = assetEntryService;
1031 }
1032
1033
1038 public AssetEntryPersistence getAssetEntryPersistence() {
1039 return assetEntryPersistence;
1040 }
1041
1042
1047 public void setAssetEntryPersistence(
1048 AssetEntryPersistence assetEntryPersistence) {
1049 this.assetEntryPersistence = assetEntryPersistence;
1050 }
1051
1052
1057 public AssetEntryFinder getAssetEntryFinder() {
1058 return assetEntryFinder;
1059 }
1060
1061
1066 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1067 this.assetEntryFinder = assetEntryFinder;
1068 }
1069
1070
1075 public AssetTagLocalService getAssetTagLocalService() {
1076 return assetTagLocalService;
1077 }
1078
1079
1084 public void setAssetTagLocalService(
1085 AssetTagLocalService assetTagLocalService) {
1086 this.assetTagLocalService = assetTagLocalService;
1087 }
1088
1089
1094 public AssetTagService getAssetTagService() {
1095 return assetTagService;
1096 }
1097
1098
1103 public void setAssetTagService(AssetTagService assetTagService) {
1104 this.assetTagService = assetTagService;
1105 }
1106
1107
1112 public AssetTagPersistence getAssetTagPersistence() {
1113 return assetTagPersistence;
1114 }
1115
1116
1121 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1122 this.assetTagPersistence = assetTagPersistence;
1123 }
1124
1125
1130 public AssetTagFinder getAssetTagFinder() {
1131 return assetTagFinder;
1132 }
1133
1134
1139 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1140 this.assetTagFinder = assetTagFinder;
1141 }
1142
1143
1148 public ExpandoValueLocalService getExpandoValueLocalService() {
1149 return expandoValueLocalService;
1150 }
1151
1152
1157 public void setExpandoValueLocalService(
1158 ExpandoValueLocalService expandoValueLocalService) {
1159 this.expandoValueLocalService = expandoValueLocalService;
1160 }
1161
1162
1167 public ExpandoValueService getExpandoValueService() {
1168 return expandoValueService;
1169 }
1170
1171
1176 public void setExpandoValueService(ExpandoValueService expandoValueService) {
1177 this.expandoValueService = expandoValueService;
1178 }
1179
1180
1185 public ExpandoValuePersistence getExpandoValuePersistence() {
1186 return expandoValuePersistence;
1187 }
1188
1189
1194 public void setExpandoValuePersistence(
1195 ExpandoValuePersistence expandoValuePersistence) {
1196 this.expandoValuePersistence = expandoValuePersistence;
1197 }
1198
1199
1204 public MBDiscussionLocalService getMBDiscussionLocalService() {
1205 return mbDiscussionLocalService;
1206 }
1207
1208
1213 public void setMBDiscussionLocalService(
1214 MBDiscussionLocalService mbDiscussionLocalService) {
1215 this.mbDiscussionLocalService = mbDiscussionLocalService;
1216 }
1217
1218
1223 public MBDiscussionPersistence getMBDiscussionPersistence() {
1224 return mbDiscussionPersistence;
1225 }
1226
1227
1232 public void setMBDiscussionPersistence(
1233 MBDiscussionPersistence mbDiscussionPersistence) {
1234 this.mbDiscussionPersistence = mbDiscussionPersistence;
1235 }
1236
1237
1242 public MBMessageLocalService getMBMessageLocalService() {
1243 return mbMessageLocalService;
1244 }
1245
1246
1251 public void setMBMessageLocalService(
1252 MBMessageLocalService mbMessageLocalService) {
1253 this.mbMessageLocalService = mbMessageLocalService;
1254 }
1255
1256
1261 public MBMessageService getMBMessageService() {
1262 return mbMessageService;
1263 }
1264
1265
1270 public void setMBMessageService(MBMessageService mbMessageService) {
1271 this.mbMessageService = mbMessageService;
1272 }
1273
1274
1279 public MBMessagePersistence getMBMessagePersistence() {
1280 return mbMessagePersistence;
1281 }
1282
1283
1288 public void setMBMessagePersistence(
1289 MBMessagePersistence mbMessagePersistence) {
1290 this.mbMessagePersistence = mbMessagePersistence;
1291 }
1292
1293
1298 public MBMessageFinder getMBMessageFinder() {
1299 return mbMessageFinder;
1300 }
1301
1302
1307 public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
1308 this.mbMessageFinder = mbMessageFinder;
1309 }
1310
1311
1316 public RatingsEntryLocalService getRatingsEntryLocalService() {
1317 return ratingsEntryLocalService;
1318 }
1319
1320
1325 public void setRatingsEntryLocalService(
1326 RatingsEntryLocalService ratingsEntryLocalService) {
1327 this.ratingsEntryLocalService = ratingsEntryLocalService;
1328 }
1329
1330
1335 public RatingsEntryService getRatingsEntryService() {
1336 return ratingsEntryService;
1337 }
1338
1339
1344 public void setRatingsEntryService(RatingsEntryService ratingsEntryService) {
1345 this.ratingsEntryService = ratingsEntryService;
1346 }
1347
1348
1353 public RatingsEntryPersistence getRatingsEntryPersistence() {
1354 return ratingsEntryPersistence;
1355 }
1356
1357
1362 public void setRatingsEntryPersistence(
1363 RatingsEntryPersistence ratingsEntryPersistence) {
1364 this.ratingsEntryPersistence = ratingsEntryPersistence;
1365 }
1366
1367
1372 public RatingsEntryFinder getRatingsEntryFinder() {
1373 return ratingsEntryFinder;
1374 }
1375
1376
1381 public void setRatingsEntryFinder(RatingsEntryFinder ratingsEntryFinder) {
1382 this.ratingsEntryFinder = ratingsEntryFinder;
1383 }
1384
1385
1390 public RatingsStatsLocalService getRatingsStatsLocalService() {
1391 return ratingsStatsLocalService;
1392 }
1393
1394
1399 public void setRatingsStatsLocalService(
1400 RatingsStatsLocalService ratingsStatsLocalService) {
1401 this.ratingsStatsLocalService = ratingsStatsLocalService;
1402 }
1403
1404
1409 public RatingsStatsPersistence getRatingsStatsPersistence() {
1410 return ratingsStatsPersistence;
1411 }
1412
1413
1418 public void setRatingsStatsPersistence(
1419 RatingsStatsPersistence ratingsStatsPersistence) {
1420 this.ratingsStatsPersistence = ratingsStatsPersistence;
1421 }
1422
1423
1428 public RatingsStatsFinder getRatingsStatsFinder() {
1429 return ratingsStatsFinder;
1430 }
1431
1432
1437 public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
1438 this.ratingsStatsFinder = ratingsStatsFinder;
1439 }
1440
1441
1446 public SocialActivityLocalService getSocialActivityLocalService() {
1447 return socialActivityLocalService;
1448 }
1449
1450
1455 public void setSocialActivityLocalService(
1456 SocialActivityLocalService socialActivityLocalService) {
1457 this.socialActivityLocalService = socialActivityLocalService;
1458 }
1459
1460
1465 public SocialActivityPersistence getSocialActivityPersistence() {
1466 return socialActivityPersistence;
1467 }
1468
1469
1474 public void setSocialActivityPersistence(
1475 SocialActivityPersistence socialActivityPersistence) {
1476 this.socialActivityPersistence = socialActivityPersistence;
1477 }
1478
1479
1484 public SocialActivityFinder getSocialActivityFinder() {
1485 return socialActivityFinder;
1486 }
1487
1488
1493 public void setSocialActivityFinder(
1494 SocialActivityFinder socialActivityFinder) {
1495 this.socialActivityFinder = socialActivityFinder;
1496 }
1497
1498
1503 protected void runSQL(String sql) throws SystemException {
1504 try {
1505 DataSource dataSource = dlFileEntryPersistence.getDataSource();
1506
1507 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1508 sql, new int[0]);
1509
1510 sqlUpdate.update();
1511 }
1512 catch (Exception e) {
1513 throw new SystemException(e);
1514 }
1515 }
1516
1517 @BeanReference(type = DLFileEntryLocalService.class)
1518 protected DLFileEntryLocalService dlFileEntryLocalService;
1519 @BeanReference(type = DLFileEntryService.class)
1520 protected DLFileEntryService dlFileEntryService;
1521 @BeanReference(type = DLFileEntryPersistence.class)
1522 protected DLFileEntryPersistence dlFileEntryPersistence;
1523 @BeanReference(type = DLFileEntryFinder.class)
1524 protected DLFileEntryFinder dlFileEntryFinder;
1525 @BeanReference(type = DLFileRankLocalService.class)
1526 protected DLFileRankLocalService dlFileRankLocalService;
1527 @BeanReference(type = DLFileRankPersistence.class)
1528 protected DLFileRankPersistence dlFileRankPersistence;
1529 @BeanReference(type = DLFileShortcutLocalService.class)
1530 protected DLFileShortcutLocalService dlFileShortcutLocalService;
1531 @BeanReference(type = DLFileShortcutService.class)
1532 protected DLFileShortcutService dlFileShortcutService;
1533 @BeanReference(type = DLFileShortcutPersistence.class)
1534 protected DLFileShortcutPersistence dlFileShortcutPersistence;
1535 @BeanReference(type = DLFileVersionLocalService.class)
1536 protected DLFileVersionLocalService dlFileVersionLocalService;
1537 @BeanReference(type = DLFileVersionService.class)
1538 protected DLFileVersionService dlFileVersionService;
1539 @BeanReference(type = DLFileVersionPersistence.class)
1540 protected DLFileVersionPersistence dlFileVersionPersistence;
1541 @BeanReference(type = DLFolderLocalService.class)
1542 protected DLFolderLocalService dlFolderLocalService;
1543 @BeanReference(type = DLFolderService.class)
1544 protected DLFolderService dlFolderService;
1545 @BeanReference(type = DLFolderPersistence.class)
1546 protected DLFolderPersistence dlFolderPersistence;
1547 @BeanReference(type = DLFolderFinder.class)
1548 protected DLFolderFinder dlFolderFinder;
1549 @BeanReference(type = CounterLocalService.class)
1550 protected CounterLocalService counterLocalService;
1551 @BeanReference(type = DLLocalService.class)
1552 protected DLLocalService dlLocalService;
1553 @BeanReference(type = DLService.class)
1554 protected DLService dlService;
1555 @BeanReference(type = LockLocalService.class)
1556 protected LockLocalService lockLocalService;
1557 @BeanReference(type = LockPersistence.class)
1558 protected LockPersistence lockPersistence;
1559 @BeanReference(type = ResourceLocalService.class)
1560 protected ResourceLocalService resourceLocalService;
1561 @BeanReference(type = ResourceService.class)
1562 protected ResourceService resourceService;
1563 @BeanReference(type = ResourcePersistence.class)
1564 protected ResourcePersistence resourcePersistence;
1565 @BeanReference(type = ResourceFinder.class)
1566 protected ResourceFinder resourceFinder;
1567 @BeanReference(type = UserLocalService.class)
1568 protected UserLocalService userLocalService;
1569 @BeanReference(type = UserService.class)
1570 protected UserService userService;
1571 @BeanReference(type = UserPersistence.class)
1572 protected UserPersistence userPersistence;
1573 @BeanReference(type = UserFinder.class)
1574 protected UserFinder userFinder;
1575 @BeanReference(type = WebDAVPropsLocalService.class)
1576 protected WebDAVPropsLocalService webDAVPropsLocalService;
1577 @BeanReference(type = WebDAVPropsPersistence.class)
1578 protected WebDAVPropsPersistence webDAVPropsPersistence;
1579 @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1580 protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1581 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1582 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1583 @BeanReference(type = AssetCategoryLocalService.class)
1584 protected AssetCategoryLocalService assetCategoryLocalService;
1585 @BeanReference(type = AssetCategoryService.class)
1586 protected AssetCategoryService assetCategoryService;
1587 @BeanReference(type = AssetCategoryPersistence.class)
1588 protected AssetCategoryPersistence assetCategoryPersistence;
1589 @BeanReference(type = AssetCategoryFinder.class)
1590 protected AssetCategoryFinder assetCategoryFinder;
1591 @BeanReference(type = AssetEntryLocalService.class)
1592 protected AssetEntryLocalService assetEntryLocalService;
1593 @BeanReference(type = AssetEntryService.class)
1594 protected AssetEntryService assetEntryService;
1595 @BeanReference(type = AssetEntryPersistence.class)
1596 protected AssetEntryPersistence assetEntryPersistence;
1597 @BeanReference(type = AssetEntryFinder.class)
1598 protected AssetEntryFinder assetEntryFinder;
1599 @BeanReference(type = AssetTagLocalService.class)
1600 protected AssetTagLocalService assetTagLocalService;
1601 @BeanReference(type = AssetTagService.class)
1602 protected AssetTagService assetTagService;
1603 @BeanReference(type = AssetTagPersistence.class)
1604 protected AssetTagPersistence assetTagPersistence;
1605 @BeanReference(type = AssetTagFinder.class)
1606 protected AssetTagFinder assetTagFinder;
1607 @BeanReference(type = ExpandoValueLocalService.class)
1608 protected ExpandoValueLocalService expandoValueLocalService;
1609 @BeanReference(type = ExpandoValueService.class)
1610 protected ExpandoValueService expandoValueService;
1611 @BeanReference(type = ExpandoValuePersistence.class)
1612 protected ExpandoValuePersistence expandoValuePersistence;
1613 @BeanReference(type = MBDiscussionLocalService.class)
1614 protected MBDiscussionLocalService mbDiscussionLocalService;
1615 @BeanReference(type = MBDiscussionPersistence.class)
1616 protected MBDiscussionPersistence mbDiscussionPersistence;
1617 @BeanReference(type = MBMessageLocalService.class)
1618 protected MBMessageLocalService mbMessageLocalService;
1619 @BeanReference(type = MBMessageService.class)
1620 protected MBMessageService mbMessageService;
1621 @BeanReference(type = MBMessagePersistence.class)
1622 protected MBMessagePersistence mbMessagePersistence;
1623 @BeanReference(type = MBMessageFinder.class)
1624 protected MBMessageFinder mbMessageFinder;
1625 @BeanReference(type = RatingsEntryLocalService.class)
1626 protected RatingsEntryLocalService ratingsEntryLocalService;
1627 @BeanReference(type = RatingsEntryService.class)
1628 protected RatingsEntryService ratingsEntryService;
1629 @BeanReference(type = RatingsEntryPersistence.class)
1630 protected RatingsEntryPersistence ratingsEntryPersistence;
1631 @BeanReference(type = RatingsEntryFinder.class)
1632 protected RatingsEntryFinder ratingsEntryFinder;
1633 @BeanReference(type = RatingsStatsLocalService.class)
1634 protected RatingsStatsLocalService ratingsStatsLocalService;
1635 @BeanReference(type = RatingsStatsPersistence.class)
1636 protected RatingsStatsPersistence ratingsStatsPersistence;
1637 @BeanReference(type = RatingsStatsFinder.class)
1638 protected RatingsStatsFinder ratingsStatsFinder;
1639 @BeanReference(type = SocialActivityLocalService.class)
1640 protected SocialActivityLocalService socialActivityLocalService;
1641 @BeanReference(type = SocialActivityPersistence.class)
1642 protected SocialActivityPersistence socialActivityPersistence;
1643 @BeanReference(type = SocialActivityFinder.class)
1644 protected SocialActivityFinder socialActivityFinder;
1645 }