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
062 import javax.sql.DataSource;
063
064
076 public abstract class MBMessageServiceBaseImpl extends BaseServiceImpl
077 implements MBMessageService, IdentifiableBean {
078
083
084
089 public com.liferay.portlet.messageboards.service.MBMessageLocalService getMBMessageLocalService() {
090 return mbMessageLocalService;
091 }
092
093
098 public void setMBMessageLocalService(
099 com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService) {
100 this.mbMessageLocalService = mbMessageLocalService;
101 }
102
103
108 public com.liferay.portlet.messageboards.service.MBMessageService getMBMessageService() {
109 return mbMessageService;
110 }
111
112
117 public void setMBMessageService(
118 com.liferay.portlet.messageboards.service.MBMessageService mbMessageService) {
119 this.mbMessageService = mbMessageService;
120 }
121
122
127 public MBMessagePersistence getMBMessagePersistence() {
128 return mbMessagePersistence;
129 }
130
131
136 public void setMBMessagePersistence(
137 MBMessagePersistence mbMessagePersistence) {
138 this.mbMessagePersistence = mbMessagePersistence;
139 }
140
141
146 public MBMessageFinder getMBMessageFinder() {
147 return mbMessageFinder;
148 }
149
150
155 public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
156 this.mbMessageFinder = mbMessageFinder;
157 }
158
159
164 public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
165 return counterLocalService;
166 }
167
168
173 public void setCounterLocalService(
174 com.liferay.counter.service.CounterLocalService counterLocalService) {
175 this.counterLocalService = counterLocalService;
176 }
177
178
183 public com.liferay.mail.service.MailService getMailService() {
184 return mailService;
185 }
186
187
192 public void setMailService(com.liferay.mail.service.MailService mailService) {
193 this.mailService = mailService;
194 }
195
196
201 public com.liferay.portal.service.ClassNameLocalService getClassNameLocalService() {
202 return classNameLocalService;
203 }
204
205
210 public void setClassNameLocalService(
211 com.liferay.portal.service.ClassNameLocalService classNameLocalService) {
212 this.classNameLocalService = classNameLocalService;
213 }
214
215
220 public com.liferay.portal.service.ClassNameService getClassNameService() {
221 return classNameService;
222 }
223
224
229 public void setClassNameService(
230 com.liferay.portal.service.ClassNameService classNameService) {
231 this.classNameService = classNameService;
232 }
233
234
239 public ClassNamePersistence getClassNamePersistence() {
240 return classNamePersistence;
241 }
242
243
248 public void setClassNamePersistence(
249 ClassNamePersistence classNamePersistence) {
250 this.classNamePersistence = classNamePersistence;
251 }
252
253
258 public com.liferay.portal.service.CompanyLocalService getCompanyLocalService() {
259 return companyLocalService;
260 }
261
262
267 public void setCompanyLocalService(
268 com.liferay.portal.service.CompanyLocalService companyLocalService) {
269 this.companyLocalService = companyLocalService;
270 }
271
272
277 public com.liferay.portal.service.CompanyService getCompanyService() {
278 return companyService;
279 }
280
281
286 public void setCompanyService(
287 com.liferay.portal.service.CompanyService companyService) {
288 this.companyService = companyService;
289 }
290
291
296 public CompanyPersistence getCompanyPersistence() {
297 return companyPersistence;
298 }
299
300
305 public void setCompanyPersistence(CompanyPersistence companyPersistence) {
306 this.companyPersistence = companyPersistence;
307 }
308
309
314 public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
315 return groupLocalService;
316 }
317
318
323 public void setGroupLocalService(
324 com.liferay.portal.service.GroupLocalService groupLocalService) {
325 this.groupLocalService = groupLocalService;
326 }
327
328
333 public com.liferay.portal.service.GroupService getGroupService() {
334 return groupService;
335 }
336
337
342 public void setGroupService(
343 com.liferay.portal.service.GroupService groupService) {
344 this.groupService = groupService;
345 }
346
347
352 public GroupPersistence getGroupPersistence() {
353 return groupPersistence;
354 }
355
356
361 public void setGroupPersistence(GroupPersistence groupPersistence) {
362 this.groupPersistence = groupPersistence;
363 }
364
365
370 public GroupFinder getGroupFinder() {
371 return groupFinder;
372 }
373
374
379 public void setGroupFinder(GroupFinder groupFinder) {
380 this.groupFinder = groupFinder;
381 }
382
383
388 public com.liferay.portal.service.LockLocalService getLockLocalService() {
389 return lockLocalService;
390 }
391
392
397 public void setLockLocalService(
398 com.liferay.portal.service.LockLocalService lockLocalService) {
399 this.lockLocalService = lockLocalService;
400 }
401
402
407 public LockPersistence getLockPersistence() {
408 return lockPersistence;
409 }
410
411
416 public void setLockPersistence(LockPersistence lockPersistence) {
417 this.lockPersistence = lockPersistence;
418 }
419
420
425 public LockFinder getLockFinder() {
426 return lockFinder;
427 }
428
429
434 public void setLockFinder(LockFinder lockFinder) {
435 this.lockFinder = lockFinder;
436 }
437
438
443 public com.liferay.portal.service.PortletPreferencesLocalService getPortletPreferencesLocalService() {
444 return portletPreferencesLocalService;
445 }
446
447
452 public void setPortletPreferencesLocalService(
453 com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService) {
454 this.portletPreferencesLocalService = portletPreferencesLocalService;
455 }
456
457
462 public com.liferay.portal.service.PortletPreferencesService getPortletPreferencesService() {
463 return portletPreferencesService;
464 }
465
466
471 public void setPortletPreferencesService(
472 com.liferay.portal.service.PortletPreferencesService portletPreferencesService) {
473 this.portletPreferencesService = portletPreferencesService;
474 }
475
476
481 public PortletPreferencesPersistence getPortletPreferencesPersistence() {
482 return portletPreferencesPersistence;
483 }
484
485
490 public void setPortletPreferencesPersistence(
491 PortletPreferencesPersistence portletPreferencesPersistence) {
492 this.portletPreferencesPersistence = portletPreferencesPersistence;
493 }
494
495
500 public PortletPreferencesFinder getPortletPreferencesFinder() {
501 return portletPreferencesFinder;
502 }
503
504
509 public void setPortletPreferencesFinder(
510 PortletPreferencesFinder portletPreferencesFinder) {
511 this.portletPreferencesFinder = portletPreferencesFinder;
512 }
513
514
519 public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
520 return resourceLocalService;
521 }
522
523
528 public void setResourceLocalService(
529 com.liferay.portal.service.ResourceLocalService resourceLocalService) {
530 this.resourceLocalService = resourceLocalService;
531 }
532
533
538 public com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService() {
539 return subscriptionLocalService;
540 }
541
542
547 public void setSubscriptionLocalService(
548 com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService) {
549 this.subscriptionLocalService = subscriptionLocalService;
550 }
551
552
557 public SubscriptionPersistence getSubscriptionPersistence() {
558 return subscriptionPersistence;
559 }
560
561
566 public void setSubscriptionPersistence(
567 SubscriptionPersistence subscriptionPersistence) {
568 this.subscriptionPersistence = subscriptionPersistence;
569 }
570
571
576 public com.liferay.portal.service.UserLocalService getUserLocalService() {
577 return userLocalService;
578 }
579
580
585 public void setUserLocalService(
586 com.liferay.portal.service.UserLocalService userLocalService) {
587 this.userLocalService = userLocalService;
588 }
589
590
595 public com.liferay.portal.service.UserService getUserService() {
596 return userService;
597 }
598
599
604 public void setUserService(
605 com.liferay.portal.service.UserService userService) {
606 this.userService = userService;
607 }
608
609
614 public UserPersistence getUserPersistence() {
615 return userPersistence;
616 }
617
618
623 public void setUserPersistence(UserPersistence userPersistence) {
624 this.userPersistence = userPersistence;
625 }
626
627
632 public UserFinder getUserFinder() {
633 return userFinder;
634 }
635
636
641 public void setUserFinder(UserFinder userFinder) {
642 this.userFinder = userFinder;
643 }
644
645
650 public com.liferay.portal.service.WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
651 return workflowInstanceLinkLocalService;
652 }
653
654
659 public void setWorkflowInstanceLinkLocalService(
660 com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
661 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
662 }
663
664
669 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
670 return workflowInstanceLinkPersistence;
671 }
672
673
678 public void setWorkflowInstanceLinkPersistence(
679 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
680 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
681 }
682
683
688 public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
689 return assetEntryLocalService;
690 }
691
692
697 public void setAssetEntryLocalService(
698 com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
699 this.assetEntryLocalService = assetEntryLocalService;
700 }
701
702
707 public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
708 return assetEntryService;
709 }
710
711
716 public void setAssetEntryService(
717 com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
718 this.assetEntryService = assetEntryService;
719 }
720
721
726 public AssetEntryPersistence getAssetEntryPersistence() {
727 return assetEntryPersistence;
728 }
729
730
735 public void setAssetEntryPersistence(
736 AssetEntryPersistence assetEntryPersistence) {
737 this.assetEntryPersistence = assetEntryPersistence;
738 }
739
740
745 public AssetEntryFinder getAssetEntryFinder() {
746 return assetEntryFinder;
747 }
748
749
754 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
755 this.assetEntryFinder = assetEntryFinder;
756 }
757
758
763 public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
764 return assetLinkLocalService;
765 }
766
767
772 public void setAssetLinkLocalService(
773 com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
774 this.assetLinkLocalService = assetLinkLocalService;
775 }
776
777
782 public AssetLinkPersistence getAssetLinkPersistence() {
783 return assetLinkPersistence;
784 }
785
786
791 public void setAssetLinkPersistence(
792 AssetLinkPersistence assetLinkPersistence) {
793 this.assetLinkPersistence = assetLinkPersistence;
794 }
795
796
801 public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
802 return assetTagLocalService;
803 }
804
805
810 public void setAssetTagLocalService(
811 com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
812 this.assetTagLocalService = assetTagLocalService;
813 }
814
815
820 public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
821 return assetTagService;
822 }
823
824
829 public void setAssetTagService(
830 com.liferay.portlet.asset.service.AssetTagService assetTagService) {
831 this.assetTagService = assetTagService;
832 }
833
834
839 public AssetTagPersistence getAssetTagPersistence() {
840 return assetTagPersistence;
841 }
842
843
848 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
849 this.assetTagPersistence = assetTagPersistence;
850 }
851
852
857 public AssetTagFinder getAssetTagFinder() {
858 return assetTagFinder;
859 }
860
861
866 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
867 this.assetTagFinder = assetTagFinder;
868 }
869
870
875 public com.liferay.portlet.blogs.service.BlogsEntryLocalService getBlogsEntryLocalService() {
876 return blogsEntryLocalService;
877 }
878
879
884 public void setBlogsEntryLocalService(
885 com.liferay.portlet.blogs.service.BlogsEntryLocalService blogsEntryLocalService) {
886 this.blogsEntryLocalService = blogsEntryLocalService;
887 }
888
889
894 public com.liferay.portlet.blogs.service.BlogsEntryService getBlogsEntryService() {
895 return blogsEntryService;
896 }
897
898
903 public void setBlogsEntryService(
904 com.liferay.portlet.blogs.service.BlogsEntryService blogsEntryService) {
905 this.blogsEntryService = blogsEntryService;
906 }
907
908
913 public BlogsEntryPersistence getBlogsEntryPersistence() {
914 return blogsEntryPersistence;
915 }
916
917
922 public void setBlogsEntryPersistence(
923 BlogsEntryPersistence blogsEntryPersistence) {
924 this.blogsEntryPersistence = blogsEntryPersistence;
925 }
926
927
932 public BlogsEntryFinder getBlogsEntryFinder() {
933 return blogsEntryFinder;
934 }
935
936
941 public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
942 this.blogsEntryFinder = blogsEntryFinder;
943 }
944
945
950 public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
951 return expandoRowLocalService;
952 }
953
954
959 public void setExpandoRowLocalService(
960 com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
961 this.expandoRowLocalService = expandoRowLocalService;
962 }
963
964
969 public ExpandoRowPersistence getExpandoRowPersistence() {
970 return expandoRowPersistence;
971 }
972
973
978 public void setExpandoRowPersistence(
979 ExpandoRowPersistence expandoRowPersistence) {
980 this.expandoRowPersistence = expandoRowPersistence;
981 }
982
983
988 public com.liferay.portlet.messageboards.service.MBCategoryLocalService getMBCategoryLocalService() {
989 return mbCategoryLocalService;
990 }
991
992
997 public void setMBCategoryLocalService(
998 com.liferay.portlet.messageboards.service.MBCategoryLocalService mbCategoryLocalService) {
999 this.mbCategoryLocalService = mbCategoryLocalService;
1000 }
1001
1002
1007 public com.liferay.portlet.messageboards.service.MBCategoryService getMBCategoryService() {
1008 return mbCategoryService;
1009 }
1010
1011
1016 public void setMBCategoryService(
1017 com.liferay.portlet.messageboards.service.MBCategoryService mbCategoryService) {
1018 this.mbCategoryService = mbCategoryService;
1019 }
1020
1021
1026 public MBCategoryPersistence getMBCategoryPersistence() {
1027 return mbCategoryPersistence;
1028 }
1029
1030
1035 public void setMBCategoryPersistence(
1036 MBCategoryPersistence mbCategoryPersistence) {
1037 this.mbCategoryPersistence = mbCategoryPersistence;
1038 }
1039
1040
1045 public MBCategoryFinder getMBCategoryFinder() {
1046 return mbCategoryFinder;
1047 }
1048
1049
1054 public void setMBCategoryFinder(MBCategoryFinder mbCategoryFinder) {
1055 this.mbCategoryFinder = mbCategoryFinder;
1056 }
1057
1058
1063 public com.liferay.portlet.messageboards.service.MBDiscussionLocalService getMBDiscussionLocalService() {
1064 return mbDiscussionLocalService;
1065 }
1066
1067
1072 public void setMBDiscussionLocalService(
1073 com.liferay.portlet.messageboards.service.MBDiscussionLocalService mbDiscussionLocalService) {
1074 this.mbDiscussionLocalService = mbDiscussionLocalService;
1075 }
1076
1077
1082 public MBDiscussionPersistence getMBDiscussionPersistence() {
1083 return mbDiscussionPersistence;
1084 }
1085
1086
1091 public void setMBDiscussionPersistence(
1092 MBDiscussionPersistence mbDiscussionPersistence) {
1093 this.mbDiscussionPersistence = mbDiscussionPersistence;
1094 }
1095
1096
1101 public com.liferay.portlet.ratings.service.RatingsStatsLocalService getRatingsStatsLocalService() {
1102 return ratingsStatsLocalService;
1103 }
1104
1105
1110 public void setRatingsStatsLocalService(
1111 com.liferay.portlet.ratings.service.RatingsStatsLocalService ratingsStatsLocalService) {
1112 this.ratingsStatsLocalService = ratingsStatsLocalService;
1113 }
1114
1115
1120 public RatingsStatsPersistence getRatingsStatsPersistence() {
1121 return ratingsStatsPersistence;
1122 }
1123
1124
1129 public void setRatingsStatsPersistence(
1130 RatingsStatsPersistence ratingsStatsPersistence) {
1131 this.ratingsStatsPersistence = ratingsStatsPersistence;
1132 }
1133
1134
1139 public RatingsStatsFinder getRatingsStatsFinder() {
1140 return ratingsStatsFinder;
1141 }
1142
1143
1148 public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
1149 this.ratingsStatsFinder = ratingsStatsFinder;
1150 }
1151
1152
1157 public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
1158 return socialActivityLocalService;
1159 }
1160
1161
1166 public void setSocialActivityLocalService(
1167 com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
1168 this.socialActivityLocalService = socialActivityLocalService;
1169 }
1170
1171
1176 public com.liferay.portlet.social.service.SocialActivityService getSocialActivityService() {
1177 return socialActivityService;
1178 }
1179
1180
1185 public void setSocialActivityService(
1186 com.liferay.portlet.social.service.SocialActivityService socialActivityService) {
1187 this.socialActivityService = socialActivityService;
1188 }
1189
1190
1195 public SocialActivityPersistence getSocialActivityPersistence() {
1196 return socialActivityPersistence;
1197 }
1198
1199
1204 public void setSocialActivityPersistence(
1205 SocialActivityPersistence socialActivityPersistence) {
1206 this.socialActivityPersistence = socialActivityPersistence;
1207 }
1208
1209
1214 public SocialActivityFinder getSocialActivityFinder() {
1215 return socialActivityFinder;
1216 }
1217
1218
1223 public void setSocialActivityFinder(
1224 SocialActivityFinder socialActivityFinder) {
1225 this.socialActivityFinder = socialActivityFinder;
1226 }
1227
1228
1233 public com.liferay.portlet.messageboards.service.MBStatsUserLocalService getMBStatsUserLocalService() {
1234 return mbStatsUserLocalService;
1235 }
1236
1237
1242 public void setMBStatsUserLocalService(
1243 com.liferay.portlet.messageboards.service.MBStatsUserLocalService mbStatsUserLocalService) {
1244 this.mbStatsUserLocalService = mbStatsUserLocalService;
1245 }
1246
1247
1252 public MBStatsUserPersistence getMBStatsUserPersistence() {
1253 return mbStatsUserPersistence;
1254 }
1255
1256
1261 public void setMBStatsUserPersistence(
1262 MBStatsUserPersistence mbStatsUserPersistence) {
1263 this.mbStatsUserPersistence = mbStatsUserPersistence;
1264 }
1265
1266
1271 public com.liferay.portlet.messageboards.service.MBThreadLocalService getMBThreadLocalService() {
1272 return mbThreadLocalService;
1273 }
1274
1275
1280 public void setMBThreadLocalService(
1281 com.liferay.portlet.messageboards.service.MBThreadLocalService mbThreadLocalService) {
1282 this.mbThreadLocalService = mbThreadLocalService;
1283 }
1284
1285
1290 public com.liferay.portlet.messageboards.service.MBThreadService getMBThreadService() {
1291 return mbThreadService;
1292 }
1293
1294
1299 public void setMBThreadService(
1300 com.liferay.portlet.messageboards.service.MBThreadService mbThreadService) {
1301 this.mbThreadService = mbThreadService;
1302 }
1303
1304
1309 public MBThreadPersistence getMBThreadPersistence() {
1310 return mbThreadPersistence;
1311 }
1312
1313
1318 public void setMBThreadPersistence(MBThreadPersistence mbThreadPersistence) {
1319 this.mbThreadPersistence = mbThreadPersistence;
1320 }
1321
1322
1327 public MBThreadFinder getMBThreadFinder() {
1328 return mbThreadFinder;
1329 }
1330
1331
1336 public void setMBThreadFinder(MBThreadFinder mbThreadFinder) {
1337 this.mbThreadFinder = mbThreadFinder;
1338 }
1339
1340 public void afterPropertiesSet() {
1341 }
1342
1343 public void destroy() {
1344 }
1345
1346
1351 @Override
1352 public String getBeanIdentifier() {
1353 return _beanIdentifier;
1354 }
1355
1356
1361 @Override
1362 public void setBeanIdentifier(String beanIdentifier) {
1363 _beanIdentifier = beanIdentifier;
1364 }
1365
1366 protected Class<?> getModelClass() {
1367 return MBMessage.class;
1368 }
1369
1370 protected String getModelClassName() {
1371 return MBMessage.class.getName();
1372 }
1373
1374
1379 protected void runSQL(String sql) {
1380 try {
1381 DataSource dataSource = mbMessagePersistence.getDataSource();
1382
1383 DB db = DBFactoryUtil.getDB();
1384
1385 sql = db.buildSQL(sql);
1386 sql = PortalUtil.transformSQL(sql);
1387
1388 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1389 sql, new int[0]);
1390
1391 sqlUpdate.update();
1392 }
1393 catch (Exception e) {
1394 throw new SystemException(e);
1395 }
1396 }
1397
1398 @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageLocalService.class)
1399 protected com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService;
1400 @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageService.class)
1401 protected com.liferay.portlet.messageboards.service.MBMessageService mbMessageService;
1402 @BeanReference(type = MBMessagePersistence.class)
1403 protected MBMessagePersistence mbMessagePersistence;
1404 @BeanReference(type = MBMessageFinder.class)
1405 protected MBMessageFinder mbMessageFinder;
1406 @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1407 protected com.liferay.counter.service.CounterLocalService counterLocalService;
1408 @BeanReference(type = com.liferay.mail.service.MailService.class)
1409 protected com.liferay.mail.service.MailService mailService;
1410 @BeanReference(type = com.liferay.portal.service.ClassNameLocalService.class)
1411 protected com.liferay.portal.service.ClassNameLocalService classNameLocalService;
1412 @BeanReference(type = com.liferay.portal.service.ClassNameService.class)
1413 protected com.liferay.portal.service.ClassNameService classNameService;
1414 @BeanReference(type = ClassNamePersistence.class)
1415 protected ClassNamePersistence classNamePersistence;
1416 @BeanReference(type = com.liferay.portal.service.CompanyLocalService.class)
1417 protected com.liferay.portal.service.CompanyLocalService companyLocalService;
1418 @BeanReference(type = com.liferay.portal.service.CompanyService.class)
1419 protected com.liferay.portal.service.CompanyService companyService;
1420 @BeanReference(type = CompanyPersistence.class)
1421 protected CompanyPersistence companyPersistence;
1422 @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
1423 protected com.liferay.portal.service.GroupLocalService groupLocalService;
1424 @BeanReference(type = com.liferay.portal.service.GroupService.class)
1425 protected com.liferay.portal.service.GroupService groupService;
1426 @BeanReference(type = GroupPersistence.class)
1427 protected GroupPersistence groupPersistence;
1428 @BeanReference(type = GroupFinder.class)
1429 protected GroupFinder groupFinder;
1430 @BeanReference(type = com.liferay.portal.service.LockLocalService.class)
1431 protected com.liferay.portal.service.LockLocalService lockLocalService;
1432 @BeanReference(type = LockPersistence.class)
1433 protected LockPersistence lockPersistence;
1434 @BeanReference(type = LockFinder.class)
1435 protected LockFinder lockFinder;
1436 @BeanReference(type = com.liferay.portal.service.PortletPreferencesLocalService.class)
1437 protected com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService;
1438 @BeanReference(type = com.liferay.portal.service.PortletPreferencesService.class)
1439 protected com.liferay.portal.service.PortletPreferencesService portletPreferencesService;
1440 @BeanReference(type = PortletPreferencesPersistence.class)
1441 protected PortletPreferencesPersistence portletPreferencesPersistence;
1442 @BeanReference(type = PortletPreferencesFinder.class)
1443 protected PortletPreferencesFinder portletPreferencesFinder;
1444 @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1445 protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1446 @BeanReference(type = com.liferay.portal.service.SubscriptionLocalService.class)
1447 protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService;
1448 @BeanReference(type = SubscriptionPersistence.class)
1449 protected SubscriptionPersistence subscriptionPersistence;
1450 @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1451 protected com.liferay.portal.service.UserLocalService userLocalService;
1452 @BeanReference(type = com.liferay.portal.service.UserService.class)
1453 protected com.liferay.portal.service.UserService userService;
1454 @BeanReference(type = UserPersistence.class)
1455 protected UserPersistence userPersistence;
1456 @BeanReference(type = UserFinder.class)
1457 protected UserFinder userFinder;
1458 @BeanReference(type = com.liferay.portal.service.WorkflowInstanceLinkLocalService.class)
1459 protected com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1460 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1461 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1462 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1463 protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1464 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1465 protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1466 @BeanReference(type = AssetEntryPersistence.class)
1467 protected AssetEntryPersistence assetEntryPersistence;
1468 @BeanReference(type = AssetEntryFinder.class)
1469 protected AssetEntryFinder assetEntryFinder;
1470 @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
1471 protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
1472 @BeanReference(type = AssetLinkPersistence.class)
1473 protected AssetLinkPersistence assetLinkPersistence;
1474 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
1475 protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
1476 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
1477 protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
1478 @BeanReference(type = AssetTagPersistence.class)
1479 protected AssetTagPersistence assetTagPersistence;
1480 @BeanReference(type = AssetTagFinder.class)
1481 protected AssetTagFinder assetTagFinder;
1482 @BeanReference(type = com.liferay.portlet.blogs.service.BlogsEntryLocalService.class)
1483 protected com.liferay.portlet.blogs.service.BlogsEntryLocalService blogsEntryLocalService;
1484 @BeanReference(type = com.liferay.portlet.blogs.service.BlogsEntryService.class)
1485 protected com.liferay.portlet.blogs.service.BlogsEntryService blogsEntryService;
1486 @BeanReference(type = BlogsEntryPersistence.class)
1487 protected BlogsEntryPersistence blogsEntryPersistence;
1488 @BeanReference(type = BlogsEntryFinder.class)
1489 protected BlogsEntryFinder blogsEntryFinder;
1490 @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
1491 protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
1492 @BeanReference(type = ExpandoRowPersistence.class)
1493 protected ExpandoRowPersistence expandoRowPersistence;
1494 @BeanReference(type = com.liferay.portlet.messageboards.service.MBCategoryLocalService.class)
1495 protected com.liferay.portlet.messageboards.service.MBCategoryLocalService mbCategoryLocalService;
1496 @BeanReference(type = com.liferay.portlet.messageboards.service.MBCategoryService.class)
1497 protected com.liferay.portlet.messageboards.service.MBCategoryService mbCategoryService;
1498 @BeanReference(type = MBCategoryPersistence.class)
1499 protected MBCategoryPersistence mbCategoryPersistence;
1500 @BeanReference(type = MBCategoryFinder.class)
1501 protected MBCategoryFinder mbCategoryFinder;
1502 @BeanReference(type = com.liferay.portlet.messageboards.service.MBDiscussionLocalService.class)
1503 protected com.liferay.portlet.messageboards.service.MBDiscussionLocalService mbDiscussionLocalService;
1504 @BeanReference(type = MBDiscussionPersistence.class)
1505 protected MBDiscussionPersistence mbDiscussionPersistence;
1506 @BeanReference(type = com.liferay.portlet.ratings.service.RatingsStatsLocalService.class)
1507 protected com.liferay.portlet.ratings.service.RatingsStatsLocalService ratingsStatsLocalService;
1508 @BeanReference(type = RatingsStatsPersistence.class)
1509 protected RatingsStatsPersistence ratingsStatsPersistence;
1510 @BeanReference(type = RatingsStatsFinder.class)
1511 protected RatingsStatsFinder ratingsStatsFinder;
1512 @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
1513 protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
1514 @BeanReference(type = com.liferay.portlet.social.service.SocialActivityService.class)
1515 protected com.liferay.portlet.social.service.SocialActivityService socialActivityService;
1516 @BeanReference(type = SocialActivityPersistence.class)
1517 protected SocialActivityPersistence socialActivityPersistence;
1518 @BeanReference(type = SocialActivityFinder.class)
1519 protected SocialActivityFinder socialActivityFinder;
1520 @BeanReference(type = com.liferay.portlet.messageboards.service.MBStatsUserLocalService.class)
1521 protected com.liferay.portlet.messageboards.service.MBStatsUserLocalService mbStatsUserLocalService;
1522 @BeanReference(type = MBStatsUserPersistence.class)
1523 protected MBStatsUserPersistence mbStatsUserPersistence;
1524 @BeanReference(type = com.liferay.portlet.messageboards.service.MBThreadLocalService.class)
1525 protected com.liferay.portlet.messageboards.service.MBThreadLocalService mbThreadLocalService;
1526 @BeanReference(type = com.liferay.portlet.messageboards.service.MBThreadService.class)
1527 protected com.liferay.portlet.messageboards.service.MBThreadService mbThreadService;
1528 @BeanReference(type = MBThreadPersistence.class)
1529 protected MBThreadPersistence mbThreadPersistence;
1530 @BeanReference(type = MBThreadFinder.class)
1531 protected MBThreadFinder mbThreadFinder;
1532 private String _beanIdentifier;
1533 }