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.GroupLocalService;
026    import com.liferay.portal.service.GroupService;
027    import com.liferay.portal.service.ResourceLocalService;
028    import com.liferay.portal.service.UserLocalService;
029    import com.liferay.portal.service.UserService;
030    import com.liferay.portal.service.persistence.GroupFinder;
031    import com.liferay.portal.service.persistence.GroupPersistence;
032    import com.liferay.portal.service.persistence.UserFinder;
033    import com.liferay.portal.service.persistence.UserPersistence;
034    
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.JournalFolder;
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 folder 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.JournalFolderServiceImpl}.
073     * </p>
074     *
075     * @author Brian Wing Shun Chan
076     * @see com.liferay.portlet.journal.service.impl.JournalFolderServiceImpl
077     * @see com.liferay.portlet.journal.service.JournalFolderServiceUtil
078     * @generated
079     */
080    public abstract class JournalFolderServiceBaseImpl extends BaseServiceImpl
081            implements JournalFolderService, IdentifiableBean {
082            /*
083             * NOTE FOR DEVELOPERS:
084             *
085             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.journal.service.JournalFolderServiceUtil} to access the journal folder 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 group local service.
599             *
600             * @return the group local service
601             */
602            public GroupLocalService getGroupLocalService() {
603                    return groupLocalService;
604            }
605    
606            /**
607             * Sets the group local service.
608             *
609             * @param groupLocalService the group local service
610             */
611            public void setGroupLocalService(GroupLocalService groupLocalService) {
612                    this.groupLocalService = groupLocalService;
613            }
614    
615            /**
616             * Returns the group remote service.
617             *
618             * @return the group remote service
619             */
620            public GroupService getGroupService() {
621                    return groupService;
622            }
623    
624            /**
625             * Sets the group remote service.
626             *
627             * @param groupService the group remote service
628             */
629            public void setGroupService(GroupService groupService) {
630                    this.groupService = groupService;
631            }
632    
633            /**
634             * Returns the group persistence.
635             *
636             * @return the group persistence
637             */
638            public GroupPersistence getGroupPersistence() {
639                    return groupPersistence;
640            }
641    
642            /**
643             * Sets the group persistence.
644             *
645             * @param groupPersistence the group persistence
646             */
647            public void setGroupPersistence(GroupPersistence groupPersistence) {
648                    this.groupPersistence = groupPersistence;
649            }
650    
651            /**
652             * Returns the group finder.
653             *
654             * @return the group finder
655             */
656            public GroupFinder getGroupFinder() {
657                    return groupFinder;
658            }
659    
660            /**
661             * Sets the group finder.
662             *
663             * @param groupFinder the group finder
664             */
665            public void setGroupFinder(GroupFinder groupFinder) {
666                    this.groupFinder = groupFinder;
667            }
668    
669            /**
670             * Returns the resource local service.
671             *
672             * @return the resource local service
673             */
674            public ResourceLocalService getResourceLocalService() {
675                    return resourceLocalService;
676            }
677    
678            /**
679             * Sets the resource local service.
680             *
681             * @param resourceLocalService the resource local service
682             */
683            public void setResourceLocalService(
684                    ResourceLocalService resourceLocalService) {
685                    this.resourceLocalService = resourceLocalService;
686            }
687    
688            /**
689             * Returns the user local service.
690             *
691             * @return the user local service
692             */
693            public UserLocalService getUserLocalService() {
694                    return userLocalService;
695            }
696    
697            /**
698             * Sets the user local service.
699             *
700             * @param userLocalService the user local service
701             */
702            public void setUserLocalService(UserLocalService userLocalService) {
703                    this.userLocalService = userLocalService;
704            }
705    
706            /**
707             * Returns the user remote service.
708             *
709             * @return the user remote service
710             */
711            public UserService getUserService() {
712                    return userService;
713            }
714    
715            /**
716             * Sets the user remote service.
717             *
718             * @param userService the user remote service
719             */
720            public void setUserService(UserService userService) {
721                    this.userService = userService;
722            }
723    
724            /**
725             * Returns the user persistence.
726             *
727             * @return the user persistence
728             */
729            public UserPersistence getUserPersistence() {
730                    return userPersistence;
731            }
732    
733            /**
734             * Sets the user persistence.
735             *
736             * @param userPersistence the user persistence
737             */
738            public void setUserPersistence(UserPersistence userPersistence) {
739                    this.userPersistence = userPersistence;
740            }
741    
742            /**
743             * Returns the user finder.
744             *
745             * @return the user finder
746             */
747            public UserFinder getUserFinder() {
748                    return userFinder;
749            }
750    
751            /**
752             * Sets the user finder.
753             *
754             * @param userFinder the user finder
755             */
756            public void setUserFinder(UserFinder userFinder) {
757                    this.userFinder = userFinder;
758            }
759    
760            /**
761             * Returns the expando value local service.
762             *
763             * @return the expando value local service
764             */
765            public ExpandoValueLocalService getExpandoValueLocalService() {
766                    return expandoValueLocalService;
767            }
768    
769            /**
770             * Sets the expando value local service.
771             *
772             * @param expandoValueLocalService the expando value local service
773             */
774            public void setExpandoValueLocalService(
775                    ExpandoValueLocalService expandoValueLocalService) {
776                    this.expandoValueLocalService = expandoValueLocalService;
777            }
778    
779            /**
780             * Returns the expando value remote service.
781             *
782             * @return the expando value remote service
783             */
784            public ExpandoValueService getExpandoValueService() {
785                    return expandoValueService;
786            }
787    
788            /**
789             * Sets the expando value remote service.
790             *
791             * @param expandoValueService the expando value remote service
792             */
793            public void setExpandoValueService(ExpandoValueService expandoValueService) {
794                    this.expandoValueService = expandoValueService;
795            }
796    
797            /**
798             * Returns the expando value persistence.
799             *
800             * @return the expando value persistence
801             */
802            public ExpandoValuePersistence getExpandoValuePersistence() {
803                    return expandoValuePersistence;
804            }
805    
806            /**
807             * Sets the expando value persistence.
808             *
809             * @param expandoValuePersistence the expando value persistence
810             */
811            public void setExpandoValuePersistence(
812                    ExpandoValuePersistence expandoValuePersistence) {
813                    this.expandoValuePersistence = expandoValuePersistence;
814            }
815    
816            public void afterPropertiesSet() {
817            }
818    
819            public void destroy() {
820            }
821    
822            /**
823             * Returns the Spring bean ID for this bean.
824             *
825             * @return the Spring bean ID for this bean
826             */
827            public String getBeanIdentifier() {
828                    return _beanIdentifier;
829            }
830    
831            /**
832             * Sets the Spring bean ID for this bean.
833             *
834             * @param beanIdentifier the Spring bean ID for this bean
835             */
836            public void setBeanIdentifier(String beanIdentifier) {
837                    _beanIdentifier = beanIdentifier;
838            }
839    
840            protected Class<?> getModelClass() {
841                    return JournalFolder.class;
842            }
843    
844            protected String getModelClassName() {
845                    return JournalFolder.class.getName();
846            }
847    
848            /**
849             * Performs an SQL query.
850             *
851             * @param sql the sql query
852             */
853            protected void runSQL(String sql) throws SystemException {
854                    try {
855                            DataSource dataSource = journalFolderPersistence.getDataSource();
856    
857                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
858                                            sql, new int[0]);
859    
860                            sqlUpdate.update();
861                    }
862                    catch (Exception e) {
863                            throw new SystemException(e);
864                    }
865            }
866    
867            @BeanReference(type = JournalArticleLocalService.class)
868            protected JournalArticleLocalService journalArticleLocalService;
869            @BeanReference(type = JournalArticleService.class)
870            protected JournalArticleService journalArticleService;
871            @BeanReference(type = JournalArticlePersistence.class)
872            protected JournalArticlePersistence journalArticlePersistence;
873            @BeanReference(type = JournalArticleFinder.class)
874            protected JournalArticleFinder journalArticleFinder;
875            @BeanReference(type = JournalArticleImageLocalService.class)
876            protected JournalArticleImageLocalService journalArticleImageLocalService;
877            @BeanReference(type = JournalArticleImagePersistence.class)
878            protected JournalArticleImagePersistence journalArticleImagePersistence;
879            @BeanReference(type = JournalArticleResourceLocalService.class)
880            protected JournalArticleResourceLocalService journalArticleResourceLocalService;
881            @BeanReference(type = JournalArticleResourcePersistence.class)
882            protected JournalArticleResourcePersistence journalArticleResourcePersistence;
883            @BeanReference(type = JournalContentSearchLocalService.class)
884            protected JournalContentSearchLocalService journalContentSearchLocalService;
885            @BeanReference(type = JournalContentSearchPersistence.class)
886            protected JournalContentSearchPersistence journalContentSearchPersistence;
887            @BeanReference(type = JournalFeedLocalService.class)
888            protected JournalFeedLocalService journalFeedLocalService;
889            @BeanReference(type = JournalFeedService.class)
890            protected JournalFeedService journalFeedService;
891            @BeanReference(type = JournalFeedPersistence.class)
892            protected JournalFeedPersistence journalFeedPersistence;
893            @BeanReference(type = JournalFeedFinder.class)
894            protected JournalFeedFinder journalFeedFinder;
895            @BeanReference(type = JournalFolderLocalService.class)
896            protected JournalFolderLocalService journalFolderLocalService;
897            @BeanReference(type = JournalFolderService.class)
898            protected JournalFolderService journalFolderService;
899            @BeanReference(type = JournalFolderPersistence.class)
900            protected JournalFolderPersistence journalFolderPersistence;
901            @BeanReference(type = JournalFolderFinder.class)
902            protected JournalFolderFinder journalFolderFinder;
903            @BeanReference(type = JournalStructureLocalService.class)
904            protected JournalStructureLocalService journalStructureLocalService;
905            @BeanReference(type = JournalStructureService.class)
906            protected JournalStructureService journalStructureService;
907            @BeanReference(type = JournalStructurePersistence.class)
908            protected JournalStructurePersistence journalStructurePersistence;
909            @BeanReference(type = JournalStructureFinder.class)
910            protected JournalStructureFinder journalStructureFinder;
911            @BeanReference(type = JournalTemplateLocalService.class)
912            protected JournalTemplateLocalService journalTemplateLocalService;
913            @BeanReference(type = JournalTemplateService.class)
914            protected JournalTemplateService journalTemplateService;
915            @BeanReference(type = JournalTemplatePersistence.class)
916            protected JournalTemplatePersistence journalTemplatePersistence;
917            @BeanReference(type = JournalTemplateFinder.class)
918            protected JournalTemplateFinder journalTemplateFinder;
919            @BeanReference(type = CounterLocalService.class)
920            protected CounterLocalService counterLocalService;
921            @BeanReference(type = GroupLocalService.class)
922            protected GroupLocalService groupLocalService;
923            @BeanReference(type = GroupService.class)
924            protected GroupService groupService;
925            @BeanReference(type = GroupPersistence.class)
926            protected GroupPersistence groupPersistence;
927            @BeanReference(type = GroupFinder.class)
928            protected GroupFinder groupFinder;
929            @BeanReference(type = ResourceLocalService.class)
930            protected ResourceLocalService resourceLocalService;
931            @BeanReference(type = UserLocalService.class)
932            protected UserLocalService userLocalService;
933            @BeanReference(type = UserService.class)
934            protected UserService userService;
935            @BeanReference(type = UserPersistence.class)
936            protected UserPersistence userPersistence;
937            @BeanReference(type = UserFinder.class)
938            protected UserFinder userFinder;
939            @BeanReference(type = ExpandoValueLocalService.class)
940            protected ExpandoValueLocalService expandoValueLocalService;
941            @BeanReference(type = ExpandoValueService.class)
942            protected ExpandoValueService expandoValueService;
943            @BeanReference(type = ExpandoValuePersistence.class)
944            protected ExpandoValuePersistence expandoValuePersistence;
945            private String _beanIdentifier;
946    }