001
014
015 package com.liferay.portlet.journal.service.base;
016
017 import com.liferay.portal.kernel.bean.BeanReference;
018 import com.liferay.portal.kernel.bean.IdentifiableBean;
019 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
020 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
021 import com.liferay.portal.kernel.exception.SystemException;
022 import com.liferay.portal.service.BaseServiceImpl;
023 import com.liferay.portal.service.persistence.SystemEventPersistence;
024 import com.liferay.portal.service.persistence.UserFinder;
025 import com.liferay.portal.service.persistence.UserPersistence;
026
027 import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder;
028 import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence;
029 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
030 import com.liferay.portlet.journal.model.JournalFeed;
031 import com.liferay.portlet.journal.service.JournalFeedService;
032 import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
033 import com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence;
034 import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
035 import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
036 import com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence;
037 import com.liferay.portlet.journal.service.persistence.JournalFeedFinder;
038 import com.liferay.portlet.journal.service.persistence.JournalFeedPersistence;
039 import com.liferay.portlet.journal.service.persistence.JournalFolderFinder;
040 import com.liferay.portlet.journal.service.persistence.JournalFolderPersistence;
041
042 import javax.sql.DataSource;
043
044
056 public abstract class JournalFeedServiceBaseImpl extends BaseServiceImpl
057 implements JournalFeedService, IdentifiableBean {
058
063
064
069 public com.liferay.portlet.journal.service.JournalArticleLocalService getJournalArticleLocalService() {
070 return journalArticleLocalService;
071 }
072
073
078 public void setJournalArticleLocalService(
079 com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService) {
080 this.journalArticleLocalService = journalArticleLocalService;
081 }
082
083
088 public com.liferay.portlet.journal.service.JournalArticleService getJournalArticleService() {
089 return journalArticleService;
090 }
091
092
097 public void setJournalArticleService(
098 com.liferay.portlet.journal.service.JournalArticleService journalArticleService) {
099 this.journalArticleService = journalArticleService;
100 }
101
102
107 public JournalArticlePersistence getJournalArticlePersistence() {
108 return journalArticlePersistence;
109 }
110
111
116 public void setJournalArticlePersistence(
117 JournalArticlePersistence journalArticlePersistence) {
118 this.journalArticlePersistence = journalArticlePersistence;
119 }
120
121
126 public JournalArticleFinder getJournalArticleFinder() {
127 return journalArticleFinder;
128 }
129
130
135 public void setJournalArticleFinder(
136 JournalArticleFinder journalArticleFinder) {
137 this.journalArticleFinder = journalArticleFinder;
138 }
139
140
145 public com.liferay.portlet.journal.service.JournalArticleImageLocalService getJournalArticleImageLocalService() {
146 return journalArticleImageLocalService;
147 }
148
149
154 public void setJournalArticleImageLocalService(
155 com.liferay.portlet.journal.service.JournalArticleImageLocalService journalArticleImageLocalService) {
156 this.journalArticleImageLocalService = journalArticleImageLocalService;
157 }
158
159
164 public JournalArticleImagePersistence getJournalArticleImagePersistence() {
165 return journalArticleImagePersistence;
166 }
167
168
173 public void setJournalArticleImagePersistence(
174 JournalArticleImagePersistence journalArticleImagePersistence) {
175 this.journalArticleImagePersistence = journalArticleImagePersistence;
176 }
177
178
183 public com.liferay.portlet.journal.service.JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
184 return journalArticleResourceLocalService;
185 }
186
187
192 public void setJournalArticleResourceLocalService(
193 com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService) {
194 this.journalArticleResourceLocalService = journalArticleResourceLocalService;
195 }
196
197
202 public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
203 return journalArticleResourcePersistence;
204 }
205
206
211 public void setJournalArticleResourcePersistence(
212 JournalArticleResourcePersistence journalArticleResourcePersistence) {
213 this.journalArticleResourcePersistence = journalArticleResourcePersistence;
214 }
215
216
221 public com.liferay.portlet.journal.service.JournalContentSearchLocalService getJournalContentSearchLocalService() {
222 return journalContentSearchLocalService;
223 }
224
225
230 public void setJournalContentSearchLocalService(
231 com.liferay.portlet.journal.service.JournalContentSearchLocalService journalContentSearchLocalService) {
232 this.journalContentSearchLocalService = journalContentSearchLocalService;
233 }
234
235
240 public JournalContentSearchPersistence getJournalContentSearchPersistence() {
241 return journalContentSearchPersistence;
242 }
243
244
249 public void setJournalContentSearchPersistence(
250 JournalContentSearchPersistence journalContentSearchPersistence) {
251 this.journalContentSearchPersistence = journalContentSearchPersistence;
252 }
253
254
259 public com.liferay.portlet.journal.service.JournalFeedLocalService getJournalFeedLocalService() {
260 return journalFeedLocalService;
261 }
262
263
268 public void setJournalFeedLocalService(
269 com.liferay.portlet.journal.service.JournalFeedLocalService journalFeedLocalService) {
270 this.journalFeedLocalService = journalFeedLocalService;
271 }
272
273
278 public com.liferay.portlet.journal.service.JournalFeedService getJournalFeedService() {
279 return journalFeedService;
280 }
281
282
287 public void setJournalFeedService(
288 com.liferay.portlet.journal.service.JournalFeedService journalFeedService) {
289 this.journalFeedService = journalFeedService;
290 }
291
292
297 public JournalFeedPersistence getJournalFeedPersistence() {
298 return journalFeedPersistence;
299 }
300
301
306 public void setJournalFeedPersistence(
307 JournalFeedPersistence journalFeedPersistence) {
308 this.journalFeedPersistence = journalFeedPersistence;
309 }
310
311
316 public JournalFeedFinder getJournalFeedFinder() {
317 return journalFeedFinder;
318 }
319
320
325 public void setJournalFeedFinder(JournalFeedFinder journalFeedFinder) {
326 this.journalFeedFinder = journalFeedFinder;
327 }
328
329
334 public com.liferay.portlet.journal.service.JournalFolderLocalService getJournalFolderLocalService() {
335 return journalFolderLocalService;
336 }
337
338
343 public void setJournalFolderLocalService(
344 com.liferay.portlet.journal.service.JournalFolderLocalService journalFolderLocalService) {
345 this.journalFolderLocalService = journalFolderLocalService;
346 }
347
348
353 public com.liferay.portlet.journal.service.JournalFolderService getJournalFolderService() {
354 return journalFolderService;
355 }
356
357
362 public void setJournalFolderService(
363 com.liferay.portlet.journal.service.JournalFolderService journalFolderService) {
364 this.journalFolderService = journalFolderService;
365 }
366
367
372 public JournalFolderPersistence getJournalFolderPersistence() {
373 return journalFolderPersistence;
374 }
375
376
381 public void setJournalFolderPersistence(
382 JournalFolderPersistence journalFolderPersistence) {
383 this.journalFolderPersistence = journalFolderPersistence;
384 }
385
386
391 public JournalFolderFinder getJournalFolderFinder() {
392 return journalFolderFinder;
393 }
394
395
400 public void setJournalFolderFinder(JournalFolderFinder journalFolderFinder) {
401 this.journalFolderFinder = journalFolderFinder;
402 }
403
404
409 @SuppressWarnings("deprecation")
410 public com.liferay.portlet.journal.service.JournalStructureLocalService getJournalStructureLocalService() {
411 return journalStructureLocalService;
412 }
413
414
419 @SuppressWarnings("deprecation")
420 public void setJournalStructureLocalService(
421 com.liferay.portlet.journal.service.JournalStructureLocalService journalStructureLocalService) {
422 this.journalStructureLocalService = journalStructureLocalService;
423 }
424
425
430 @SuppressWarnings("deprecation")
431 public com.liferay.portlet.journal.service.JournalStructureService getJournalStructureService() {
432 return journalStructureService;
433 }
434
435
440 @SuppressWarnings("deprecation")
441 public void setJournalStructureService(
442 com.liferay.portlet.journal.service.JournalStructureService journalStructureService) {
443 this.journalStructureService = journalStructureService;
444 }
445
446
451 @SuppressWarnings("deprecation")
452 public com.liferay.portlet.journal.service.JournalTemplateLocalService getJournalTemplateLocalService() {
453 return journalTemplateLocalService;
454 }
455
456
461 @SuppressWarnings("deprecation")
462 public void setJournalTemplateLocalService(
463 com.liferay.portlet.journal.service.JournalTemplateLocalService journalTemplateLocalService) {
464 this.journalTemplateLocalService = journalTemplateLocalService;
465 }
466
467
472 @SuppressWarnings("deprecation")
473 public com.liferay.portlet.journal.service.JournalTemplateService getJournalTemplateService() {
474 return journalTemplateService;
475 }
476
477
482 @SuppressWarnings("deprecation")
483 public void setJournalTemplateService(
484 com.liferay.portlet.journal.service.JournalTemplateService journalTemplateService) {
485 this.journalTemplateService = journalTemplateService;
486 }
487
488
493 public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
494 return counterLocalService;
495 }
496
497
502 public void setCounterLocalService(
503 com.liferay.counter.service.CounterLocalService counterLocalService) {
504 this.counterLocalService = counterLocalService;
505 }
506
507
512 public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
513 return resourceLocalService;
514 }
515
516
521 public void setResourceLocalService(
522 com.liferay.portal.service.ResourceLocalService resourceLocalService) {
523 this.resourceLocalService = resourceLocalService;
524 }
525
526
531 public com.liferay.portal.service.SystemEventLocalService getSystemEventLocalService() {
532 return systemEventLocalService;
533 }
534
535
540 public void setSystemEventLocalService(
541 com.liferay.portal.service.SystemEventLocalService systemEventLocalService) {
542 this.systemEventLocalService = systemEventLocalService;
543 }
544
545
550 public SystemEventPersistence getSystemEventPersistence() {
551 return systemEventPersistence;
552 }
553
554
559 public void setSystemEventPersistence(
560 SystemEventPersistence systemEventPersistence) {
561 this.systemEventPersistence = systemEventPersistence;
562 }
563
564
569 public com.liferay.portal.service.UserLocalService getUserLocalService() {
570 return userLocalService;
571 }
572
573
578 public void setUserLocalService(
579 com.liferay.portal.service.UserLocalService userLocalService) {
580 this.userLocalService = userLocalService;
581 }
582
583
588 public com.liferay.portal.service.UserService getUserService() {
589 return userService;
590 }
591
592
597 public void setUserService(
598 com.liferay.portal.service.UserService userService) {
599 this.userService = userService;
600 }
601
602
607 public UserPersistence getUserPersistence() {
608 return userPersistence;
609 }
610
611
616 public void setUserPersistence(UserPersistence userPersistence) {
617 this.userPersistence = userPersistence;
618 }
619
620
625 public UserFinder getUserFinder() {
626 return userFinder;
627 }
628
629
634 public void setUserFinder(UserFinder userFinder) {
635 this.userFinder = userFinder;
636 }
637
638
643 public com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService getDDMStructureLocalService() {
644 return ddmStructureLocalService;
645 }
646
647
652 public void setDDMStructureLocalService(
653 com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService) {
654 this.ddmStructureLocalService = ddmStructureLocalService;
655 }
656
657
662 public com.liferay.portlet.dynamicdatamapping.service.DDMStructureService getDDMStructureService() {
663 return ddmStructureService;
664 }
665
666
671 public void setDDMStructureService(
672 com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService) {
673 this.ddmStructureService = ddmStructureService;
674 }
675
676
681 public DDMStructurePersistence getDDMStructurePersistence() {
682 return ddmStructurePersistence;
683 }
684
685
690 public void setDDMStructurePersistence(
691 DDMStructurePersistence ddmStructurePersistence) {
692 this.ddmStructurePersistence = ddmStructurePersistence;
693 }
694
695
700 public DDMStructureFinder getDDMStructureFinder() {
701 return ddmStructureFinder;
702 }
703
704
709 public void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder) {
710 this.ddmStructureFinder = ddmStructureFinder;
711 }
712
713
718 public com.liferay.portlet.expando.service.ExpandoValueLocalService getExpandoValueLocalService() {
719 return expandoValueLocalService;
720 }
721
722
727 public void setExpandoValueLocalService(
728 com.liferay.portlet.expando.service.ExpandoValueLocalService expandoValueLocalService) {
729 this.expandoValueLocalService = expandoValueLocalService;
730 }
731
732
737 public com.liferay.portlet.expando.service.ExpandoValueService getExpandoValueService() {
738 return expandoValueService;
739 }
740
741
746 public void setExpandoValueService(
747 com.liferay.portlet.expando.service.ExpandoValueService expandoValueService) {
748 this.expandoValueService = expandoValueService;
749 }
750
751
756 public ExpandoValuePersistence getExpandoValuePersistence() {
757 return expandoValuePersistence;
758 }
759
760
765 public void setExpandoValuePersistence(
766 ExpandoValuePersistence expandoValuePersistence) {
767 this.expandoValuePersistence = expandoValuePersistence;
768 }
769
770 public void afterPropertiesSet() {
771 }
772
773 public void destroy() {
774 }
775
776
781 @Override
782 public String getBeanIdentifier() {
783 return _beanIdentifier;
784 }
785
786
791 @Override
792 public void setBeanIdentifier(String beanIdentifier) {
793 _beanIdentifier = beanIdentifier;
794 }
795
796 protected Class<?> getModelClass() {
797 return JournalFeed.class;
798 }
799
800 protected String getModelClassName() {
801 return JournalFeed.class.getName();
802 }
803
804
809 protected void runSQL(String sql) throws SystemException {
810 try {
811 DataSource dataSource = journalFeedPersistence.getDataSource();
812
813 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
814 sql, new int[0]);
815
816 sqlUpdate.update();
817 }
818 catch (Exception e) {
819 throw new SystemException(e);
820 }
821 }
822
823 @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleLocalService.class)
824 protected com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService;
825 @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleService.class)
826 protected com.liferay.portlet.journal.service.JournalArticleService journalArticleService;
827 @BeanReference(type = JournalArticlePersistence.class)
828 protected JournalArticlePersistence journalArticlePersistence;
829 @BeanReference(type = JournalArticleFinder.class)
830 protected JournalArticleFinder journalArticleFinder;
831 @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleImageLocalService.class)
832 protected com.liferay.portlet.journal.service.JournalArticleImageLocalService journalArticleImageLocalService;
833 @BeanReference(type = JournalArticleImagePersistence.class)
834 protected JournalArticleImagePersistence journalArticleImagePersistence;
835 @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleResourceLocalService.class)
836 protected com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService;
837 @BeanReference(type = JournalArticleResourcePersistence.class)
838 protected JournalArticleResourcePersistence journalArticleResourcePersistence;
839 @BeanReference(type = com.liferay.portlet.journal.service.JournalContentSearchLocalService.class)
840 protected com.liferay.portlet.journal.service.JournalContentSearchLocalService journalContentSearchLocalService;
841 @BeanReference(type = JournalContentSearchPersistence.class)
842 protected JournalContentSearchPersistence journalContentSearchPersistence;
843 @BeanReference(type = com.liferay.portlet.journal.service.JournalFeedLocalService.class)
844 protected com.liferay.portlet.journal.service.JournalFeedLocalService journalFeedLocalService;
845 @BeanReference(type = com.liferay.portlet.journal.service.JournalFeedService.class)
846 protected com.liferay.portlet.journal.service.JournalFeedService journalFeedService;
847 @BeanReference(type = JournalFeedPersistence.class)
848 protected JournalFeedPersistence journalFeedPersistence;
849 @BeanReference(type = JournalFeedFinder.class)
850 protected JournalFeedFinder journalFeedFinder;
851 @BeanReference(type = com.liferay.portlet.journal.service.JournalFolderLocalService.class)
852 protected com.liferay.portlet.journal.service.JournalFolderLocalService journalFolderLocalService;
853 @BeanReference(type = com.liferay.portlet.journal.service.JournalFolderService.class)
854 protected com.liferay.portlet.journal.service.JournalFolderService journalFolderService;
855 @BeanReference(type = JournalFolderPersistence.class)
856 protected JournalFolderPersistence journalFolderPersistence;
857 @BeanReference(type = JournalFolderFinder.class)
858 protected JournalFolderFinder journalFolderFinder;
859 @BeanReference(type = com.liferay.portlet.journal.service.JournalStructureLocalService.class)
860 @SuppressWarnings("deprecation")
861 protected com.liferay.portlet.journal.service.JournalStructureLocalService journalStructureLocalService;
862 @BeanReference(type = com.liferay.portlet.journal.service.JournalStructureService.class)
863 @SuppressWarnings("deprecation")
864 protected com.liferay.portlet.journal.service.JournalStructureService journalStructureService;
865 @BeanReference(type = com.liferay.portlet.journal.service.JournalTemplateLocalService.class)
866 @SuppressWarnings("deprecation")
867 protected com.liferay.portlet.journal.service.JournalTemplateLocalService journalTemplateLocalService;
868 @BeanReference(type = com.liferay.portlet.journal.service.JournalTemplateService.class)
869 @SuppressWarnings("deprecation")
870 protected com.liferay.portlet.journal.service.JournalTemplateService journalTemplateService;
871 @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
872 protected com.liferay.counter.service.CounterLocalService counterLocalService;
873 @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
874 protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
875 @BeanReference(type = com.liferay.portal.service.SystemEventLocalService.class)
876 protected com.liferay.portal.service.SystemEventLocalService systemEventLocalService;
877 @BeanReference(type = SystemEventPersistence.class)
878 protected SystemEventPersistence systemEventPersistence;
879 @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
880 protected com.liferay.portal.service.UserLocalService userLocalService;
881 @BeanReference(type = com.liferay.portal.service.UserService.class)
882 protected com.liferay.portal.service.UserService userService;
883 @BeanReference(type = UserPersistence.class)
884 protected UserPersistence userPersistence;
885 @BeanReference(type = UserFinder.class)
886 protected UserFinder userFinder;
887 @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService.class)
888 protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService;
889 @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureService.class)
890 protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService;
891 @BeanReference(type = DDMStructurePersistence.class)
892 protected DDMStructurePersistence ddmStructurePersistence;
893 @BeanReference(type = DDMStructureFinder.class)
894 protected DDMStructureFinder ddmStructureFinder;
895 @BeanReference(type = com.liferay.portlet.expando.service.ExpandoValueLocalService.class)
896 protected com.liferay.portlet.expando.service.ExpandoValueLocalService expandoValueLocalService;
897 @BeanReference(type = com.liferay.portlet.expando.service.ExpandoValueService.class)
898 protected com.liferay.portlet.expando.service.ExpandoValueService expandoValueService;
899 @BeanReference(type = ExpandoValuePersistence.class)
900 protected ExpandoValuePersistence expandoValuePersistence;
901 private String _beanIdentifier;
902 }