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.WorkflowInstanceLinkLocalService;
049 import com.liferay.portal.service.persistence.CompanyPersistence;
050 import com.liferay.portal.service.persistence.GroupFinder;
051 import com.liferay.portal.service.persistence.GroupPersistence;
052 import com.liferay.portal.service.persistence.ImagePersistence;
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.AssetCategoryLocalService;
063 import com.liferay.portlet.asset.service.AssetCategoryService;
064 import com.liferay.portlet.asset.service.AssetEntryLocalService;
065 import com.liferay.portlet.asset.service.AssetEntryService;
066 import com.liferay.portlet.asset.service.AssetLinkLocalService;
067 import com.liferay.portlet.asset.service.AssetTagLocalService;
068 import com.liferay.portlet.asset.service.AssetTagService;
069 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
070 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
071 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
072 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
073 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
074 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
075 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
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.journal.model.JournalArticle;
080 import com.liferay.portlet.journal.service.JournalArticleImageLocalService;
081 import com.liferay.portlet.journal.service.JournalArticleLocalService;
082 import com.liferay.portlet.journal.service.JournalArticleResourceLocalService;
083 import com.liferay.portlet.journal.service.JournalArticleService;
084 import com.liferay.portlet.journal.service.JournalContentSearchLocalService;
085 import com.liferay.portlet.journal.service.JournalFeedLocalService;
086 import com.liferay.portlet.journal.service.JournalFeedService;
087 import com.liferay.portlet.journal.service.JournalStructureLocalService;
088 import com.liferay.portlet.journal.service.JournalStructureService;
089 import com.liferay.portlet.journal.service.JournalTemplateLocalService;
090 import com.liferay.portlet.journal.service.JournalTemplateService;
091 import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
092 import com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence;
093 import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
094 import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
095 import com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence;
096 import com.liferay.portlet.journal.service.persistence.JournalFeedFinder;
097 import com.liferay.portlet.journal.service.persistence.JournalFeedPersistence;
098 import com.liferay.portlet.journal.service.persistence.JournalStructureFinder;
099 import com.liferay.portlet.journal.service.persistence.JournalStructurePersistence;
100 import com.liferay.portlet.journal.service.persistence.JournalTemplateFinder;
101 import com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence;
102 import com.liferay.portlet.messageboards.service.MBMessageLocalService;
103 import com.liferay.portlet.messageboards.service.MBMessageService;
104 import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
105 import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
106 import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
107 import com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder;
108 import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
109
110 import java.io.Serializable;
111
112 import java.util.List;
113
114 import javax.sql.DataSource;
115
116
128 public abstract class JournalArticleLocalServiceBaseImpl
129 extends BaseLocalServiceImpl implements JournalArticleLocalService,
130 IdentifiableBean {
131
136
137
144 @Indexable(type = IndexableType.REINDEX)
145 public JournalArticle addJournalArticle(JournalArticle journalArticle)
146 throws SystemException {
147 journalArticle.setNew(true);
148
149 return journalArticlePersistence.update(journalArticle, false);
150 }
151
152
158 public JournalArticle createJournalArticle(long id) {
159 return journalArticlePersistence.create(id);
160 }
161
162
170 @Indexable(type = IndexableType.DELETE)
171 public JournalArticle deleteJournalArticle(long id)
172 throws PortalException, SystemException {
173 return journalArticlePersistence.remove(id);
174 }
175
176
183 @Indexable(type = IndexableType.DELETE)
184 public JournalArticle deleteJournalArticle(JournalArticle journalArticle)
185 throws SystemException {
186 return journalArticlePersistence.remove(journalArticle);
187 }
188
189 public DynamicQuery dynamicQuery() {
190 Class<?> clazz = getClass();
191
192 return DynamicQueryFactoryUtil.forClass(JournalArticle.class,
193 clazz.getClassLoader());
194 }
195
196
203 @SuppressWarnings("rawtypes")
204 public List dynamicQuery(DynamicQuery dynamicQuery)
205 throws SystemException {
206 return journalArticlePersistence.findWithDynamicQuery(dynamicQuery);
207 }
208
209
222 @SuppressWarnings("rawtypes")
223 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
224 throws SystemException {
225 return journalArticlePersistence.findWithDynamicQuery(dynamicQuery,
226 start, end);
227 }
228
229
243 @SuppressWarnings("rawtypes")
244 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
245 OrderByComparator orderByComparator) throws SystemException {
246 return journalArticlePersistence.findWithDynamicQuery(dynamicQuery,
247 start, end, orderByComparator);
248 }
249
250
257 public long dynamicQueryCount(DynamicQuery dynamicQuery)
258 throws SystemException {
259 return journalArticlePersistence.countWithDynamicQuery(dynamicQuery);
260 }
261
262 public JournalArticle fetchJournalArticle(long id)
263 throws SystemException {
264 return journalArticlePersistence.fetchByPrimaryKey(id);
265 }
266
267
275 public JournalArticle getJournalArticle(long id)
276 throws PortalException, SystemException {
277 return journalArticlePersistence.findByPrimaryKey(id);
278 }
279
280 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
281 throws PortalException, SystemException {
282 return journalArticlePersistence.findByPrimaryKey(primaryKeyObj);
283 }
284
285
294 public JournalArticle getJournalArticleByUuidAndGroupId(String uuid,
295 long groupId) throws PortalException, SystemException {
296 return journalArticlePersistence.findByUUID_G(uuid, groupId);
297 }
298
299
311 public List<JournalArticle> getJournalArticles(int start, int end)
312 throws SystemException {
313 return journalArticlePersistence.findAll(start, end);
314 }
315
316
322 public int getJournalArticlesCount() throws SystemException {
323 return journalArticlePersistence.countAll();
324 }
325
326
333 @Indexable(type = IndexableType.REINDEX)
334 public JournalArticle updateJournalArticle(JournalArticle journalArticle)
335 throws SystemException {
336 return updateJournalArticle(journalArticle, true);
337 }
338
339
347 @Indexable(type = IndexableType.REINDEX)
348 public JournalArticle updateJournalArticle(JournalArticle journalArticle,
349 boolean merge) throws SystemException {
350 journalArticle.setNew(false);
351
352 return journalArticlePersistence.update(journalArticle, merge);
353 }
354
355
360 public JournalArticleLocalService getJournalArticleLocalService() {
361 return journalArticleLocalService;
362 }
363
364
369 public void setJournalArticleLocalService(
370 JournalArticleLocalService journalArticleLocalService) {
371 this.journalArticleLocalService = journalArticleLocalService;
372 }
373
374
379 public JournalArticleService getJournalArticleService() {
380 return journalArticleService;
381 }
382
383
388 public void setJournalArticleService(
389 JournalArticleService journalArticleService) {
390 this.journalArticleService = journalArticleService;
391 }
392
393
398 public JournalArticlePersistence getJournalArticlePersistence() {
399 return journalArticlePersistence;
400 }
401
402
407 public void setJournalArticlePersistence(
408 JournalArticlePersistence journalArticlePersistence) {
409 this.journalArticlePersistence = journalArticlePersistence;
410 }
411
412
417 public JournalArticleFinder getJournalArticleFinder() {
418 return journalArticleFinder;
419 }
420
421
426 public void setJournalArticleFinder(
427 JournalArticleFinder journalArticleFinder) {
428 this.journalArticleFinder = journalArticleFinder;
429 }
430
431
436 public JournalArticleImageLocalService getJournalArticleImageLocalService() {
437 return journalArticleImageLocalService;
438 }
439
440
445 public void setJournalArticleImageLocalService(
446 JournalArticleImageLocalService journalArticleImageLocalService) {
447 this.journalArticleImageLocalService = journalArticleImageLocalService;
448 }
449
450
455 public JournalArticleImagePersistence getJournalArticleImagePersistence() {
456 return journalArticleImagePersistence;
457 }
458
459
464 public void setJournalArticleImagePersistence(
465 JournalArticleImagePersistence journalArticleImagePersistence) {
466 this.journalArticleImagePersistence = journalArticleImagePersistence;
467 }
468
469
474 public JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
475 return journalArticleResourceLocalService;
476 }
477
478
483 public void setJournalArticleResourceLocalService(
484 JournalArticleResourceLocalService journalArticleResourceLocalService) {
485 this.journalArticleResourceLocalService = journalArticleResourceLocalService;
486 }
487
488
493 public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
494 return journalArticleResourcePersistence;
495 }
496
497
502 public void setJournalArticleResourcePersistence(
503 JournalArticleResourcePersistence journalArticleResourcePersistence) {
504 this.journalArticleResourcePersistence = journalArticleResourcePersistence;
505 }
506
507
512 public JournalContentSearchLocalService getJournalContentSearchLocalService() {
513 return journalContentSearchLocalService;
514 }
515
516
521 public void setJournalContentSearchLocalService(
522 JournalContentSearchLocalService journalContentSearchLocalService) {
523 this.journalContentSearchLocalService = journalContentSearchLocalService;
524 }
525
526
531 public JournalContentSearchPersistence getJournalContentSearchPersistence() {
532 return journalContentSearchPersistence;
533 }
534
535
540 public void setJournalContentSearchPersistence(
541 JournalContentSearchPersistence journalContentSearchPersistence) {
542 this.journalContentSearchPersistence = journalContentSearchPersistence;
543 }
544
545
550 public JournalFeedLocalService getJournalFeedLocalService() {
551 return journalFeedLocalService;
552 }
553
554
559 public void setJournalFeedLocalService(
560 JournalFeedLocalService journalFeedLocalService) {
561 this.journalFeedLocalService = journalFeedLocalService;
562 }
563
564
569 public JournalFeedService getJournalFeedService() {
570 return journalFeedService;
571 }
572
573
578 public void setJournalFeedService(JournalFeedService journalFeedService) {
579 this.journalFeedService = journalFeedService;
580 }
581
582
587 public JournalFeedPersistence getJournalFeedPersistence() {
588 return journalFeedPersistence;
589 }
590
591
596 public void setJournalFeedPersistence(
597 JournalFeedPersistence journalFeedPersistence) {
598 this.journalFeedPersistence = journalFeedPersistence;
599 }
600
601
606 public JournalFeedFinder getJournalFeedFinder() {
607 return journalFeedFinder;
608 }
609
610
615 public void setJournalFeedFinder(JournalFeedFinder journalFeedFinder) {
616 this.journalFeedFinder = journalFeedFinder;
617 }
618
619
624 public JournalStructureLocalService getJournalStructureLocalService() {
625 return journalStructureLocalService;
626 }
627
628
633 public void setJournalStructureLocalService(
634 JournalStructureLocalService journalStructureLocalService) {
635 this.journalStructureLocalService = journalStructureLocalService;
636 }
637
638
643 public JournalStructureService getJournalStructureService() {
644 return journalStructureService;
645 }
646
647
652 public void setJournalStructureService(
653 JournalStructureService journalStructureService) {
654 this.journalStructureService = journalStructureService;
655 }
656
657
662 public JournalStructurePersistence getJournalStructurePersistence() {
663 return journalStructurePersistence;
664 }
665
666
671 public void setJournalStructurePersistence(
672 JournalStructurePersistence journalStructurePersistence) {
673 this.journalStructurePersistence = journalStructurePersistence;
674 }
675
676
681 public JournalStructureFinder getJournalStructureFinder() {
682 return journalStructureFinder;
683 }
684
685
690 public void setJournalStructureFinder(
691 JournalStructureFinder journalStructureFinder) {
692 this.journalStructureFinder = journalStructureFinder;
693 }
694
695
700 public JournalTemplateLocalService getJournalTemplateLocalService() {
701 return journalTemplateLocalService;
702 }
703
704
709 public void setJournalTemplateLocalService(
710 JournalTemplateLocalService journalTemplateLocalService) {
711 this.journalTemplateLocalService = journalTemplateLocalService;
712 }
713
714
719 public JournalTemplateService getJournalTemplateService() {
720 return journalTemplateService;
721 }
722
723
728 public void setJournalTemplateService(
729 JournalTemplateService journalTemplateService) {
730 this.journalTemplateService = journalTemplateService;
731 }
732
733
738 public JournalTemplatePersistence getJournalTemplatePersistence() {
739 return journalTemplatePersistence;
740 }
741
742
747 public void setJournalTemplatePersistence(
748 JournalTemplatePersistence journalTemplatePersistence) {
749 this.journalTemplatePersistence = journalTemplatePersistence;
750 }
751
752
757 public JournalTemplateFinder getJournalTemplateFinder() {
758 return journalTemplateFinder;
759 }
760
761
766 public void setJournalTemplateFinder(
767 JournalTemplateFinder journalTemplateFinder) {
768 this.journalTemplateFinder = journalTemplateFinder;
769 }
770
771
776 public CounterLocalService getCounterLocalService() {
777 return counterLocalService;
778 }
779
780
785 public void setCounterLocalService(CounterLocalService counterLocalService) {
786 this.counterLocalService = counterLocalService;
787 }
788
789
794 public MailService getMailService() {
795 return mailService;
796 }
797
798
803 public void setMailService(MailService mailService) {
804 this.mailService = mailService;
805 }
806
807
812 public CompanyLocalService getCompanyLocalService() {
813 return companyLocalService;
814 }
815
816
821 public void setCompanyLocalService(CompanyLocalService companyLocalService) {
822 this.companyLocalService = companyLocalService;
823 }
824
825
830 public CompanyService getCompanyService() {
831 return companyService;
832 }
833
834
839 public void setCompanyService(CompanyService companyService) {
840 this.companyService = companyService;
841 }
842
843
848 public CompanyPersistence getCompanyPersistence() {
849 return companyPersistence;
850 }
851
852
857 public void setCompanyPersistence(CompanyPersistence companyPersistence) {
858 this.companyPersistence = companyPersistence;
859 }
860
861
866 public GroupLocalService getGroupLocalService() {
867 return groupLocalService;
868 }
869
870
875 public void setGroupLocalService(GroupLocalService groupLocalService) {
876 this.groupLocalService = groupLocalService;
877 }
878
879
884 public GroupService getGroupService() {
885 return groupService;
886 }
887
888
893 public void setGroupService(GroupService groupService) {
894 this.groupService = groupService;
895 }
896
897
902 public GroupPersistence getGroupPersistence() {
903 return groupPersistence;
904 }
905
906
911 public void setGroupPersistence(GroupPersistence groupPersistence) {
912 this.groupPersistence = groupPersistence;
913 }
914
915
920 public GroupFinder getGroupFinder() {
921 return groupFinder;
922 }
923
924
929 public void setGroupFinder(GroupFinder groupFinder) {
930 this.groupFinder = groupFinder;
931 }
932
933
938 public ImageLocalService getImageLocalService() {
939 return imageLocalService;
940 }
941
942
947 public void setImageLocalService(ImageLocalService imageLocalService) {
948 this.imageLocalService = imageLocalService;
949 }
950
951
956 public ImageService getImageService() {
957 return imageService;
958 }
959
960
965 public void setImageService(ImageService imageService) {
966 this.imageService = imageService;
967 }
968
969
974 public ImagePersistence getImagePersistence() {
975 return imagePersistence;
976 }
977
978
983 public void setImagePersistence(ImagePersistence imagePersistence) {
984 this.imagePersistence = imagePersistence;
985 }
986
987
992 public PortletPreferencesLocalService getPortletPreferencesLocalService() {
993 return portletPreferencesLocalService;
994 }
995
996
1001 public void setPortletPreferencesLocalService(
1002 PortletPreferencesLocalService portletPreferencesLocalService) {
1003 this.portletPreferencesLocalService = portletPreferencesLocalService;
1004 }
1005
1006
1011 public PortletPreferencesService getPortletPreferencesService() {
1012 return portletPreferencesService;
1013 }
1014
1015
1020 public void setPortletPreferencesService(
1021 PortletPreferencesService portletPreferencesService) {
1022 this.portletPreferencesService = portletPreferencesService;
1023 }
1024
1025
1030 public PortletPreferencesPersistence getPortletPreferencesPersistence() {
1031 return portletPreferencesPersistence;
1032 }
1033
1034
1039 public void setPortletPreferencesPersistence(
1040 PortletPreferencesPersistence portletPreferencesPersistence) {
1041 this.portletPreferencesPersistence = portletPreferencesPersistence;
1042 }
1043
1044
1049 public PortletPreferencesFinder getPortletPreferencesFinder() {
1050 return portletPreferencesFinder;
1051 }
1052
1053
1058 public void setPortletPreferencesFinder(
1059 PortletPreferencesFinder portletPreferencesFinder) {
1060 this.portletPreferencesFinder = portletPreferencesFinder;
1061 }
1062
1063
1068 public ResourceLocalService getResourceLocalService() {
1069 return resourceLocalService;
1070 }
1071
1072
1077 public void setResourceLocalService(
1078 ResourceLocalService resourceLocalService) {
1079 this.resourceLocalService = resourceLocalService;
1080 }
1081
1082
1087 public ResourceService getResourceService() {
1088 return resourceService;
1089 }
1090
1091
1096 public void setResourceService(ResourceService resourceService) {
1097 this.resourceService = resourceService;
1098 }
1099
1100
1105 public ResourcePersistence getResourcePersistence() {
1106 return resourcePersistence;
1107 }
1108
1109
1114 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
1115 this.resourcePersistence = resourcePersistence;
1116 }
1117
1118
1123 public ResourceFinder getResourceFinder() {
1124 return resourceFinder;
1125 }
1126
1127
1132 public void setResourceFinder(ResourceFinder resourceFinder) {
1133 this.resourceFinder = resourceFinder;
1134 }
1135
1136
1141 public SubscriptionLocalService getSubscriptionLocalService() {
1142 return subscriptionLocalService;
1143 }
1144
1145
1150 public void setSubscriptionLocalService(
1151 SubscriptionLocalService subscriptionLocalService) {
1152 this.subscriptionLocalService = subscriptionLocalService;
1153 }
1154
1155
1160 public SubscriptionPersistence getSubscriptionPersistence() {
1161 return subscriptionPersistence;
1162 }
1163
1164
1169 public void setSubscriptionPersistence(
1170 SubscriptionPersistence subscriptionPersistence) {
1171 this.subscriptionPersistence = subscriptionPersistence;
1172 }
1173
1174
1179 public UserLocalService getUserLocalService() {
1180 return userLocalService;
1181 }
1182
1183
1188 public void setUserLocalService(UserLocalService userLocalService) {
1189 this.userLocalService = userLocalService;
1190 }
1191
1192
1197 public UserService getUserService() {
1198 return userService;
1199 }
1200
1201
1206 public void setUserService(UserService userService) {
1207 this.userService = userService;
1208 }
1209
1210
1215 public UserPersistence getUserPersistence() {
1216 return userPersistence;
1217 }
1218
1219
1224 public void setUserPersistence(UserPersistence userPersistence) {
1225 this.userPersistence = userPersistence;
1226 }
1227
1228
1233 public UserFinder getUserFinder() {
1234 return userFinder;
1235 }
1236
1237
1242 public void setUserFinder(UserFinder userFinder) {
1243 this.userFinder = userFinder;
1244 }
1245
1246
1251 public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1252 return workflowInstanceLinkLocalService;
1253 }
1254
1255
1260 public void setWorkflowInstanceLinkLocalService(
1261 WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1262 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1263 }
1264
1265
1270 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1271 return workflowInstanceLinkPersistence;
1272 }
1273
1274
1279 public void setWorkflowInstanceLinkPersistence(
1280 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1281 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1282 }
1283
1284
1289 public AssetCategoryLocalService getAssetCategoryLocalService() {
1290 return assetCategoryLocalService;
1291 }
1292
1293
1298 public void setAssetCategoryLocalService(
1299 AssetCategoryLocalService assetCategoryLocalService) {
1300 this.assetCategoryLocalService = assetCategoryLocalService;
1301 }
1302
1303
1308 public AssetCategoryService getAssetCategoryService() {
1309 return assetCategoryService;
1310 }
1311
1312
1317 public void setAssetCategoryService(
1318 AssetCategoryService assetCategoryService) {
1319 this.assetCategoryService = assetCategoryService;
1320 }
1321
1322
1327 public AssetCategoryPersistence getAssetCategoryPersistence() {
1328 return assetCategoryPersistence;
1329 }
1330
1331
1336 public void setAssetCategoryPersistence(
1337 AssetCategoryPersistence assetCategoryPersistence) {
1338 this.assetCategoryPersistence = assetCategoryPersistence;
1339 }
1340
1341
1346 public AssetCategoryFinder getAssetCategoryFinder() {
1347 return assetCategoryFinder;
1348 }
1349
1350
1355 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
1356 this.assetCategoryFinder = assetCategoryFinder;
1357 }
1358
1359
1364 public AssetEntryLocalService getAssetEntryLocalService() {
1365 return assetEntryLocalService;
1366 }
1367
1368
1373 public void setAssetEntryLocalService(
1374 AssetEntryLocalService assetEntryLocalService) {
1375 this.assetEntryLocalService = assetEntryLocalService;
1376 }
1377
1378
1383 public AssetEntryService getAssetEntryService() {
1384 return assetEntryService;
1385 }
1386
1387
1392 public void setAssetEntryService(AssetEntryService assetEntryService) {
1393 this.assetEntryService = assetEntryService;
1394 }
1395
1396
1401 public AssetEntryPersistence getAssetEntryPersistence() {
1402 return assetEntryPersistence;
1403 }
1404
1405
1410 public void setAssetEntryPersistence(
1411 AssetEntryPersistence assetEntryPersistence) {
1412 this.assetEntryPersistence = assetEntryPersistence;
1413 }
1414
1415
1420 public AssetEntryFinder getAssetEntryFinder() {
1421 return assetEntryFinder;
1422 }
1423
1424
1429 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1430 this.assetEntryFinder = assetEntryFinder;
1431 }
1432
1433
1438 public AssetLinkLocalService getAssetLinkLocalService() {
1439 return assetLinkLocalService;
1440 }
1441
1442
1447 public void setAssetLinkLocalService(
1448 AssetLinkLocalService assetLinkLocalService) {
1449 this.assetLinkLocalService = assetLinkLocalService;
1450 }
1451
1452
1457 public AssetLinkPersistence getAssetLinkPersistence() {
1458 return assetLinkPersistence;
1459 }
1460
1461
1466 public void setAssetLinkPersistence(
1467 AssetLinkPersistence assetLinkPersistence) {
1468 this.assetLinkPersistence = assetLinkPersistence;
1469 }
1470
1471
1476 public AssetTagLocalService getAssetTagLocalService() {
1477 return assetTagLocalService;
1478 }
1479
1480
1485 public void setAssetTagLocalService(
1486 AssetTagLocalService assetTagLocalService) {
1487 this.assetTagLocalService = assetTagLocalService;
1488 }
1489
1490
1495 public AssetTagService getAssetTagService() {
1496 return assetTagService;
1497 }
1498
1499
1504 public void setAssetTagService(AssetTagService assetTagService) {
1505 this.assetTagService = assetTagService;
1506 }
1507
1508
1513 public AssetTagPersistence getAssetTagPersistence() {
1514 return assetTagPersistence;
1515 }
1516
1517
1522 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1523 this.assetTagPersistence = assetTagPersistence;
1524 }
1525
1526
1531 public AssetTagFinder getAssetTagFinder() {
1532 return assetTagFinder;
1533 }
1534
1535
1540 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1541 this.assetTagFinder = assetTagFinder;
1542 }
1543
1544
1549 public ExpandoValueLocalService getExpandoValueLocalService() {
1550 return expandoValueLocalService;
1551 }
1552
1553
1558 public void setExpandoValueLocalService(
1559 ExpandoValueLocalService expandoValueLocalService) {
1560 this.expandoValueLocalService = expandoValueLocalService;
1561 }
1562
1563
1568 public ExpandoValueService getExpandoValueService() {
1569 return expandoValueService;
1570 }
1571
1572
1577 public void setExpandoValueService(ExpandoValueService expandoValueService) {
1578 this.expandoValueService = expandoValueService;
1579 }
1580
1581
1586 public ExpandoValuePersistence getExpandoValuePersistence() {
1587 return expandoValuePersistence;
1588 }
1589
1590
1595 public void setExpandoValuePersistence(
1596 ExpandoValuePersistence expandoValuePersistence) {
1597 this.expandoValuePersistence = expandoValuePersistence;
1598 }
1599
1600
1605 public MBMessageLocalService getMBMessageLocalService() {
1606 return mbMessageLocalService;
1607 }
1608
1609
1614 public void setMBMessageLocalService(
1615 MBMessageLocalService mbMessageLocalService) {
1616 this.mbMessageLocalService = mbMessageLocalService;
1617 }
1618
1619
1624 public MBMessageService getMBMessageService() {
1625 return mbMessageService;
1626 }
1627
1628
1633 public void setMBMessageService(MBMessageService mbMessageService) {
1634 this.mbMessageService = mbMessageService;
1635 }
1636
1637
1642 public MBMessagePersistence getMBMessagePersistence() {
1643 return mbMessagePersistence;
1644 }
1645
1646
1651 public void setMBMessagePersistence(
1652 MBMessagePersistence mbMessagePersistence) {
1653 this.mbMessagePersistence = mbMessagePersistence;
1654 }
1655
1656
1661 public MBMessageFinder getMBMessageFinder() {
1662 return mbMessageFinder;
1663 }
1664
1665
1670 public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
1671 this.mbMessageFinder = mbMessageFinder;
1672 }
1673
1674
1679 public RatingsStatsLocalService getRatingsStatsLocalService() {
1680 return ratingsStatsLocalService;
1681 }
1682
1683
1688 public void setRatingsStatsLocalService(
1689 RatingsStatsLocalService ratingsStatsLocalService) {
1690 this.ratingsStatsLocalService = ratingsStatsLocalService;
1691 }
1692
1693
1698 public RatingsStatsPersistence getRatingsStatsPersistence() {
1699 return ratingsStatsPersistence;
1700 }
1701
1702
1707 public void setRatingsStatsPersistence(
1708 RatingsStatsPersistence ratingsStatsPersistence) {
1709 this.ratingsStatsPersistence = ratingsStatsPersistence;
1710 }
1711
1712
1717 public RatingsStatsFinder getRatingsStatsFinder() {
1718 return ratingsStatsFinder;
1719 }
1720
1721
1726 public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
1727 this.ratingsStatsFinder = ratingsStatsFinder;
1728 }
1729
1730 public void afterPropertiesSet() {
1731 persistedModelLocalServiceRegistry.register("com.liferay.portlet.journal.model.JournalArticle",
1732 journalArticleLocalService);
1733 }
1734
1735 public void destroy() {
1736 persistedModelLocalServiceRegistry.unregister(
1737 "com.liferay.portlet.journal.model.JournalArticle");
1738 }
1739
1740
1745 public String getBeanIdentifier() {
1746 return _beanIdentifier;
1747 }
1748
1749
1754 public void setBeanIdentifier(String beanIdentifier) {
1755 _beanIdentifier = beanIdentifier;
1756 }
1757
1758 protected Class<?> getModelClass() {
1759 return JournalArticle.class;
1760 }
1761
1762 protected String getModelClassName() {
1763 return JournalArticle.class.getName();
1764 }
1765
1766
1771 protected void runSQL(String sql) throws SystemException {
1772 try {
1773 DataSource dataSource = journalArticlePersistence.getDataSource();
1774
1775 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1776 sql, new int[0]);
1777
1778 sqlUpdate.update();
1779 }
1780 catch (Exception e) {
1781 throw new SystemException(e);
1782 }
1783 }
1784
1785 @BeanReference(type = JournalArticleLocalService.class)
1786 protected JournalArticleLocalService journalArticleLocalService;
1787 @BeanReference(type = JournalArticleService.class)
1788 protected JournalArticleService journalArticleService;
1789 @BeanReference(type = JournalArticlePersistence.class)
1790 protected JournalArticlePersistence journalArticlePersistence;
1791 @BeanReference(type = JournalArticleFinder.class)
1792 protected JournalArticleFinder journalArticleFinder;
1793 @BeanReference(type = JournalArticleImageLocalService.class)
1794 protected JournalArticleImageLocalService journalArticleImageLocalService;
1795 @BeanReference(type = JournalArticleImagePersistence.class)
1796 protected JournalArticleImagePersistence journalArticleImagePersistence;
1797 @BeanReference(type = JournalArticleResourceLocalService.class)
1798 protected JournalArticleResourceLocalService journalArticleResourceLocalService;
1799 @BeanReference(type = JournalArticleResourcePersistence.class)
1800 protected JournalArticleResourcePersistence journalArticleResourcePersistence;
1801 @BeanReference(type = JournalContentSearchLocalService.class)
1802 protected JournalContentSearchLocalService journalContentSearchLocalService;
1803 @BeanReference(type = JournalContentSearchPersistence.class)
1804 protected JournalContentSearchPersistence journalContentSearchPersistence;
1805 @BeanReference(type = JournalFeedLocalService.class)
1806 protected JournalFeedLocalService journalFeedLocalService;
1807 @BeanReference(type = JournalFeedService.class)
1808 protected JournalFeedService journalFeedService;
1809 @BeanReference(type = JournalFeedPersistence.class)
1810 protected JournalFeedPersistence journalFeedPersistence;
1811 @BeanReference(type = JournalFeedFinder.class)
1812 protected JournalFeedFinder journalFeedFinder;
1813 @BeanReference(type = JournalStructureLocalService.class)
1814 protected JournalStructureLocalService journalStructureLocalService;
1815 @BeanReference(type = JournalStructureService.class)
1816 protected JournalStructureService journalStructureService;
1817 @BeanReference(type = JournalStructurePersistence.class)
1818 protected JournalStructurePersistence journalStructurePersistence;
1819 @BeanReference(type = JournalStructureFinder.class)
1820 protected JournalStructureFinder journalStructureFinder;
1821 @BeanReference(type = JournalTemplateLocalService.class)
1822 protected JournalTemplateLocalService journalTemplateLocalService;
1823 @BeanReference(type = JournalTemplateService.class)
1824 protected JournalTemplateService journalTemplateService;
1825 @BeanReference(type = JournalTemplatePersistence.class)
1826 protected JournalTemplatePersistence journalTemplatePersistence;
1827 @BeanReference(type = JournalTemplateFinder.class)
1828 protected JournalTemplateFinder journalTemplateFinder;
1829 @BeanReference(type = CounterLocalService.class)
1830 protected CounterLocalService counterLocalService;
1831 @BeanReference(type = MailService.class)
1832 protected MailService mailService;
1833 @BeanReference(type = CompanyLocalService.class)
1834 protected CompanyLocalService companyLocalService;
1835 @BeanReference(type = CompanyService.class)
1836 protected CompanyService companyService;
1837 @BeanReference(type = CompanyPersistence.class)
1838 protected CompanyPersistence companyPersistence;
1839 @BeanReference(type = GroupLocalService.class)
1840 protected GroupLocalService groupLocalService;
1841 @BeanReference(type = GroupService.class)
1842 protected GroupService groupService;
1843 @BeanReference(type = GroupPersistence.class)
1844 protected GroupPersistence groupPersistence;
1845 @BeanReference(type = GroupFinder.class)
1846 protected GroupFinder groupFinder;
1847 @BeanReference(type = ImageLocalService.class)
1848 protected ImageLocalService imageLocalService;
1849 @BeanReference(type = ImageService.class)
1850 protected ImageService imageService;
1851 @BeanReference(type = ImagePersistence.class)
1852 protected ImagePersistence imagePersistence;
1853 @BeanReference(type = PortletPreferencesLocalService.class)
1854 protected PortletPreferencesLocalService portletPreferencesLocalService;
1855 @BeanReference(type = PortletPreferencesService.class)
1856 protected PortletPreferencesService portletPreferencesService;
1857 @BeanReference(type = PortletPreferencesPersistence.class)
1858 protected PortletPreferencesPersistence portletPreferencesPersistence;
1859 @BeanReference(type = PortletPreferencesFinder.class)
1860 protected PortletPreferencesFinder portletPreferencesFinder;
1861 @BeanReference(type = ResourceLocalService.class)
1862 protected ResourceLocalService resourceLocalService;
1863 @BeanReference(type = ResourceService.class)
1864 protected ResourceService resourceService;
1865 @BeanReference(type = ResourcePersistence.class)
1866 protected ResourcePersistence resourcePersistence;
1867 @BeanReference(type = ResourceFinder.class)
1868 protected ResourceFinder resourceFinder;
1869 @BeanReference(type = SubscriptionLocalService.class)
1870 protected SubscriptionLocalService subscriptionLocalService;
1871 @BeanReference(type = SubscriptionPersistence.class)
1872 protected SubscriptionPersistence subscriptionPersistence;
1873 @BeanReference(type = UserLocalService.class)
1874 protected UserLocalService userLocalService;
1875 @BeanReference(type = UserService.class)
1876 protected UserService userService;
1877 @BeanReference(type = UserPersistence.class)
1878 protected UserPersistence userPersistence;
1879 @BeanReference(type = UserFinder.class)
1880 protected UserFinder userFinder;
1881 @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1882 protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1883 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1884 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1885 @BeanReference(type = AssetCategoryLocalService.class)
1886 protected AssetCategoryLocalService assetCategoryLocalService;
1887 @BeanReference(type = AssetCategoryService.class)
1888 protected AssetCategoryService assetCategoryService;
1889 @BeanReference(type = AssetCategoryPersistence.class)
1890 protected AssetCategoryPersistence assetCategoryPersistence;
1891 @BeanReference(type = AssetCategoryFinder.class)
1892 protected AssetCategoryFinder assetCategoryFinder;
1893 @BeanReference(type = AssetEntryLocalService.class)
1894 protected AssetEntryLocalService assetEntryLocalService;
1895 @BeanReference(type = AssetEntryService.class)
1896 protected AssetEntryService assetEntryService;
1897 @BeanReference(type = AssetEntryPersistence.class)
1898 protected AssetEntryPersistence assetEntryPersistence;
1899 @BeanReference(type = AssetEntryFinder.class)
1900 protected AssetEntryFinder assetEntryFinder;
1901 @BeanReference(type = AssetLinkLocalService.class)
1902 protected AssetLinkLocalService assetLinkLocalService;
1903 @BeanReference(type = AssetLinkPersistence.class)
1904 protected AssetLinkPersistence assetLinkPersistence;
1905 @BeanReference(type = AssetTagLocalService.class)
1906 protected AssetTagLocalService assetTagLocalService;
1907 @BeanReference(type = AssetTagService.class)
1908 protected AssetTagService assetTagService;
1909 @BeanReference(type = AssetTagPersistence.class)
1910 protected AssetTagPersistence assetTagPersistence;
1911 @BeanReference(type = AssetTagFinder.class)
1912 protected AssetTagFinder assetTagFinder;
1913 @BeanReference(type = ExpandoValueLocalService.class)
1914 protected ExpandoValueLocalService expandoValueLocalService;
1915 @BeanReference(type = ExpandoValueService.class)
1916 protected ExpandoValueService expandoValueService;
1917 @BeanReference(type = ExpandoValuePersistence.class)
1918 protected ExpandoValuePersistence expandoValuePersistence;
1919 @BeanReference(type = MBMessageLocalService.class)
1920 protected MBMessageLocalService mbMessageLocalService;
1921 @BeanReference(type = MBMessageService.class)
1922 protected MBMessageService mbMessageService;
1923 @BeanReference(type = MBMessagePersistence.class)
1924 protected MBMessagePersistence mbMessagePersistence;
1925 @BeanReference(type = MBMessageFinder.class)
1926 protected MBMessageFinder mbMessageFinder;
1927 @BeanReference(type = RatingsStatsLocalService.class)
1928 protected RatingsStatsLocalService ratingsStatsLocalService;
1929 @BeanReference(type = RatingsStatsPersistence.class)
1930 protected RatingsStatsPersistence ratingsStatsPersistence;
1931 @BeanReference(type = RatingsStatsFinder.class)
1932 protected RatingsStatsFinder ratingsStatsFinder;
1933 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1934 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1935 private String _beanIdentifier;
1936 }