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.jdbc.SqlUpdate;
020 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
021 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
022 import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
023 import com.liferay.portal.kernel.dao.orm.Projection;
024 import com.liferay.portal.kernel.exception.PortalException;
025 import com.liferay.portal.kernel.exception.SystemException;
026 import com.liferay.portal.kernel.search.Indexable;
027 import com.liferay.portal.kernel.search.IndexableType;
028 import com.liferay.portal.kernel.util.OrderByComparator;
029 import com.liferay.portal.model.PersistedModel;
030 import com.liferay.portal.service.BaseLocalServiceImpl;
031 import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
032 import com.liferay.portal.service.persistence.CompanyPersistence;
033 import com.liferay.portal.service.persistence.GroupFinder;
034 import com.liferay.portal.service.persistence.GroupPersistence;
035 import com.liferay.portal.service.persistence.LockFinder;
036 import com.liferay.portal.service.persistence.LockPersistence;
037 import com.liferay.portal.service.persistence.PortletPreferencesFinder;
038 import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
039 import com.liferay.portal.service.persistence.SubscriptionPersistence;
040 import com.liferay.portal.service.persistence.UserFinder;
041 import com.liferay.portal.service.persistence.UserPersistence;
042 import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
043
044 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
045 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
046 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
047 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
048 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
049 import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
050 import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
051 import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
052 import com.liferay.portlet.messageboards.model.MBMessage;
053 import com.liferay.portlet.messageboards.service.MBMessageLocalService;
054 import com.liferay.portlet.messageboards.service.persistence.MBBanPersistence;
055 import com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder;
056 import com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence;
057 import com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence;
058 import com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence;
059 import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
060 import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
061 import com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence;
062 import com.liferay.portlet.messageboards.service.persistence.MBThreadFinder;
063 import com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence;
064 import com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence;
065 import com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder;
066 import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
067 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
068 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
069 import com.liferay.portlet.wiki.service.persistence.WikiPageFinder;
070 import com.liferay.portlet.wiki.service.persistence.WikiPagePersistence;
071
072 import java.io.Serializable;
073
074 import java.util.List;
075
076 import javax.sql.DataSource;
077
078
090 public abstract class MBMessageLocalServiceBaseImpl extends BaseLocalServiceImpl
091 implements MBMessageLocalService, IdentifiableBean {
092
097
098
105 @Indexable(type = IndexableType.REINDEX)
106 @Override
107 public MBMessage addMBMessage(MBMessage mbMessage)
108 throws SystemException {
109 mbMessage.setNew(true);
110
111 return mbMessagePersistence.update(mbMessage);
112 }
113
114
120 @Override
121 public MBMessage createMBMessage(long messageId) {
122 return mbMessagePersistence.create(messageId);
123 }
124
125
133 @Indexable(type = IndexableType.DELETE)
134 @Override
135 public MBMessage deleteMBMessage(long messageId)
136 throws PortalException, SystemException {
137 return mbMessagePersistence.remove(messageId);
138 }
139
140
147 @Indexable(type = IndexableType.DELETE)
148 @Override
149 public MBMessage deleteMBMessage(MBMessage mbMessage)
150 throws SystemException {
151 return mbMessagePersistence.remove(mbMessage);
152 }
153
154 @Override
155 public DynamicQuery dynamicQuery() {
156 Class<?> clazz = getClass();
157
158 return DynamicQueryFactoryUtil.forClass(MBMessage.class,
159 clazz.getClassLoader());
160 }
161
162
169 @Override
170 @SuppressWarnings("rawtypes")
171 public List dynamicQuery(DynamicQuery dynamicQuery)
172 throws SystemException {
173 return mbMessagePersistence.findWithDynamicQuery(dynamicQuery);
174 }
175
176
189 @Override
190 @SuppressWarnings("rawtypes")
191 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
192 throws SystemException {
193 return mbMessagePersistence.findWithDynamicQuery(dynamicQuery, start,
194 end);
195 }
196
197
211 @Override
212 @SuppressWarnings("rawtypes")
213 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
214 OrderByComparator orderByComparator) throws SystemException {
215 return mbMessagePersistence.findWithDynamicQuery(dynamicQuery, start,
216 end, orderByComparator);
217 }
218
219
226 @Override
227 public long dynamicQueryCount(DynamicQuery dynamicQuery)
228 throws SystemException {
229 return mbMessagePersistence.countWithDynamicQuery(dynamicQuery);
230 }
231
232
240 @Override
241 public long dynamicQueryCount(DynamicQuery dynamicQuery,
242 Projection projection) throws SystemException {
243 return mbMessagePersistence.countWithDynamicQuery(dynamicQuery,
244 projection);
245 }
246
247 @Override
248 public MBMessage fetchMBMessage(long messageId) throws SystemException {
249 return mbMessagePersistence.fetchByPrimaryKey(messageId);
250 }
251
252
260 @Override
261 public MBMessage fetchMBMessageByUuidAndCompanyId(String uuid,
262 long companyId) throws SystemException {
263 return mbMessagePersistence.fetchByUuid_C_First(uuid, companyId, null);
264 }
265
266
274 @Override
275 public MBMessage fetchMBMessageByUuidAndGroupId(String uuid, long groupId)
276 throws SystemException {
277 return mbMessagePersistence.fetchByUUID_G(uuid, groupId);
278 }
279
280
288 @Override
289 public MBMessage getMBMessage(long messageId)
290 throws PortalException, SystemException {
291 return mbMessagePersistence.findByPrimaryKey(messageId);
292 }
293
294 @Override
295 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
296 throws PortalException, SystemException {
297 return mbMessagePersistence.findByPrimaryKey(primaryKeyObj);
298 }
299
300
309 @Override
310 public MBMessage getMBMessageByUuidAndCompanyId(String uuid, long companyId)
311 throws PortalException, SystemException {
312 return mbMessagePersistence.findByUuid_C_First(uuid, companyId, null);
313 }
314
315
324 @Override
325 public MBMessage getMBMessageByUuidAndGroupId(String uuid, long groupId)
326 throws PortalException, SystemException {
327 return mbMessagePersistence.findByUUID_G(uuid, groupId);
328 }
329
330
342 @Override
343 public List<MBMessage> getMBMessages(int start, int end)
344 throws SystemException {
345 return mbMessagePersistence.findAll(start, end);
346 }
347
348
354 @Override
355 public int getMBMessagesCount() throws SystemException {
356 return mbMessagePersistence.countAll();
357 }
358
359
366 @Indexable(type = IndexableType.REINDEX)
367 @Override
368 public MBMessage updateMBMessage(MBMessage mbMessage)
369 throws SystemException {
370 return mbMessagePersistence.update(mbMessage);
371 }
372
373
378 public com.liferay.portlet.messageboards.service.MBBanLocalService getMBBanLocalService() {
379 return mbBanLocalService;
380 }
381
382
387 public void setMBBanLocalService(
388 com.liferay.portlet.messageboards.service.MBBanLocalService mbBanLocalService) {
389 this.mbBanLocalService = mbBanLocalService;
390 }
391
392
397 public com.liferay.portlet.messageboards.service.MBBanService getMBBanService() {
398 return mbBanService;
399 }
400
401
406 public void setMBBanService(
407 com.liferay.portlet.messageboards.service.MBBanService mbBanService) {
408 this.mbBanService = mbBanService;
409 }
410
411
416 public MBBanPersistence getMBBanPersistence() {
417 return mbBanPersistence;
418 }
419
420
425 public void setMBBanPersistence(MBBanPersistence mbBanPersistence) {
426 this.mbBanPersistence = mbBanPersistence;
427 }
428
429
434 public com.liferay.portlet.messageboards.service.MBCategoryLocalService getMBCategoryLocalService() {
435 return mbCategoryLocalService;
436 }
437
438
443 public void setMBCategoryLocalService(
444 com.liferay.portlet.messageboards.service.MBCategoryLocalService mbCategoryLocalService) {
445 this.mbCategoryLocalService = mbCategoryLocalService;
446 }
447
448
453 public com.liferay.portlet.messageboards.service.MBCategoryService getMBCategoryService() {
454 return mbCategoryService;
455 }
456
457
462 public void setMBCategoryService(
463 com.liferay.portlet.messageboards.service.MBCategoryService mbCategoryService) {
464 this.mbCategoryService = mbCategoryService;
465 }
466
467
472 public MBCategoryPersistence getMBCategoryPersistence() {
473 return mbCategoryPersistence;
474 }
475
476
481 public void setMBCategoryPersistence(
482 MBCategoryPersistence mbCategoryPersistence) {
483 this.mbCategoryPersistence = mbCategoryPersistence;
484 }
485
486
491 public MBCategoryFinder getMBCategoryFinder() {
492 return mbCategoryFinder;
493 }
494
495
500 public void setMBCategoryFinder(MBCategoryFinder mbCategoryFinder) {
501 this.mbCategoryFinder = mbCategoryFinder;
502 }
503
504
509 public com.liferay.portlet.messageboards.service.MBDiscussionLocalService getMBDiscussionLocalService() {
510 return mbDiscussionLocalService;
511 }
512
513
518 public void setMBDiscussionLocalService(
519 com.liferay.portlet.messageboards.service.MBDiscussionLocalService mbDiscussionLocalService) {
520 this.mbDiscussionLocalService = mbDiscussionLocalService;
521 }
522
523
528 public MBDiscussionPersistence getMBDiscussionPersistence() {
529 return mbDiscussionPersistence;
530 }
531
532
537 public void setMBDiscussionPersistence(
538 MBDiscussionPersistence mbDiscussionPersistence) {
539 this.mbDiscussionPersistence = mbDiscussionPersistence;
540 }
541
542
547 public com.liferay.portlet.messageboards.service.MBMailingListLocalService getMBMailingListLocalService() {
548 return mbMailingListLocalService;
549 }
550
551
556 public void setMBMailingListLocalService(
557 com.liferay.portlet.messageboards.service.MBMailingListLocalService mbMailingListLocalService) {
558 this.mbMailingListLocalService = mbMailingListLocalService;
559 }
560
561
566 public MBMailingListPersistence getMBMailingListPersistence() {
567 return mbMailingListPersistence;
568 }
569
570
575 public void setMBMailingListPersistence(
576 MBMailingListPersistence mbMailingListPersistence) {
577 this.mbMailingListPersistence = mbMailingListPersistence;
578 }
579
580
585 public com.liferay.portlet.messageboards.service.MBMessageLocalService getMBMessageLocalService() {
586 return mbMessageLocalService;
587 }
588
589
594 public void setMBMessageLocalService(
595 com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService) {
596 this.mbMessageLocalService = mbMessageLocalService;
597 }
598
599
604 public com.liferay.portlet.messageboards.service.MBMessageService getMBMessageService() {
605 return mbMessageService;
606 }
607
608
613 public void setMBMessageService(
614 com.liferay.portlet.messageboards.service.MBMessageService mbMessageService) {
615 this.mbMessageService = mbMessageService;
616 }
617
618
623 public MBMessagePersistence getMBMessagePersistence() {
624 return mbMessagePersistence;
625 }
626
627
632 public void setMBMessagePersistence(
633 MBMessagePersistence mbMessagePersistence) {
634 this.mbMessagePersistence = mbMessagePersistence;
635 }
636
637
642 public MBMessageFinder getMBMessageFinder() {
643 return mbMessageFinder;
644 }
645
646
651 public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
652 this.mbMessageFinder = mbMessageFinder;
653 }
654
655
660 public com.liferay.portlet.messageboards.service.MBStatsUserLocalService getMBStatsUserLocalService() {
661 return mbStatsUserLocalService;
662 }
663
664
669 public void setMBStatsUserLocalService(
670 com.liferay.portlet.messageboards.service.MBStatsUserLocalService mbStatsUserLocalService) {
671 this.mbStatsUserLocalService = mbStatsUserLocalService;
672 }
673
674
679 public MBStatsUserPersistence getMBStatsUserPersistence() {
680 return mbStatsUserPersistence;
681 }
682
683
688 public void setMBStatsUserPersistence(
689 MBStatsUserPersistence mbStatsUserPersistence) {
690 this.mbStatsUserPersistence = mbStatsUserPersistence;
691 }
692
693
698 public com.liferay.portlet.messageboards.service.MBThreadLocalService getMBThreadLocalService() {
699 return mbThreadLocalService;
700 }
701
702
707 public void setMBThreadLocalService(
708 com.liferay.portlet.messageboards.service.MBThreadLocalService mbThreadLocalService) {
709 this.mbThreadLocalService = mbThreadLocalService;
710 }
711
712
717 public com.liferay.portlet.messageboards.service.MBThreadService getMBThreadService() {
718 return mbThreadService;
719 }
720
721
726 public void setMBThreadService(
727 com.liferay.portlet.messageboards.service.MBThreadService mbThreadService) {
728 this.mbThreadService = mbThreadService;
729 }
730
731
736 public MBThreadPersistence getMBThreadPersistence() {
737 return mbThreadPersistence;
738 }
739
740
745 public void setMBThreadPersistence(MBThreadPersistence mbThreadPersistence) {
746 this.mbThreadPersistence = mbThreadPersistence;
747 }
748
749
754 public MBThreadFinder getMBThreadFinder() {
755 return mbThreadFinder;
756 }
757
758
763 public void setMBThreadFinder(MBThreadFinder mbThreadFinder) {
764 this.mbThreadFinder = mbThreadFinder;
765 }
766
767
772 public com.liferay.portlet.messageboards.service.MBThreadFlagLocalService getMBThreadFlagLocalService() {
773 return mbThreadFlagLocalService;
774 }
775
776
781 public void setMBThreadFlagLocalService(
782 com.liferay.portlet.messageboards.service.MBThreadFlagLocalService mbThreadFlagLocalService) {
783 this.mbThreadFlagLocalService = mbThreadFlagLocalService;
784 }
785
786
791 public MBThreadFlagPersistence getMBThreadFlagPersistence() {
792 return mbThreadFlagPersistence;
793 }
794
795
800 public void setMBThreadFlagPersistence(
801 MBThreadFlagPersistence mbThreadFlagPersistence) {
802 this.mbThreadFlagPersistence = mbThreadFlagPersistence;
803 }
804
805
810 public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
811 return counterLocalService;
812 }
813
814
819 public void setCounterLocalService(
820 com.liferay.counter.service.CounterLocalService counterLocalService) {
821 this.counterLocalService = counterLocalService;
822 }
823
824
829 public com.liferay.mail.service.MailService getMailService() {
830 return mailService;
831 }
832
833
838 public void setMailService(com.liferay.mail.service.MailService mailService) {
839 this.mailService = mailService;
840 }
841
842
847 public com.liferay.portal.service.CompanyLocalService getCompanyLocalService() {
848 return companyLocalService;
849 }
850
851
856 public void setCompanyLocalService(
857 com.liferay.portal.service.CompanyLocalService companyLocalService) {
858 this.companyLocalService = companyLocalService;
859 }
860
861
866 public com.liferay.portal.service.CompanyService getCompanyService() {
867 return companyService;
868 }
869
870
875 public void setCompanyService(
876 com.liferay.portal.service.CompanyService companyService) {
877 this.companyService = companyService;
878 }
879
880
885 public CompanyPersistence getCompanyPersistence() {
886 return companyPersistence;
887 }
888
889
894 public void setCompanyPersistence(CompanyPersistence companyPersistence) {
895 this.companyPersistence = companyPersistence;
896 }
897
898
903 public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
904 return groupLocalService;
905 }
906
907
912 public void setGroupLocalService(
913 com.liferay.portal.service.GroupLocalService groupLocalService) {
914 this.groupLocalService = groupLocalService;
915 }
916
917
922 public com.liferay.portal.service.GroupService getGroupService() {
923 return groupService;
924 }
925
926
931 public void setGroupService(
932 com.liferay.portal.service.GroupService groupService) {
933 this.groupService = groupService;
934 }
935
936
941 public GroupPersistence getGroupPersistence() {
942 return groupPersistence;
943 }
944
945
950 public void setGroupPersistence(GroupPersistence groupPersistence) {
951 this.groupPersistence = groupPersistence;
952 }
953
954
959 public GroupFinder getGroupFinder() {
960 return groupFinder;
961 }
962
963
968 public void setGroupFinder(GroupFinder groupFinder) {
969 this.groupFinder = groupFinder;
970 }
971
972
977 public com.liferay.portal.service.LockLocalService getLockLocalService() {
978 return lockLocalService;
979 }
980
981
986 public void setLockLocalService(
987 com.liferay.portal.service.LockLocalService lockLocalService) {
988 this.lockLocalService = lockLocalService;
989 }
990
991
996 public LockPersistence getLockPersistence() {
997 return lockPersistence;
998 }
999
1000
1005 public void setLockPersistence(LockPersistence lockPersistence) {
1006 this.lockPersistence = lockPersistence;
1007 }
1008
1009
1014 public LockFinder getLockFinder() {
1015 return lockFinder;
1016 }
1017
1018
1023 public void setLockFinder(LockFinder lockFinder) {
1024 this.lockFinder = lockFinder;
1025 }
1026
1027
1032 public com.liferay.portal.service.PortletPreferencesLocalService getPortletPreferencesLocalService() {
1033 return portletPreferencesLocalService;
1034 }
1035
1036
1041 public void setPortletPreferencesLocalService(
1042 com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService) {
1043 this.portletPreferencesLocalService = portletPreferencesLocalService;
1044 }
1045
1046
1051 public com.liferay.portal.service.PortletPreferencesService getPortletPreferencesService() {
1052 return portletPreferencesService;
1053 }
1054
1055
1060 public void setPortletPreferencesService(
1061 com.liferay.portal.service.PortletPreferencesService portletPreferencesService) {
1062 this.portletPreferencesService = portletPreferencesService;
1063 }
1064
1065
1070 public PortletPreferencesPersistence getPortletPreferencesPersistence() {
1071 return portletPreferencesPersistence;
1072 }
1073
1074
1079 public void setPortletPreferencesPersistence(
1080 PortletPreferencesPersistence portletPreferencesPersistence) {
1081 this.portletPreferencesPersistence = portletPreferencesPersistence;
1082 }
1083
1084
1089 public PortletPreferencesFinder getPortletPreferencesFinder() {
1090 return portletPreferencesFinder;
1091 }
1092
1093
1098 public void setPortletPreferencesFinder(
1099 PortletPreferencesFinder portletPreferencesFinder) {
1100 this.portletPreferencesFinder = portletPreferencesFinder;
1101 }
1102
1103
1108 public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
1109 return resourceLocalService;
1110 }
1111
1112
1117 public void setResourceLocalService(
1118 com.liferay.portal.service.ResourceLocalService resourceLocalService) {
1119 this.resourceLocalService = resourceLocalService;
1120 }
1121
1122
1127 public com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService() {
1128 return subscriptionLocalService;
1129 }
1130
1131
1136 public void setSubscriptionLocalService(
1137 com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService) {
1138 this.subscriptionLocalService = subscriptionLocalService;
1139 }
1140
1141
1146 public SubscriptionPersistence getSubscriptionPersistence() {
1147 return subscriptionPersistence;
1148 }
1149
1150
1155 public void setSubscriptionPersistence(
1156 SubscriptionPersistence subscriptionPersistence) {
1157 this.subscriptionPersistence = subscriptionPersistence;
1158 }
1159
1160
1165 public com.liferay.portal.service.UserLocalService getUserLocalService() {
1166 return userLocalService;
1167 }
1168
1169
1174 public void setUserLocalService(
1175 com.liferay.portal.service.UserLocalService userLocalService) {
1176 this.userLocalService = userLocalService;
1177 }
1178
1179
1184 public com.liferay.portal.service.UserService getUserService() {
1185 return userService;
1186 }
1187
1188
1193 public void setUserService(
1194 com.liferay.portal.service.UserService userService) {
1195 this.userService = userService;
1196 }
1197
1198
1203 public UserPersistence getUserPersistence() {
1204 return userPersistence;
1205 }
1206
1207
1212 public void setUserPersistence(UserPersistence userPersistence) {
1213 this.userPersistence = userPersistence;
1214 }
1215
1216
1221 public UserFinder getUserFinder() {
1222 return userFinder;
1223 }
1224
1225
1230 public void setUserFinder(UserFinder userFinder) {
1231 this.userFinder = userFinder;
1232 }
1233
1234
1239 public com.liferay.portal.service.WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1240 return workflowInstanceLinkLocalService;
1241 }
1242
1243
1248 public void setWorkflowInstanceLinkLocalService(
1249 com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1250 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1251 }
1252
1253
1258 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1259 return workflowInstanceLinkPersistence;
1260 }
1261
1262
1267 public void setWorkflowInstanceLinkPersistence(
1268 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1269 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1270 }
1271
1272
1277 public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
1278 return assetEntryLocalService;
1279 }
1280
1281
1286 public void setAssetEntryLocalService(
1287 com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
1288 this.assetEntryLocalService = assetEntryLocalService;
1289 }
1290
1291
1296 public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
1297 return assetEntryService;
1298 }
1299
1300
1305 public void setAssetEntryService(
1306 com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
1307 this.assetEntryService = assetEntryService;
1308 }
1309
1310
1315 public AssetEntryPersistence getAssetEntryPersistence() {
1316 return assetEntryPersistence;
1317 }
1318
1319
1324 public void setAssetEntryPersistence(
1325 AssetEntryPersistence assetEntryPersistence) {
1326 this.assetEntryPersistence = assetEntryPersistence;
1327 }
1328
1329
1334 public AssetEntryFinder getAssetEntryFinder() {
1335 return assetEntryFinder;
1336 }
1337
1338
1343 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1344 this.assetEntryFinder = assetEntryFinder;
1345 }
1346
1347
1352 public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
1353 return assetLinkLocalService;
1354 }
1355
1356
1361 public void setAssetLinkLocalService(
1362 com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
1363 this.assetLinkLocalService = assetLinkLocalService;
1364 }
1365
1366
1371 public AssetLinkPersistence getAssetLinkPersistence() {
1372 return assetLinkPersistence;
1373 }
1374
1375
1380 public void setAssetLinkPersistence(
1381 AssetLinkPersistence assetLinkPersistence) {
1382 this.assetLinkPersistence = assetLinkPersistence;
1383 }
1384
1385
1390 public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
1391 return assetTagLocalService;
1392 }
1393
1394
1399 public void setAssetTagLocalService(
1400 com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
1401 this.assetTagLocalService = assetTagLocalService;
1402 }
1403
1404
1409 public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
1410 return assetTagService;
1411 }
1412
1413
1418 public void setAssetTagService(
1419 com.liferay.portlet.asset.service.AssetTagService assetTagService) {
1420 this.assetTagService = assetTagService;
1421 }
1422
1423
1428 public AssetTagPersistence getAssetTagPersistence() {
1429 return assetTagPersistence;
1430 }
1431
1432
1437 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1438 this.assetTagPersistence = assetTagPersistence;
1439 }
1440
1441
1446 public AssetTagFinder getAssetTagFinder() {
1447 return assetTagFinder;
1448 }
1449
1450
1455 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1456 this.assetTagFinder = assetTagFinder;
1457 }
1458
1459
1464 public com.liferay.portlet.blogs.service.BlogsEntryLocalService getBlogsEntryLocalService() {
1465 return blogsEntryLocalService;
1466 }
1467
1468
1473 public void setBlogsEntryLocalService(
1474 com.liferay.portlet.blogs.service.BlogsEntryLocalService blogsEntryLocalService) {
1475 this.blogsEntryLocalService = blogsEntryLocalService;
1476 }
1477
1478
1483 public com.liferay.portlet.blogs.service.BlogsEntryService getBlogsEntryService() {
1484 return blogsEntryService;
1485 }
1486
1487
1492 public void setBlogsEntryService(
1493 com.liferay.portlet.blogs.service.BlogsEntryService blogsEntryService) {
1494 this.blogsEntryService = blogsEntryService;
1495 }
1496
1497
1502 public BlogsEntryPersistence getBlogsEntryPersistence() {
1503 return blogsEntryPersistence;
1504 }
1505
1506
1511 public void setBlogsEntryPersistence(
1512 BlogsEntryPersistence blogsEntryPersistence) {
1513 this.blogsEntryPersistence = blogsEntryPersistence;
1514 }
1515
1516
1521 public BlogsEntryFinder getBlogsEntryFinder() {
1522 return blogsEntryFinder;
1523 }
1524
1525
1530 public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
1531 this.blogsEntryFinder = blogsEntryFinder;
1532 }
1533
1534
1539 public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
1540 return expandoRowLocalService;
1541 }
1542
1543
1548 public void setExpandoRowLocalService(
1549 com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
1550 this.expandoRowLocalService = expandoRowLocalService;
1551 }
1552
1553
1558 public ExpandoRowPersistence getExpandoRowPersistence() {
1559 return expandoRowPersistence;
1560 }
1561
1562
1567 public void setExpandoRowPersistence(
1568 ExpandoRowPersistence expandoRowPersistence) {
1569 this.expandoRowPersistence = expandoRowPersistence;
1570 }
1571
1572
1577 public com.liferay.portlet.ratings.service.RatingsStatsLocalService getRatingsStatsLocalService() {
1578 return ratingsStatsLocalService;
1579 }
1580
1581
1586 public void setRatingsStatsLocalService(
1587 com.liferay.portlet.ratings.service.RatingsStatsLocalService ratingsStatsLocalService) {
1588 this.ratingsStatsLocalService = ratingsStatsLocalService;
1589 }
1590
1591
1596 public RatingsStatsPersistence getRatingsStatsPersistence() {
1597 return ratingsStatsPersistence;
1598 }
1599
1600
1605 public void setRatingsStatsPersistence(
1606 RatingsStatsPersistence ratingsStatsPersistence) {
1607 this.ratingsStatsPersistence = ratingsStatsPersistence;
1608 }
1609
1610
1615 public RatingsStatsFinder getRatingsStatsFinder() {
1616 return ratingsStatsFinder;
1617 }
1618
1619
1624 public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
1625 this.ratingsStatsFinder = ratingsStatsFinder;
1626 }
1627
1628
1633 public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
1634 return socialActivityLocalService;
1635 }
1636
1637
1642 public void setSocialActivityLocalService(
1643 com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
1644 this.socialActivityLocalService = socialActivityLocalService;
1645 }
1646
1647
1652 public com.liferay.portlet.social.service.SocialActivityService getSocialActivityService() {
1653 return socialActivityService;
1654 }
1655
1656
1661 public void setSocialActivityService(
1662 com.liferay.portlet.social.service.SocialActivityService socialActivityService) {
1663 this.socialActivityService = socialActivityService;
1664 }
1665
1666
1671 public SocialActivityPersistence getSocialActivityPersistence() {
1672 return socialActivityPersistence;
1673 }
1674
1675
1680 public void setSocialActivityPersistence(
1681 SocialActivityPersistence socialActivityPersistence) {
1682 this.socialActivityPersistence = socialActivityPersistence;
1683 }
1684
1685
1690 public SocialActivityFinder getSocialActivityFinder() {
1691 return socialActivityFinder;
1692 }
1693
1694
1699 public void setSocialActivityFinder(
1700 SocialActivityFinder socialActivityFinder) {
1701 this.socialActivityFinder = socialActivityFinder;
1702 }
1703
1704
1709 public com.liferay.portlet.wiki.service.WikiPageLocalService getWikiPageLocalService() {
1710 return wikiPageLocalService;
1711 }
1712
1713
1718 public void setWikiPageLocalService(
1719 com.liferay.portlet.wiki.service.WikiPageLocalService wikiPageLocalService) {
1720 this.wikiPageLocalService = wikiPageLocalService;
1721 }
1722
1723
1728 public com.liferay.portlet.wiki.service.WikiPageService getWikiPageService() {
1729 return wikiPageService;
1730 }
1731
1732
1737 public void setWikiPageService(
1738 com.liferay.portlet.wiki.service.WikiPageService wikiPageService) {
1739 this.wikiPageService = wikiPageService;
1740 }
1741
1742
1747 public WikiPagePersistence getWikiPagePersistence() {
1748 return wikiPagePersistence;
1749 }
1750
1751
1756 public void setWikiPagePersistence(WikiPagePersistence wikiPagePersistence) {
1757 this.wikiPagePersistence = wikiPagePersistence;
1758 }
1759
1760
1765 public WikiPageFinder getWikiPageFinder() {
1766 return wikiPageFinder;
1767 }
1768
1769
1774 public void setWikiPageFinder(WikiPageFinder wikiPageFinder) {
1775 this.wikiPageFinder = wikiPageFinder;
1776 }
1777
1778 public void afterPropertiesSet() {
1779 persistedModelLocalServiceRegistry.register("com.liferay.portlet.messageboards.model.MBMessage",
1780 mbMessageLocalService);
1781 }
1782
1783 public void destroy() {
1784 persistedModelLocalServiceRegistry.unregister(
1785 "com.liferay.portlet.messageboards.model.MBMessage");
1786 }
1787
1788
1793 @Override
1794 public String getBeanIdentifier() {
1795 return _beanIdentifier;
1796 }
1797
1798
1803 @Override
1804 public void setBeanIdentifier(String beanIdentifier) {
1805 _beanIdentifier = beanIdentifier;
1806 }
1807
1808 protected Class<?> getModelClass() {
1809 return MBMessage.class;
1810 }
1811
1812 protected String getModelClassName() {
1813 return MBMessage.class.getName();
1814 }
1815
1816
1821 protected void runSQL(String sql) throws SystemException {
1822 try {
1823 DataSource dataSource = mbMessagePersistence.getDataSource();
1824
1825 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1826 sql, new int[0]);
1827
1828 sqlUpdate.update();
1829 }
1830 catch (Exception e) {
1831 throw new SystemException(e);
1832 }
1833 }
1834
1835 @BeanReference(type = com.liferay.portlet.messageboards.service.MBBanLocalService.class)
1836 protected com.liferay.portlet.messageboards.service.MBBanLocalService mbBanLocalService;
1837 @BeanReference(type = com.liferay.portlet.messageboards.service.MBBanService.class)
1838 protected com.liferay.portlet.messageboards.service.MBBanService mbBanService;
1839 @BeanReference(type = MBBanPersistence.class)
1840 protected MBBanPersistence mbBanPersistence;
1841 @BeanReference(type = com.liferay.portlet.messageboards.service.MBCategoryLocalService.class)
1842 protected com.liferay.portlet.messageboards.service.MBCategoryLocalService mbCategoryLocalService;
1843 @BeanReference(type = com.liferay.portlet.messageboards.service.MBCategoryService.class)
1844 protected com.liferay.portlet.messageboards.service.MBCategoryService mbCategoryService;
1845 @BeanReference(type = MBCategoryPersistence.class)
1846 protected MBCategoryPersistence mbCategoryPersistence;
1847 @BeanReference(type = MBCategoryFinder.class)
1848 protected MBCategoryFinder mbCategoryFinder;
1849 @BeanReference(type = com.liferay.portlet.messageboards.service.MBDiscussionLocalService.class)
1850 protected com.liferay.portlet.messageboards.service.MBDiscussionLocalService mbDiscussionLocalService;
1851 @BeanReference(type = MBDiscussionPersistence.class)
1852 protected MBDiscussionPersistence mbDiscussionPersistence;
1853 @BeanReference(type = com.liferay.portlet.messageboards.service.MBMailingListLocalService.class)
1854 protected com.liferay.portlet.messageboards.service.MBMailingListLocalService mbMailingListLocalService;
1855 @BeanReference(type = MBMailingListPersistence.class)
1856 protected MBMailingListPersistence mbMailingListPersistence;
1857 @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageLocalService.class)
1858 protected com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService;
1859 @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageService.class)
1860 protected com.liferay.portlet.messageboards.service.MBMessageService mbMessageService;
1861 @BeanReference(type = MBMessagePersistence.class)
1862 protected MBMessagePersistence mbMessagePersistence;
1863 @BeanReference(type = MBMessageFinder.class)
1864 protected MBMessageFinder mbMessageFinder;
1865 @BeanReference(type = com.liferay.portlet.messageboards.service.MBStatsUserLocalService.class)
1866 protected com.liferay.portlet.messageboards.service.MBStatsUserLocalService mbStatsUserLocalService;
1867 @BeanReference(type = MBStatsUserPersistence.class)
1868 protected MBStatsUserPersistence mbStatsUserPersistence;
1869 @BeanReference(type = com.liferay.portlet.messageboards.service.MBThreadLocalService.class)
1870 protected com.liferay.portlet.messageboards.service.MBThreadLocalService mbThreadLocalService;
1871 @BeanReference(type = com.liferay.portlet.messageboards.service.MBThreadService.class)
1872 protected com.liferay.portlet.messageboards.service.MBThreadService mbThreadService;
1873 @BeanReference(type = MBThreadPersistence.class)
1874 protected MBThreadPersistence mbThreadPersistence;
1875 @BeanReference(type = MBThreadFinder.class)
1876 protected MBThreadFinder mbThreadFinder;
1877 @BeanReference(type = com.liferay.portlet.messageboards.service.MBThreadFlagLocalService.class)
1878 protected com.liferay.portlet.messageboards.service.MBThreadFlagLocalService mbThreadFlagLocalService;
1879 @BeanReference(type = MBThreadFlagPersistence.class)
1880 protected MBThreadFlagPersistence mbThreadFlagPersistence;
1881 @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1882 protected com.liferay.counter.service.CounterLocalService counterLocalService;
1883 @BeanReference(type = com.liferay.mail.service.MailService.class)
1884 protected com.liferay.mail.service.MailService mailService;
1885 @BeanReference(type = com.liferay.portal.service.CompanyLocalService.class)
1886 protected com.liferay.portal.service.CompanyLocalService companyLocalService;
1887 @BeanReference(type = com.liferay.portal.service.CompanyService.class)
1888 protected com.liferay.portal.service.CompanyService companyService;
1889 @BeanReference(type = CompanyPersistence.class)
1890 protected CompanyPersistence companyPersistence;
1891 @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
1892 protected com.liferay.portal.service.GroupLocalService groupLocalService;
1893 @BeanReference(type = com.liferay.portal.service.GroupService.class)
1894 protected com.liferay.portal.service.GroupService groupService;
1895 @BeanReference(type = GroupPersistence.class)
1896 protected GroupPersistence groupPersistence;
1897 @BeanReference(type = GroupFinder.class)
1898 protected GroupFinder groupFinder;
1899 @BeanReference(type = com.liferay.portal.service.LockLocalService.class)
1900 protected com.liferay.portal.service.LockLocalService lockLocalService;
1901 @BeanReference(type = LockPersistence.class)
1902 protected LockPersistence lockPersistence;
1903 @BeanReference(type = LockFinder.class)
1904 protected LockFinder lockFinder;
1905 @BeanReference(type = com.liferay.portal.service.PortletPreferencesLocalService.class)
1906 protected com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService;
1907 @BeanReference(type = com.liferay.portal.service.PortletPreferencesService.class)
1908 protected com.liferay.portal.service.PortletPreferencesService portletPreferencesService;
1909 @BeanReference(type = PortletPreferencesPersistence.class)
1910 protected PortletPreferencesPersistence portletPreferencesPersistence;
1911 @BeanReference(type = PortletPreferencesFinder.class)
1912 protected PortletPreferencesFinder portletPreferencesFinder;
1913 @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1914 protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1915 @BeanReference(type = com.liferay.portal.service.SubscriptionLocalService.class)
1916 protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService;
1917 @BeanReference(type = SubscriptionPersistence.class)
1918 protected SubscriptionPersistence subscriptionPersistence;
1919 @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1920 protected com.liferay.portal.service.UserLocalService userLocalService;
1921 @BeanReference(type = com.liferay.portal.service.UserService.class)
1922 protected com.liferay.portal.service.UserService userService;
1923 @BeanReference(type = UserPersistence.class)
1924 protected UserPersistence userPersistence;
1925 @BeanReference(type = UserFinder.class)
1926 protected UserFinder userFinder;
1927 @BeanReference(type = com.liferay.portal.service.WorkflowInstanceLinkLocalService.class)
1928 protected com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1929 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1930 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1931 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1932 protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1933 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1934 protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1935 @BeanReference(type = AssetEntryPersistence.class)
1936 protected AssetEntryPersistence assetEntryPersistence;
1937 @BeanReference(type = AssetEntryFinder.class)
1938 protected AssetEntryFinder assetEntryFinder;
1939 @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
1940 protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
1941 @BeanReference(type = AssetLinkPersistence.class)
1942 protected AssetLinkPersistence assetLinkPersistence;
1943 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
1944 protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
1945 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
1946 protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
1947 @BeanReference(type = AssetTagPersistence.class)
1948 protected AssetTagPersistence assetTagPersistence;
1949 @BeanReference(type = AssetTagFinder.class)
1950 protected AssetTagFinder assetTagFinder;
1951 @BeanReference(type = com.liferay.portlet.blogs.service.BlogsEntryLocalService.class)
1952 protected com.liferay.portlet.blogs.service.BlogsEntryLocalService blogsEntryLocalService;
1953 @BeanReference(type = com.liferay.portlet.blogs.service.BlogsEntryService.class)
1954 protected com.liferay.portlet.blogs.service.BlogsEntryService blogsEntryService;
1955 @BeanReference(type = BlogsEntryPersistence.class)
1956 protected BlogsEntryPersistence blogsEntryPersistence;
1957 @BeanReference(type = BlogsEntryFinder.class)
1958 protected BlogsEntryFinder blogsEntryFinder;
1959 @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
1960 protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
1961 @BeanReference(type = ExpandoRowPersistence.class)
1962 protected ExpandoRowPersistence expandoRowPersistence;
1963 @BeanReference(type = com.liferay.portlet.ratings.service.RatingsStatsLocalService.class)
1964 protected com.liferay.portlet.ratings.service.RatingsStatsLocalService ratingsStatsLocalService;
1965 @BeanReference(type = RatingsStatsPersistence.class)
1966 protected RatingsStatsPersistence ratingsStatsPersistence;
1967 @BeanReference(type = RatingsStatsFinder.class)
1968 protected RatingsStatsFinder ratingsStatsFinder;
1969 @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
1970 protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
1971 @BeanReference(type = com.liferay.portlet.social.service.SocialActivityService.class)
1972 protected com.liferay.portlet.social.service.SocialActivityService socialActivityService;
1973 @BeanReference(type = SocialActivityPersistence.class)
1974 protected SocialActivityPersistence socialActivityPersistence;
1975 @BeanReference(type = SocialActivityFinder.class)
1976 protected SocialActivityFinder socialActivityFinder;
1977 @BeanReference(type = com.liferay.portlet.wiki.service.WikiPageLocalService.class)
1978 protected com.liferay.portlet.wiki.service.WikiPageLocalService wikiPageLocalService;
1979 @BeanReference(type = com.liferay.portlet.wiki.service.WikiPageService.class)
1980 protected com.liferay.portlet.wiki.service.WikiPageService wikiPageService;
1981 @BeanReference(type = WikiPagePersistence.class)
1982 protected WikiPagePersistence wikiPagePersistence;
1983 @BeanReference(type = WikiPageFinder.class)
1984 protected WikiPageFinder wikiPageFinder;
1985 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1986 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1987 private String _beanIdentifier;
1988 }