001
014
015 package com.liferay.portlet.messageboards.service.base;
016
017 import com.liferay.portal.kernel.bean.BeanReference;
018 import com.liferay.portal.kernel.bean.IdentifiableBean;
019 import com.liferay.portal.kernel.dao.db.DB;
020 import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
021 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
022 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
023 import com.liferay.portal.kernel.exception.SystemException;
024 import com.liferay.portal.service.BaseServiceImpl;
025 import com.liferay.portal.service.persistence.ClassNamePersistence;
026 import com.liferay.portal.service.persistence.CompanyPersistence;
027 import com.liferay.portal.service.persistence.GroupFinder;
028 import com.liferay.portal.service.persistence.GroupPersistence;
029 import com.liferay.portal.service.persistence.LockFinder;
030 import com.liferay.portal.service.persistence.LockPersistence;
031 import com.liferay.portal.service.persistence.PortletPreferencesFinder;
032 import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
033 import com.liferay.portal.service.persistence.SubscriptionPersistence;
034 import com.liferay.portal.service.persistence.UserFinder;
035 import com.liferay.portal.service.persistence.UserPersistence;
036 import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
037 import com.liferay.portal.util.PortalUtil;
038
039 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
040 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
041 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
042 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
043 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
044 import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
045 import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
046 import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
047 import com.liferay.portlet.messageboards.model.MBMessage;
048 import com.liferay.portlet.messageboards.service.MBMessageService;
049 import com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder;
050 import com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence;
051 import com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence;
052 import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
053 import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
054 import com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence;
055 import com.liferay.portlet.messageboards.service.persistence.MBThreadFinder;
056 import com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence;
057 import com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder;
058 import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
059 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
060 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
061 import com.liferay.portlet.wiki.service.persistence.WikiPageFinder;
062 import com.liferay.portlet.wiki.service.persistence.WikiPagePersistence;
063
064 import javax.sql.DataSource;
065
066
078 public abstract class MBMessageServiceBaseImpl extends BaseServiceImpl
079 implements MBMessageService, IdentifiableBean {
080
085
086
091 public com.liferay.portlet.messageboards.service.MBMessageLocalService getMBMessageLocalService() {
092 return mbMessageLocalService;
093 }
094
095
100 public void setMBMessageLocalService(
101 com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService) {
102 this.mbMessageLocalService = mbMessageLocalService;
103 }
104
105
110 public com.liferay.portlet.messageboards.service.MBMessageService getMBMessageService() {
111 return mbMessageService;
112 }
113
114
119 public void setMBMessageService(
120 com.liferay.portlet.messageboards.service.MBMessageService mbMessageService) {
121 this.mbMessageService = mbMessageService;
122 }
123
124
129 public MBMessagePersistence getMBMessagePersistence() {
130 return mbMessagePersistence;
131 }
132
133
138 public void setMBMessagePersistence(
139 MBMessagePersistence mbMessagePersistence) {
140 this.mbMessagePersistence = mbMessagePersistence;
141 }
142
143
148 public MBMessageFinder getMBMessageFinder() {
149 return mbMessageFinder;
150 }
151
152
157 public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
158 this.mbMessageFinder = mbMessageFinder;
159 }
160
161
166 public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
167 return counterLocalService;
168 }
169
170
175 public void setCounterLocalService(
176 com.liferay.counter.service.CounterLocalService counterLocalService) {
177 this.counterLocalService = counterLocalService;
178 }
179
180
185 public com.liferay.mail.service.MailService getMailService() {
186 return mailService;
187 }
188
189
194 public void setMailService(com.liferay.mail.service.MailService mailService) {
195 this.mailService = mailService;
196 }
197
198
203 public com.liferay.portal.service.ClassNameLocalService getClassNameLocalService() {
204 return classNameLocalService;
205 }
206
207
212 public void setClassNameLocalService(
213 com.liferay.portal.service.ClassNameLocalService classNameLocalService) {
214 this.classNameLocalService = classNameLocalService;
215 }
216
217
222 public com.liferay.portal.service.ClassNameService getClassNameService() {
223 return classNameService;
224 }
225
226
231 public void setClassNameService(
232 com.liferay.portal.service.ClassNameService classNameService) {
233 this.classNameService = classNameService;
234 }
235
236
241 public ClassNamePersistence getClassNamePersistence() {
242 return classNamePersistence;
243 }
244
245
250 public void setClassNamePersistence(
251 ClassNamePersistence classNamePersistence) {
252 this.classNamePersistence = classNamePersistence;
253 }
254
255
260 public com.liferay.portal.service.CompanyLocalService getCompanyLocalService() {
261 return companyLocalService;
262 }
263
264
269 public void setCompanyLocalService(
270 com.liferay.portal.service.CompanyLocalService companyLocalService) {
271 this.companyLocalService = companyLocalService;
272 }
273
274
279 public com.liferay.portal.service.CompanyService getCompanyService() {
280 return companyService;
281 }
282
283
288 public void setCompanyService(
289 com.liferay.portal.service.CompanyService companyService) {
290 this.companyService = companyService;
291 }
292
293
298 public CompanyPersistence getCompanyPersistence() {
299 return companyPersistence;
300 }
301
302
307 public void setCompanyPersistence(CompanyPersistence companyPersistence) {
308 this.companyPersistence = companyPersistence;
309 }
310
311
316 public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
317 return groupLocalService;
318 }
319
320
325 public void setGroupLocalService(
326 com.liferay.portal.service.GroupLocalService groupLocalService) {
327 this.groupLocalService = groupLocalService;
328 }
329
330
335 public com.liferay.portal.service.GroupService getGroupService() {
336 return groupService;
337 }
338
339
344 public void setGroupService(
345 com.liferay.portal.service.GroupService groupService) {
346 this.groupService = groupService;
347 }
348
349
354 public GroupPersistence getGroupPersistence() {
355 return groupPersistence;
356 }
357
358
363 public void setGroupPersistence(GroupPersistence groupPersistence) {
364 this.groupPersistence = groupPersistence;
365 }
366
367
372 public GroupFinder getGroupFinder() {
373 return groupFinder;
374 }
375
376
381 public void setGroupFinder(GroupFinder groupFinder) {
382 this.groupFinder = groupFinder;
383 }
384
385
390 public com.liferay.portal.service.LockLocalService getLockLocalService() {
391 return lockLocalService;
392 }
393
394
399 public void setLockLocalService(
400 com.liferay.portal.service.LockLocalService lockLocalService) {
401 this.lockLocalService = lockLocalService;
402 }
403
404
409 public LockPersistence getLockPersistence() {
410 return lockPersistence;
411 }
412
413
418 public void setLockPersistence(LockPersistence lockPersistence) {
419 this.lockPersistence = lockPersistence;
420 }
421
422
427 public LockFinder getLockFinder() {
428 return lockFinder;
429 }
430
431
436 public void setLockFinder(LockFinder lockFinder) {
437 this.lockFinder = lockFinder;
438 }
439
440
445 public com.liferay.portal.service.PortletPreferencesLocalService getPortletPreferencesLocalService() {
446 return portletPreferencesLocalService;
447 }
448
449
454 public void setPortletPreferencesLocalService(
455 com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService) {
456 this.portletPreferencesLocalService = portletPreferencesLocalService;
457 }
458
459
464 public com.liferay.portal.service.PortletPreferencesService getPortletPreferencesService() {
465 return portletPreferencesService;
466 }
467
468
473 public void setPortletPreferencesService(
474 com.liferay.portal.service.PortletPreferencesService portletPreferencesService) {
475 this.portletPreferencesService = portletPreferencesService;
476 }
477
478
483 public PortletPreferencesPersistence getPortletPreferencesPersistence() {
484 return portletPreferencesPersistence;
485 }
486
487
492 public void setPortletPreferencesPersistence(
493 PortletPreferencesPersistence portletPreferencesPersistence) {
494 this.portletPreferencesPersistence = portletPreferencesPersistence;
495 }
496
497
502 public PortletPreferencesFinder getPortletPreferencesFinder() {
503 return portletPreferencesFinder;
504 }
505
506
511 public void setPortletPreferencesFinder(
512 PortletPreferencesFinder portletPreferencesFinder) {
513 this.portletPreferencesFinder = portletPreferencesFinder;
514 }
515
516
521 public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
522 return resourceLocalService;
523 }
524
525
530 public void setResourceLocalService(
531 com.liferay.portal.service.ResourceLocalService resourceLocalService) {
532 this.resourceLocalService = resourceLocalService;
533 }
534
535
540 public com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService() {
541 return subscriptionLocalService;
542 }
543
544
549 public void setSubscriptionLocalService(
550 com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService) {
551 this.subscriptionLocalService = subscriptionLocalService;
552 }
553
554
559 public SubscriptionPersistence getSubscriptionPersistence() {
560 return subscriptionPersistence;
561 }
562
563
568 public void setSubscriptionPersistence(
569 SubscriptionPersistence subscriptionPersistence) {
570 this.subscriptionPersistence = subscriptionPersistence;
571 }
572
573
578 public com.liferay.portal.service.UserLocalService getUserLocalService() {
579 return userLocalService;
580 }
581
582
587 public void setUserLocalService(
588 com.liferay.portal.service.UserLocalService userLocalService) {
589 this.userLocalService = userLocalService;
590 }
591
592
597 public com.liferay.portal.service.UserService getUserService() {
598 return userService;
599 }
600
601
606 public void setUserService(
607 com.liferay.portal.service.UserService userService) {
608 this.userService = userService;
609 }
610
611
616 public UserPersistence getUserPersistence() {
617 return userPersistence;
618 }
619
620
625 public void setUserPersistence(UserPersistence userPersistence) {
626 this.userPersistence = userPersistence;
627 }
628
629
634 public UserFinder getUserFinder() {
635 return userFinder;
636 }
637
638
643 public void setUserFinder(UserFinder userFinder) {
644 this.userFinder = userFinder;
645 }
646
647
652 public com.liferay.portal.service.WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
653 return workflowInstanceLinkLocalService;
654 }
655
656
661 public void setWorkflowInstanceLinkLocalService(
662 com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
663 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
664 }
665
666
671 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
672 return workflowInstanceLinkPersistence;
673 }
674
675
680 public void setWorkflowInstanceLinkPersistence(
681 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
682 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
683 }
684
685
690 public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
691 return assetEntryLocalService;
692 }
693
694
699 public void setAssetEntryLocalService(
700 com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
701 this.assetEntryLocalService = assetEntryLocalService;
702 }
703
704
709 public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
710 return assetEntryService;
711 }
712
713
718 public void setAssetEntryService(
719 com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
720 this.assetEntryService = assetEntryService;
721 }
722
723
728 public AssetEntryPersistence getAssetEntryPersistence() {
729 return assetEntryPersistence;
730 }
731
732
737 public void setAssetEntryPersistence(
738 AssetEntryPersistence assetEntryPersistence) {
739 this.assetEntryPersistence = assetEntryPersistence;
740 }
741
742
747 public AssetEntryFinder getAssetEntryFinder() {
748 return assetEntryFinder;
749 }
750
751
756 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
757 this.assetEntryFinder = assetEntryFinder;
758 }
759
760
765 public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
766 return assetLinkLocalService;
767 }
768
769
774 public void setAssetLinkLocalService(
775 com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
776 this.assetLinkLocalService = assetLinkLocalService;
777 }
778
779
784 public AssetLinkPersistence getAssetLinkPersistence() {
785 return assetLinkPersistence;
786 }
787
788
793 public void setAssetLinkPersistence(
794 AssetLinkPersistence assetLinkPersistence) {
795 this.assetLinkPersistence = assetLinkPersistence;
796 }
797
798
803 public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
804 return assetTagLocalService;
805 }
806
807
812 public void setAssetTagLocalService(
813 com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
814 this.assetTagLocalService = assetTagLocalService;
815 }
816
817
822 public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
823 return assetTagService;
824 }
825
826
831 public void setAssetTagService(
832 com.liferay.portlet.asset.service.AssetTagService assetTagService) {
833 this.assetTagService = assetTagService;
834 }
835
836
841 public AssetTagPersistence getAssetTagPersistence() {
842 return assetTagPersistence;
843 }
844
845
850 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
851 this.assetTagPersistence = assetTagPersistence;
852 }
853
854
859 public AssetTagFinder getAssetTagFinder() {
860 return assetTagFinder;
861 }
862
863
868 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
869 this.assetTagFinder = assetTagFinder;
870 }
871
872
877 public com.liferay.portlet.blogs.service.BlogsEntryLocalService getBlogsEntryLocalService() {
878 return blogsEntryLocalService;
879 }
880
881
886 public void setBlogsEntryLocalService(
887 com.liferay.portlet.blogs.service.BlogsEntryLocalService blogsEntryLocalService) {
888 this.blogsEntryLocalService = blogsEntryLocalService;
889 }
890
891
896 public com.liferay.portlet.blogs.service.BlogsEntryService getBlogsEntryService() {
897 return blogsEntryService;
898 }
899
900
905 public void setBlogsEntryService(
906 com.liferay.portlet.blogs.service.BlogsEntryService blogsEntryService) {
907 this.blogsEntryService = blogsEntryService;
908 }
909
910
915 public BlogsEntryPersistence getBlogsEntryPersistence() {
916 return blogsEntryPersistence;
917 }
918
919
924 public void setBlogsEntryPersistence(
925 BlogsEntryPersistence blogsEntryPersistence) {
926 this.blogsEntryPersistence = blogsEntryPersistence;
927 }
928
929
934 public BlogsEntryFinder getBlogsEntryFinder() {
935 return blogsEntryFinder;
936 }
937
938
943 public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
944 this.blogsEntryFinder = blogsEntryFinder;
945 }
946
947
952 public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
953 return expandoRowLocalService;
954 }
955
956
961 public void setExpandoRowLocalService(
962 com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
963 this.expandoRowLocalService = expandoRowLocalService;
964 }
965
966
971 public ExpandoRowPersistence getExpandoRowPersistence() {
972 return expandoRowPersistence;
973 }
974
975
980 public void setExpandoRowPersistence(
981 ExpandoRowPersistence expandoRowPersistence) {
982 this.expandoRowPersistence = expandoRowPersistence;
983 }
984
985
990 public com.liferay.portlet.messageboards.service.MBCategoryLocalService getMBCategoryLocalService() {
991 return mbCategoryLocalService;
992 }
993
994
999 public void setMBCategoryLocalService(
1000 com.liferay.portlet.messageboards.service.MBCategoryLocalService mbCategoryLocalService) {
1001 this.mbCategoryLocalService = mbCategoryLocalService;
1002 }
1003
1004
1009 public com.liferay.portlet.messageboards.service.MBCategoryService getMBCategoryService() {
1010 return mbCategoryService;
1011 }
1012
1013
1018 public void setMBCategoryService(
1019 com.liferay.portlet.messageboards.service.MBCategoryService mbCategoryService) {
1020 this.mbCategoryService = mbCategoryService;
1021 }
1022
1023
1028 public MBCategoryPersistence getMBCategoryPersistence() {
1029 return mbCategoryPersistence;
1030 }
1031
1032
1037 public void setMBCategoryPersistence(
1038 MBCategoryPersistence mbCategoryPersistence) {
1039 this.mbCategoryPersistence = mbCategoryPersistence;
1040 }
1041
1042
1047 public MBCategoryFinder getMBCategoryFinder() {
1048 return mbCategoryFinder;
1049 }
1050
1051
1056 public void setMBCategoryFinder(MBCategoryFinder mbCategoryFinder) {
1057 this.mbCategoryFinder = mbCategoryFinder;
1058 }
1059
1060
1065 public com.liferay.portlet.messageboards.service.MBDiscussionLocalService getMBDiscussionLocalService() {
1066 return mbDiscussionLocalService;
1067 }
1068
1069
1074 public void setMBDiscussionLocalService(
1075 com.liferay.portlet.messageboards.service.MBDiscussionLocalService mbDiscussionLocalService) {
1076 this.mbDiscussionLocalService = mbDiscussionLocalService;
1077 }
1078
1079
1084 public MBDiscussionPersistence getMBDiscussionPersistence() {
1085 return mbDiscussionPersistence;
1086 }
1087
1088
1093 public void setMBDiscussionPersistence(
1094 MBDiscussionPersistence mbDiscussionPersistence) {
1095 this.mbDiscussionPersistence = mbDiscussionPersistence;
1096 }
1097
1098
1103 public com.liferay.portlet.ratings.service.RatingsStatsLocalService getRatingsStatsLocalService() {
1104 return ratingsStatsLocalService;
1105 }
1106
1107
1112 public void setRatingsStatsLocalService(
1113 com.liferay.portlet.ratings.service.RatingsStatsLocalService ratingsStatsLocalService) {
1114 this.ratingsStatsLocalService = ratingsStatsLocalService;
1115 }
1116
1117
1122 public RatingsStatsPersistence getRatingsStatsPersistence() {
1123 return ratingsStatsPersistence;
1124 }
1125
1126
1131 public void setRatingsStatsPersistence(
1132 RatingsStatsPersistence ratingsStatsPersistence) {
1133 this.ratingsStatsPersistence = ratingsStatsPersistence;
1134 }
1135
1136
1141 public RatingsStatsFinder getRatingsStatsFinder() {
1142 return ratingsStatsFinder;
1143 }
1144
1145
1150 public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
1151 this.ratingsStatsFinder = ratingsStatsFinder;
1152 }
1153
1154
1159 public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
1160 return socialActivityLocalService;
1161 }
1162
1163
1168 public void setSocialActivityLocalService(
1169 com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
1170 this.socialActivityLocalService = socialActivityLocalService;
1171 }
1172
1173
1178 public com.liferay.portlet.social.service.SocialActivityService getSocialActivityService() {
1179 return socialActivityService;
1180 }
1181
1182
1187 public void setSocialActivityService(
1188 com.liferay.portlet.social.service.SocialActivityService socialActivityService) {
1189 this.socialActivityService = socialActivityService;
1190 }
1191
1192
1197 public SocialActivityPersistence getSocialActivityPersistence() {
1198 return socialActivityPersistence;
1199 }
1200
1201
1206 public void setSocialActivityPersistence(
1207 SocialActivityPersistence socialActivityPersistence) {
1208 this.socialActivityPersistence = socialActivityPersistence;
1209 }
1210
1211
1216 public SocialActivityFinder getSocialActivityFinder() {
1217 return socialActivityFinder;
1218 }
1219
1220
1225 public void setSocialActivityFinder(
1226 SocialActivityFinder socialActivityFinder) {
1227 this.socialActivityFinder = socialActivityFinder;
1228 }
1229
1230
1235 public com.liferay.portlet.wiki.service.WikiPageLocalService getWikiPageLocalService() {
1236 return wikiPageLocalService;
1237 }
1238
1239
1244 public void setWikiPageLocalService(
1245 com.liferay.portlet.wiki.service.WikiPageLocalService wikiPageLocalService) {
1246 this.wikiPageLocalService = wikiPageLocalService;
1247 }
1248
1249
1254 public com.liferay.portlet.wiki.service.WikiPageService getWikiPageService() {
1255 return wikiPageService;
1256 }
1257
1258
1263 public void setWikiPageService(
1264 com.liferay.portlet.wiki.service.WikiPageService wikiPageService) {
1265 this.wikiPageService = wikiPageService;
1266 }
1267
1268
1273 public WikiPagePersistence getWikiPagePersistence() {
1274 return wikiPagePersistence;
1275 }
1276
1277
1282 public void setWikiPagePersistence(WikiPagePersistence wikiPagePersistence) {
1283 this.wikiPagePersistence = wikiPagePersistence;
1284 }
1285
1286
1291 public WikiPageFinder getWikiPageFinder() {
1292 return wikiPageFinder;
1293 }
1294
1295
1300 public void setWikiPageFinder(WikiPageFinder wikiPageFinder) {
1301 this.wikiPageFinder = wikiPageFinder;
1302 }
1303
1304
1309 public com.liferay.portlet.messageboards.service.MBStatsUserLocalService getMBStatsUserLocalService() {
1310 return mbStatsUserLocalService;
1311 }
1312
1313
1318 public void setMBStatsUserLocalService(
1319 com.liferay.portlet.messageboards.service.MBStatsUserLocalService mbStatsUserLocalService) {
1320 this.mbStatsUserLocalService = mbStatsUserLocalService;
1321 }
1322
1323
1328 public MBStatsUserPersistence getMBStatsUserPersistence() {
1329 return mbStatsUserPersistence;
1330 }
1331
1332
1337 public void setMBStatsUserPersistence(
1338 MBStatsUserPersistence mbStatsUserPersistence) {
1339 this.mbStatsUserPersistence = mbStatsUserPersistence;
1340 }
1341
1342
1347 public com.liferay.portlet.messageboards.service.MBThreadLocalService getMBThreadLocalService() {
1348 return mbThreadLocalService;
1349 }
1350
1351
1356 public void setMBThreadLocalService(
1357 com.liferay.portlet.messageboards.service.MBThreadLocalService mbThreadLocalService) {
1358 this.mbThreadLocalService = mbThreadLocalService;
1359 }
1360
1361
1366 public com.liferay.portlet.messageboards.service.MBThreadService getMBThreadService() {
1367 return mbThreadService;
1368 }
1369
1370
1375 public void setMBThreadService(
1376 com.liferay.portlet.messageboards.service.MBThreadService mbThreadService) {
1377 this.mbThreadService = mbThreadService;
1378 }
1379
1380
1385 public MBThreadPersistence getMBThreadPersistence() {
1386 return mbThreadPersistence;
1387 }
1388
1389
1394 public void setMBThreadPersistence(MBThreadPersistence mbThreadPersistence) {
1395 this.mbThreadPersistence = mbThreadPersistence;
1396 }
1397
1398
1403 public MBThreadFinder getMBThreadFinder() {
1404 return mbThreadFinder;
1405 }
1406
1407
1412 public void setMBThreadFinder(MBThreadFinder mbThreadFinder) {
1413 this.mbThreadFinder = mbThreadFinder;
1414 }
1415
1416 public void afterPropertiesSet() {
1417 }
1418
1419 public void destroy() {
1420 }
1421
1422
1427 @Override
1428 public String getBeanIdentifier() {
1429 return _beanIdentifier;
1430 }
1431
1432
1437 @Override
1438 public void setBeanIdentifier(String beanIdentifier) {
1439 _beanIdentifier = beanIdentifier;
1440 }
1441
1442 protected Class<?> getModelClass() {
1443 return MBMessage.class;
1444 }
1445
1446 protected String getModelClassName() {
1447 return MBMessage.class.getName();
1448 }
1449
1450
1455 protected void runSQL(String sql) {
1456 try {
1457 DataSource dataSource = mbMessagePersistence.getDataSource();
1458
1459 DB db = DBFactoryUtil.getDB();
1460
1461 sql = db.buildSQL(sql);
1462 sql = PortalUtil.transformSQL(sql);
1463
1464 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1465 sql, new int[0]);
1466
1467 sqlUpdate.update();
1468 }
1469 catch (Exception e) {
1470 throw new SystemException(e);
1471 }
1472 }
1473
1474 @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageLocalService.class)
1475 protected com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService;
1476 @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageService.class)
1477 protected com.liferay.portlet.messageboards.service.MBMessageService mbMessageService;
1478 @BeanReference(type = MBMessagePersistence.class)
1479 protected MBMessagePersistence mbMessagePersistence;
1480 @BeanReference(type = MBMessageFinder.class)
1481 protected MBMessageFinder mbMessageFinder;
1482 @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1483 protected com.liferay.counter.service.CounterLocalService counterLocalService;
1484 @BeanReference(type = com.liferay.mail.service.MailService.class)
1485 protected com.liferay.mail.service.MailService mailService;
1486 @BeanReference(type = com.liferay.portal.service.ClassNameLocalService.class)
1487 protected com.liferay.portal.service.ClassNameLocalService classNameLocalService;
1488 @BeanReference(type = com.liferay.portal.service.ClassNameService.class)
1489 protected com.liferay.portal.service.ClassNameService classNameService;
1490 @BeanReference(type = ClassNamePersistence.class)
1491 protected ClassNamePersistence classNamePersistence;
1492 @BeanReference(type = com.liferay.portal.service.CompanyLocalService.class)
1493 protected com.liferay.portal.service.CompanyLocalService companyLocalService;
1494 @BeanReference(type = com.liferay.portal.service.CompanyService.class)
1495 protected com.liferay.portal.service.CompanyService companyService;
1496 @BeanReference(type = CompanyPersistence.class)
1497 protected CompanyPersistence companyPersistence;
1498 @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
1499 protected com.liferay.portal.service.GroupLocalService groupLocalService;
1500 @BeanReference(type = com.liferay.portal.service.GroupService.class)
1501 protected com.liferay.portal.service.GroupService groupService;
1502 @BeanReference(type = GroupPersistence.class)
1503 protected GroupPersistence groupPersistence;
1504 @BeanReference(type = GroupFinder.class)
1505 protected GroupFinder groupFinder;
1506 @BeanReference(type = com.liferay.portal.service.LockLocalService.class)
1507 protected com.liferay.portal.service.LockLocalService lockLocalService;
1508 @BeanReference(type = LockPersistence.class)
1509 protected LockPersistence lockPersistence;
1510 @BeanReference(type = LockFinder.class)
1511 protected LockFinder lockFinder;
1512 @BeanReference(type = com.liferay.portal.service.PortletPreferencesLocalService.class)
1513 protected com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService;
1514 @BeanReference(type = com.liferay.portal.service.PortletPreferencesService.class)
1515 protected com.liferay.portal.service.PortletPreferencesService portletPreferencesService;
1516 @BeanReference(type = PortletPreferencesPersistence.class)
1517 protected PortletPreferencesPersistence portletPreferencesPersistence;
1518 @BeanReference(type = PortletPreferencesFinder.class)
1519 protected PortletPreferencesFinder portletPreferencesFinder;
1520 @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1521 protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1522 @BeanReference(type = com.liferay.portal.service.SubscriptionLocalService.class)
1523 protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService;
1524 @BeanReference(type = SubscriptionPersistence.class)
1525 protected SubscriptionPersistence subscriptionPersistence;
1526 @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1527 protected com.liferay.portal.service.UserLocalService userLocalService;
1528 @BeanReference(type = com.liferay.portal.service.UserService.class)
1529 protected com.liferay.portal.service.UserService userService;
1530 @BeanReference(type = UserPersistence.class)
1531 protected UserPersistence userPersistence;
1532 @BeanReference(type = UserFinder.class)
1533 protected UserFinder userFinder;
1534 @BeanReference(type = com.liferay.portal.service.WorkflowInstanceLinkLocalService.class)
1535 protected com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1536 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1537 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1538 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1539 protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1540 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1541 protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1542 @BeanReference(type = AssetEntryPersistence.class)
1543 protected AssetEntryPersistence assetEntryPersistence;
1544 @BeanReference(type = AssetEntryFinder.class)
1545 protected AssetEntryFinder assetEntryFinder;
1546 @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
1547 protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
1548 @BeanReference(type = AssetLinkPersistence.class)
1549 protected AssetLinkPersistence assetLinkPersistence;
1550 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
1551 protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
1552 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
1553 protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
1554 @BeanReference(type = AssetTagPersistence.class)
1555 protected AssetTagPersistence assetTagPersistence;
1556 @BeanReference(type = AssetTagFinder.class)
1557 protected AssetTagFinder assetTagFinder;
1558 @BeanReference(type = com.liferay.portlet.blogs.service.BlogsEntryLocalService.class)
1559 protected com.liferay.portlet.blogs.service.BlogsEntryLocalService blogsEntryLocalService;
1560 @BeanReference(type = com.liferay.portlet.blogs.service.BlogsEntryService.class)
1561 protected com.liferay.portlet.blogs.service.BlogsEntryService blogsEntryService;
1562 @BeanReference(type = BlogsEntryPersistence.class)
1563 protected BlogsEntryPersistence blogsEntryPersistence;
1564 @BeanReference(type = BlogsEntryFinder.class)
1565 protected BlogsEntryFinder blogsEntryFinder;
1566 @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
1567 protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
1568 @BeanReference(type = ExpandoRowPersistence.class)
1569 protected ExpandoRowPersistence expandoRowPersistence;
1570 @BeanReference(type = com.liferay.portlet.messageboards.service.MBCategoryLocalService.class)
1571 protected com.liferay.portlet.messageboards.service.MBCategoryLocalService mbCategoryLocalService;
1572 @BeanReference(type = com.liferay.portlet.messageboards.service.MBCategoryService.class)
1573 protected com.liferay.portlet.messageboards.service.MBCategoryService mbCategoryService;
1574 @BeanReference(type = MBCategoryPersistence.class)
1575 protected MBCategoryPersistence mbCategoryPersistence;
1576 @BeanReference(type = MBCategoryFinder.class)
1577 protected MBCategoryFinder mbCategoryFinder;
1578 @BeanReference(type = com.liferay.portlet.messageboards.service.MBDiscussionLocalService.class)
1579 protected com.liferay.portlet.messageboards.service.MBDiscussionLocalService mbDiscussionLocalService;
1580 @BeanReference(type = MBDiscussionPersistence.class)
1581 protected MBDiscussionPersistence mbDiscussionPersistence;
1582 @BeanReference(type = com.liferay.portlet.ratings.service.RatingsStatsLocalService.class)
1583 protected com.liferay.portlet.ratings.service.RatingsStatsLocalService ratingsStatsLocalService;
1584 @BeanReference(type = RatingsStatsPersistence.class)
1585 protected RatingsStatsPersistence ratingsStatsPersistence;
1586 @BeanReference(type = RatingsStatsFinder.class)
1587 protected RatingsStatsFinder ratingsStatsFinder;
1588 @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
1589 protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
1590 @BeanReference(type = com.liferay.portlet.social.service.SocialActivityService.class)
1591 protected com.liferay.portlet.social.service.SocialActivityService socialActivityService;
1592 @BeanReference(type = SocialActivityPersistence.class)
1593 protected SocialActivityPersistence socialActivityPersistence;
1594 @BeanReference(type = SocialActivityFinder.class)
1595 protected SocialActivityFinder socialActivityFinder;
1596 @BeanReference(type = com.liferay.portlet.wiki.service.WikiPageLocalService.class)
1597 protected com.liferay.portlet.wiki.service.WikiPageLocalService wikiPageLocalService;
1598 @BeanReference(type = com.liferay.portlet.wiki.service.WikiPageService.class)
1599 protected com.liferay.portlet.wiki.service.WikiPageService wikiPageService;
1600 @BeanReference(type = WikiPagePersistence.class)
1601 protected WikiPagePersistence wikiPagePersistence;
1602 @BeanReference(type = WikiPageFinder.class)
1603 protected WikiPageFinder wikiPageFinder;
1604 @BeanReference(type = com.liferay.portlet.messageboards.service.MBStatsUserLocalService.class)
1605 protected com.liferay.portlet.messageboards.service.MBStatsUserLocalService mbStatsUserLocalService;
1606 @BeanReference(type = MBStatsUserPersistence.class)
1607 protected MBStatsUserPersistence mbStatsUserPersistence;
1608 @BeanReference(type = com.liferay.portlet.messageboards.service.MBThreadLocalService.class)
1609 protected com.liferay.portlet.messageboards.service.MBThreadLocalService mbThreadLocalService;
1610 @BeanReference(type = com.liferay.portlet.messageboards.service.MBThreadService.class)
1611 protected com.liferay.portlet.messageboards.service.MBThreadService mbThreadService;
1612 @BeanReference(type = MBThreadPersistence.class)
1613 protected MBThreadPersistence mbThreadPersistence;
1614 @BeanReference(type = MBThreadFinder.class)
1615 protected MBThreadFinder mbThreadFinder;
1616 private String _beanIdentifier;
1617 }