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.annotation.BeanReference;
022 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
023 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
024 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
025 import com.liferay.portal.kernel.exception.PortalException;
026 import com.liferay.portal.kernel.exception.SystemException;
027 import com.liferay.portal.kernel.util.OrderByComparator;
028 import com.liferay.portal.service.CompanyLocalService;
029 import com.liferay.portal.service.CompanyService;
030 import com.liferay.portal.service.GroupLocalService;
031 import com.liferay.portal.service.GroupService;
032 import com.liferay.portal.service.ImageLocalService;
033 import com.liferay.portal.service.ImageService;
034 import com.liferay.portal.service.PortletPreferencesLocalService;
035 import com.liferay.portal.service.PortletPreferencesService;
036 import com.liferay.portal.service.ResourceLocalService;
037 import com.liferay.portal.service.ResourceService;
038 import com.liferay.portal.service.SubscriptionLocalService;
039 import com.liferay.portal.service.UserLocalService;
040 import com.liferay.portal.service.UserService;
041 import com.liferay.portal.service.WorkflowInstanceLinkLocalService;
042 import com.liferay.portal.service.persistence.CompanyPersistence;
043 import com.liferay.portal.service.persistence.GroupFinder;
044 import com.liferay.portal.service.persistence.GroupPersistence;
045 import com.liferay.portal.service.persistence.ImagePersistence;
046 import com.liferay.portal.service.persistence.PortletPreferencesFinder;
047 import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
048 import com.liferay.portal.service.persistence.ResourceFinder;
049 import com.liferay.portal.service.persistence.ResourcePersistence;
050 import com.liferay.portal.service.persistence.SubscriptionPersistence;
051 import com.liferay.portal.service.persistence.UserFinder;
052 import com.liferay.portal.service.persistence.UserPersistence;
053 import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
054
055 import com.liferay.portlet.asset.service.AssetCategoryLocalService;
056 import com.liferay.portlet.asset.service.AssetCategoryService;
057 import com.liferay.portlet.asset.service.AssetEntryLocalService;
058 import com.liferay.portlet.asset.service.AssetEntryService;
059 import com.liferay.portlet.asset.service.AssetTagLocalService;
060 import com.liferay.portlet.asset.service.AssetTagService;
061 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
062 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
063 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
064 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
065 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
066 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
067 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
068 import com.liferay.portlet.expando.service.ExpandoValueService;
069 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
070 import com.liferay.portlet.journal.model.JournalArticle;
071 import com.liferay.portlet.journal.service.JournalArticleImageLocalService;
072 import com.liferay.portlet.journal.service.JournalArticleLocalService;
073 import com.liferay.portlet.journal.service.JournalArticleResourceLocalService;
074 import com.liferay.portlet.journal.service.JournalArticleService;
075 import com.liferay.portlet.journal.service.JournalContentSearchLocalService;
076 import com.liferay.portlet.journal.service.JournalFeedLocalService;
077 import com.liferay.portlet.journal.service.JournalFeedService;
078 import com.liferay.portlet.journal.service.JournalStructureLocalService;
079 import com.liferay.portlet.journal.service.JournalStructureService;
080 import com.liferay.portlet.journal.service.JournalTemplateLocalService;
081 import com.liferay.portlet.journal.service.JournalTemplateService;
082 import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
083 import com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence;
084 import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
085 import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
086 import com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence;
087 import com.liferay.portlet.journal.service.persistence.JournalFeedFinder;
088 import com.liferay.portlet.journal.service.persistence.JournalFeedPersistence;
089 import com.liferay.portlet.journal.service.persistence.JournalStructureFinder;
090 import com.liferay.portlet.journal.service.persistence.JournalStructurePersistence;
091 import com.liferay.portlet.journal.service.persistence.JournalTemplateFinder;
092 import com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence;
093 import com.liferay.portlet.messageboards.service.MBMessageLocalService;
094 import com.liferay.portlet.messageboards.service.MBMessageService;
095 import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
096 import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
097 import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
098 import com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder;
099 import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
100
101 import java.util.List;
102
103 import javax.sql.DataSource;
104
105
121 public abstract class JournalArticleLocalServiceBaseImpl
122 implements JournalArticleLocalService {
123
130 public JournalArticle addJournalArticle(JournalArticle journalArticle)
131 throws SystemException {
132 journalArticle.setNew(true);
133
134 return journalArticlePersistence.update(journalArticle, false);
135 }
136
137
143 public JournalArticle createJournalArticle(long id) {
144 return journalArticlePersistence.create(id);
145 }
146
147
154 public void deleteJournalArticle(long id)
155 throws PortalException, SystemException {
156 journalArticlePersistence.remove(id);
157 }
158
159
165 public void deleteJournalArticle(JournalArticle journalArticle)
166 throws SystemException {
167 journalArticlePersistence.remove(journalArticle);
168 }
169
170
177 @SuppressWarnings("rawtypes")
178 public List dynamicQuery(DynamicQuery dynamicQuery)
179 throws SystemException {
180 return journalArticlePersistence.findWithDynamicQuery(dynamicQuery);
181 }
182
183
196 @SuppressWarnings("rawtypes")
197 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
198 throws SystemException {
199 return journalArticlePersistence.findWithDynamicQuery(dynamicQuery,
200 start, end);
201 }
202
203
217 @SuppressWarnings("rawtypes")
218 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
219 OrderByComparator orderByComparator) throws SystemException {
220 return journalArticlePersistence.findWithDynamicQuery(dynamicQuery,
221 start, end, orderByComparator);
222 }
223
224
231 public long dynamicQueryCount(DynamicQuery dynamicQuery)
232 throws SystemException {
233 return journalArticlePersistence.countWithDynamicQuery(dynamicQuery);
234 }
235
236
244 public JournalArticle getJournalArticle(long id)
245 throws PortalException, SystemException {
246 return journalArticlePersistence.findByPrimaryKey(id);
247 }
248
249
258 public JournalArticle getJournalArticleByUuidAndGroupId(String uuid,
259 long groupId) throws PortalException, SystemException {
260 return journalArticlePersistence.findByUUID_G(uuid, groupId);
261 }
262
263
275 public List<JournalArticle> getJournalArticles(int start, int end)
276 throws SystemException {
277 return journalArticlePersistence.findAll(start, end);
278 }
279
280
286 public int getJournalArticlesCount() throws SystemException {
287 return journalArticlePersistence.countAll();
288 }
289
290
297 public JournalArticle updateJournalArticle(JournalArticle journalArticle)
298 throws SystemException {
299 journalArticle.setNew(false);
300
301 return journalArticlePersistence.update(journalArticle, true);
302 }
303
304
312 public JournalArticle updateJournalArticle(JournalArticle journalArticle,
313 boolean merge) throws SystemException {
314 journalArticle.setNew(false);
315
316 return journalArticlePersistence.update(journalArticle, merge);
317 }
318
319
324 public JournalArticleLocalService getJournalArticleLocalService() {
325 return journalArticleLocalService;
326 }
327
328
333 public void setJournalArticleLocalService(
334 JournalArticleLocalService journalArticleLocalService) {
335 this.journalArticleLocalService = journalArticleLocalService;
336 }
337
338
343 public JournalArticleService getJournalArticleService() {
344 return journalArticleService;
345 }
346
347
352 public void setJournalArticleService(
353 JournalArticleService journalArticleService) {
354 this.journalArticleService = journalArticleService;
355 }
356
357
362 public JournalArticlePersistence getJournalArticlePersistence() {
363 return journalArticlePersistence;
364 }
365
366
371 public void setJournalArticlePersistence(
372 JournalArticlePersistence journalArticlePersistence) {
373 this.journalArticlePersistence = journalArticlePersistence;
374 }
375
376
381 public JournalArticleFinder getJournalArticleFinder() {
382 return journalArticleFinder;
383 }
384
385
390 public void setJournalArticleFinder(
391 JournalArticleFinder journalArticleFinder) {
392 this.journalArticleFinder = journalArticleFinder;
393 }
394
395
400 public JournalArticleImageLocalService getJournalArticleImageLocalService() {
401 return journalArticleImageLocalService;
402 }
403
404
409 public void setJournalArticleImageLocalService(
410 JournalArticleImageLocalService journalArticleImageLocalService) {
411 this.journalArticleImageLocalService = journalArticleImageLocalService;
412 }
413
414
419 public JournalArticleImagePersistence getJournalArticleImagePersistence() {
420 return journalArticleImagePersistence;
421 }
422
423
428 public void setJournalArticleImagePersistence(
429 JournalArticleImagePersistence journalArticleImagePersistence) {
430 this.journalArticleImagePersistence = journalArticleImagePersistence;
431 }
432
433
438 public JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
439 return journalArticleResourceLocalService;
440 }
441
442
447 public void setJournalArticleResourceLocalService(
448 JournalArticleResourceLocalService journalArticleResourceLocalService) {
449 this.journalArticleResourceLocalService = journalArticleResourceLocalService;
450 }
451
452
457 public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
458 return journalArticleResourcePersistence;
459 }
460
461
466 public void setJournalArticleResourcePersistence(
467 JournalArticleResourcePersistence journalArticleResourcePersistence) {
468 this.journalArticleResourcePersistence = journalArticleResourcePersistence;
469 }
470
471
476 public JournalContentSearchLocalService getJournalContentSearchLocalService() {
477 return journalContentSearchLocalService;
478 }
479
480
485 public void setJournalContentSearchLocalService(
486 JournalContentSearchLocalService journalContentSearchLocalService) {
487 this.journalContentSearchLocalService = journalContentSearchLocalService;
488 }
489
490
495 public JournalContentSearchPersistence getJournalContentSearchPersistence() {
496 return journalContentSearchPersistence;
497 }
498
499
504 public void setJournalContentSearchPersistence(
505 JournalContentSearchPersistence journalContentSearchPersistence) {
506 this.journalContentSearchPersistence = journalContentSearchPersistence;
507 }
508
509
514 public JournalFeedLocalService getJournalFeedLocalService() {
515 return journalFeedLocalService;
516 }
517
518
523 public void setJournalFeedLocalService(
524 JournalFeedLocalService journalFeedLocalService) {
525 this.journalFeedLocalService = journalFeedLocalService;
526 }
527
528
533 public JournalFeedService getJournalFeedService() {
534 return journalFeedService;
535 }
536
537
542 public void setJournalFeedService(JournalFeedService journalFeedService) {
543 this.journalFeedService = journalFeedService;
544 }
545
546
551 public JournalFeedPersistence getJournalFeedPersistence() {
552 return journalFeedPersistence;
553 }
554
555
560 public void setJournalFeedPersistence(
561 JournalFeedPersistence journalFeedPersistence) {
562 this.journalFeedPersistence = journalFeedPersistence;
563 }
564
565
570 public JournalFeedFinder getJournalFeedFinder() {
571 return journalFeedFinder;
572 }
573
574
579 public void setJournalFeedFinder(JournalFeedFinder journalFeedFinder) {
580 this.journalFeedFinder = journalFeedFinder;
581 }
582
583
588 public JournalStructureLocalService getJournalStructureLocalService() {
589 return journalStructureLocalService;
590 }
591
592
597 public void setJournalStructureLocalService(
598 JournalStructureLocalService journalStructureLocalService) {
599 this.journalStructureLocalService = journalStructureLocalService;
600 }
601
602
607 public JournalStructureService getJournalStructureService() {
608 return journalStructureService;
609 }
610
611
616 public void setJournalStructureService(
617 JournalStructureService journalStructureService) {
618 this.journalStructureService = journalStructureService;
619 }
620
621
626 public JournalStructurePersistence getJournalStructurePersistence() {
627 return journalStructurePersistence;
628 }
629
630
635 public void setJournalStructurePersistence(
636 JournalStructurePersistence journalStructurePersistence) {
637 this.journalStructurePersistence = journalStructurePersistence;
638 }
639
640
645 public JournalStructureFinder getJournalStructureFinder() {
646 return journalStructureFinder;
647 }
648
649
654 public void setJournalStructureFinder(
655 JournalStructureFinder journalStructureFinder) {
656 this.journalStructureFinder = journalStructureFinder;
657 }
658
659
664 public JournalTemplateLocalService getJournalTemplateLocalService() {
665 return journalTemplateLocalService;
666 }
667
668
673 public void setJournalTemplateLocalService(
674 JournalTemplateLocalService journalTemplateLocalService) {
675 this.journalTemplateLocalService = journalTemplateLocalService;
676 }
677
678
683 public JournalTemplateService getJournalTemplateService() {
684 return journalTemplateService;
685 }
686
687
692 public void setJournalTemplateService(
693 JournalTemplateService journalTemplateService) {
694 this.journalTemplateService = journalTemplateService;
695 }
696
697
702 public JournalTemplatePersistence getJournalTemplatePersistence() {
703 return journalTemplatePersistence;
704 }
705
706
711 public void setJournalTemplatePersistence(
712 JournalTemplatePersistence journalTemplatePersistence) {
713 this.journalTemplatePersistence = journalTemplatePersistence;
714 }
715
716
721 public JournalTemplateFinder getJournalTemplateFinder() {
722 return journalTemplateFinder;
723 }
724
725
730 public void setJournalTemplateFinder(
731 JournalTemplateFinder journalTemplateFinder) {
732 this.journalTemplateFinder = journalTemplateFinder;
733 }
734
735
740 public CounterLocalService getCounterLocalService() {
741 return counterLocalService;
742 }
743
744
749 public void setCounterLocalService(CounterLocalService counterLocalService) {
750 this.counterLocalService = counterLocalService;
751 }
752
753
758 public MailService getMailService() {
759 return mailService;
760 }
761
762
767 public void setMailService(MailService mailService) {
768 this.mailService = mailService;
769 }
770
771
776 public CompanyLocalService getCompanyLocalService() {
777 return companyLocalService;
778 }
779
780
785 public void setCompanyLocalService(CompanyLocalService companyLocalService) {
786 this.companyLocalService = companyLocalService;
787 }
788
789
794 public CompanyService getCompanyService() {
795 return companyService;
796 }
797
798
803 public void setCompanyService(CompanyService companyService) {
804 this.companyService = companyService;
805 }
806
807
812 public CompanyPersistence getCompanyPersistence() {
813 return companyPersistence;
814 }
815
816
821 public void setCompanyPersistence(CompanyPersistence companyPersistence) {
822 this.companyPersistence = companyPersistence;
823 }
824
825
830 public GroupLocalService getGroupLocalService() {
831 return groupLocalService;
832 }
833
834
839 public void setGroupLocalService(GroupLocalService groupLocalService) {
840 this.groupLocalService = groupLocalService;
841 }
842
843
848 public GroupService getGroupService() {
849 return groupService;
850 }
851
852
857 public void setGroupService(GroupService groupService) {
858 this.groupService = groupService;
859 }
860
861
866 public GroupPersistence getGroupPersistence() {
867 return groupPersistence;
868 }
869
870
875 public void setGroupPersistence(GroupPersistence groupPersistence) {
876 this.groupPersistence = groupPersistence;
877 }
878
879
884 public GroupFinder getGroupFinder() {
885 return groupFinder;
886 }
887
888
893 public void setGroupFinder(GroupFinder groupFinder) {
894 this.groupFinder = groupFinder;
895 }
896
897
902 public ImageLocalService getImageLocalService() {
903 return imageLocalService;
904 }
905
906
911 public void setImageLocalService(ImageLocalService imageLocalService) {
912 this.imageLocalService = imageLocalService;
913 }
914
915
920 public ImageService getImageService() {
921 return imageService;
922 }
923
924
929 public void setImageService(ImageService imageService) {
930 this.imageService = imageService;
931 }
932
933
938 public ImagePersistence getImagePersistence() {
939 return imagePersistence;
940 }
941
942
947 public void setImagePersistence(ImagePersistence imagePersistence) {
948 this.imagePersistence = imagePersistence;
949 }
950
951
956 public PortletPreferencesLocalService getPortletPreferencesLocalService() {
957 return portletPreferencesLocalService;
958 }
959
960
965 public void setPortletPreferencesLocalService(
966 PortletPreferencesLocalService portletPreferencesLocalService) {
967 this.portletPreferencesLocalService = portletPreferencesLocalService;
968 }
969
970
975 public PortletPreferencesService getPortletPreferencesService() {
976 return portletPreferencesService;
977 }
978
979
984 public void setPortletPreferencesService(
985 PortletPreferencesService portletPreferencesService) {
986 this.portletPreferencesService = portletPreferencesService;
987 }
988
989
994 public PortletPreferencesPersistence getPortletPreferencesPersistence() {
995 return portletPreferencesPersistence;
996 }
997
998
1003 public void setPortletPreferencesPersistence(
1004 PortletPreferencesPersistence portletPreferencesPersistence) {
1005 this.portletPreferencesPersistence = portletPreferencesPersistence;
1006 }
1007
1008
1013 public PortletPreferencesFinder getPortletPreferencesFinder() {
1014 return portletPreferencesFinder;
1015 }
1016
1017
1022 public void setPortletPreferencesFinder(
1023 PortletPreferencesFinder portletPreferencesFinder) {
1024 this.portletPreferencesFinder = portletPreferencesFinder;
1025 }
1026
1027
1032 public ResourceLocalService getResourceLocalService() {
1033 return resourceLocalService;
1034 }
1035
1036
1041 public void setResourceLocalService(
1042 ResourceLocalService resourceLocalService) {
1043 this.resourceLocalService = resourceLocalService;
1044 }
1045
1046
1051 public ResourceService getResourceService() {
1052 return resourceService;
1053 }
1054
1055
1060 public void setResourceService(ResourceService resourceService) {
1061 this.resourceService = resourceService;
1062 }
1063
1064
1069 public ResourcePersistence getResourcePersistence() {
1070 return resourcePersistence;
1071 }
1072
1073
1078 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
1079 this.resourcePersistence = resourcePersistence;
1080 }
1081
1082
1087 public ResourceFinder getResourceFinder() {
1088 return resourceFinder;
1089 }
1090
1091
1096 public void setResourceFinder(ResourceFinder resourceFinder) {
1097 this.resourceFinder = resourceFinder;
1098 }
1099
1100
1105 public SubscriptionLocalService getSubscriptionLocalService() {
1106 return subscriptionLocalService;
1107 }
1108
1109
1114 public void setSubscriptionLocalService(
1115 SubscriptionLocalService subscriptionLocalService) {
1116 this.subscriptionLocalService = subscriptionLocalService;
1117 }
1118
1119
1124 public SubscriptionPersistence getSubscriptionPersistence() {
1125 return subscriptionPersistence;
1126 }
1127
1128
1133 public void setSubscriptionPersistence(
1134 SubscriptionPersistence subscriptionPersistence) {
1135 this.subscriptionPersistence = subscriptionPersistence;
1136 }
1137
1138
1143 public UserLocalService getUserLocalService() {
1144 return userLocalService;
1145 }
1146
1147
1152 public void setUserLocalService(UserLocalService userLocalService) {
1153 this.userLocalService = userLocalService;
1154 }
1155
1156
1161 public UserService getUserService() {
1162 return userService;
1163 }
1164
1165
1170 public void setUserService(UserService userService) {
1171 this.userService = userService;
1172 }
1173
1174
1179 public UserPersistence getUserPersistence() {
1180 return userPersistence;
1181 }
1182
1183
1188 public void setUserPersistence(UserPersistence userPersistence) {
1189 this.userPersistence = userPersistence;
1190 }
1191
1192
1197 public UserFinder getUserFinder() {
1198 return userFinder;
1199 }
1200
1201
1206 public void setUserFinder(UserFinder userFinder) {
1207 this.userFinder = userFinder;
1208 }
1209
1210
1215 public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1216 return workflowInstanceLinkLocalService;
1217 }
1218
1219
1224 public void setWorkflowInstanceLinkLocalService(
1225 WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1226 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1227 }
1228
1229
1234 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1235 return workflowInstanceLinkPersistence;
1236 }
1237
1238
1243 public void setWorkflowInstanceLinkPersistence(
1244 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1245 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1246 }
1247
1248
1253 public AssetCategoryLocalService getAssetCategoryLocalService() {
1254 return assetCategoryLocalService;
1255 }
1256
1257
1262 public void setAssetCategoryLocalService(
1263 AssetCategoryLocalService assetCategoryLocalService) {
1264 this.assetCategoryLocalService = assetCategoryLocalService;
1265 }
1266
1267
1272 public AssetCategoryService getAssetCategoryService() {
1273 return assetCategoryService;
1274 }
1275
1276
1281 public void setAssetCategoryService(
1282 AssetCategoryService assetCategoryService) {
1283 this.assetCategoryService = assetCategoryService;
1284 }
1285
1286
1291 public AssetCategoryPersistence getAssetCategoryPersistence() {
1292 return assetCategoryPersistence;
1293 }
1294
1295
1300 public void setAssetCategoryPersistence(
1301 AssetCategoryPersistence assetCategoryPersistence) {
1302 this.assetCategoryPersistence = assetCategoryPersistence;
1303 }
1304
1305
1310 public AssetCategoryFinder getAssetCategoryFinder() {
1311 return assetCategoryFinder;
1312 }
1313
1314
1319 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
1320 this.assetCategoryFinder = assetCategoryFinder;
1321 }
1322
1323
1328 public AssetEntryLocalService getAssetEntryLocalService() {
1329 return assetEntryLocalService;
1330 }
1331
1332
1337 public void setAssetEntryLocalService(
1338 AssetEntryLocalService assetEntryLocalService) {
1339 this.assetEntryLocalService = assetEntryLocalService;
1340 }
1341
1342
1347 public AssetEntryService getAssetEntryService() {
1348 return assetEntryService;
1349 }
1350
1351
1356 public void setAssetEntryService(AssetEntryService assetEntryService) {
1357 this.assetEntryService = assetEntryService;
1358 }
1359
1360
1365 public AssetEntryPersistence getAssetEntryPersistence() {
1366 return assetEntryPersistence;
1367 }
1368
1369
1374 public void setAssetEntryPersistence(
1375 AssetEntryPersistence assetEntryPersistence) {
1376 this.assetEntryPersistence = assetEntryPersistence;
1377 }
1378
1379
1384 public AssetEntryFinder getAssetEntryFinder() {
1385 return assetEntryFinder;
1386 }
1387
1388
1393 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1394 this.assetEntryFinder = assetEntryFinder;
1395 }
1396
1397
1402 public AssetTagLocalService getAssetTagLocalService() {
1403 return assetTagLocalService;
1404 }
1405
1406
1411 public void setAssetTagLocalService(
1412 AssetTagLocalService assetTagLocalService) {
1413 this.assetTagLocalService = assetTagLocalService;
1414 }
1415
1416
1421 public AssetTagService getAssetTagService() {
1422 return assetTagService;
1423 }
1424
1425
1430 public void setAssetTagService(AssetTagService assetTagService) {
1431 this.assetTagService = assetTagService;
1432 }
1433
1434
1439 public AssetTagPersistence getAssetTagPersistence() {
1440 return assetTagPersistence;
1441 }
1442
1443
1448 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1449 this.assetTagPersistence = assetTagPersistence;
1450 }
1451
1452
1457 public AssetTagFinder getAssetTagFinder() {
1458 return assetTagFinder;
1459 }
1460
1461
1466 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1467 this.assetTagFinder = assetTagFinder;
1468 }
1469
1470
1475 public ExpandoValueLocalService getExpandoValueLocalService() {
1476 return expandoValueLocalService;
1477 }
1478
1479
1484 public void setExpandoValueLocalService(
1485 ExpandoValueLocalService expandoValueLocalService) {
1486 this.expandoValueLocalService = expandoValueLocalService;
1487 }
1488
1489
1494 public ExpandoValueService getExpandoValueService() {
1495 return expandoValueService;
1496 }
1497
1498
1503 public void setExpandoValueService(ExpandoValueService expandoValueService) {
1504 this.expandoValueService = expandoValueService;
1505 }
1506
1507
1512 public ExpandoValuePersistence getExpandoValuePersistence() {
1513 return expandoValuePersistence;
1514 }
1515
1516
1521 public void setExpandoValuePersistence(
1522 ExpandoValuePersistence expandoValuePersistence) {
1523 this.expandoValuePersistence = expandoValuePersistence;
1524 }
1525
1526
1531 public MBMessageLocalService getMBMessageLocalService() {
1532 return mbMessageLocalService;
1533 }
1534
1535
1540 public void setMBMessageLocalService(
1541 MBMessageLocalService mbMessageLocalService) {
1542 this.mbMessageLocalService = mbMessageLocalService;
1543 }
1544
1545
1550 public MBMessageService getMBMessageService() {
1551 return mbMessageService;
1552 }
1553
1554
1559 public void setMBMessageService(MBMessageService mbMessageService) {
1560 this.mbMessageService = mbMessageService;
1561 }
1562
1563
1568 public MBMessagePersistence getMBMessagePersistence() {
1569 return mbMessagePersistence;
1570 }
1571
1572
1577 public void setMBMessagePersistence(
1578 MBMessagePersistence mbMessagePersistence) {
1579 this.mbMessagePersistence = mbMessagePersistence;
1580 }
1581
1582
1587 public MBMessageFinder getMBMessageFinder() {
1588 return mbMessageFinder;
1589 }
1590
1591
1596 public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
1597 this.mbMessageFinder = mbMessageFinder;
1598 }
1599
1600
1605 public RatingsStatsLocalService getRatingsStatsLocalService() {
1606 return ratingsStatsLocalService;
1607 }
1608
1609
1614 public void setRatingsStatsLocalService(
1615 RatingsStatsLocalService ratingsStatsLocalService) {
1616 this.ratingsStatsLocalService = ratingsStatsLocalService;
1617 }
1618
1619
1624 public RatingsStatsPersistence getRatingsStatsPersistence() {
1625 return ratingsStatsPersistence;
1626 }
1627
1628
1633 public void setRatingsStatsPersistence(
1634 RatingsStatsPersistence ratingsStatsPersistence) {
1635 this.ratingsStatsPersistence = ratingsStatsPersistence;
1636 }
1637
1638
1643 public RatingsStatsFinder getRatingsStatsFinder() {
1644 return ratingsStatsFinder;
1645 }
1646
1647
1652 public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
1653 this.ratingsStatsFinder = ratingsStatsFinder;
1654 }
1655
1656
1661 protected void runSQL(String sql) throws SystemException {
1662 try {
1663 DataSource dataSource = journalArticlePersistence.getDataSource();
1664
1665 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1666 sql, new int[0]);
1667
1668 sqlUpdate.update();
1669 }
1670 catch (Exception e) {
1671 throw new SystemException(e);
1672 }
1673 }
1674
1675 @BeanReference(type = JournalArticleLocalService.class)
1676 protected JournalArticleLocalService journalArticleLocalService;
1677 @BeanReference(type = JournalArticleService.class)
1678 protected JournalArticleService journalArticleService;
1679 @BeanReference(type = JournalArticlePersistence.class)
1680 protected JournalArticlePersistence journalArticlePersistence;
1681 @BeanReference(type = JournalArticleFinder.class)
1682 protected JournalArticleFinder journalArticleFinder;
1683 @BeanReference(type = JournalArticleImageLocalService.class)
1684 protected JournalArticleImageLocalService journalArticleImageLocalService;
1685 @BeanReference(type = JournalArticleImagePersistence.class)
1686 protected JournalArticleImagePersistence journalArticleImagePersistence;
1687 @BeanReference(type = JournalArticleResourceLocalService.class)
1688 protected JournalArticleResourceLocalService journalArticleResourceLocalService;
1689 @BeanReference(type = JournalArticleResourcePersistence.class)
1690 protected JournalArticleResourcePersistence journalArticleResourcePersistence;
1691 @BeanReference(type = JournalContentSearchLocalService.class)
1692 protected JournalContentSearchLocalService journalContentSearchLocalService;
1693 @BeanReference(type = JournalContentSearchPersistence.class)
1694 protected JournalContentSearchPersistence journalContentSearchPersistence;
1695 @BeanReference(type = JournalFeedLocalService.class)
1696 protected JournalFeedLocalService journalFeedLocalService;
1697 @BeanReference(type = JournalFeedService.class)
1698 protected JournalFeedService journalFeedService;
1699 @BeanReference(type = JournalFeedPersistence.class)
1700 protected JournalFeedPersistence journalFeedPersistence;
1701 @BeanReference(type = JournalFeedFinder.class)
1702 protected JournalFeedFinder journalFeedFinder;
1703 @BeanReference(type = JournalStructureLocalService.class)
1704 protected JournalStructureLocalService journalStructureLocalService;
1705 @BeanReference(type = JournalStructureService.class)
1706 protected JournalStructureService journalStructureService;
1707 @BeanReference(type = JournalStructurePersistence.class)
1708 protected JournalStructurePersistence journalStructurePersistence;
1709 @BeanReference(type = JournalStructureFinder.class)
1710 protected JournalStructureFinder journalStructureFinder;
1711 @BeanReference(type = JournalTemplateLocalService.class)
1712 protected JournalTemplateLocalService journalTemplateLocalService;
1713 @BeanReference(type = JournalTemplateService.class)
1714 protected JournalTemplateService journalTemplateService;
1715 @BeanReference(type = JournalTemplatePersistence.class)
1716 protected JournalTemplatePersistence journalTemplatePersistence;
1717 @BeanReference(type = JournalTemplateFinder.class)
1718 protected JournalTemplateFinder journalTemplateFinder;
1719 @BeanReference(type = CounterLocalService.class)
1720 protected CounterLocalService counterLocalService;
1721 @BeanReference(type = MailService.class)
1722 protected MailService mailService;
1723 @BeanReference(type = CompanyLocalService.class)
1724 protected CompanyLocalService companyLocalService;
1725 @BeanReference(type = CompanyService.class)
1726 protected CompanyService companyService;
1727 @BeanReference(type = CompanyPersistence.class)
1728 protected CompanyPersistence companyPersistence;
1729 @BeanReference(type = GroupLocalService.class)
1730 protected GroupLocalService groupLocalService;
1731 @BeanReference(type = GroupService.class)
1732 protected GroupService groupService;
1733 @BeanReference(type = GroupPersistence.class)
1734 protected GroupPersistence groupPersistence;
1735 @BeanReference(type = GroupFinder.class)
1736 protected GroupFinder groupFinder;
1737 @BeanReference(type = ImageLocalService.class)
1738 protected ImageLocalService imageLocalService;
1739 @BeanReference(type = ImageService.class)
1740 protected ImageService imageService;
1741 @BeanReference(type = ImagePersistence.class)
1742 protected ImagePersistence imagePersistence;
1743 @BeanReference(type = PortletPreferencesLocalService.class)
1744 protected PortletPreferencesLocalService portletPreferencesLocalService;
1745 @BeanReference(type = PortletPreferencesService.class)
1746 protected PortletPreferencesService portletPreferencesService;
1747 @BeanReference(type = PortletPreferencesPersistence.class)
1748 protected PortletPreferencesPersistence portletPreferencesPersistence;
1749 @BeanReference(type = PortletPreferencesFinder.class)
1750 protected PortletPreferencesFinder portletPreferencesFinder;
1751 @BeanReference(type = ResourceLocalService.class)
1752 protected ResourceLocalService resourceLocalService;
1753 @BeanReference(type = ResourceService.class)
1754 protected ResourceService resourceService;
1755 @BeanReference(type = ResourcePersistence.class)
1756 protected ResourcePersistence resourcePersistence;
1757 @BeanReference(type = ResourceFinder.class)
1758 protected ResourceFinder resourceFinder;
1759 @BeanReference(type = SubscriptionLocalService.class)
1760 protected SubscriptionLocalService subscriptionLocalService;
1761 @BeanReference(type = SubscriptionPersistence.class)
1762 protected SubscriptionPersistence subscriptionPersistence;
1763 @BeanReference(type = UserLocalService.class)
1764 protected UserLocalService userLocalService;
1765 @BeanReference(type = UserService.class)
1766 protected UserService userService;
1767 @BeanReference(type = UserPersistence.class)
1768 protected UserPersistence userPersistence;
1769 @BeanReference(type = UserFinder.class)
1770 protected UserFinder userFinder;
1771 @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1772 protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1773 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1774 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1775 @BeanReference(type = AssetCategoryLocalService.class)
1776 protected AssetCategoryLocalService assetCategoryLocalService;
1777 @BeanReference(type = AssetCategoryService.class)
1778 protected AssetCategoryService assetCategoryService;
1779 @BeanReference(type = AssetCategoryPersistence.class)
1780 protected AssetCategoryPersistence assetCategoryPersistence;
1781 @BeanReference(type = AssetCategoryFinder.class)
1782 protected AssetCategoryFinder assetCategoryFinder;
1783 @BeanReference(type = AssetEntryLocalService.class)
1784 protected AssetEntryLocalService assetEntryLocalService;
1785 @BeanReference(type = AssetEntryService.class)
1786 protected AssetEntryService assetEntryService;
1787 @BeanReference(type = AssetEntryPersistence.class)
1788 protected AssetEntryPersistence assetEntryPersistence;
1789 @BeanReference(type = AssetEntryFinder.class)
1790 protected AssetEntryFinder assetEntryFinder;
1791 @BeanReference(type = AssetTagLocalService.class)
1792 protected AssetTagLocalService assetTagLocalService;
1793 @BeanReference(type = AssetTagService.class)
1794 protected AssetTagService assetTagService;
1795 @BeanReference(type = AssetTagPersistence.class)
1796 protected AssetTagPersistence assetTagPersistence;
1797 @BeanReference(type = AssetTagFinder.class)
1798 protected AssetTagFinder assetTagFinder;
1799 @BeanReference(type = ExpandoValueLocalService.class)
1800 protected ExpandoValueLocalService expandoValueLocalService;
1801 @BeanReference(type = ExpandoValueService.class)
1802 protected ExpandoValueService expandoValueService;
1803 @BeanReference(type = ExpandoValuePersistence.class)
1804 protected ExpandoValuePersistence expandoValuePersistence;
1805 @BeanReference(type = MBMessageLocalService.class)
1806 protected MBMessageLocalService mbMessageLocalService;
1807 @BeanReference(type = MBMessageService.class)
1808 protected MBMessageService mbMessageService;
1809 @BeanReference(type = MBMessagePersistence.class)
1810 protected MBMessagePersistence mbMessagePersistence;
1811 @BeanReference(type = MBMessageFinder.class)
1812 protected MBMessageFinder mbMessageFinder;
1813 @BeanReference(type = RatingsStatsLocalService.class)
1814 protected RatingsStatsLocalService ratingsStatsLocalService;
1815 @BeanReference(type = RatingsStatsPersistence.class)
1816 protected RatingsStatsPersistence ratingsStatsPersistence;
1817 @BeanReference(type = RatingsStatsFinder.class)
1818 protected RatingsStatsFinder ratingsStatsFinder;
1819 }