001
014
015 package com.liferay.portlet.messageboards.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.mail.service.MailService;
023
024 import com.liferay.portal.kernel.annotation.BeanReference;
025 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
026 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
027 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
028 import com.liferay.portal.kernel.exception.PortalException;
029 import com.liferay.portal.kernel.exception.SystemException;
030 import com.liferay.portal.kernel.util.OrderByComparator;
031 import com.liferay.portal.service.CompanyLocalService;
032 import com.liferay.portal.service.CompanyService;
033 import com.liferay.portal.service.GroupLocalService;
034 import com.liferay.portal.service.GroupService;
035 import com.liferay.portal.service.LockLocalService;
036 import com.liferay.portal.service.PortletPreferencesLocalService;
037 import com.liferay.portal.service.PortletPreferencesService;
038 import com.liferay.portal.service.ResourceLocalService;
039 import com.liferay.portal.service.ResourceService;
040 import com.liferay.portal.service.SubscriptionLocalService;
041 import com.liferay.portal.service.UserLocalService;
042 import com.liferay.portal.service.UserService;
043 import com.liferay.portal.service.WorkflowInstanceLinkLocalService;
044 import com.liferay.portal.service.persistence.CompanyPersistence;
045 import com.liferay.portal.service.persistence.GroupFinder;
046 import com.liferay.portal.service.persistence.GroupPersistence;
047 import com.liferay.portal.service.persistence.LockPersistence;
048 import com.liferay.portal.service.persistence.PortletPreferencesFinder;
049 import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
050 import com.liferay.portal.service.persistence.ResourceFinder;
051 import com.liferay.portal.service.persistence.ResourcePersistence;
052 import com.liferay.portal.service.persistence.SubscriptionPersistence;
053 import com.liferay.portal.service.persistence.UserFinder;
054 import com.liferay.portal.service.persistence.UserPersistence;
055 import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
056
057 import com.liferay.portlet.asset.service.AssetEntryLocalService;
058 import com.liferay.portlet.asset.service.AssetEntryService;
059 import com.liferay.portlet.asset.service.AssetTagLocalService;
060 import com.liferay.portlet.asset.service.AssetTagService;
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.AssetTagFinder;
064 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
065 import com.liferay.portlet.blogs.service.BlogsEntryLocalService;
066 import com.liferay.portlet.blogs.service.BlogsEntryService;
067 import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
068 import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
069 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
070 import com.liferay.portlet.expando.service.ExpandoValueService;
071 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
072 import com.liferay.portlet.messageboards.model.MBMessage;
073 import com.liferay.portlet.messageboards.service.MBBanLocalService;
074 import com.liferay.portlet.messageboards.service.MBBanService;
075 import com.liferay.portlet.messageboards.service.MBCategoryLocalService;
076 import com.liferay.portlet.messageboards.service.MBCategoryService;
077 import com.liferay.portlet.messageboards.service.MBDiscussionLocalService;
078 import com.liferay.portlet.messageboards.service.MBMailingListLocalService;
079 import com.liferay.portlet.messageboards.service.MBMessageFlagLocalService;
080 import com.liferay.portlet.messageboards.service.MBMessageFlagService;
081 import com.liferay.portlet.messageboards.service.MBMessageLocalService;
082 import com.liferay.portlet.messageboards.service.MBMessageService;
083 import com.liferay.portlet.messageboards.service.MBStatsUserLocalService;
084 import com.liferay.portlet.messageboards.service.MBThreadLocalService;
085 import com.liferay.portlet.messageboards.service.MBThreadService;
086 import com.liferay.portlet.messageboards.service.persistence.MBBanPersistence;
087 import com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder;
088 import com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence;
089 import com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence;
090 import com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence;
091 import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
092 import com.liferay.portlet.messageboards.service.persistence.MBMessageFlagPersistence;
093 import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
094 import com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence;
095 import com.liferay.portlet.messageboards.service.persistence.MBThreadFinder;
096 import com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence;
097 import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
098 import com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder;
099 import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
100 import com.liferay.portlet.social.service.SocialActivityLocalService;
101 import com.liferay.portlet.social.service.SocialEquityLogLocalService;
102 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
103 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
104 import com.liferay.portlet.social.service.persistence.SocialEquityLogPersistence;
105
106 import java.util.List;
107
108 import javax.sql.DataSource;
109
110
126 public abstract class MBMessageLocalServiceBaseImpl
127 implements MBMessageLocalService {
128
135 public MBMessage addMBMessage(MBMessage mbMessage)
136 throws SystemException {
137 mbMessage.setNew(true);
138
139 return mbMessagePersistence.update(mbMessage, false);
140 }
141
142
148 public MBMessage createMBMessage(long messageId) {
149 return mbMessagePersistence.create(messageId);
150 }
151
152
159 public void deleteMBMessage(long messageId)
160 throws PortalException, SystemException {
161 mbMessagePersistence.remove(messageId);
162 }
163
164
170 public void deleteMBMessage(MBMessage mbMessage) throws SystemException {
171 mbMessagePersistence.remove(mbMessage);
172 }
173
174
181 @SuppressWarnings("rawtypes")
182 public List dynamicQuery(DynamicQuery dynamicQuery)
183 throws SystemException {
184 return mbMessagePersistence.findWithDynamicQuery(dynamicQuery);
185 }
186
187
200 @SuppressWarnings("rawtypes")
201 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
202 throws SystemException {
203 return mbMessagePersistence.findWithDynamicQuery(dynamicQuery, start,
204 end);
205 }
206
207
221 @SuppressWarnings("rawtypes")
222 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
223 OrderByComparator orderByComparator) throws SystemException {
224 return mbMessagePersistence.findWithDynamicQuery(dynamicQuery, start,
225 end, orderByComparator);
226 }
227
228
235 public long dynamicQueryCount(DynamicQuery dynamicQuery)
236 throws SystemException {
237 return mbMessagePersistence.countWithDynamicQuery(dynamicQuery);
238 }
239
240
248 public MBMessage getMBMessage(long messageId)
249 throws PortalException, SystemException {
250 return mbMessagePersistence.findByPrimaryKey(messageId);
251 }
252
253
262 public MBMessage getMBMessageByUuidAndGroupId(String uuid, long groupId)
263 throws PortalException, SystemException {
264 return mbMessagePersistence.findByUUID_G(uuid, groupId);
265 }
266
267
279 public List<MBMessage> getMBMessages(int start, int end)
280 throws SystemException {
281 return mbMessagePersistence.findAll(start, end);
282 }
283
284
290 public int getMBMessagesCount() throws SystemException {
291 return mbMessagePersistence.countAll();
292 }
293
294
301 public MBMessage updateMBMessage(MBMessage mbMessage)
302 throws SystemException {
303 mbMessage.setNew(false);
304
305 return mbMessagePersistence.update(mbMessage, true);
306 }
307
308
316 public MBMessage updateMBMessage(MBMessage mbMessage, boolean merge)
317 throws SystemException {
318 mbMessage.setNew(false);
319
320 return mbMessagePersistence.update(mbMessage, merge);
321 }
322
323
328 public MBBanLocalService getMBBanLocalService() {
329 return mbBanLocalService;
330 }
331
332
337 public void setMBBanLocalService(MBBanLocalService mbBanLocalService) {
338 this.mbBanLocalService = mbBanLocalService;
339 }
340
341
346 public MBBanService getMBBanService() {
347 return mbBanService;
348 }
349
350
355 public void setMBBanService(MBBanService mbBanService) {
356 this.mbBanService = mbBanService;
357 }
358
359
364 public MBBanPersistence getMBBanPersistence() {
365 return mbBanPersistence;
366 }
367
368
373 public void setMBBanPersistence(MBBanPersistence mbBanPersistence) {
374 this.mbBanPersistence = mbBanPersistence;
375 }
376
377
382 public MBCategoryLocalService getMBCategoryLocalService() {
383 return mbCategoryLocalService;
384 }
385
386
391 public void setMBCategoryLocalService(
392 MBCategoryLocalService mbCategoryLocalService) {
393 this.mbCategoryLocalService = mbCategoryLocalService;
394 }
395
396
401 public MBCategoryService getMBCategoryService() {
402 return mbCategoryService;
403 }
404
405
410 public void setMBCategoryService(MBCategoryService mbCategoryService) {
411 this.mbCategoryService = mbCategoryService;
412 }
413
414
419 public MBCategoryPersistence getMBCategoryPersistence() {
420 return mbCategoryPersistence;
421 }
422
423
428 public void setMBCategoryPersistence(
429 MBCategoryPersistence mbCategoryPersistence) {
430 this.mbCategoryPersistence = mbCategoryPersistence;
431 }
432
433
438 public MBCategoryFinder getMBCategoryFinder() {
439 return mbCategoryFinder;
440 }
441
442
447 public void setMBCategoryFinder(MBCategoryFinder mbCategoryFinder) {
448 this.mbCategoryFinder = mbCategoryFinder;
449 }
450
451
456 public MBDiscussionLocalService getMBDiscussionLocalService() {
457 return mbDiscussionLocalService;
458 }
459
460
465 public void setMBDiscussionLocalService(
466 MBDiscussionLocalService mbDiscussionLocalService) {
467 this.mbDiscussionLocalService = mbDiscussionLocalService;
468 }
469
470
475 public MBDiscussionPersistence getMBDiscussionPersistence() {
476 return mbDiscussionPersistence;
477 }
478
479
484 public void setMBDiscussionPersistence(
485 MBDiscussionPersistence mbDiscussionPersistence) {
486 this.mbDiscussionPersistence = mbDiscussionPersistence;
487 }
488
489
494 public MBMailingListLocalService getMBMailingListLocalService() {
495 return mbMailingListLocalService;
496 }
497
498
503 public void setMBMailingListLocalService(
504 MBMailingListLocalService mbMailingListLocalService) {
505 this.mbMailingListLocalService = mbMailingListLocalService;
506 }
507
508
513 public MBMailingListPersistence getMBMailingListPersistence() {
514 return mbMailingListPersistence;
515 }
516
517
522 public void setMBMailingListPersistence(
523 MBMailingListPersistence mbMailingListPersistence) {
524 this.mbMailingListPersistence = mbMailingListPersistence;
525 }
526
527
532 public MBMessageLocalService getMBMessageLocalService() {
533 return mbMessageLocalService;
534 }
535
536
541 public void setMBMessageLocalService(
542 MBMessageLocalService mbMessageLocalService) {
543 this.mbMessageLocalService = mbMessageLocalService;
544 }
545
546
551 public MBMessageService getMBMessageService() {
552 return mbMessageService;
553 }
554
555
560 public void setMBMessageService(MBMessageService mbMessageService) {
561 this.mbMessageService = mbMessageService;
562 }
563
564
569 public MBMessagePersistence getMBMessagePersistence() {
570 return mbMessagePersistence;
571 }
572
573
578 public void setMBMessagePersistence(
579 MBMessagePersistence mbMessagePersistence) {
580 this.mbMessagePersistence = mbMessagePersistence;
581 }
582
583
588 public MBMessageFinder getMBMessageFinder() {
589 return mbMessageFinder;
590 }
591
592
597 public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
598 this.mbMessageFinder = mbMessageFinder;
599 }
600
601
606 public MBMessageFlagLocalService getMBMessageFlagLocalService() {
607 return mbMessageFlagLocalService;
608 }
609
610
615 public void setMBMessageFlagLocalService(
616 MBMessageFlagLocalService mbMessageFlagLocalService) {
617 this.mbMessageFlagLocalService = mbMessageFlagLocalService;
618 }
619
620
625 public MBMessageFlagService getMBMessageFlagService() {
626 return mbMessageFlagService;
627 }
628
629
634 public void setMBMessageFlagService(
635 MBMessageFlagService mbMessageFlagService) {
636 this.mbMessageFlagService = mbMessageFlagService;
637 }
638
639
644 public MBMessageFlagPersistence getMBMessageFlagPersistence() {
645 return mbMessageFlagPersistence;
646 }
647
648
653 public void setMBMessageFlagPersistence(
654 MBMessageFlagPersistence mbMessageFlagPersistence) {
655 this.mbMessageFlagPersistence = mbMessageFlagPersistence;
656 }
657
658
663 public MBStatsUserLocalService getMBStatsUserLocalService() {
664 return mbStatsUserLocalService;
665 }
666
667
672 public void setMBStatsUserLocalService(
673 MBStatsUserLocalService mbStatsUserLocalService) {
674 this.mbStatsUserLocalService = mbStatsUserLocalService;
675 }
676
677
682 public MBStatsUserPersistence getMBStatsUserPersistence() {
683 return mbStatsUserPersistence;
684 }
685
686
691 public void setMBStatsUserPersistence(
692 MBStatsUserPersistence mbStatsUserPersistence) {
693 this.mbStatsUserPersistence = mbStatsUserPersistence;
694 }
695
696
701 public MBThreadLocalService getMBThreadLocalService() {
702 return mbThreadLocalService;
703 }
704
705
710 public void setMBThreadLocalService(
711 MBThreadLocalService mbThreadLocalService) {
712 this.mbThreadLocalService = mbThreadLocalService;
713 }
714
715
720 public MBThreadService getMBThreadService() {
721 return mbThreadService;
722 }
723
724
729 public void setMBThreadService(MBThreadService mbThreadService) {
730 this.mbThreadService = mbThreadService;
731 }
732
733
738 public MBThreadPersistence getMBThreadPersistence() {
739 return mbThreadPersistence;
740 }
741
742
747 public void setMBThreadPersistence(MBThreadPersistence mbThreadPersistence) {
748 this.mbThreadPersistence = mbThreadPersistence;
749 }
750
751
756 public MBThreadFinder getMBThreadFinder() {
757 return mbThreadFinder;
758 }
759
760
765 public void setMBThreadFinder(MBThreadFinder mbThreadFinder) {
766 this.mbThreadFinder = mbThreadFinder;
767 }
768
769
774 public CounterLocalService getCounterLocalService() {
775 return counterLocalService;
776 }
777
778
783 public void setCounterLocalService(CounterLocalService counterLocalService) {
784 this.counterLocalService = counterLocalService;
785 }
786
787
792 public DLLocalService getDLLocalService() {
793 return dlLocalService;
794 }
795
796
801 public void setDLLocalService(DLLocalService dlLocalService) {
802 this.dlLocalService = dlLocalService;
803 }
804
805
810 public DLService getDLService() {
811 return dlService;
812 }
813
814
819 public void setDLService(DLService dlService) {
820 this.dlService = dlService;
821 }
822
823
828 public MailService getMailService() {
829 return mailService;
830 }
831
832
837 public void setMailService(MailService mailService) {
838 this.mailService = mailService;
839 }
840
841
846 public CompanyLocalService getCompanyLocalService() {
847 return companyLocalService;
848 }
849
850
855 public void setCompanyLocalService(CompanyLocalService companyLocalService) {
856 this.companyLocalService = companyLocalService;
857 }
858
859
864 public CompanyService getCompanyService() {
865 return companyService;
866 }
867
868
873 public void setCompanyService(CompanyService companyService) {
874 this.companyService = companyService;
875 }
876
877
882 public CompanyPersistence getCompanyPersistence() {
883 return companyPersistence;
884 }
885
886
891 public void setCompanyPersistence(CompanyPersistence companyPersistence) {
892 this.companyPersistence = companyPersistence;
893 }
894
895
900 public GroupLocalService getGroupLocalService() {
901 return groupLocalService;
902 }
903
904
909 public void setGroupLocalService(GroupLocalService groupLocalService) {
910 this.groupLocalService = groupLocalService;
911 }
912
913
918 public GroupService getGroupService() {
919 return groupService;
920 }
921
922
927 public void setGroupService(GroupService groupService) {
928 this.groupService = groupService;
929 }
930
931
936 public GroupPersistence getGroupPersistence() {
937 return groupPersistence;
938 }
939
940
945 public void setGroupPersistence(GroupPersistence groupPersistence) {
946 this.groupPersistence = groupPersistence;
947 }
948
949
954 public GroupFinder getGroupFinder() {
955 return groupFinder;
956 }
957
958
963 public void setGroupFinder(GroupFinder groupFinder) {
964 this.groupFinder = groupFinder;
965 }
966
967
972 public LockLocalService getLockLocalService() {
973 return lockLocalService;
974 }
975
976
981 public void setLockLocalService(LockLocalService lockLocalService) {
982 this.lockLocalService = lockLocalService;
983 }
984
985
990 public LockPersistence getLockPersistence() {
991 return lockPersistence;
992 }
993
994
999 public void setLockPersistence(LockPersistence lockPersistence) {
1000 this.lockPersistence = lockPersistence;
1001 }
1002
1003
1008 public PortletPreferencesLocalService getPortletPreferencesLocalService() {
1009 return portletPreferencesLocalService;
1010 }
1011
1012
1017 public void setPortletPreferencesLocalService(
1018 PortletPreferencesLocalService portletPreferencesLocalService) {
1019 this.portletPreferencesLocalService = portletPreferencesLocalService;
1020 }
1021
1022
1027 public PortletPreferencesService getPortletPreferencesService() {
1028 return portletPreferencesService;
1029 }
1030
1031
1036 public void setPortletPreferencesService(
1037 PortletPreferencesService portletPreferencesService) {
1038 this.portletPreferencesService = portletPreferencesService;
1039 }
1040
1041
1046 public PortletPreferencesPersistence getPortletPreferencesPersistence() {
1047 return portletPreferencesPersistence;
1048 }
1049
1050
1055 public void setPortletPreferencesPersistence(
1056 PortletPreferencesPersistence portletPreferencesPersistence) {
1057 this.portletPreferencesPersistence = portletPreferencesPersistence;
1058 }
1059
1060
1065 public PortletPreferencesFinder getPortletPreferencesFinder() {
1066 return portletPreferencesFinder;
1067 }
1068
1069
1074 public void setPortletPreferencesFinder(
1075 PortletPreferencesFinder portletPreferencesFinder) {
1076 this.portletPreferencesFinder = portletPreferencesFinder;
1077 }
1078
1079
1084 public ResourceLocalService getResourceLocalService() {
1085 return resourceLocalService;
1086 }
1087
1088
1093 public void setResourceLocalService(
1094 ResourceLocalService resourceLocalService) {
1095 this.resourceLocalService = resourceLocalService;
1096 }
1097
1098
1103 public ResourceService getResourceService() {
1104 return resourceService;
1105 }
1106
1107
1112 public void setResourceService(ResourceService resourceService) {
1113 this.resourceService = resourceService;
1114 }
1115
1116
1121 public ResourcePersistence getResourcePersistence() {
1122 return resourcePersistence;
1123 }
1124
1125
1130 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
1131 this.resourcePersistence = resourcePersistence;
1132 }
1133
1134
1139 public ResourceFinder getResourceFinder() {
1140 return resourceFinder;
1141 }
1142
1143
1148 public void setResourceFinder(ResourceFinder resourceFinder) {
1149 this.resourceFinder = resourceFinder;
1150 }
1151
1152
1157 public SubscriptionLocalService getSubscriptionLocalService() {
1158 return subscriptionLocalService;
1159 }
1160
1161
1166 public void setSubscriptionLocalService(
1167 SubscriptionLocalService subscriptionLocalService) {
1168 this.subscriptionLocalService = subscriptionLocalService;
1169 }
1170
1171
1176 public SubscriptionPersistence getSubscriptionPersistence() {
1177 return subscriptionPersistence;
1178 }
1179
1180
1185 public void setSubscriptionPersistence(
1186 SubscriptionPersistence subscriptionPersistence) {
1187 this.subscriptionPersistence = subscriptionPersistence;
1188 }
1189
1190
1195 public UserLocalService getUserLocalService() {
1196 return userLocalService;
1197 }
1198
1199
1204 public void setUserLocalService(UserLocalService userLocalService) {
1205 this.userLocalService = userLocalService;
1206 }
1207
1208
1213 public UserService getUserService() {
1214 return userService;
1215 }
1216
1217
1222 public void setUserService(UserService userService) {
1223 this.userService = userService;
1224 }
1225
1226
1231 public UserPersistence getUserPersistence() {
1232 return userPersistence;
1233 }
1234
1235
1240 public void setUserPersistence(UserPersistence userPersistence) {
1241 this.userPersistence = userPersistence;
1242 }
1243
1244
1249 public UserFinder getUserFinder() {
1250 return userFinder;
1251 }
1252
1253
1258 public void setUserFinder(UserFinder userFinder) {
1259 this.userFinder = userFinder;
1260 }
1261
1262
1267 public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1268 return workflowInstanceLinkLocalService;
1269 }
1270
1271
1276 public void setWorkflowInstanceLinkLocalService(
1277 WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1278 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1279 }
1280
1281
1286 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1287 return workflowInstanceLinkPersistence;
1288 }
1289
1290
1295 public void setWorkflowInstanceLinkPersistence(
1296 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1297 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1298 }
1299
1300
1305 public AssetEntryLocalService getAssetEntryLocalService() {
1306 return assetEntryLocalService;
1307 }
1308
1309
1314 public void setAssetEntryLocalService(
1315 AssetEntryLocalService assetEntryLocalService) {
1316 this.assetEntryLocalService = assetEntryLocalService;
1317 }
1318
1319
1324 public AssetEntryService getAssetEntryService() {
1325 return assetEntryService;
1326 }
1327
1328
1333 public void setAssetEntryService(AssetEntryService assetEntryService) {
1334 this.assetEntryService = assetEntryService;
1335 }
1336
1337
1342 public AssetEntryPersistence getAssetEntryPersistence() {
1343 return assetEntryPersistence;
1344 }
1345
1346
1351 public void setAssetEntryPersistence(
1352 AssetEntryPersistence assetEntryPersistence) {
1353 this.assetEntryPersistence = assetEntryPersistence;
1354 }
1355
1356
1361 public AssetEntryFinder getAssetEntryFinder() {
1362 return assetEntryFinder;
1363 }
1364
1365
1370 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1371 this.assetEntryFinder = assetEntryFinder;
1372 }
1373
1374
1379 public AssetTagLocalService getAssetTagLocalService() {
1380 return assetTagLocalService;
1381 }
1382
1383
1388 public void setAssetTagLocalService(
1389 AssetTagLocalService assetTagLocalService) {
1390 this.assetTagLocalService = assetTagLocalService;
1391 }
1392
1393
1398 public AssetTagService getAssetTagService() {
1399 return assetTagService;
1400 }
1401
1402
1407 public void setAssetTagService(AssetTagService assetTagService) {
1408 this.assetTagService = assetTagService;
1409 }
1410
1411
1416 public AssetTagPersistence getAssetTagPersistence() {
1417 return assetTagPersistence;
1418 }
1419
1420
1425 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1426 this.assetTagPersistence = assetTagPersistence;
1427 }
1428
1429
1434 public AssetTagFinder getAssetTagFinder() {
1435 return assetTagFinder;
1436 }
1437
1438
1443 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1444 this.assetTagFinder = assetTagFinder;
1445 }
1446
1447
1452 public BlogsEntryLocalService getBlogsEntryLocalService() {
1453 return blogsEntryLocalService;
1454 }
1455
1456
1461 public void setBlogsEntryLocalService(
1462 BlogsEntryLocalService blogsEntryLocalService) {
1463 this.blogsEntryLocalService = blogsEntryLocalService;
1464 }
1465
1466
1471 public BlogsEntryService getBlogsEntryService() {
1472 return blogsEntryService;
1473 }
1474
1475
1480 public void setBlogsEntryService(BlogsEntryService blogsEntryService) {
1481 this.blogsEntryService = blogsEntryService;
1482 }
1483
1484
1489 public BlogsEntryPersistence getBlogsEntryPersistence() {
1490 return blogsEntryPersistence;
1491 }
1492
1493
1498 public void setBlogsEntryPersistence(
1499 BlogsEntryPersistence blogsEntryPersistence) {
1500 this.blogsEntryPersistence = blogsEntryPersistence;
1501 }
1502
1503
1508 public BlogsEntryFinder getBlogsEntryFinder() {
1509 return blogsEntryFinder;
1510 }
1511
1512
1517 public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
1518 this.blogsEntryFinder = blogsEntryFinder;
1519 }
1520
1521
1526 public ExpandoValueLocalService getExpandoValueLocalService() {
1527 return expandoValueLocalService;
1528 }
1529
1530
1535 public void setExpandoValueLocalService(
1536 ExpandoValueLocalService expandoValueLocalService) {
1537 this.expandoValueLocalService = expandoValueLocalService;
1538 }
1539
1540
1545 public ExpandoValueService getExpandoValueService() {
1546 return expandoValueService;
1547 }
1548
1549
1554 public void setExpandoValueService(ExpandoValueService expandoValueService) {
1555 this.expandoValueService = expandoValueService;
1556 }
1557
1558
1563 public ExpandoValuePersistence getExpandoValuePersistence() {
1564 return expandoValuePersistence;
1565 }
1566
1567
1572 public void setExpandoValuePersistence(
1573 ExpandoValuePersistence expandoValuePersistence) {
1574 this.expandoValuePersistence = expandoValuePersistence;
1575 }
1576
1577
1582 public RatingsStatsLocalService getRatingsStatsLocalService() {
1583 return ratingsStatsLocalService;
1584 }
1585
1586
1591 public void setRatingsStatsLocalService(
1592 RatingsStatsLocalService ratingsStatsLocalService) {
1593 this.ratingsStatsLocalService = ratingsStatsLocalService;
1594 }
1595
1596
1601 public RatingsStatsPersistence getRatingsStatsPersistence() {
1602 return ratingsStatsPersistence;
1603 }
1604
1605
1610 public void setRatingsStatsPersistence(
1611 RatingsStatsPersistence ratingsStatsPersistence) {
1612 this.ratingsStatsPersistence = ratingsStatsPersistence;
1613 }
1614
1615
1620 public RatingsStatsFinder getRatingsStatsFinder() {
1621 return ratingsStatsFinder;
1622 }
1623
1624
1629 public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
1630 this.ratingsStatsFinder = ratingsStatsFinder;
1631 }
1632
1633
1638 public SocialActivityLocalService getSocialActivityLocalService() {
1639 return socialActivityLocalService;
1640 }
1641
1642
1647 public void setSocialActivityLocalService(
1648 SocialActivityLocalService socialActivityLocalService) {
1649 this.socialActivityLocalService = socialActivityLocalService;
1650 }
1651
1652
1657 public SocialActivityPersistence getSocialActivityPersistence() {
1658 return socialActivityPersistence;
1659 }
1660
1661
1666 public void setSocialActivityPersistence(
1667 SocialActivityPersistence socialActivityPersistence) {
1668 this.socialActivityPersistence = socialActivityPersistence;
1669 }
1670
1671
1676 public SocialActivityFinder getSocialActivityFinder() {
1677 return socialActivityFinder;
1678 }
1679
1680
1685 public void setSocialActivityFinder(
1686 SocialActivityFinder socialActivityFinder) {
1687 this.socialActivityFinder = socialActivityFinder;
1688 }
1689
1690
1695 public SocialEquityLogLocalService getSocialEquityLogLocalService() {
1696 return socialEquityLogLocalService;
1697 }
1698
1699
1704 public void setSocialEquityLogLocalService(
1705 SocialEquityLogLocalService socialEquityLogLocalService) {
1706 this.socialEquityLogLocalService = socialEquityLogLocalService;
1707 }
1708
1709
1714 public SocialEquityLogPersistence getSocialEquityLogPersistence() {
1715 return socialEquityLogPersistence;
1716 }
1717
1718
1723 public void setSocialEquityLogPersistence(
1724 SocialEquityLogPersistence socialEquityLogPersistence) {
1725 this.socialEquityLogPersistence = socialEquityLogPersistence;
1726 }
1727
1728
1733 protected void runSQL(String sql) throws SystemException {
1734 try {
1735 DataSource dataSource = mbMessagePersistence.getDataSource();
1736
1737 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1738 sql, new int[0]);
1739
1740 sqlUpdate.update();
1741 }
1742 catch (Exception e) {
1743 throw new SystemException(e);
1744 }
1745 }
1746
1747 @BeanReference(type = MBBanLocalService.class)
1748 protected MBBanLocalService mbBanLocalService;
1749 @BeanReference(type = MBBanService.class)
1750 protected MBBanService mbBanService;
1751 @BeanReference(type = MBBanPersistence.class)
1752 protected MBBanPersistence mbBanPersistence;
1753 @BeanReference(type = MBCategoryLocalService.class)
1754 protected MBCategoryLocalService mbCategoryLocalService;
1755 @BeanReference(type = MBCategoryService.class)
1756 protected MBCategoryService mbCategoryService;
1757 @BeanReference(type = MBCategoryPersistence.class)
1758 protected MBCategoryPersistence mbCategoryPersistence;
1759 @BeanReference(type = MBCategoryFinder.class)
1760 protected MBCategoryFinder mbCategoryFinder;
1761 @BeanReference(type = MBDiscussionLocalService.class)
1762 protected MBDiscussionLocalService mbDiscussionLocalService;
1763 @BeanReference(type = MBDiscussionPersistence.class)
1764 protected MBDiscussionPersistence mbDiscussionPersistence;
1765 @BeanReference(type = MBMailingListLocalService.class)
1766 protected MBMailingListLocalService mbMailingListLocalService;
1767 @BeanReference(type = MBMailingListPersistence.class)
1768 protected MBMailingListPersistence mbMailingListPersistence;
1769 @BeanReference(type = MBMessageLocalService.class)
1770 protected MBMessageLocalService mbMessageLocalService;
1771 @BeanReference(type = MBMessageService.class)
1772 protected MBMessageService mbMessageService;
1773 @BeanReference(type = MBMessagePersistence.class)
1774 protected MBMessagePersistence mbMessagePersistence;
1775 @BeanReference(type = MBMessageFinder.class)
1776 protected MBMessageFinder mbMessageFinder;
1777 @BeanReference(type = MBMessageFlagLocalService.class)
1778 protected MBMessageFlagLocalService mbMessageFlagLocalService;
1779 @BeanReference(type = MBMessageFlagService.class)
1780 protected MBMessageFlagService mbMessageFlagService;
1781 @BeanReference(type = MBMessageFlagPersistence.class)
1782 protected MBMessageFlagPersistence mbMessageFlagPersistence;
1783 @BeanReference(type = MBStatsUserLocalService.class)
1784 protected MBStatsUserLocalService mbStatsUserLocalService;
1785 @BeanReference(type = MBStatsUserPersistence.class)
1786 protected MBStatsUserPersistence mbStatsUserPersistence;
1787 @BeanReference(type = MBThreadLocalService.class)
1788 protected MBThreadLocalService mbThreadLocalService;
1789 @BeanReference(type = MBThreadService.class)
1790 protected MBThreadService mbThreadService;
1791 @BeanReference(type = MBThreadPersistence.class)
1792 protected MBThreadPersistence mbThreadPersistence;
1793 @BeanReference(type = MBThreadFinder.class)
1794 protected MBThreadFinder mbThreadFinder;
1795 @BeanReference(type = CounterLocalService.class)
1796 protected CounterLocalService counterLocalService;
1797 @BeanReference(type = DLLocalService.class)
1798 protected DLLocalService dlLocalService;
1799 @BeanReference(type = DLService.class)
1800 protected DLService dlService;
1801 @BeanReference(type = MailService.class)
1802 protected MailService mailService;
1803 @BeanReference(type = CompanyLocalService.class)
1804 protected CompanyLocalService companyLocalService;
1805 @BeanReference(type = CompanyService.class)
1806 protected CompanyService companyService;
1807 @BeanReference(type = CompanyPersistence.class)
1808 protected CompanyPersistence companyPersistence;
1809 @BeanReference(type = GroupLocalService.class)
1810 protected GroupLocalService groupLocalService;
1811 @BeanReference(type = GroupService.class)
1812 protected GroupService groupService;
1813 @BeanReference(type = GroupPersistence.class)
1814 protected GroupPersistence groupPersistence;
1815 @BeanReference(type = GroupFinder.class)
1816 protected GroupFinder groupFinder;
1817 @BeanReference(type = LockLocalService.class)
1818 protected LockLocalService lockLocalService;
1819 @BeanReference(type = LockPersistence.class)
1820 protected LockPersistence lockPersistence;
1821 @BeanReference(type = PortletPreferencesLocalService.class)
1822 protected PortletPreferencesLocalService portletPreferencesLocalService;
1823 @BeanReference(type = PortletPreferencesService.class)
1824 protected PortletPreferencesService portletPreferencesService;
1825 @BeanReference(type = PortletPreferencesPersistence.class)
1826 protected PortletPreferencesPersistence portletPreferencesPersistence;
1827 @BeanReference(type = PortletPreferencesFinder.class)
1828 protected PortletPreferencesFinder portletPreferencesFinder;
1829 @BeanReference(type = ResourceLocalService.class)
1830 protected ResourceLocalService resourceLocalService;
1831 @BeanReference(type = ResourceService.class)
1832 protected ResourceService resourceService;
1833 @BeanReference(type = ResourcePersistence.class)
1834 protected ResourcePersistence resourcePersistence;
1835 @BeanReference(type = ResourceFinder.class)
1836 protected ResourceFinder resourceFinder;
1837 @BeanReference(type = SubscriptionLocalService.class)
1838 protected SubscriptionLocalService subscriptionLocalService;
1839 @BeanReference(type = SubscriptionPersistence.class)
1840 protected SubscriptionPersistence subscriptionPersistence;
1841 @BeanReference(type = UserLocalService.class)
1842 protected UserLocalService userLocalService;
1843 @BeanReference(type = UserService.class)
1844 protected UserService userService;
1845 @BeanReference(type = UserPersistence.class)
1846 protected UserPersistence userPersistence;
1847 @BeanReference(type = UserFinder.class)
1848 protected UserFinder userFinder;
1849 @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1850 protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1851 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1852 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1853 @BeanReference(type = AssetEntryLocalService.class)
1854 protected AssetEntryLocalService assetEntryLocalService;
1855 @BeanReference(type = AssetEntryService.class)
1856 protected AssetEntryService assetEntryService;
1857 @BeanReference(type = AssetEntryPersistence.class)
1858 protected AssetEntryPersistence assetEntryPersistence;
1859 @BeanReference(type = AssetEntryFinder.class)
1860 protected AssetEntryFinder assetEntryFinder;
1861 @BeanReference(type = AssetTagLocalService.class)
1862 protected AssetTagLocalService assetTagLocalService;
1863 @BeanReference(type = AssetTagService.class)
1864 protected AssetTagService assetTagService;
1865 @BeanReference(type = AssetTagPersistence.class)
1866 protected AssetTagPersistence assetTagPersistence;
1867 @BeanReference(type = AssetTagFinder.class)
1868 protected AssetTagFinder assetTagFinder;
1869 @BeanReference(type = BlogsEntryLocalService.class)
1870 protected BlogsEntryLocalService blogsEntryLocalService;
1871 @BeanReference(type = BlogsEntryService.class)
1872 protected BlogsEntryService blogsEntryService;
1873 @BeanReference(type = BlogsEntryPersistence.class)
1874 protected BlogsEntryPersistence blogsEntryPersistence;
1875 @BeanReference(type = BlogsEntryFinder.class)
1876 protected BlogsEntryFinder blogsEntryFinder;
1877 @BeanReference(type = ExpandoValueLocalService.class)
1878 protected ExpandoValueLocalService expandoValueLocalService;
1879 @BeanReference(type = ExpandoValueService.class)
1880 protected ExpandoValueService expandoValueService;
1881 @BeanReference(type = ExpandoValuePersistence.class)
1882 protected ExpandoValuePersistence expandoValuePersistence;
1883 @BeanReference(type = RatingsStatsLocalService.class)
1884 protected RatingsStatsLocalService ratingsStatsLocalService;
1885 @BeanReference(type = RatingsStatsPersistence.class)
1886 protected RatingsStatsPersistence ratingsStatsPersistence;
1887 @BeanReference(type = RatingsStatsFinder.class)
1888 protected RatingsStatsFinder ratingsStatsFinder;
1889 @BeanReference(type = SocialActivityLocalService.class)
1890 protected SocialActivityLocalService socialActivityLocalService;
1891 @BeanReference(type = SocialActivityPersistence.class)
1892 protected SocialActivityPersistence socialActivityPersistence;
1893 @BeanReference(type = SocialActivityFinder.class)
1894 protected SocialActivityFinder socialActivityFinder;
1895 @BeanReference(type = SocialEquityLogLocalService.class)
1896 protected SocialEquityLogLocalService socialEquityLogLocalService;
1897 @BeanReference(type = SocialEquityLogPersistence.class)
1898 protected SocialEquityLogPersistence socialEquityLogPersistence;
1899 }