001
014
015 package com.liferay.portlet.journal.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.ImageLocalService;
039 import com.liferay.portal.service.ImageService;
040 import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
041 import com.liferay.portal.service.PortletPreferencesLocalService;
042 import com.liferay.portal.service.PortletPreferencesService;
043 import com.liferay.portal.service.ResourceLocalService;
044 import com.liferay.portal.service.ResourceService;
045 import com.liferay.portal.service.SubscriptionLocalService;
046 import com.liferay.portal.service.UserLocalService;
047 import com.liferay.portal.service.UserService;
048 import com.liferay.portal.service.WorkflowDefinitionLinkLocalService;
049 import com.liferay.portal.service.WorkflowInstanceLinkLocalService;
050 import com.liferay.portal.service.persistence.CompanyPersistence;
051 import com.liferay.portal.service.persistence.GroupFinder;
052 import com.liferay.portal.service.persistence.GroupPersistence;
053 import com.liferay.portal.service.persistence.ImagePersistence;
054 import com.liferay.portal.service.persistence.PortletPreferencesFinder;
055 import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
056 import com.liferay.portal.service.persistence.ResourceFinder;
057 import com.liferay.portal.service.persistence.ResourcePersistence;
058 import com.liferay.portal.service.persistence.SubscriptionPersistence;
059 import com.liferay.portal.service.persistence.UserFinder;
060 import com.liferay.portal.service.persistence.UserPersistence;
061 import com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistence;
062 import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
063
064 import com.liferay.portlet.asset.service.AssetCategoryLocalService;
065 import com.liferay.portlet.asset.service.AssetCategoryService;
066 import com.liferay.portlet.asset.service.AssetEntryLocalService;
067 import com.liferay.portlet.asset.service.AssetEntryService;
068 import com.liferay.portlet.asset.service.AssetLinkLocalService;
069 import com.liferay.portlet.asset.service.AssetTagLocalService;
070 import com.liferay.portlet.asset.service.AssetTagService;
071 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
072 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
073 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
074 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
075 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
076 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
077 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
078 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
079 import com.liferay.portlet.expando.service.ExpandoValueService;
080 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
081 import com.liferay.portlet.journal.model.JournalArticle;
082 import com.liferay.portlet.journal.service.JournalArticleImageLocalService;
083 import com.liferay.portlet.journal.service.JournalArticleLocalService;
084 import com.liferay.portlet.journal.service.JournalArticleResourceLocalService;
085 import com.liferay.portlet.journal.service.JournalArticleService;
086 import com.liferay.portlet.journal.service.JournalContentSearchLocalService;
087 import com.liferay.portlet.journal.service.JournalFeedLocalService;
088 import com.liferay.portlet.journal.service.JournalFeedService;
089 import com.liferay.portlet.journal.service.JournalStructureLocalService;
090 import com.liferay.portlet.journal.service.JournalStructureService;
091 import com.liferay.portlet.journal.service.JournalTemplateLocalService;
092 import com.liferay.portlet.journal.service.JournalTemplateService;
093 import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
094 import com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence;
095 import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
096 import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
097 import com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence;
098 import com.liferay.portlet.journal.service.persistence.JournalFeedFinder;
099 import com.liferay.portlet.journal.service.persistence.JournalFeedPersistence;
100 import com.liferay.portlet.journal.service.persistence.JournalStructureFinder;
101 import com.liferay.portlet.journal.service.persistence.JournalStructurePersistence;
102 import com.liferay.portlet.journal.service.persistence.JournalTemplateFinder;
103 import com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence;
104 import com.liferay.portlet.messageboards.service.MBMessageLocalService;
105 import com.liferay.portlet.messageboards.service.MBMessageService;
106 import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
107 import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
108 import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
109 import com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder;
110 import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
111
112 import java.io.Serializable;
113
114 import java.util.List;
115
116 import javax.sql.DataSource;
117
118
130 public abstract class JournalArticleLocalServiceBaseImpl
131 extends BaseLocalServiceImpl implements JournalArticleLocalService,
132 IdentifiableBean {
133
138
139
146 @Indexable(type = IndexableType.REINDEX)
147 public JournalArticle addJournalArticle(JournalArticle journalArticle)
148 throws SystemException {
149 journalArticle.setNew(true);
150
151 return journalArticlePersistence.update(journalArticle, false);
152 }
153
154
160 public JournalArticle createJournalArticle(long id) {
161 return journalArticlePersistence.create(id);
162 }
163
164
172 @Indexable(type = IndexableType.DELETE)
173 public JournalArticle deleteJournalArticle(long id)
174 throws PortalException, SystemException {
175 return journalArticlePersistence.remove(id);
176 }
177
178
185 @Indexable(type = IndexableType.DELETE)
186 public JournalArticle deleteJournalArticle(JournalArticle journalArticle)
187 throws SystemException {
188 return journalArticlePersistence.remove(journalArticle);
189 }
190
191 public DynamicQuery dynamicQuery() {
192 Class<?> clazz = getClass();
193
194 return DynamicQueryFactoryUtil.forClass(JournalArticle.class,
195 clazz.getClassLoader());
196 }
197
198
205 @SuppressWarnings("rawtypes")
206 public List dynamicQuery(DynamicQuery dynamicQuery)
207 throws SystemException {
208 return journalArticlePersistence.findWithDynamicQuery(dynamicQuery);
209 }
210
211
224 @SuppressWarnings("rawtypes")
225 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
226 throws SystemException {
227 return journalArticlePersistence.findWithDynamicQuery(dynamicQuery,
228 start, end);
229 }
230
231
245 @SuppressWarnings("rawtypes")
246 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
247 OrderByComparator orderByComparator) throws SystemException {
248 return journalArticlePersistence.findWithDynamicQuery(dynamicQuery,
249 start, end, orderByComparator);
250 }
251
252
259 public long dynamicQueryCount(DynamicQuery dynamicQuery)
260 throws SystemException {
261 return journalArticlePersistence.countWithDynamicQuery(dynamicQuery);
262 }
263
264 public JournalArticle fetchJournalArticle(long id)
265 throws SystemException {
266 return journalArticlePersistence.fetchByPrimaryKey(id);
267 }
268
269
277 public JournalArticle getJournalArticle(long id)
278 throws PortalException, SystemException {
279 return journalArticlePersistence.findByPrimaryKey(id);
280 }
281
282 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
283 throws PortalException, SystemException {
284 return journalArticlePersistence.findByPrimaryKey(primaryKeyObj);
285 }
286
287
296 public JournalArticle getJournalArticleByUuidAndGroupId(String uuid,
297 long groupId) throws PortalException, SystemException {
298 return journalArticlePersistence.findByUUID_G(uuid, groupId);
299 }
300
301
313 public List<JournalArticle> getJournalArticles(int start, int end)
314 throws SystemException {
315 return journalArticlePersistence.findAll(start, end);
316 }
317
318
324 public int getJournalArticlesCount() throws SystemException {
325 return journalArticlePersistence.countAll();
326 }
327
328
335 @Indexable(type = IndexableType.REINDEX)
336 public JournalArticle updateJournalArticle(JournalArticle journalArticle)
337 throws SystemException {
338 return updateJournalArticle(journalArticle, true);
339 }
340
341
349 @Indexable(type = IndexableType.REINDEX)
350 public JournalArticle updateJournalArticle(JournalArticle journalArticle,
351 boolean merge) throws SystemException {
352 journalArticle.setNew(false);
353
354 return journalArticlePersistence.update(journalArticle, merge);
355 }
356
357
362 public JournalArticleLocalService getJournalArticleLocalService() {
363 return journalArticleLocalService;
364 }
365
366
371 public void setJournalArticleLocalService(
372 JournalArticleLocalService journalArticleLocalService) {
373 this.journalArticleLocalService = journalArticleLocalService;
374 }
375
376
381 public JournalArticleService getJournalArticleService() {
382 return journalArticleService;
383 }
384
385
390 public void setJournalArticleService(
391 JournalArticleService journalArticleService) {
392 this.journalArticleService = journalArticleService;
393 }
394
395
400 public JournalArticlePersistence getJournalArticlePersistence() {
401 return journalArticlePersistence;
402 }
403
404
409 public void setJournalArticlePersistence(
410 JournalArticlePersistence journalArticlePersistence) {
411 this.journalArticlePersistence = journalArticlePersistence;
412 }
413
414
419 public JournalArticleFinder getJournalArticleFinder() {
420 return journalArticleFinder;
421 }
422
423
428 public void setJournalArticleFinder(
429 JournalArticleFinder journalArticleFinder) {
430 this.journalArticleFinder = journalArticleFinder;
431 }
432
433
438 public JournalArticleImageLocalService getJournalArticleImageLocalService() {
439 return journalArticleImageLocalService;
440 }
441
442
447 public void setJournalArticleImageLocalService(
448 JournalArticleImageLocalService journalArticleImageLocalService) {
449 this.journalArticleImageLocalService = journalArticleImageLocalService;
450 }
451
452
457 public JournalArticleImagePersistence getJournalArticleImagePersistence() {
458 return journalArticleImagePersistence;
459 }
460
461
466 public void setJournalArticleImagePersistence(
467 JournalArticleImagePersistence journalArticleImagePersistence) {
468 this.journalArticleImagePersistence = journalArticleImagePersistence;
469 }
470
471
476 public JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
477 return journalArticleResourceLocalService;
478 }
479
480
485 public void setJournalArticleResourceLocalService(
486 JournalArticleResourceLocalService journalArticleResourceLocalService) {
487 this.journalArticleResourceLocalService = journalArticleResourceLocalService;
488 }
489
490
495 public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
496 return journalArticleResourcePersistence;
497 }
498
499
504 public void setJournalArticleResourcePersistence(
505 JournalArticleResourcePersistence journalArticleResourcePersistence) {
506 this.journalArticleResourcePersistence = journalArticleResourcePersistence;
507 }
508
509
514 public JournalContentSearchLocalService getJournalContentSearchLocalService() {
515 return journalContentSearchLocalService;
516 }
517
518
523 public void setJournalContentSearchLocalService(
524 JournalContentSearchLocalService journalContentSearchLocalService) {
525 this.journalContentSearchLocalService = journalContentSearchLocalService;
526 }
527
528
533 public JournalContentSearchPersistence getJournalContentSearchPersistence() {
534 return journalContentSearchPersistence;
535 }
536
537
542 public void setJournalContentSearchPersistence(
543 JournalContentSearchPersistence journalContentSearchPersistence) {
544 this.journalContentSearchPersistence = journalContentSearchPersistence;
545 }
546
547
552 public JournalFeedLocalService getJournalFeedLocalService() {
553 return journalFeedLocalService;
554 }
555
556
561 public void setJournalFeedLocalService(
562 JournalFeedLocalService journalFeedLocalService) {
563 this.journalFeedLocalService = journalFeedLocalService;
564 }
565
566
571 public JournalFeedService getJournalFeedService() {
572 return journalFeedService;
573 }
574
575
580 public void setJournalFeedService(JournalFeedService journalFeedService) {
581 this.journalFeedService = journalFeedService;
582 }
583
584
589 public JournalFeedPersistence getJournalFeedPersistence() {
590 return journalFeedPersistence;
591 }
592
593
598 public void setJournalFeedPersistence(
599 JournalFeedPersistence journalFeedPersistence) {
600 this.journalFeedPersistence = journalFeedPersistence;
601 }
602
603
608 public JournalFeedFinder getJournalFeedFinder() {
609 return journalFeedFinder;
610 }
611
612
617 public void setJournalFeedFinder(JournalFeedFinder journalFeedFinder) {
618 this.journalFeedFinder = journalFeedFinder;
619 }
620
621
626 public JournalStructureLocalService getJournalStructureLocalService() {
627 return journalStructureLocalService;
628 }
629
630
635 public void setJournalStructureLocalService(
636 JournalStructureLocalService journalStructureLocalService) {
637 this.journalStructureLocalService = journalStructureLocalService;
638 }
639
640
645 public JournalStructureService getJournalStructureService() {
646 return journalStructureService;
647 }
648
649
654 public void setJournalStructureService(
655 JournalStructureService journalStructureService) {
656 this.journalStructureService = journalStructureService;
657 }
658
659
664 public JournalStructurePersistence getJournalStructurePersistence() {
665 return journalStructurePersistence;
666 }
667
668
673 public void setJournalStructurePersistence(
674 JournalStructurePersistence journalStructurePersistence) {
675 this.journalStructurePersistence = journalStructurePersistence;
676 }
677
678
683 public JournalStructureFinder getJournalStructureFinder() {
684 return journalStructureFinder;
685 }
686
687
692 public void setJournalStructureFinder(
693 JournalStructureFinder journalStructureFinder) {
694 this.journalStructureFinder = journalStructureFinder;
695 }
696
697
702 public JournalTemplateLocalService getJournalTemplateLocalService() {
703 return journalTemplateLocalService;
704 }
705
706
711 public void setJournalTemplateLocalService(
712 JournalTemplateLocalService journalTemplateLocalService) {
713 this.journalTemplateLocalService = journalTemplateLocalService;
714 }
715
716
721 public JournalTemplateService getJournalTemplateService() {
722 return journalTemplateService;
723 }
724
725
730 public void setJournalTemplateService(
731 JournalTemplateService journalTemplateService) {
732 this.journalTemplateService = journalTemplateService;
733 }
734
735
740 public JournalTemplatePersistence getJournalTemplatePersistence() {
741 return journalTemplatePersistence;
742 }
743
744
749 public void setJournalTemplatePersistence(
750 JournalTemplatePersistence journalTemplatePersistence) {
751 this.journalTemplatePersistence = journalTemplatePersistence;
752 }
753
754
759 public JournalTemplateFinder getJournalTemplateFinder() {
760 return journalTemplateFinder;
761 }
762
763
768 public void setJournalTemplateFinder(
769 JournalTemplateFinder journalTemplateFinder) {
770 this.journalTemplateFinder = journalTemplateFinder;
771 }
772
773
778 public CounterLocalService getCounterLocalService() {
779 return counterLocalService;
780 }
781
782
787 public void setCounterLocalService(CounterLocalService counterLocalService) {
788 this.counterLocalService = counterLocalService;
789 }
790
791
796 public MailService getMailService() {
797 return mailService;
798 }
799
800
805 public void setMailService(MailService mailService) {
806 this.mailService = mailService;
807 }
808
809
814 public CompanyLocalService getCompanyLocalService() {
815 return companyLocalService;
816 }
817
818
823 public void setCompanyLocalService(CompanyLocalService companyLocalService) {
824 this.companyLocalService = companyLocalService;
825 }
826
827
832 public CompanyService getCompanyService() {
833 return companyService;
834 }
835
836
841 public void setCompanyService(CompanyService companyService) {
842 this.companyService = companyService;
843 }
844
845
850 public CompanyPersistence getCompanyPersistence() {
851 return companyPersistence;
852 }
853
854
859 public void setCompanyPersistence(CompanyPersistence companyPersistence) {
860 this.companyPersistence = companyPersistence;
861 }
862
863
868 public GroupLocalService getGroupLocalService() {
869 return groupLocalService;
870 }
871
872
877 public void setGroupLocalService(GroupLocalService groupLocalService) {
878 this.groupLocalService = groupLocalService;
879 }
880
881
886 public GroupService getGroupService() {
887 return groupService;
888 }
889
890
895 public void setGroupService(GroupService groupService) {
896 this.groupService = groupService;
897 }
898
899
904 public GroupPersistence getGroupPersistence() {
905 return groupPersistence;
906 }
907
908
913 public void setGroupPersistence(GroupPersistence groupPersistence) {
914 this.groupPersistence = groupPersistence;
915 }
916
917
922 public GroupFinder getGroupFinder() {
923 return groupFinder;
924 }
925
926
931 public void setGroupFinder(GroupFinder groupFinder) {
932 this.groupFinder = groupFinder;
933 }
934
935
940 public ImageLocalService getImageLocalService() {
941 return imageLocalService;
942 }
943
944
949 public void setImageLocalService(ImageLocalService imageLocalService) {
950 this.imageLocalService = imageLocalService;
951 }
952
953
958 public ImageService getImageService() {
959 return imageService;
960 }
961
962
967 public void setImageService(ImageService imageService) {
968 this.imageService = imageService;
969 }
970
971
976 public ImagePersistence getImagePersistence() {
977 return imagePersistence;
978 }
979
980
985 public void setImagePersistence(ImagePersistence imagePersistence) {
986 this.imagePersistence = imagePersistence;
987 }
988
989
994 public PortletPreferencesLocalService getPortletPreferencesLocalService() {
995 return portletPreferencesLocalService;
996 }
997
998
1003 public void setPortletPreferencesLocalService(
1004 PortletPreferencesLocalService portletPreferencesLocalService) {
1005 this.portletPreferencesLocalService = portletPreferencesLocalService;
1006 }
1007
1008
1013 public PortletPreferencesService getPortletPreferencesService() {
1014 return portletPreferencesService;
1015 }
1016
1017
1022 public void setPortletPreferencesService(
1023 PortletPreferencesService portletPreferencesService) {
1024 this.portletPreferencesService = portletPreferencesService;
1025 }
1026
1027
1032 public PortletPreferencesPersistence getPortletPreferencesPersistence() {
1033 return portletPreferencesPersistence;
1034 }
1035
1036
1041 public void setPortletPreferencesPersistence(
1042 PortletPreferencesPersistence portletPreferencesPersistence) {
1043 this.portletPreferencesPersistence = portletPreferencesPersistence;
1044 }
1045
1046
1051 public PortletPreferencesFinder getPortletPreferencesFinder() {
1052 return portletPreferencesFinder;
1053 }
1054
1055
1060 public void setPortletPreferencesFinder(
1061 PortletPreferencesFinder portletPreferencesFinder) {
1062 this.portletPreferencesFinder = portletPreferencesFinder;
1063 }
1064
1065
1070 public ResourceLocalService getResourceLocalService() {
1071 return resourceLocalService;
1072 }
1073
1074
1079 public void setResourceLocalService(
1080 ResourceLocalService resourceLocalService) {
1081 this.resourceLocalService = resourceLocalService;
1082 }
1083
1084
1089 public ResourceService getResourceService() {
1090 return resourceService;
1091 }
1092
1093
1098 public void setResourceService(ResourceService resourceService) {
1099 this.resourceService = resourceService;
1100 }
1101
1102
1107 public ResourcePersistence getResourcePersistence() {
1108 return resourcePersistence;
1109 }
1110
1111
1116 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
1117 this.resourcePersistence = resourcePersistence;
1118 }
1119
1120
1125 public ResourceFinder getResourceFinder() {
1126 return resourceFinder;
1127 }
1128
1129
1134 public void setResourceFinder(ResourceFinder resourceFinder) {
1135 this.resourceFinder = resourceFinder;
1136 }
1137
1138
1143 public SubscriptionLocalService getSubscriptionLocalService() {
1144 return subscriptionLocalService;
1145 }
1146
1147
1152 public void setSubscriptionLocalService(
1153 SubscriptionLocalService subscriptionLocalService) {
1154 this.subscriptionLocalService = subscriptionLocalService;
1155 }
1156
1157
1162 public SubscriptionPersistence getSubscriptionPersistence() {
1163 return subscriptionPersistence;
1164 }
1165
1166
1171 public void setSubscriptionPersistence(
1172 SubscriptionPersistence subscriptionPersistence) {
1173 this.subscriptionPersistence = subscriptionPersistence;
1174 }
1175
1176
1181 public UserLocalService getUserLocalService() {
1182 return userLocalService;
1183 }
1184
1185
1190 public void setUserLocalService(UserLocalService userLocalService) {
1191 this.userLocalService = userLocalService;
1192 }
1193
1194
1199 public UserService getUserService() {
1200 return userService;
1201 }
1202
1203
1208 public void setUserService(UserService userService) {
1209 this.userService = userService;
1210 }
1211
1212
1217 public UserPersistence getUserPersistence() {
1218 return userPersistence;
1219 }
1220
1221
1226 public void setUserPersistence(UserPersistence userPersistence) {
1227 this.userPersistence = userPersistence;
1228 }
1229
1230
1235 public UserFinder getUserFinder() {
1236 return userFinder;
1237 }
1238
1239
1244 public void setUserFinder(UserFinder userFinder) {
1245 this.userFinder = userFinder;
1246 }
1247
1248
1253 public WorkflowDefinitionLinkLocalService getWorkflowDefinitionLinkLocalService() {
1254 return workflowDefinitionLinkLocalService;
1255 }
1256
1257
1262 public void setWorkflowDefinitionLinkLocalService(
1263 WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) {
1264 this.workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService;
1265 }
1266
1267
1272 public WorkflowDefinitionLinkPersistence getWorkflowDefinitionLinkPersistence() {
1273 return workflowDefinitionLinkPersistence;
1274 }
1275
1276
1281 public void setWorkflowDefinitionLinkPersistence(
1282 WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence) {
1283 this.workflowDefinitionLinkPersistence = workflowDefinitionLinkPersistence;
1284 }
1285
1286
1291 public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1292 return workflowInstanceLinkLocalService;
1293 }
1294
1295
1300 public void setWorkflowInstanceLinkLocalService(
1301 WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1302 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1303 }
1304
1305
1310 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1311 return workflowInstanceLinkPersistence;
1312 }
1313
1314
1319 public void setWorkflowInstanceLinkPersistence(
1320 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1321 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1322 }
1323
1324
1329 public AssetCategoryLocalService getAssetCategoryLocalService() {
1330 return assetCategoryLocalService;
1331 }
1332
1333
1338 public void setAssetCategoryLocalService(
1339 AssetCategoryLocalService assetCategoryLocalService) {
1340 this.assetCategoryLocalService = assetCategoryLocalService;
1341 }
1342
1343
1348 public AssetCategoryService getAssetCategoryService() {
1349 return assetCategoryService;
1350 }
1351
1352
1357 public void setAssetCategoryService(
1358 AssetCategoryService assetCategoryService) {
1359 this.assetCategoryService = assetCategoryService;
1360 }
1361
1362
1367 public AssetCategoryPersistence getAssetCategoryPersistence() {
1368 return assetCategoryPersistence;
1369 }
1370
1371
1376 public void setAssetCategoryPersistence(
1377 AssetCategoryPersistence assetCategoryPersistence) {
1378 this.assetCategoryPersistence = assetCategoryPersistence;
1379 }
1380
1381
1386 public AssetCategoryFinder getAssetCategoryFinder() {
1387 return assetCategoryFinder;
1388 }
1389
1390
1395 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
1396 this.assetCategoryFinder = assetCategoryFinder;
1397 }
1398
1399
1404 public AssetEntryLocalService getAssetEntryLocalService() {
1405 return assetEntryLocalService;
1406 }
1407
1408
1413 public void setAssetEntryLocalService(
1414 AssetEntryLocalService assetEntryLocalService) {
1415 this.assetEntryLocalService = assetEntryLocalService;
1416 }
1417
1418
1423 public AssetEntryService getAssetEntryService() {
1424 return assetEntryService;
1425 }
1426
1427
1432 public void setAssetEntryService(AssetEntryService assetEntryService) {
1433 this.assetEntryService = assetEntryService;
1434 }
1435
1436
1441 public AssetEntryPersistence getAssetEntryPersistence() {
1442 return assetEntryPersistence;
1443 }
1444
1445
1450 public void setAssetEntryPersistence(
1451 AssetEntryPersistence assetEntryPersistence) {
1452 this.assetEntryPersistence = assetEntryPersistence;
1453 }
1454
1455
1460 public AssetEntryFinder getAssetEntryFinder() {
1461 return assetEntryFinder;
1462 }
1463
1464
1469 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1470 this.assetEntryFinder = assetEntryFinder;
1471 }
1472
1473
1478 public AssetLinkLocalService getAssetLinkLocalService() {
1479 return assetLinkLocalService;
1480 }
1481
1482
1487 public void setAssetLinkLocalService(
1488 AssetLinkLocalService assetLinkLocalService) {
1489 this.assetLinkLocalService = assetLinkLocalService;
1490 }
1491
1492
1497 public AssetLinkPersistence getAssetLinkPersistence() {
1498 return assetLinkPersistence;
1499 }
1500
1501
1506 public void setAssetLinkPersistence(
1507 AssetLinkPersistence assetLinkPersistence) {
1508 this.assetLinkPersistence = assetLinkPersistence;
1509 }
1510
1511
1516 public AssetTagLocalService getAssetTagLocalService() {
1517 return assetTagLocalService;
1518 }
1519
1520
1525 public void setAssetTagLocalService(
1526 AssetTagLocalService assetTagLocalService) {
1527 this.assetTagLocalService = assetTagLocalService;
1528 }
1529
1530
1535 public AssetTagService getAssetTagService() {
1536 return assetTagService;
1537 }
1538
1539
1544 public void setAssetTagService(AssetTagService assetTagService) {
1545 this.assetTagService = assetTagService;
1546 }
1547
1548
1553 public AssetTagPersistence getAssetTagPersistence() {
1554 return assetTagPersistence;
1555 }
1556
1557
1562 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1563 this.assetTagPersistence = assetTagPersistence;
1564 }
1565
1566
1571 public AssetTagFinder getAssetTagFinder() {
1572 return assetTagFinder;
1573 }
1574
1575
1580 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1581 this.assetTagFinder = assetTagFinder;
1582 }
1583
1584
1589 public ExpandoValueLocalService getExpandoValueLocalService() {
1590 return expandoValueLocalService;
1591 }
1592
1593
1598 public void setExpandoValueLocalService(
1599 ExpandoValueLocalService expandoValueLocalService) {
1600 this.expandoValueLocalService = expandoValueLocalService;
1601 }
1602
1603
1608 public ExpandoValueService getExpandoValueService() {
1609 return expandoValueService;
1610 }
1611
1612
1617 public void setExpandoValueService(ExpandoValueService expandoValueService) {
1618 this.expandoValueService = expandoValueService;
1619 }
1620
1621
1626 public ExpandoValuePersistence getExpandoValuePersistence() {
1627 return expandoValuePersistence;
1628 }
1629
1630
1635 public void setExpandoValuePersistence(
1636 ExpandoValuePersistence expandoValuePersistence) {
1637 this.expandoValuePersistence = expandoValuePersistence;
1638 }
1639
1640
1645 public MBMessageLocalService getMBMessageLocalService() {
1646 return mbMessageLocalService;
1647 }
1648
1649
1654 public void setMBMessageLocalService(
1655 MBMessageLocalService mbMessageLocalService) {
1656 this.mbMessageLocalService = mbMessageLocalService;
1657 }
1658
1659
1664 public MBMessageService getMBMessageService() {
1665 return mbMessageService;
1666 }
1667
1668
1673 public void setMBMessageService(MBMessageService mbMessageService) {
1674 this.mbMessageService = mbMessageService;
1675 }
1676
1677
1682 public MBMessagePersistence getMBMessagePersistence() {
1683 return mbMessagePersistence;
1684 }
1685
1686
1691 public void setMBMessagePersistence(
1692 MBMessagePersistence mbMessagePersistence) {
1693 this.mbMessagePersistence = mbMessagePersistence;
1694 }
1695
1696
1701 public MBMessageFinder getMBMessageFinder() {
1702 return mbMessageFinder;
1703 }
1704
1705
1710 public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
1711 this.mbMessageFinder = mbMessageFinder;
1712 }
1713
1714
1719 public RatingsStatsLocalService getRatingsStatsLocalService() {
1720 return ratingsStatsLocalService;
1721 }
1722
1723
1728 public void setRatingsStatsLocalService(
1729 RatingsStatsLocalService ratingsStatsLocalService) {
1730 this.ratingsStatsLocalService = ratingsStatsLocalService;
1731 }
1732
1733
1738 public RatingsStatsPersistence getRatingsStatsPersistence() {
1739 return ratingsStatsPersistence;
1740 }
1741
1742
1747 public void setRatingsStatsPersistence(
1748 RatingsStatsPersistence ratingsStatsPersistence) {
1749 this.ratingsStatsPersistence = ratingsStatsPersistence;
1750 }
1751
1752
1757 public RatingsStatsFinder getRatingsStatsFinder() {
1758 return ratingsStatsFinder;
1759 }
1760
1761
1766 public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
1767 this.ratingsStatsFinder = ratingsStatsFinder;
1768 }
1769
1770 public void afterPropertiesSet() {
1771 persistedModelLocalServiceRegistry.register("com.liferay.portlet.journal.model.JournalArticle",
1772 journalArticleLocalService);
1773 }
1774
1775 public void destroy() {
1776 persistedModelLocalServiceRegistry.unregister(
1777 "com.liferay.portlet.journal.model.JournalArticle");
1778 }
1779
1780
1785 public String getBeanIdentifier() {
1786 return _beanIdentifier;
1787 }
1788
1789
1794 public void setBeanIdentifier(String beanIdentifier) {
1795 _beanIdentifier = beanIdentifier;
1796 }
1797
1798 protected Class<?> getModelClass() {
1799 return JournalArticle.class;
1800 }
1801
1802 protected String getModelClassName() {
1803 return JournalArticle.class.getName();
1804 }
1805
1806
1811 protected void runSQL(String sql) throws SystemException {
1812 try {
1813 DataSource dataSource = journalArticlePersistence.getDataSource();
1814
1815 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1816 sql, new int[0]);
1817
1818 sqlUpdate.update();
1819 }
1820 catch (Exception e) {
1821 throw new SystemException(e);
1822 }
1823 }
1824
1825 @BeanReference(type = JournalArticleLocalService.class)
1826 protected JournalArticleLocalService journalArticleLocalService;
1827 @BeanReference(type = JournalArticleService.class)
1828 protected JournalArticleService journalArticleService;
1829 @BeanReference(type = JournalArticlePersistence.class)
1830 protected JournalArticlePersistence journalArticlePersistence;
1831 @BeanReference(type = JournalArticleFinder.class)
1832 protected JournalArticleFinder journalArticleFinder;
1833 @BeanReference(type = JournalArticleImageLocalService.class)
1834 protected JournalArticleImageLocalService journalArticleImageLocalService;
1835 @BeanReference(type = JournalArticleImagePersistence.class)
1836 protected JournalArticleImagePersistence journalArticleImagePersistence;
1837 @BeanReference(type = JournalArticleResourceLocalService.class)
1838 protected JournalArticleResourceLocalService journalArticleResourceLocalService;
1839 @BeanReference(type = JournalArticleResourcePersistence.class)
1840 protected JournalArticleResourcePersistence journalArticleResourcePersistence;
1841 @BeanReference(type = JournalContentSearchLocalService.class)
1842 protected JournalContentSearchLocalService journalContentSearchLocalService;
1843 @BeanReference(type = JournalContentSearchPersistence.class)
1844 protected JournalContentSearchPersistence journalContentSearchPersistence;
1845 @BeanReference(type = JournalFeedLocalService.class)
1846 protected JournalFeedLocalService journalFeedLocalService;
1847 @BeanReference(type = JournalFeedService.class)
1848 protected JournalFeedService journalFeedService;
1849 @BeanReference(type = JournalFeedPersistence.class)
1850 protected JournalFeedPersistence journalFeedPersistence;
1851 @BeanReference(type = JournalFeedFinder.class)
1852 protected JournalFeedFinder journalFeedFinder;
1853 @BeanReference(type = JournalStructureLocalService.class)
1854 protected JournalStructureLocalService journalStructureLocalService;
1855 @BeanReference(type = JournalStructureService.class)
1856 protected JournalStructureService journalStructureService;
1857 @BeanReference(type = JournalStructurePersistence.class)
1858 protected JournalStructurePersistence journalStructurePersistence;
1859 @BeanReference(type = JournalStructureFinder.class)
1860 protected JournalStructureFinder journalStructureFinder;
1861 @BeanReference(type = JournalTemplateLocalService.class)
1862 protected JournalTemplateLocalService journalTemplateLocalService;
1863 @BeanReference(type = JournalTemplateService.class)
1864 protected JournalTemplateService journalTemplateService;
1865 @BeanReference(type = JournalTemplatePersistence.class)
1866 protected JournalTemplatePersistence journalTemplatePersistence;
1867 @BeanReference(type = JournalTemplateFinder.class)
1868 protected JournalTemplateFinder journalTemplateFinder;
1869 @BeanReference(type = CounterLocalService.class)
1870 protected CounterLocalService counterLocalService;
1871 @BeanReference(type = MailService.class)
1872 protected MailService mailService;
1873 @BeanReference(type = CompanyLocalService.class)
1874 protected CompanyLocalService companyLocalService;
1875 @BeanReference(type = CompanyService.class)
1876 protected CompanyService companyService;
1877 @BeanReference(type = CompanyPersistence.class)
1878 protected CompanyPersistence companyPersistence;
1879 @BeanReference(type = GroupLocalService.class)
1880 protected GroupLocalService groupLocalService;
1881 @BeanReference(type = GroupService.class)
1882 protected GroupService groupService;
1883 @BeanReference(type = GroupPersistence.class)
1884 protected GroupPersistence groupPersistence;
1885 @BeanReference(type = GroupFinder.class)
1886 protected GroupFinder groupFinder;
1887 @BeanReference(type = ImageLocalService.class)
1888 protected ImageLocalService imageLocalService;
1889 @BeanReference(type = ImageService.class)
1890 protected ImageService imageService;
1891 @BeanReference(type = ImagePersistence.class)
1892 protected ImagePersistence imagePersistence;
1893 @BeanReference(type = PortletPreferencesLocalService.class)
1894 protected PortletPreferencesLocalService portletPreferencesLocalService;
1895 @BeanReference(type = PortletPreferencesService.class)
1896 protected PortletPreferencesService portletPreferencesService;
1897 @BeanReference(type = PortletPreferencesPersistence.class)
1898 protected PortletPreferencesPersistence portletPreferencesPersistence;
1899 @BeanReference(type = PortletPreferencesFinder.class)
1900 protected PortletPreferencesFinder portletPreferencesFinder;
1901 @BeanReference(type = ResourceLocalService.class)
1902 protected ResourceLocalService resourceLocalService;
1903 @BeanReference(type = ResourceService.class)
1904 protected ResourceService resourceService;
1905 @BeanReference(type = ResourcePersistence.class)
1906 protected ResourcePersistence resourcePersistence;
1907 @BeanReference(type = ResourceFinder.class)
1908 protected ResourceFinder resourceFinder;
1909 @BeanReference(type = SubscriptionLocalService.class)
1910 protected SubscriptionLocalService subscriptionLocalService;
1911 @BeanReference(type = SubscriptionPersistence.class)
1912 protected SubscriptionPersistence subscriptionPersistence;
1913 @BeanReference(type = UserLocalService.class)
1914 protected UserLocalService userLocalService;
1915 @BeanReference(type = UserService.class)
1916 protected UserService userService;
1917 @BeanReference(type = UserPersistence.class)
1918 protected UserPersistence userPersistence;
1919 @BeanReference(type = UserFinder.class)
1920 protected UserFinder userFinder;
1921 @BeanReference(type = WorkflowDefinitionLinkLocalService.class)
1922 protected WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService;
1923 @BeanReference(type = WorkflowDefinitionLinkPersistence.class)
1924 protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence;
1925 @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1926 protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1927 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1928 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1929 @BeanReference(type = AssetCategoryLocalService.class)
1930 protected AssetCategoryLocalService assetCategoryLocalService;
1931 @BeanReference(type = AssetCategoryService.class)
1932 protected AssetCategoryService assetCategoryService;
1933 @BeanReference(type = AssetCategoryPersistence.class)
1934 protected AssetCategoryPersistence assetCategoryPersistence;
1935 @BeanReference(type = AssetCategoryFinder.class)
1936 protected AssetCategoryFinder assetCategoryFinder;
1937 @BeanReference(type = AssetEntryLocalService.class)
1938 protected AssetEntryLocalService assetEntryLocalService;
1939 @BeanReference(type = AssetEntryService.class)
1940 protected AssetEntryService assetEntryService;
1941 @BeanReference(type = AssetEntryPersistence.class)
1942 protected AssetEntryPersistence assetEntryPersistence;
1943 @BeanReference(type = AssetEntryFinder.class)
1944 protected AssetEntryFinder assetEntryFinder;
1945 @BeanReference(type = AssetLinkLocalService.class)
1946 protected AssetLinkLocalService assetLinkLocalService;
1947 @BeanReference(type = AssetLinkPersistence.class)
1948 protected AssetLinkPersistence assetLinkPersistence;
1949 @BeanReference(type = AssetTagLocalService.class)
1950 protected AssetTagLocalService assetTagLocalService;
1951 @BeanReference(type = AssetTagService.class)
1952 protected AssetTagService assetTagService;
1953 @BeanReference(type = AssetTagPersistence.class)
1954 protected AssetTagPersistence assetTagPersistence;
1955 @BeanReference(type = AssetTagFinder.class)
1956 protected AssetTagFinder assetTagFinder;
1957 @BeanReference(type = ExpandoValueLocalService.class)
1958 protected ExpandoValueLocalService expandoValueLocalService;
1959 @BeanReference(type = ExpandoValueService.class)
1960 protected ExpandoValueService expandoValueService;
1961 @BeanReference(type = ExpandoValuePersistence.class)
1962 protected ExpandoValuePersistence expandoValuePersistence;
1963 @BeanReference(type = MBMessageLocalService.class)
1964 protected MBMessageLocalService mbMessageLocalService;
1965 @BeanReference(type = MBMessageService.class)
1966 protected MBMessageService mbMessageService;
1967 @BeanReference(type = MBMessagePersistence.class)
1968 protected MBMessagePersistence mbMessagePersistence;
1969 @BeanReference(type = MBMessageFinder.class)
1970 protected MBMessageFinder mbMessageFinder;
1971 @BeanReference(type = RatingsStatsLocalService.class)
1972 protected RatingsStatsLocalService ratingsStatsLocalService;
1973 @BeanReference(type = RatingsStatsPersistence.class)
1974 protected RatingsStatsPersistence ratingsStatsPersistence;
1975 @BeanReference(type = RatingsStatsFinder.class)
1976 protected RatingsStatsFinder ratingsStatsFinder;
1977 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1978 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1979 private String _beanIdentifier;
1980 }