001
014
015 package com.liferay.portlet.messageboards.service.base;
016
017 import com.liferay.counter.service.CounterLocalService;
018
019 import com.liferay.mail.service.MailService;
020
021 import com.liferay.portal.kernel.bean.BeanReference;
022 import com.liferay.portal.kernel.bean.IdentifiableBean;
023 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
024 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
025 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
026 import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
027 import com.liferay.portal.kernel.exception.PortalException;
028 import com.liferay.portal.kernel.exception.SystemException;
029 import com.liferay.portal.kernel.search.Indexable;
030 import com.liferay.portal.kernel.search.IndexableType;
031 import com.liferay.portal.kernel.util.OrderByComparator;
032 import com.liferay.portal.model.PersistedModel;
033 import com.liferay.portal.service.BaseLocalServiceImpl;
034 import com.liferay.portal.service.CompanyLocalService;
035 import com.liferay.portal.service.CompanyService;
036 import com.liferay.portal.service.GroupLocalService;
037 import com.liferay.portal.service.GroupService;
038 import com.liferay.portal.service.LockLocalService;
039 import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
040 import com.liferay.portal.service.PortletPreferencesLocalService;
041 import com.liferay.portal.service.PortletPreferencesService;
042 import com.liferay.portal.service.ResourceLocalService;
043 import com.liferay.portal.service.ResourceService;
044 import com.liferay.portal.service.SubscriptionLocalService;
045 import com.liferay.portal.service.UserLocalService;
046 import com.liferay.portal.service.UserService;
047 import com.liferay.portal.service.WorkflowInstanceLinkLocalService;
048 import com.liferay.portal.service.persistence.CompanyPersistence;
049 import com.liferay.portal.service.persistence.GroupFinder;
050 import com.liferay.portal.service.persistence.GroupPersistence;
051 import com.liferay.portal.service.persistence.LockFinder;
052 import com.liferay.portal.service.persistence.LockPersistence;
053 import com.liferay.portal.service.persistence.PortletPreferencesFinder;
054 import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
055 import com.liferay.portal.service.persistence.ResourceFinder;
056 import com.liferay.portal.service.persistence.ResourcePersistence;
057 import com.liferay.portal.service.persistence.SubscriptionPersistence;
058 import com.liferay.portal.service.persistence.UserFinder;
059 import com.liferay.portal.service.persistence.UserPersistence;
060 import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
061
062 import com.liferay.portlet.asset.service.AssetEntryLocalService;
063 import com.liferay.portlet.asset.service.AssetEntryService;
064 import com.liferay.portlet.asset.service.AssetLinkLocalService;
065 import com.liferay.portlet.asset.service.AssetTagLocalService;
066 import com.liferay.portlet.asset.service.AssetTagService;
067 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
068 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
069 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
070 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
071 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
072 import com.liferay.portlet.blogs.service.BlogsEntryLocalService;
073 import com.liferay.portlet.blogs.service.BlogsEntryService;
074 import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
075 import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
076 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
077 import com.liferay.portlet.expando.service.ExpandoValueService;
078 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
079 import com.liferay.portlet.messageboards.model.MBMessage;
080 import com.liferay.portlet.messageboards.service.MBBanLocalService;
081 import com.liferay.portlet.messageboards.service.MBBanService;
082 import com.liferay.portlet.messageboards.service.MBCategoryLocalService;
083 import com.liferay.portlet.messageboards.service.MBCategoryService;
084 import com.liferay.portlet.messageboards.service.MBDiscussionLocalService;
085 import com.liferay.portlet.messageboards.service.MBMailingListLocalService;
086 import com.liferay.portlet.messageboards.service.MBMessageLocalService;
087 import com.liferay.portlet.messageboards.service.MBMessageService;
088 import com.liferay.portlet.messageboards.service.MBStatsUserLocalService;
089 import com.liferay.portlet.messageboards.service.MBThreadFlagLocalService;
090 import com.liferay.portlet.messageboards.service.MBThreadLocalService;
091 import com.liferay.portlet.messageboards.service.MBThreadService;
092 import com.liferay.portlet.messageboards.service.persistence.MBBanPersistence;
093 import com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder;
094 import com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence;
095 import com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence;
096 import com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence;
097 import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
098 import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
099 import com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence;
100 import com.liferay.portlet.messageboards.service.persistence.MBThreadFinder;
101 import com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence;
102 import com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence;
103 import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
104 import com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder;
105 import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
106 import com.liferay.portlet.social.service.SocialActivityLocalService;
107 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
108 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
109 import com.liferay.portlet.wiki.service.WikiPageLocalService;
110 import com.liferay.portlet.wiki.service.WikiPageService;
111 import com.liferay.portlet.wiki.service.persistence.WikiPageFinder;
112 import com.liferay.portlet.wiki.service.persistence.WikiPagePersistence;
113
114 import java.io.Serializable;
115
116 import java.util.List;
117
118 import javax.sql.DataSource;
119
120
132 public abstract class MBMessageLocalServiceBaseImpl extends BaseLocalServiceImpl
133 implements MBMessageLocalService, IdentifiableBean {
134
139
140
147 @Indexable(type = IndexableType.REINDEX)
148 public MBMessage addMBMessage(MBMessage mbMessage)
149 throws SystemException {
150 mbMessage.setNew(true);
151
152 return mbMessagePersistence.update(mbMessage, false);
153 }
154
155
161 public MBMessage createMBMessage(long messageId) {
162 return mbMessagePersistence.create(messageId);
163 }
164
165
173 @Indexable(type = IndexableType.DELETE)
174 public MBMessage deleteMBMessage(long messageId)
175 throws PortalException, SystemException {
176 return mbMessagePersistence.remove(messageId);
177 }
178
179
186 @Indexable(type = IndexableType.DELETE)
187 public MBMessage deleteMBMessage(MBMessage mbMessage)
188 throws SystemException {
189 return mbMessagePersistence.remove(mbMessage);
190 }
191
192 public DynamicQuery dynamicQuery() {
193 Class<?> clazz = getClass();
194
195 return DynamicQueryFactoryUtil.forClass(MBMessage.class,
196 clazz.getClassLoader());
197 }
198
199
206 @SuppressWarnings("rawtypes")
207 public List dynamicQuery(DynamicQuery dynamicQuery)
208 throws SystemException {
209 return mbMessagePersistence.findWithDynamicQuery(dynamicQuery);
210 }
211
212
225 @SuppressWarnings("rawtypes")
226 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
227 throws SystemException {
228 return mbMessagePersistence.findWithDynamicQuery(dynamicQuery, start,
229 end);
230 }
231
232
246 @SuppressWarnings("rawtypes")
247 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
248 OrderByComparator orderByComparator) throws SystemException {
249 return mbMessagePersistence.findWithDynamicQuery(dynamicQuery, start,
250 end, orderByComparator);
251 }
252
253
260 public long dynamicQueryCount(DynamicQuery dynamicQuery)
261 throws SystemException {
262 return mbMessagePersistence.countWithDynamicQuery(dynamicQuery);
263 }
264
265 public MBMessage fetchMBMessage(long messageId) throws SystemException {
266 return mbMessagePersistence.fetchByPrimaryKey(messageId);
267 }
268
269
277 public MBMessage getMBMessage(long messageId)
278 throws PortalException, SystemException {
279 return mbMessagePersistence.findByPrimaryKey(messageId);
280 }
281
282 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
283 throws PortalException, SystemException {
284 return mbMessagePersistence.findByPrimaryKey(primaryKeyObj);
285 }
286
287
296 public MBMessage getMBMessageByUuidAndGroupId(String uuid, long groupId)
297 throws PortalException, SystemException {
298 return mbMessagePersistence.findByUUID_G(uuid, groupId);
299 }
300
301
313 public List<MBMessage> getMBMessages(int start, int end)
314 throws SystemException {
315 return mbMessagePersistence.findAll(start, end);
316 }
317
318
324 public int getMBMessagesCount() throws SystemException {
325 return mbMessagePersistence.countAll();
326 }
327
328
335 @Indexable(type = IndexableType.REINDEX)
336 public MBMessage updateMBMessage(MBMessage mbMessage)
337 throws SystemException {
338 return updateMBMessage(mbMessage, true);
339 }
340
341
349 @Indexable(type = IndexableType.REINDEX)
350 public MBMessage updateMBMessage(MBMessage mbMessage, boolean merge)
351 throws SystemException {
352 mbMessage.setNew(false);
353
354 return mbMessagePersistence.update(mbMessage, merge);
355 }
356
357
362 public MBBanLocalService getMBBanLocalService() {
363 return mbBanLocalService;
364 }
365
366
371 public void setMBBanLocalService(MBBanLocalService mbBanLocalService) {
372 this.mbBanLocalService = mbBanLocalService;
373 }
374
375
380 public MBBanService getMBBanService() {
381 return mbBanService;
382 }
383
384
389 public void setMBBanService(MBBanService mbBanService) {
390 this.mbBanService = mbBanService;
391 }
392
393
398 public MBBanPersistence getMBBanPersistence() {
399 return mbBanPersistence;
400 }
401
402
407 public void setMBBanPersistence(MBBanPersistence mbBanPersistence) {
408 this.mbBanPersistence = mbBanPersistence;
409 }
410
411
416 public MBCategoryLocalService getMBCategoryLocalService() {
417 return mbCategoryLocalService;
418 }
419
420
425 public void setMBCategoryLocalService(
426 MBCategoryLocalService mbCategoryLocalService) {
427 this.mbCategoryLocalService = mbCategoryLocalService;
428 }
429
430
435 public MBCategoryService getMBCategoryService() {
436 return mbCategoryService;
437 }
438
439
444 public void setMBCategoryService(MBCategoryService mbCategoryService) {
445 this.mbCategoryService = mbCategoryService;
446 }
447
448
453 public MBCategoryPersistence getMBCategoryPersistence() {
454 return mbCategoryPersistence;
455 }
456
457
462 public void setMBCategoryPersistence(
463 MBCategoryPersistence mbCategoryPersistence) {
464 this.mbCategoryPersistence = mbCategoryPersistence;
465 }
466
467
472 public MBCategoryFinder getMBCategoryFinder() {
473 return mbCategoryFinder;
474 }
475
476
481 public void setMBCategoryFinder(MBCategoryFinder mbCategoryFinder) {
482 this.mbCategoryFinder = mbCategoryFinder;
483 }
484
485
490 public MBDiscussionLocalService getMBDiscussionLocalService() {
491 return mbDiscussionLocalService;
492 }
493
494
499 public void setMBDiscussionLocalService(
500 MBDiscussionLocalService mbDiscussionLocalService) {
501 this.mbDiscussionLocalService = mbDiscussionLocalService;
502 }
503
504
509 public MBDiscussionPersistence getMBDiscussionPersistence() {
510 return mbDiscussionPersistence;
511 }
512
513
518 public void setMBDiscussionPersistence(
519 MBDiscussionPersistence mbDiscussionPersistence) {
520 this.mbDiscussionPersistence = mbDiscussionPersistence;
521 }
522
523
528 public MBMailingListLocalService getMBMailingListLocalService() {
529 return mbMailingListLocalService;
530 }
531
532
537 public void setMBMailingListLocalService(
538 MBMailingListLocalService mbMailingListLocalService) {
539 this.mbMailingListLocalService = mbMailingListLocalService;
540 }
541
542
547 public MBMailingListPersistence getMBMailingListPersistence() {
548 return mbMailingListPersistence;
549 }
550
551
556 public void setMBMailingListPersistence(
557 MBMailingListPersistence mbMailingListPersistence) {
558 this.mbMailingListPersistence = mbMailingListPersistence;
559 }
560
561
566 public MBMessageLocalService getMBMessageLocalService() {
567 return mbMessageLocalService;
568 }
569
570
575 public void setMBMessageLocalService(
576 MBMessageLocalService mbMessageLocalService) {
577 this.mbMessageLocalService = mbMessageLocalService;
578 }
579
580
585 public MBMessageService getMBMessageService() {
586 return mbMessageService;
587 }
588
589
594 public void setMBMessageService(MBMessageService mbMessageService) {
595 this.mbMessageService = mbMessageService;
596 }
597
598
603 public MBMessagePersistence getMBMessagePersistence() {
604 return mbMessagePersistence;
605 }
606
607
612 public void setMBMessagePersistence(
613 MBMessagePersistence mbMessagePersistence) {
614 this.mbMessagePersistence = mbMessagePersistence;
615 }
616
617
622 public MBMessageFinder getMBMessageFinder() {
623 return mbMessageFinder;
624 }
625
626
631 public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
632 this.mbMessageFinder = mbMessageFinder;
633 }
634
635
640 public MBStatsUserLocalService getMBStatsUserLocalService() {
641 return mbStatsUserLocalService;
642 }
643
644
649 public void setMBStatsUserLocalService(
650 MBStatsUserLocalService mbStatsUserLocalService) {
651 this.mbStatsUserLocalService = mbStatsUserLocalService;
652 }
653
654
659 public MBStatsUserPersistence getMBStatsUserPersistence() {
660 return mbStatsUserPersistence;
661 }
662
663
668 public void setMBStatsUserPersistence(
669 MBStatsUserPersistence mbStatsUserPersistence) {
670 this.mbStatsUserPersistence = mbStatsUserPersistence;
671 }
672
673
678 public MBThreadLocalService getMBThreadLocalService() {
679 return mbThreadLocalService;
680 }
681
682
687 public void setMBThreadLocalService(
688 MBThreadLocalService mbThreadLocalService) {
689 this.mbThreadLocalService = mbThreadLocalService;
690 }
691
692
697 public MBThreadService getMBThreadService() {
698 return mbThreadService;
699 }
700
701
706 public void setMBThreadService(MBThreadService mbThreadService) {
707 this.mbThreadService = mbThreadService;
708 }
709
710
715 public MBThreadPersistence getMBThreadPersistence() {
716 return mbThreadPersistence;
717 }
718
719
724 public void setMBThreadPersistence(MBThreadPersistence mbThreadPersistence) {
725 this.mbThreadPersistence = mbThreadPersistence;
726 }
727
728
733 public MBThreadFinder getMBThreadFinder() {
734 return mbThreadFinder;
735 }
736
737
742 public void setMBThreadFinder(MBThreadFinder mbThreadFinder) {
743 this.mbThreadFinder = mbThreadFinder;
744 }
745
746
751 public MBThreadFlagLocalService getMBThreadFlagLocalService() {
752 return mbThreadFlagLocalService;
753 }
754
755
760 public void setMBThreadFlagLocalService(
761 MBThreadFlagLocalService mbThreadFlagLocalService) {
762 this.mbThreadFlagLocalService = mbThreadFlagLocalService;
763 }
764
765
770 public MBThreadFlagPersistence getMBThreadFlagPersistence() {
771 return mbThreadFlagPersistence;
772 }
773
774
779 public void setMBThreadFlagPersistence(
780 MBThreadFlagPersistence mbThreadFlagPersistence) {
781 this.mbThreadFlagPersistence = mbThreadFlagPersistence;
782 }
783
784
789 public CounterLocalService getCounterLocalService() {
790 return counterLocalService;
791 }
792
793
798 public void setCounterLocalService(CounterLocalService counterLocalService) {
799 this.counterLocalService = counterLocalService;
800 }
801
802
807 public MailService getMailService() {
808 return mailService;
809 }
810
811
816 public void setMailService(MailService mailService) {
817 this.mailService = mailService;
818 }
819
820
825 public CompanyLocalService getCompanyLocalService() {
826 return companyLocalService;
827 }
828
829
834 public void setCompanyLocalService(CompanyLocalService companyLocalService) {
835 this.companyLocalService = companyLocalService;
836 }
837
838
843 public CompanyService getCompanyService() {
844 return companyService;
845 }
846
847
852 public void setCompanyService(CompanyService companyService) {
853 this.companyService = companyService;
854 }
855
856
861 public CompanyPersistence getCompanyPersistence() {
862 return companyPersistence;
863 }
864
865
870 public void setCompanyPersistence(CompanyPersistence companyPersistence) {
871 this.companyPersistence = companyPersistence;
872 }
873
874
879 public GroupLocalService getGroupLocalService() {
880 return groupLocalService;
881 }
882
883
888 public void setGroupLocalService(GroupLocalService groupLocalService) {
889 this.groupLocalService = groupLocalService;
890 }
891
892
897 public GroupService getGroupService() {
898 return groupService;
899 }
900
901
906 public void setGroupService(GroupService groupService) {
907 this.groupService = groupService;
908 }
909
910
915 public GroupPersistence getGroupPersistence() {
916 return groupPersistence;
917 }
918
919
924 public void setGroupPersistence(GroupPersistence groupPersistence) {
925 this.groupPersistence = groupPersistence;
926 }
927
928
933 public GroupFinder getGroupFinder() {
934 return groupFinder;
935 }
936
937
942 public void setGroupFinder(GroupFinder groupFinder) {
943 this.groupFinder = groupFinder;
944 }
945
946
951 public LockLocalService getLockLocalService() {
952 return lockLocalService;
953 }
954
955
960 public void setLockLocalService(LockLocalService lockLocalService) {
961 this.lockLocalService = lockLocalService;
962 }
963
964
969 public LockPersistence getLockPersistence() {
970 return lockPersistence;
971 }
972
973
978 public void setLockPersistence(LockPersistence lockPersistence) {
979 this.lockPersistence = lockPersistence;
980 }
981
982
987 public LockFinder getLockFinder() {
988 return lockFinder;
989 }
990
991
996 public void setLockFinder(LockFinder lockFinder) {
997 this.lockFinder = lockFinder;
998 }
999
1000
1005 public PortletPreferencesLocalService getPortletPreferencesLocalService() {
1006 return portletPreferencesLocalService;
1007 }
1008
1009
1014 public void setPortletPreferencesLocalService(
1015 PortletPreferencesLocalService portletPreferencesLocalService) {
1016 this.portletPreferencesLocalService = portletPreferencesLocalService;
1017 }
1018
1019
1024 public PortletPreferencesService getPortletPreferencesService() {
1025 return portletPreferencesService;
1026 }
1027
1028
1033 public void setPortletPreferencesService(
1034 PortletPreferencesService portletPreferencesService) {
1035 this.portletPreferencesService = portletPreferencesService;
1036 }
1037
1038
1043 public PortletPreferencesPersistence getPortletPreferencesPersistence() {
1044 return portletPreferencesPersistence;
1045 }
1046
1047
1052 public void setPortletPreferencesPersistence(
1053 PortletPreferencesPersistence portletPreferencesPersistence) {
1054 this.portletPreferencesPersistence = portletPreferencesPersistence;
1055 }
1056
1057
1062 public PortletPreferencesFinder getPortletPreferencesFinder() {
1063 return portletPreferencesFinder;
1064 }
1065
1066
1071 public void setPortletPreferencesFinder(
1072 PortletPreferencesFinder portletPreferencesFinder) {
1073 this.portletPreferencesFinder = portletPreferencesFinder;
1074 }
1075
1076
1081 public ResourceLocalService getResourceLocalService() {
1082 return resourceLocalService;
1083 }
1084
1085
1090 public void setResourceLocalService(
1091 ResourceLocalService resourceLocalService) {
1092 this.resourceLocalService = resourceLocalService;
1093 }
1094
1095
1100 public ResourceService getResourceService() {
1101 return resourceService;
1102 }
1103
1104
1109 public void setResourceService(ResourceService resourceService) {
1110 this.resourceService = resourceService;
1111 }
1112
1113
1118 public ResourcePersistence getResourcePersistence() {
1119 return resourcePersistence;
1120 }
1121
1122
1127 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
1128 this.resourcePersistence = resourcePersistence;
1129 }
1130
1131
1136 public ResourceFinder getResourceFinder() {
1137 return resourceFinder;
1138 }
1139
1140
1145 public void setResourceFinder(ResourceFinder resourceFinder) {
1146 this.resourceFinder = resourceFinder;
1147 }
1148
1149
1154 public SubscriptionLocalService getSubscriptionLocalService() {
1155 return subscriptionLocalService;
1156 }
1157
1158
1163 public void setSubscriptionLocalService(
1164 SubscriptionLocalService subscriptionLocalService) {
1165 this.subscriptionLocalService = subscriptionLocalService;
1166 }
1167
1168
1173 public SubscriptionPersistence getSubscriptionPersistence() {
1174 return subscriptionPersistence;
1175 }
1176
1177
1182 public void setSubscriptionPersistence(
1183 SubscriptionPersistence subscriptionPersistence) {
1184 this.subscriptionPersistence = subscriptionPersistence;
1185 }
1186
1187
1192 public UserLocalService getUserLocalService() {
1193 return userLocalService;
1194 }
1195
1196
1201 public void setUserLocalService(UserLocalService userLocalService) {
1202 this.userLocalService = userLocalService;
1203 }
1204
1205
1210 public UserService getUserService() {
1211 return userService;
1212 }
1213
1214
1219 public void setUserService(UserService userService) {
1220 this.userService = userService;
1221 }
1222
1223
1228 public UserPersistence getUserPersistence() {
1229 return userPersistence;
1230 }
1231
1232
1237 public void setUserPersistence(UserPersistence userPersistence) {
1238 this.userPersistence = userPersistence;
1239 }
1240
1241
1246 public UserFinder getUserFinder() {
1247 return userFinder;
1248 }
1249
1250
1255 public void setUserFinder(UserFinder userFinder) {
1256 this.userFinder = userFinder;
1257 }
1258
1259
1264 public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1265 return workflowInstanceLinkLocalService;
1266 }
1267
1268
1273 public void setWorkflowInstanceLinkLocalService(
1274 WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1275 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1276 }
1277
1278
1283 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1284 return workflowInstanceLinkPersistence;
1285 }
1286
1287
1292 public void setWorkflowInstanceLinkPersistence(
1293 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1294 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1295 }
1296
1297
1302 public AssetEntryLocalService getAssetEntryLocalService() {
1303 return assetEntryLocalService;
1304 }
1305
1306
1311 public void setAssetEntryLocalService(
1312 AssetEntryLocalService assetEntryLocalService) {
1313 this.assetEntryLocalService = assetEntryLocalService;
1314 }
1315
1316
1321 public AssetEntryService getAssetEntryService() {
1322 return assetEntryService;
1323 }
1324
1325
1330 public void setAssetEntryService(AssetEntryService assetEntryService) {
1331 this.assetEntryService = assetEntryService;
1332 }
1333
1334
1339 public AssetEntryPersistence getAssetEntryPersistence() {
1340 return assetEntryPersistence;
1341 }
1342
1343
1348 public void setAssetEntryPersistence(
1349 AssetEntryPersistence assetEntryPersistence) {
1350 this.assetEntryPersistence = assetEntryPersistence;
1351 }
1352
1353
1358 public AssetEntryFinder getAssetEntryFinder() {
1359 return assetEntryFinder;
1360 }
1361
1362
1367 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1368 this.assetEntryFinder = assetEntryFinder;
1369 }
1370
1371
1376 public AssetLinkLocalService getAssetLinkLocalService() {
1377 return assetLinkLocalService;
1378 }
1379
1380
1385 public void setAssetLinkLocalService(
1386 AssetLinkLocalService assetLinkLocalService) {
1387 this.assetLinkLocalService = assetLinkLocalService;
1388 }
1389
1390
1395 public AssetLinkPersistence getAssetLinkPersistence() {
1396 return assetLinkPersistence;
1397 }
1398
1399
1404 public void setAssetLinkPersistence(
1405 AssetLinkPersistence assetLinkPersistence) {
1406 this.assetLinkPersistence = assetLinkPersistence;
1407 }
1408
1409
1414 public AssetTagLocalService getAssetTagLocalService() {
1415 return assetTagLocalService;
1416 }
1417
1418
1423 public void setAssetTagLocalService(
1424 AssetTagLocalService assetTagLocalService) {
1425 this.assetTagLocalService = assetTagLocalService;
1426 }
1427
1428
1433 public AssetTagService getAssetTagService() {
1434 return assetTagService;
1435 }
1436
1437
1442 public void setAssetTagService(AssetTagService assetTagService) {
1443 this.assetTagService = assetTagService;
1444 }
1445
1446
1451 public AssetTagPersistence getAssetTagPersistence() {
1452 return assetTagPersistence;
1453 }
1454
1455
1460 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1461 this.assetTagPersistence = assetTagPersistence;
1462 }
1463
1464
1469 public AssetTagFinder getAssetTagFinder() {
1470 return assetTagFinder;
1471 }
1472
1473
1478 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1479 this.assetTagFinder = assetTagFinder;
1480 }
1481
1482
1487 public BlogsEntryLocalService getBlogsEntryLocalService() {
1488 return blogsEntryLocalService;
1489 }
1490
1491
1496 public void setBlogsEntryLocalService(
1497 BlogsEntryLocalService blogsEntryLocalService) {
1498 this.blogsEntryLocalService = blogsEntryLocalService;
1499 }
1500
1501
1506 public BlogsEntryService getBlogsEntryService() {
1507 return blogsEntryService;
1508 }
1509
1510
1515 public void setBlogsEntryService(BlogsEntryService blogsEntryService) {
1516 this.blogsEntryService = blogsEntryService;
1517 }
1518
1519
1524 public BlogsEntryPersistence getBlogsEntryPersistence() {
1525 return blogsEntryPersistence;
1526 }
1527
1528
1533 public void setBlogsEntryPersistence(
1534 BlogsEntryPersistence blogsEntryPersistence) {
1535 this.blogsEntryPersistence = blogsEntryPersistence;
1536 }
1537
1538
1543 public BlogsEntryFinder getBlogsEntryFinder() {
1544 return blogsEntryFinder;
1545 }
1546
1547
1552 public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
1553 this.blogsEntryFinder = blogsEntryFinder;
1554 }
1555
1556
1561 public ExpandoValueLocalService getExpandoValueLocalService() {
1562 return expandoValueLocalService;
1563 }
1564
1565
1570 public void setExpandoValueLocalService(
1571 ExpandoValueLocalService expandoValueLocalService) {
1572 this.expandoValueLocalService = expandoValueLocalService;
1573 }
1574
1575
1580 public ExpandoValueService getExpandoValueService() {
1581 return expandoValueService;
1582 }
1583
1584
1589 public void setExpandoValueService(ExpandoValueService expandoValueService) {
1590 this.expandoValueService = expandoValueService;
1591 }
1592
1593
1598 public ExpandoValuePersistence getExpandoValuePersistence() {
1599 return expandoValuePersistence;
1600 }
1601
1602
1607 public void setExpandoValuePersistence(
1608 ExpandoValuePersistence expandoValuePersistence) {
1609 this.expandoValuePersistence = expandoValuePersistence;
1610 }
1611
1612
1617 public RatingsStatsLocalService getRatingsStatsLocalService() {
1618 return ratingsStatsLocalService;
1619 }
1620
1621
1626 public void setRatingsStatsLocalService(
1627 RatingsStatsLocalService ratingsStatsLocalService) {
1628 this.ratingsStatsLocalService = ratingsStatsLocalService;
1629 }
1630
1631
1636 public RatingsStatsPersistence getRatingsStatsPersistence() {
1637 return ratingsStatsPersistence;
1638 }
1639
1640
1645 public void setRatingsStatsPersistence(
1646 RatingsStatsPersistence ratingsStatsPersistence) {
1647 this.ratingsStatsPersistence = ratingsStatsPersistence;
1648 }
1649
1650
1655 public RatingsStatsFinder getRatingsStatsFinder() {
1656 return ratingsStatsFinder;
1657 }
1658
1659
1664 public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
1665 this.ratingsStatsFinder = ratingsStatsFinder;
1666 }
1667
1668
1673 public SocialActivityLocalService getSocialActivityLocalService() {
1674 return socialActivityLocalService;
1675 }
1676
1677
1682 public void setSocialActivityLocalService(
1683 SocialActivityLocalService socialActivityLocalService) {
1684 this.socialActivityLocalService = socialActivityLocalService;
1685 }
1686
1687
1692 public SocialActivityPersistence getSocialActivityPersistence() {
1693 return socialActivityPersistence;
1694 }
1695
1696
1701 public void setSocialActivityPersistence(
1702 SocialActivityPersistence socialActivityPersistence) {
1703 this.socialActivityPersistence = socialActivityPersistence;
1704 }
1705
1706
1711 public SocialActivityFinder getSocialActivityFinder() {
1712 return socialActivityFinder;
1713 }
1714
1715
1720 public void setSocialActivityFinder(
1721 SocialActivityFinder socialActivityFinder) {
1722 this.socialActivityFinder = socialActivityFinder;
1723 }
1724
1725
1730 public WikiPageLocalService getWikiPageLocalService() {
1731 return wikiPageLocalService;
1732 }
1733
1734
1739 public void setWikiPageLocalService(
1740 WikiPageLocalService wikiPageLocalService) {
1741 this.wikiPageLocalService = wikiPageLocalService;
1742 }
1743
1744
1749 public WikiPageService getWikiPageService() {
1750 return wikiPageService;
1751 }
1752
1753
1758 public void setWikiPageService(WikiPageService wikiPageService) {
1759 this.wikiPageService = wikiPageService;
1760 }
1761
1762
1767 public WikiPagePersistence getWikiPagePersistence() {
1768 return wikiPagePersistence;
1769 }
1770
1771
1776 public void setWikiPagePersistence(WikiPagePersistence wikiPagePersistence) {
1777 this.wikiPagePersistence = wikiPagePersistence;
1778 }
1779
1780
1785 public WikiPageFinder getWikiPageFinder() {
1786 return wikiPageFinder;
1787 }
1788
1789
1794 public void setWikiPageFinder(WikiPageFinder wikiPageFinder) {
1795 this.wikiPageFinder = wikiPageFinder;
1796 }
1797
1798 public void afterPropertiesSet() {
1799 persistedModelLocalServiceRegistry.register("com.liferay.portlet.messageboards.model.MBMessage",
1800 mbMessageLocalService);
1801 }
1802
1803 public void destroy() {
1804 persistedModelLocalServiceRegistry.unregister(
1805 "com.liferay.portlet.messageboards.model.MBMessage");
1806 }
1807
1808
1813 public String getBeanIdentifier() {
1814 return _beanIdentifier;
1815 }
1816
1817
1822 public void setBeanIdentifier(String beanIdentifier) {
1823 _beanIdentifier = beanIdentifier;
1824 }
1825
1826 protected Class<?> getModelClass() {
1827 return MBMessage.class;
1828 }
1829
1830 protected String getModelClassName() {
1831 return MBMessage.class.getName();
1832 }
1833
1834
1839 protected void runSQL(String sql) throws SystemException {
1840 try {
1841 DataSource dataSource = mbMessagePersistence.getDataSource();
1842
1843 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1844 sql, new int[0]);
1845
1846 sqlUpdate.update();
1847 }
1848 catch (Exception e) {
1849 throw new SystemException(e);
1850 }
1851 }
1852
1853 @BeanReference(type = MBBanLocalService.class)
1854 protected MBBanLocalService mbBanLocalService;
1855 @BeanReference(type = MBBanService.class)
1856 protected MBBanService mbBanService;
1857 @BeanReference(type = MBBanPersistence.class)
1858 protected MBBanPersistence mbBanPersistence;
1859 @BeanReference(type = MBCategoryLocalService.class)
1860 protected MBCategoryLocalService mbCategoryLocalService;
1861 @BeanReference(type = MBCategoryService.class)
1862 protected MBCategoryService mbCategoryService;
1863 @BeanReference(type = MBCategoryPersistence.class)
1864 protected MBCategoryPersistence mbCategoryPersistence;
1865 @BeanReference(type = MBCategoryFinder.class)
1866 protected MBCategoryFinder mbCategoryFinder;
1867 @BeanReference(type = MBDiscussionLocalService.class)
1868 protected MBDiscussionLocalService mbDiscussionLocalService;
1869 @BeanReference(type = MBDiscussionPersistence.class)
1870 protected MBDiscussionPersistence mbDiscussionPersistence;
1871 @BeanReference(type = MBMailingListLocalService.class)
1872 protected MBMailingListLocalService mbMailingListLocalService;
1873 @BeanReference(type = MBMailingListPersistence.class)
1874 protected MBMailingListPersistence mbMailingListPersistence;
1875 @BeanReference(type = MBMessageLocalService.class)
1876 protected MBMessageLocalService mbMessageLocalService;
1877 @BeanReference(type = MBMessageService.class)
1878 protected MBMessageService mbMessageService;
1879 @BeanReference(type = MBMessagePersistence.class)
1880 protected MBMessagePersistence mbMessagePersistence;
1881 @BeanReference(type = MBMessageFinder.class)
1882 protected MBMessageFinder mbMessageFinder;
1883 @BeanReference(type = MBStatsUserLocalService.class)
1884 protected MBStatsUserLocalService mbStatsUserLocalService;
1885 @BeanReference(type = MBStatsUserPersistence.class)
1886 protected MBStatsUserPersistence mbStatsUserPersistence;
1887 @BeanReference(type = MBThreadLocalService.class)
1888 protected MBThreadLocalService mbThreadLocalService;
1889 @BeanReference(type = MBThreadService.class)
1890 protected MBThreadService mbThreadService;
1891 @BeanReference(type = MBThreadPersistence.class)
1892 protected MBThreadPersistence mbThreadPersistence;
1893 @BeanReference(type = MBThreadFinder.class)
1894 protected MBThreadFinder mbThreadFinder;
1895 @BeanReference(type = MBThreadFlagLocalService.class)
1896 protected MBThreadFlagLocalService mbThreadFlagLocalService;
1897 @BeanReference(type = MBThreadFlagPersistence.class)
1898 protected MBThreadFlagPersistence mbThreadFlagPersistence;
1899 @BeanReference(type = CounterLocalService.class)
1900 protected CounterLocalService counterLocalService;
1901 @BeanReference(type = MailService.class)
1902 protected MailService mailService;
1903 @BeanReference(type = CompanyLocalService.class)
1904 protected CompanyLocalService companyLocalService;
1905 @BeanReference(type = CompanyService.class)
1906 protected CompanyService companyService;
1907 @BeanReference(type = CompanyPersistence.class)
1908 protected CompanyPersistence companyPersistence;
1909 @BeanReference(type = GroupLocalService.class)
1910 protected GroupLocalService groupLocalService;
1911 @BeanReference(type = GroupService.class)
1912 protected GroupService groupService;
1913 @BeanReference(type = GroupPersistence.class)
1914 protected GroupPersistence groupPersistence;
1915 @BeanReference(type = GroupFinder.class)
1916 protected GroupFinder groupFinder;
1917 @BeanReference(type = LockLocalService.class)
1918 protected LockLocalService lockLocalService;
1919 @BeanReference(type = LockPersistence.class)
1920 protected LockPersistence lockPersistence;
1921 @BeanReference(type = LockFinder.class)
1922 protected LockFinder lockFinder;
1923 @BeanReference(type = PortletPreferencesLocalService.class)
1924 protected PortletPreferencesLocalService portletPreferencesLocalService;
1925 @BeanReference(type = PortletPreferencesService.class)
1926 protected PortletPreferencesService portletPreferencesService;
1927 @BeanReference(type = PortletPreferencesPersistence.class)
1928 protected PortletPreferencesPersistence portletPreferencesPersistence;
1929 @BeanReference(type = PortletPreferencesFinder.class)
1930 protected PortletPreferencesFinder portletPreferencesFinder;
1931 @BeanReference(type = ResourceLocalService.class)
1932 protected ResourceLocalService resourceLocalService;
1933 @BeanReference(type = ResourceService.class)
1934 protected ResourceService resourceService;
1935 @BeanReference(type = ResourcePersistence.class)
1936 protected ResourcePersistence resourcePersistence;
1937 @BeanReference(type = ResourceFinder.class)
1938 protected ResourceFinder resourceFinder;
1939 @BeanReference(type = SubscriptionLocalService.class)
1940 protected SubscriptionLocalService subscriptionLocalService;
1941 @BeanReference(type = SubscriptionPersistence.class)
1942 protected SubscriptionPersistence subscriptionPersistence;
1943 @BeanReference(type = UserLocalService.class)
1944 protected UserLocalService userLocalService;
1945 @BeanReference(type = UserService.class)
1946 protected UserService userService;
1947 @BeanReference(type = UserPersistence.class)
1948 protected UserPersistence userPersistence;
1949 @BeanReference(type = UserFinder.class)
1950 protected UserFinder userFinder;
1951 @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1952 protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1953 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1954 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1955 @BeanReference(type = AssetEntryLocalService.class)
1956 protected AssetEntryLocalService assetEntryLocalService;
1957 @BeanReference(type = AssetEntryService.class)
1958 protected AssetEntryService assetEntryService;
1959 @BeanReference(type = AssetEntryPersistence.class)
1960 protected AssetEntryPersistence assetEntryPersistence;
1961 @BeanReference(type = AssetEntryFinder.class)
1962 protected AssetEntryFinder assetEntryFinder;
1963 @BeanReference(type = AssetLinkLocalService.class)
1964 protected AssetLinkLocalService assetLinkLocalService;
1965 @BeanReference(type = AssetLinkPersistence.class)
1966 protected AssetLinkPersistence assetLinkPersistence;
1967 @BeanReference(type = AssetTagLocalService.class)
1968 protected AssetTagLocalService assetTagLocalService;
1969 @BeanReference(type = AssetTagService.class)
1970 protected AssetTagService assetTagService;
1971 @BeanReference(type = AssetTagPersistence.class)
1972 protected AssetTagPersistence assetTagPersistence;
1973 @BeanReference(type = AssetTagFinder.class)
1974 protected AssetTagFinder assetTagFinder;
1975 @BeanReference(type = BlogsEntryLocalService.class)
1976 protected BlogsEntryLocalService blogsEntryLocalService;
1977 @BeanReference(type = BlogsEntryService.class)
1978 protected BlogsEntryService blogsEntryService;
1979 @BeanReference(type = BlogsEntryPersistence.class)
1980 protected BlogsEntryPersistence blogsEntryPersistence;
1981 @BeanReference(type = BlogsEntryFinder.class)
1982 protected BlogsEntryFinder blogsEntryFinder;
1983 @BeanReference(type = ExpandoValueLocalService.class)
1984 protected ExpandoValueLocalService expandoValueLocalService;
1985 @BeanReference(type = ExpandoValueService.class)
1986 protected ExpandoValueService expandoValueService;
1987 @BeanReference(type = ExpandoValuePersistence.class)
1988 protected ExpandoValuePersistence expandoValuePersistence;
1989 @BeanReference(type = RatingsStatsLocalService.class)
1990 protected RatingsStatsLocalService ratingsStatsLocalService;
1991 @BeanReference(type = RatingsStatsPersistence.class)
1992 protected RatingsStatsPersistence ratingsStatsPersistence;
1993 @BeanReference(type = RatingsStatsFinder.class)
1994 protected RatingsStatsFinder ratingsStatsFinder;
1995 @BeanReference(type = SocialActivityLocalService.class)
1996 protected SocialActivityLocalService socialActivityLocalService;
1997 @BeanReference(type = SocialActivityPersistence.class)
1998 protected SocialActivityPersistence socialActivityPersistence;
1999 @BeanReference(type = SocialActivityFinder.class)
2000 protected SocialActivityFinder socialActivityFinder;
2001 @BeanReference(type = WikiPageLocalService.class)
2002 protected WikiPageLocalService wikiPageLocalService;
2003 @BeanReference(type = WikiPageService.class)
2004 protected WikiPageService wikiPageService;
2005 @BeanReference(type = WikiPagePersistence.class)
2006 protected WikiPagePersistence wikiPagePersistence;
2007 @BeanReference(type = WikiPageFinder.class)
2008 protected WikiPageFinder wikiPageFinder;
2009 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
2010 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
2011 private String _beanIdentifier;
2012 }