001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.journal.service.base;
016    
017    import com.liferay.counter.service.CounterLocalService;
018    
019    import com.liferay.portal.kernel.bean.BeanReference;
020    import com.liferay.portal.kernel.bean.IdentifiableBean;
021    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
022    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
023    import com.liferay.portal.kernel.exception.SystemException;
024    import com.liferay.portal.service.BaseServiceImpl;
025    import com.liferay.portal.service.ResourceLocalService;
026    import com.liferay.portal.service.UserLocalService;
027    import com.liferay.portal.service.UserService;
028    import com.liferay.portal.service.persistence.UserFinder;
029    import com.liferay.portal.service.persistence.UserPersistence;
030    
031    import com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService;
032    import com.liferay.portlet.dynamicdatamapping.service.DDMStructureService;
033    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder;
034    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence;
035    import com.liferay.portlet.expando.service.ExpandoValueLocalService;
036    import com.liferay.portlet.expando.service.ExpandoValueService;
037    import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
038    import com.liferay.portlet.journal.model.JournalFeed;
039    import com.liferay.portlet.journal.service.JournalArticleImageLocalService;
040    import com.liferay.portlet.journal.service.JournalArticleLocalService;
041    import com.liferay.portlet.journal.service.JournalArticleResourceLocalService;
042    import com.liferay.portlet.journal.service.JournalArticleService;
043    import com.liferay.portlet.journal.service.JournalContentSearchLocalService;
044    import com.liferay.portlet.journal.service.JournalFeedLocalService;
045    import com.liferay.portlet.journal.service.JournalFeedService;
046    import com.liferay.portlet.journal.service.JournalFolderLocalService;
047    import com.liferay.portlet.journal.service.JournalFolderService;
048    import com.liferay.portlet.journal.service.JournalStructureLocalService;
049    import com.liferay.portlet.journal.service.JournalStructureService;
050    import com.liferay.portlet.journal.service.JournalTemplateLocalService;
051    import com.liferay.portlet.journal.service.JournalTemplateService;
052    import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
053    import com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence;
054    import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
055    import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
056    import com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence;
057    import com.liferay.portlet.journal.service.persistence.JournalFeedFinder;
058    import com.liferay.portlet.journal.service.persistence.JournalFeedPersistence;
059    import com.liferay.portlet.journal.service.persistence.JournalFolderFinder;
060    import com.liferay.portlet.journal.service.persistence.JournalFolderPersistence;
061    import com.liferay.portlet.journal.service.persistence.JournalStructureFinder;
062    import com.liferay.portlet.journal.service.persistence.JournalStructurePersistence;
063    import com.liferay.portlet.journal.service.persistence.JournalTemplateFinder;
064    import com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence;
065    
066    import javax.sql.DataSource;
067    
068    /**
069     * The base implementation of the journal feed remote service.
070     *
071     * <p>
072     * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link com.liferay.portlet.journal.service.impl.JournalFeedServiceImpl}.
073     * </p>
074     *
075     * @author Brian Wing Shun Chan
076     * @see com.liferay.portlet.journal.service.impl.JournalFeedServiceImpl
077     * @see com.liferay.portlet.journal.service.JournalFeedServiceUtil
078     * @generated
079     */
080    public abstract class JournalFeedServiceBaseImpl extends BaseServiceImpl
081            implements JournalFeedService, IdentifiableBean {
082            /*
083             * NOTE FOR DEVELOPERS:
084             *
085             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.journal.service.JournalFeedServiceUtil} to access the journal feed remote service.
086             */
087    
088            /**
089             * Returns the journal article local service.
090             *
091             * @return the journal article local service
092             */
093            public JournalArticleLocalService getJournalArticleLocalService() {
094                    return journalArticleLocalService;
095            }
096    
097            /**
098             * Sets the journal article local service.
099             *
100             * @param journalArticleLocalService the journal article local service
101             */
102            public void setJournalArticleLocalService(
103                    JournalArticleLocalService journalArticleLocalService) {
104                    this.journalArticleLocalService = journalArticleLocalService;
105            }
106    
107            /**
108             * Returns the journal article remote service.
109             *
110             * @return the journal article remote service
111             */
112            public JournalArticleService getJournalArticleService() {
113                    return journalArticleService;
114            }
115    
116            /**
117             * Sets the journal article remote service.
118             *
119             * @param journalArticleService the journal article remote service
120             */
121            public void setJournalArticleService(
122                    JournalArticleService journalArticleService) {
123                    this.journalArticleService = journalArticleService;
124            }
125    
126            /**
127             * Returns the journal article persistence.
128             *
129             * @return the journal article persistence
130             */
131            public JournalArticlePersistence getJournalArticlePersistence() {
132                    return journalArticlePersistence;
133            }
134    
135            /**
136             * Sets the journal article persistence.
137             *
138             * @param journalArticlePersistence the journal article persistence
139             */
140            public void setJournalArticlePersistence(
141                    JournalArticlePersistence journalArticlePersistence) {
142                    this.journalArticlePersistence = journalArticlePersistence;
143            }
144    
145            /**
146             * Returns the journal article finder.
147             *
148             * @return the journal article finder
149             */
150            public JournalArticleFinder getJournalArticleFinder() {
151                    return journalArticleFinder;
152            }
153    
154            /**
155             * Sets the journal article finder.
156             *
157             * @param journalArticleFinder the journal article finder
158             */
159            public void setJournalArticleFinder(
160                    JournalArticleFinder journalArticleFinder) {
161                    this.journalArticleFinder = journalArticleFinder;
162            }
163    
164            /**
165             * Returns the journal article image local service.
166             *
167             * @return the journal article image local service
168             */
169            public JournalArticleImageLocalService getJournalArticleImageLocalService() {
170                    return journalArticleImageLocalService;
171            }
172    
173            /**
174             * Sets the journal article image local service.
175             *
176             * @param journalArticleImageLocalService the journal article image local service
177             */
178            public void setJournalArticleImageLocalService(
179                    JournalArticleImageLocalService journalArticleImageLocalService) {
180                    this.journalArticleImageLocalService = journalArticleImageLocalService;
181            }
182    
183            /**
184             * Returns the journal article image persistence.
185             *
186             * @return the journal article image persistence
187             */
188            public JournalArticleImagePersistence getJournalArticleImagePersistence() {
189                    return journalArticleImagePersistence;
190            }
191    
192            /**
193             * Sets the journal article image persistence.
194             *
195             * @param journalArticleImagePersistence the journal article image persistence
196             */
197            public void setJournalArticleImagePersistence(
198                    JournalArticleImagePersistence journalArticleImagePersistence) {
199                    this.journalArticleImagePersistence = journalArticleImagePersistence;
200            }
201    
202            /**
203             * Returns the journal article resource local service.
204             *
205             * @return the journal article resource local service
206             */
207            public JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
208                    return journalArticleResourceLocalService;
209            }
210    
211            /**
212             * Sets the journal article resource local service.
213             *
214             * @param journalArticleResourceLocalService the journal article resource local service
215             */
216            public void setJournalArticleResourceLocalService(
217                    JournalArticleResourceLocalService journalArticleResourceLocalService) {
218                    this.journalArticleResourceLocalService = journalArticleResourceLocalService;
219            }
220    
221            /**
222             * Returns the journal article resource persistence.
223             *
224             * @return the journal article resource persistence
225             */
226            public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
227                    return journalArticleResourcePersistence;
228            }
229    
230            /**
231             * Sets the journal article resource persistence.
232             *
233             * @param journalArticleResourcePersistence the journal article resource persistence
234             */
235            public void setJournalArticleResourcePersistence(
236                    JournalArticleResourcePersistence journalArticleResourcePersistence) {
237                    this.journalArticleResourcePersistence = journalArticleResourcePersistence;
238            }
239    
240            /**
241             * Returns the journal content search local service.
242             *
243             * @return the journal content search local service
244             */
245            public JournalContentSearchLocalService getJournalContentSearchLocalService() {
246                    return journalContentSearchLocalService;
247            }
248    
249            /**
250             * Sets the journal content search local service.
251             *
252             * @param journalContentSearchLocalService the journal content search local service
253             */
254            public void setJournalContentSearchLocalService(
255                    JournalContentSearchLocalService journalContentSearchLocalService) {
256                    this.journalContentSearchLocalService = journalContentSearchLocalService;
257            }
258    
259            /**
260             * Returns the journal content search persistence.
261             *
262             * @return the journal content search persistence
263             */
264            public JournalContentSearchPersistence getJournalContentSearchPersistence() {
265                    return journalContentSearchPersistence;
266            }
267    
268            /**
269             * Sets the journal content search persistence.
270             *
271             * @param journalContentSearchPersistence the journal content search persistence
272             */
273            public void setJournalContentSearchPersistence(
274                    JournalContentSearchPersistence journalContentSearchPersistence) {
275                    this.journalContentSearchPersistence = journalContentSearchPersistence;
276            }
277    
278            /**
279             * Returns the journal feed local service.
280             *
281             * @return the journal feed local service
282             */
283            public JournalFeedLocalService getJournalFeedLocalService() {
284                    return journalFeedLocalService;
285            }
286    
287            /**
288             * Sets the journal feed local service.
289             *
290             * @param journalFeedLocalService the journal feed local service
291             */
292            public void setJournalFeedLocalService(
293                    JournalFeedLocalService journalFeedLocalService) {
294                    this.journalFeedLocalService = journalFeedLocalService;
295            }
296    
297            /**
298             * Returns the journal feed remote service.
299             *
300             * @return the journal feed remote service
301             */
302            public JournalFeedService getJournalFeedService() {
303                    return journalFeedService;
304            }
305    
306            /**
307             * Sets the journal feed remote service.
308             *
309             * @param journalFeedService the journal feed remote service
310             */
311            public void setJournalFeedService(JournalFeedService journalFeedService) {
312                    this.journalFeedService = journalFeedService;
313            }
314    
315            /**
316             * Returns the journal feed persistence.
317             *
318             * @return the journal feed persistence
319             */
320            public JournalFeedPersistence getJournalFeedPersistence() {
321                    return journalFeedPersistence;
322            }
323    
324            /**
325             * Sets the journal feed persistence.
326             *
327             * @param journalFeedPersistence the journal feed persistence
328             */
329            public void setJournalFeedPersistence(
330                    JournalFeedPersistence journalFeedPersistence) {
331                    this.journalFeedPersistence = journalFeedPersistence;
332            }
333    
334            /**
335             * Returns the journal feed finder.
336             *
337             * @return the journal feed finder
338             */
339            public JournalFeedFinder getJournalFeedFinder() {
340                    return journalFeedFinder;
341            }
342    
343            /**
344             * Sets the journal feed finder.
345             *
346             * @param journalFeedFinder the journal feed finder
347             */
348            public void setJournalFeedFinder(JournalFeedFinder journalFeedFinder) {
349                    this.journalFeedFinder = journalFeedFinder;
350            }
351    
352            /**
353             * Returns the journal folder local service.
354             *
355             * @return the journal folder local service
356             */
357            public JournalFolderLocalService getJournalFolderLocalService() {
358                    return journalFolderLocalService;
359            }
360    
361            /**
362             * Sets the journal folder local service.
363             *
364             * @param journalFolderLocalService the journal folder local service
365             */
366            public void setJournalFolderLocalService(
367                    JournalFolderLocalService journalFolderLocalService) {
368                    this.journalFolderLocalService = journalFolderLocalService;
369            }
370    
371            /**
372             * Returns the journal folder remote service.
373             *
374             * @return the journal folder remote service
375             */
376            public JournalFolderService getJournalFolderService() {
377                    return journalFolderService;
378            }
379    
380            /**
381             * Sets the journal folder remote service.
382             *
383             * @param journalFolderService the journal folder remote service
384             */
385            public void setJournalFolderService(
386                    JournalFolderService journalFolderService) {
387                    this.journalFolderService = journalFolderService;
388            }
389    
390            /**
391             * Returns the journal folder persistence.
392             *
393             * @return the journal folder persistence
394             */
395            public JournalFolderPersistence getJournalFolderPersistence() {
396                    return journalFolderPersistence;
397            }
398    
399            /**
400             * Sets the journal folder persistence.
401             *
402             * @param journalFolderPersistence the journal folder persistence
403             */
404            public void setJournalFolderPersistence(
405                    JournalFolderPersistence journalFolderPersistence) {
406                    this.journalFolderPersistence = journalFolderPersistence;
407            }
408    
409            /**
410             * Returns the journal folder finder.
411             *
412             * @return the journal folder finder
413             */
414            public JournalFolderFinder getJournalFolderFinder() {
415                    return journalFolderFinder;
416            }
417    
418            /**
419             * Sets the journal folder finder.
420             *
421             * @param journalFolderFinder the journal folder finder
422             */
423            public void setJournalFolderFinder(JournalFolderFinder journalFolderFinder) {
424                    this.journalFolderFinder = journalFolderFinder;
425            }
426    
427            /**
428             * Returns the journal structure local service.
429             *
430             * @return the journal structure local service
431             */
432            public JournalStructureLocalService getJournalStructureLocalService() {
433                    return journalStructureLocalService;
434            }
435    
436            /**
437             * Sets the journal structure local service.
438             *
439             * @param journalStructureLocalService the journal structure local service
440             */
441            public void setJournalStructureLocalService(
442                    JournalStructureLocalService journalStructureLocalService) {
443                    this.journalStructureLocalService = journalStructureLocalService;
444            }
445    
446            /**
447             * Returns the journal structure remote service.
448             *
449             * @return the journal structure remote service
450             */
451            public JournalStructureService getJournalStructureService() {
452                    return journalStructureService;
453            }
454    
455            /**
456             * Sets the journal structure remote service.
457             *
458             * @param journalStructureService the journal structure remote service
459             */
460            public void setJournalStructureService(
461                    JournalStructureService journalStructureService) {
462                    this.journalStructureService = journalStructureService;
463            }
464    
465            /**
466             * Returns the journal structure persistence.
467             *
468             * @return the journal structure persistence
469             */
470            public JournalStructurePersistence getJournalStructurePersistence() {
471                    return journalStructurePersistence;
472            }
473    
474            /**
475             * Sets the journal structure persistence.
476             *
477             * @param journalStructurePersistence the journal structure persistence
478             */
479            public void setJournalStructurePersistence(
480                    JournalStructurePersistence journalStructurePersistence) {
481                    this.journalStructurePersistence = journalStructurePersistence;
482            }
483    
484            /**
485             * Returns the journal structure finder.
486             *
487             * @return the journal structure finder
488             */
489            public JournalStructureFinder getJournalStructureFinder() {
490                    return journalStructureFinder;
491            }
492    
493            /**
494             * Sets the journal structure finder.
495             *
496             * @param journalStructureFinder the journal structure finder
497             */
498            public void setJournalStructureFinder(
499                    JournalStructureFinder journalStructureFinder) {
500                    this.journalStructureFinder = journalStructureFinder;
501            }
502    
503            /**
504             * Returns the journal template local service.
505             *
506             * @return the journal template local service
507             */
508            public JournalTemplateLocalService getJournalTemplateLocalService() {
509                    return journalTemplateLocalService;
510            }
511    
512            /**
513             * Sets the journal template local service.
514             *
515             * @param journalTemplateLocalService the journal template local service
516             */
517            public void setJournalTemplateLocalService(
518                    JournalTemplateLocalService journalTemplateLocalService) {
519                    this.journalTemplateLocalService = journalTemplateLocalService;
520            }
521    
522            /**
523             * Returns the journal template remote service.
524             *
525             * @return the journal template remote service
526             */
527            public JournalTemplateService getJournalTemplateService() {
528                    return journalTemplateService;
529            }
530    
531            /**
532             * Sets the journal template remote service.
533             *
534             * @param journalTemplateService the journal template remote service
535             */
536            public void setJournalTemplateService(
537                    JournalTemplateService journalTemplateService) {
538                    this.journalTemplateService = journalTemplateService;
539            }
540    
541            /**
542             * Returns the journal template persistence.
543             *
544             * @return the journal template persistence
545             */
546            public JournalTemplatePersistence getJournalTemplatePersistence() {
547                    return journalTemplatePersistence;
548            }
549    
550            /**
551             * Sets the journal template persistence.
552             *
553             * @param journalTemplatePersistence the journal template persistence
554             */
555            public void setJournalTemplatePersistence(
556                    JournalTemplatePersistence journalTemplatePersistence) {
557                    this.journalTemplatePersistence = journalTemplatePersistence;
558            }
559    
560            /**
561             * Returns the journal template finder.
562             *
563             * @return the journal template finder
564             */
565            public JournalTemplateFinder getJournalTemplateFinder() {
566                    return journalTemplateFinder;
567            }
568    
569            /**
570             * Sets the journal template finder.
571             *
572             * @param journalTemplateFinder the journal template finder
573             */
574            public void setJournalTemplateFinder(
575                    JournalTemplateFinder journalTemplateFinder) {
576                    this.journalTemplateFinder = journalTemplateFinder;
577            }
578    
579            /**
580             * Returns the counter local service.
581             *
582             * @return the counter local service
583             */
584            public CounterLocalService getCounterLocalService() {
585                    return counterLocalService;
586            }
587    
588            /**
589             * Sets the counter local service.
590             *
591             * @param counterLocalService the counter local service
592             */
593            public void setCounterLocalService(CounterLocalService counterLocalService) {
594                    this.counterLocalService = counterLocalService;
595            }
596    
597            /**
598             * Returns the resource local service.
599             *
600             * @return the resource local service
601             */
602            public ResourceLocalService getResourceLocalService() {
603                    return resourceLocalService;
604            }
605    
606            /**
607             * Sets the resource local service.
608             *
609             * @param resourceLocalService the resource local service
610             */
611            public void setResourceLocalService(
612                    ResourceLocalService resourceLocalService) {
613                    this.resourceLocalService = resourceLocalService;
614            }
615    
616            /**
617             * Returns the user local service.
618             *
619             * @return the user local service
620             */
621            public UserLocalService getUserLocalService() {
622                    return userLocalService;
623            }
624    
625            /**
626             * Sets the user local service.
627             *
628             * @param userLocalService the user local service
629             */
630            public void setUserLocalService(UserLocalService userLocalService) {
631                    this.userLocalService = userLocalService;
632            }
633    
634            /**
635             * Returns the user remote service.
636             *
637             * @return the user remote service
638             */
639            public UserService getUserService() {
640                    return userService;
641            }
642    
643            /**
644             * Sets the user remote service.
645             *
646             * @param userService the user remote service
647             */
648            public void setUserService(UserService userService) {
649                    this.userService = userService;
650            }
651    
652            /**
653             * Returns the user persistence.
654             *
655             * @return the user persistence
656             */
657            public UserPersistence getUserPersistence() {
658                    return userPersistence;
659            }
660    
661            /**
662             * Sets the user persistence.
663             *
664             * @param userPersistence the user persistence
665             */
666            public void setUserPersistence(UserPersistence userPersistence) {
667                    this.userPersistence = userPersistence;
668            }
669    
670            /**
671             * Returns the user finder.
672             *
673             * @return the user finder
674             */
675            public UserFinder getUserFinder() {
676                    return userFinder;
677            }
678    
679            /**
680             * Sets the user finder.
681             *
682             * @param userFinder the user finder
683             */
684            public void setUserFinder(UserFinder userFinder) {
685                    this.userFinder = userFinder;
686            }
687    
688            /**
689             * Returns the d d m structure local service.
690             *
691             * @return the d d m structure local service
692             */
693            public DDMStructureLocalService getDDMStructureLocalService() {
694                    return ddmStructureLocalService;
695            }
696    
697            /**
698             * Sets the d d m structure local service.
699             *
700             * @param ddmStructureLocalService the d d m structure local service
701             */
702            public void setDDMStructureLocalService(
703                    DDMStructureLocalService ddmStructureLocalService) {
704                    this.ddmStructureLocalService = ddmStructureLocalService;
705            }
706    
707            /**
708             * Returns the d d m structure remote service.
709             *
710             * @return the d d m structure remote service
711             */
712            public DDMStructureService getDDMStructureService() {
713                    return ddmStructureService;
714            }
715    
716            /**
717             * Sets the d d m structure remote service.
718             *
719             * @param ddmStructureService the d d m structure remote service
720             */
721            public void setDDMStructureService(DDMStructureService ddmStructureService) {
722                    this.ddmStructureService = ddmStructureService;
723            }
724    
725            /**
726             * Returns the d d m structure persistence.
727             *
728             * @return the d d m structure persistence
729             */
730            public DDMStructurePersistence getDDMStructurePersistence() {
731                    return ddmStructurePersistence;
732            }
733    
734            /**
735             * Sets the d d m structure persistence.
736             *
737             * @param ddmStructurePersistence the d d m structure persistence
738             */
739            public void setDDMStructurePersistence(
740                    DDMStructurePersistence ddmStructurePersistence) {
741                    this.ddmStructurePersistence = ddmStructurePersistence;
742            }
743    
744            /**
745             * Returns the d d m structure finder.
746             *
747             * @return the d d m structure finder
748             */
749            public DDMStructureFinder getDDMStructureFinder() {
750                    return ddmStructureFinder;
751            }
752    
753            /**
754             * Sets the d d m structure finder.
755             *
756             * @param ddmStructureFinder the d d m structure finder
757             */
758            public void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder) {
759                    this.ddmStructureFinder = ddmStructureFinder;
760            }
761    
762            /**
763             * Returns the expando value local service.
764             *
765             * @return the expando value local service
766             */
767            public ExpandoValueLocalService getExpandoValueLocalService() {
768                    return expandoValueLocalService;
769            }
770    
771            /**
772             * Sets the expando value local service.
773             *
774             * @param expandoValueLocalService the expando value local service
775             */
776            public void setExpandoValueLocalService(
777                    ExpandoValueLocalService expandoValueLocalService) {
778                    this.expandoValueLocalService = expandoValueLocalService;
779            }
780    
781            /**
782             * Returns the expando value remote service.
783             *
784             * @return the expando value remote service
785             */
786            public ExpandoValueService getExpandoValueService() {
787                    return expandoValueService;
788            }
789    
790            /**
791             * Sets the expando value remote service.
792             *
793             * @param expandoValueService the expando value remote service
794             */
795            public void setExpandoValueService(ExpandoValueService expandoValueService) {
796                    this.expandoValueService = expandoValueService;
797            }
798    
799            /**
800             * Returns the expando value persistence.
801             *
802             * @return the expando value persistence
803             */
804            public ExpandoValuePersistence getExpandoValuePersistence() {
805                    return expandoValuePersistence;
806            }
807    
808            /**
809             * Sets the expando value persistence.
810             *
811             * @param expandoValuePersistence the expando value persistence
812             */
813            public void setExpandoValuePersistence(
814                    ExpandoValuePersistence expandoValuePersistence) {
815                    this.expandoValuePersistence = expandoValuePersistence;
816            }
817    
818            public void afterPropertiesSet() {
819            }
820    
821            public void destroy() {
822            }
823    
824            /**
825             * Returns the Spring bean ID for this bean.
826             *
827             * @return the Spring bean ID for this bean
828             */
829            public String getBeanIdentifier() {
830                    return _beanIdentifier;
831            }
832    
833            /**
834             * Sets the Spring bean ID for this bean.
835             *
836             * @param beanIdentifier the Spring bean ID for this bean
837             */
838            public void setBeanIdentifier(String beanIdentifier) {
839                    _beanIdentifier = beanIdentifier;
840            }
841    
842            protected Class<?> getModelClass() {
843                    return JournalFeed.class;
844            }
845    
846            protected String getModelClassName() {
847                    return JournalFeed.class.getName();
848            }
849    
850            /**
851             * Performs an SQL query.
852             *
853             * @param sql the sql query
854             */
855            protected void runSQL(String sql) throws SystemException {
856                    try {
857                            DataSource dataSource = journalFeedPersistence.getDataSource();
858    
859                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
860                                            sql, new int[0]);
861    
862                            sqlUpdate.update();
863                    }
864                    catch (Exception e) {
865                            throw new SystemException(e);
866                    }
867            }
868    
869            @BeanReference(type = JournalArticleLocalService.class)
870            protected JournalArticleLocalService journalArticleLocalService;
871            @BeanReference(type = JournalArticleService.class)
872            protected JournalArticleService journalArticleService;
873            @BeanReference(type = JournalArticlePersistence.class)
874            protected JournalArticlePersistence journalArticlePersistence;
875            @BeanReference(type = JournalArticleFinder.class)
876            protected JournalArticleFinder journalArticleFinder;
877            @BeanReference(type = JournalArticleImageLocalService.class)
878            protected JournalArticleImageLocalService journalArticleImageLocalService;
879            @BeanReference(type = JournalArticleImagePersistence.class)
880            protected JournalArticleImagePersistence journalArticleImagePersistence;
881            @BeanReference(type = JournalArticleResourceLocalService.class)
882            protected JournalArticleResourceLocalService journalArticleResourceLocalService;
883            @BeanReference(type = JournalArticleResourcePersistence.class)
884            protected JournalArticleResourcePersistence journalArticleResourcePersistence;
885            @BeanReference(type = JournalContentSearchLocalService.class)
886            protected JournalContentSearchLocalService journalContentSearchLocalService;
887            @BeanReference(type = JournalContentSearchPersistence.class)
888            protected JournalContentSearchPersistence journalContentSearchPersistence;
889            @BeanReference(type = JournalFeedLocalService.class)
890            protected JournalFeedLocalService journalFeedLocalService;
891            @BeanReference(type = JournalFeedService.class)
892            protected JournalFeedService journalFeedService;
893            @BeanReference(type = JournalFeedPersistence.class)
894            protected JournalFeedPersistence journalFeedPersistence;
895            @BeanReference(type = JournalFeedFinder.class)
896            protected JournalFeedFinder journalFeedFinder;
897            @BeanReference(type = JournalFolderLocalService.class)
898            protected JournalFolderLocalService journalFolderLocalService;
899            @BeanReference(type = JournalFolderService.class)
900            protected JournalFolderService journalFolderService;
901            @BeanReference(type = JournalFolderPersistence.class)
902            protected JournalFolderPersistence journalFolderPersistence;
903            @BeanReference(type = JournalFolderFinder.class)
904            protected JournalFolderFinder journalFolderFinder;
905            @BeanReference(type = JournalStructureLocalService.class)
906            protected JournalStructureLocalService journalStructureLocalService;
907            @BeanReference(type = JournalStructureService.class)
908            protected JournalStructureService journalStructureService;
909            @BeanReference(type = JournalStructurePersistence.class)
910            protected JournalStructurePersistence journalStructurePersistence;
911            @BeanReference(type = JournalStructureFinder.class)
912            protected JournalStructureFinder journalStructureFinder;
913            @BeanReference(type = JournalTemplateLocalService.class)
914            protected JournalTemplateLocalService journalTemplateLocalService;
915            @BeanReference(type = JournalTemplateService.class)
916            protected JournalTemplateService journalTemplateService;
917            @BeanReference(type = JournalTemplatePersistence.class)
918            protected JournalTemplatePersistence journalTemplatePersistence;
919            @BeanReference(type = JournalTemplateFinder.class)
920            protected JournalTemplateFinder journalTemplateFinder;
921            @BeanReference(type = CounterLocalService.class)
922            protected CounterLocalService counterLocalService;
923            @BeanReference(type = ResourceLocalService.class)
924            protected ResourceLocalService resourceLocalService;
925            @BeanReference(type = UserLocalService.class)
926            protected UserLocalService userLocalService;
927            @BeanReference(type = UserService.class)
928            protected UserService userService;
929            @BeanReference(type = UserPersistence.class)
930            protected UserPersistence userPersistence;
931            @BeanReference(type = UserFinder.class)
932            protected UserFinder userFinder;
933            @BeanReference(type = DDMStructureLocalService.class)
934            protected DDMStructureLocalService ddmStructureLocalService;
935            @BeanReference(type = DDMStructureService.class)
936            protected DDMStructureService ddmStructureService;
937            @BeanReference(type = DDMStructurePersistence.class)
938            protected DDMStructurePersistence ddmStructurePersistence;
939            @BeanReference(type = DDMStructureFinder.class)
940            protected DDMStructureFinder ddmStructureFinder;
941            @BeanReference(type = ExpandoValueLocalService.class)
942            protected ExpandoValueLocalService expandoValueLocalService;
943            @BeanReference(type = ExpandoValueService.class)
944            protected ExpandoValueService expandoValueService;
945            @BeanReference(type = ExpandoValuePersistence.class)
946            protected ExpandoValuePersistence expandoValuePersistence;
947            private String _beanIdentifier;
948    }