001    /**
002     * Copyright (c) 2000-2011 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.ImageLocalService;
025    import com.liferay.portal.service.ImageService;
026    import com.liferay.portal.service.ResourceLocalService;
027    import com.liferay.portal.service.ResourceService;
028    import com.liferay.portal.service.UserLocalService;
029    import com.liferay.portal.service.UserService;
030    import com.liferay.portal.service.WebDAVPropsLocalService;
031    import com.liferay.portal.service.base.PrincipalBean;
032    import com.liferay.portal.service.persistence.ImagePersistence;
033    import com.liferay.portal.service.persistence.ResourceFinder;
034    import com.liferay.portal.service.persistence.ResourcePersistence;
035    import com.liferay.portal.service.persistence.UserFinder;
036    import com.liferay.portal.service.persistence.UserPersistence;
037    import com.liferay.portal.service.persistence.WebDAVPropsPersistence;
038    
039    import com.liferay.portlet.expando.service.ExpandoValueLocalService;
040    import com.liferay.portlet.expando.service.ExpandoValueService;
041    import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
042    import com.liferay.portlet.journal.model.JournalTemplate;
043    import com.liferay.portlet.journal.service.JournalArticleImageLocalService;
044    import com.liferay.portlet.journal.service.JournalArticleLocalService;
045    import com.liferay.portlet.journal.service.JournalArticleResourceLocalService;
046    import com.liferay.portlet.journal.service.JournalArticleService;
047    import com.liferay.portlet.journal.service.JournalContentSearchLocalService;
048    import com.liferay.portlet.journal.service.JournalFeedLocalService;
049    import com.liferay.portlet.journal.service.JournalFeedService;
050    import com.liferay.portlet.journal.service.JournalStructureLocalService;
051    import com.liferay.portlet.journal.service.JournalStructureService;
052    import com.liferay.portlet.journal.service.JournalTemplateLocalService;
053    import com.liferay.portlet.journal.service.JournalTemplateService;
054    import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
055    import com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence;
056    import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
057    import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
058    import com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence;
059    import com.liferay.portlet.journal.service.persistence.JournalFeedFinder;
060    import com.liferay.portlet.journal.service.persistence.JournalFeedPersistence;
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 template 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.JournalTemplateServiceImpl}.
073     * </p>
074     *
075     * @author Brian Wing Shun Chan
076     * @see com.liferay.portlet.journal.service.impl.JournalTemplateServiceImpl
077     * @see com.liferay.portlet.journal.service.JournalTemplateServiceUtil
078     * @generated
079     */
080    public abstract class JournalTemplateServiceBaseImpl extends PrincipalBean
081            implements JournalTemplateService, IdentifiableBean {
082            /*
083             * NOTE FOR DEVELOPERS:
084             *
085             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.journal.service.JournalTemplateServiceUtil} to access the journal template 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 structure local service.
354             *
355             * @return the journal structure local service
356             */
357            public JournalStructureLocalService getJournalStructureLocalService() {
358                    return journalStructureLocalService;
359            }
360    
361            /**
362             * Sets the journal structure local service.
363             *
364             * @param journalStructureLocalService the journal structure local service
365             */
366            public void setJournalStructureLocalService(
367                    JournalStructureLocalService journalStructureLocalService) {
368                    this.journalStructureLocalService = journalStructureLocalService;
369            }
370    
371            /**
372             * Returns the journal structure remote service.
373             *
374             * @return the journal structure remote service
375             */
376            public JournalStructureService getJournalStructureService() {
377                    return journalStructureService;
378            }
379    
380            /**
381             * Sets the journal structure remote service.
382             *
383             * @param journalStructureService the journal structure remote service
384             */
385            public void setJournalStructureService(
386                    JournalStructureService journalStructureService) {
387                    this.journalStructureService = journalStructureService;
388            }
389    
390            /**
391             * Returns the journal structure persistence.
392             *
393             * @return the journal structure persistence
394             */
395            public JournalStructurePersistence getJournalStructurePersistence() {
396                    return journalStructurePersistence;
397            }
398    
399            /**
400             * Sets the journal structure persistence.
401             *
402             * @param journalStructurePersistence the journal structure persistence
403             */
404            public void setJournalStructurePersistence(
405                    JournalStructurePersistence journalStructurePersistence) {
406                    this.journalStructurePersistence = journalStructurePersistence;
407            }
408    
409            /**
410             * Returns the journal structure finder.
411             *
412             * @return the journal structure finder
413             */
414            public JournalStructureFinder getJournalStructureFinder() {
415                    return journalStructureFinder;
416            }
417    
418            /**
419             * Sets the journal structure finder.
420             *
421             * @param journalStructureFinder the journal structure finder
422             */
423            public void setJournalStructureFinder(
424                    JournalStructureFinder journalStructureFinder) {
425                    this.journalStructureFinder = journalStructureFinder;
426            }
427    
428            /**
429             * Returns the journal template local service.
430             *
431             * @return the journal template local service
432             */
433            public JournalTemplateLocalService getJournalTemplateLocalService() {
434                    return journalTemplateLocalService;
435            }
436    
437            /**
438             * Sets the journal template local service.
439             *
440             * @param journalTemplateLocalService the journal template local service
441             */
442            public void setJournalTemplateLocalService(
443                    JournalTemplateLocalService journalTemplateLocalService) {
444                    this.journalTemplateLocalService = journalTemplateLocalService;
445            }
446    
447            /**
448             * Returns the journal template remote service.
449             *
450             * @return the journal template remote service
451             */
452            public JournalTemplateService getJournalTemplateService() {
453                    return journalTemplateService;
454            }
455    
456            /**
457             * Sets the journal template remote service.
458             *
459             * @param journalTemplateService the journal template remote service
460             */
461            public void setJournalTemplateService(
462                    JournalTemplateService journalTemplateService) {
463                    this.journalTemplateService = journalTemplateService;
464            }
465    
466            /**
467             * Returns the journal template persistence.
468             *
469             * @return the journal template persistence
470             */
471            public JournalTemplatePersistence getJournalTemplatePersistence() {
472                    return journalTemplatePersistence;
473            }
474    
475            /**
476             * Sets the journal template persistence.
477             *
478             * @param journalTemplatePersistence the journal template persistence
479             */
480            public void setJournalTemplatePersistence(
481                    JournalTemplatePersistence journalTemplatePersistence) {
482                    this.journalTemplatePersistence = journalTemplatePersistence;
483            }
484    
485            /**
486             * Returns the journal template finder.
487             *
488             * @return the journal template finder
489             */
490            public JournalTemplateFinder getJournalTemplateFinder() {
491                    return journalTemplateFinder;
492            }
493    
494            /**
495             * Sets the journal template finder.
496             *
497             * @param journalTemplateFinder the journal template finder
498             */
499            public void setJournalTemplateFinder(
500                    JournalTemplateFinder journalTemplateFinder) {
501                    this.journalTemplateFinder = journalTemplateFinder;
502            }
503    
504            /**
505             * Returns the counter local service.
506             *
507             * @return the counter local service
508             */
509            public CounterLocalService getCounterLocalService() {
510                    return counterLocalService;
511            }
512    
513            /**
514             * Sets the counter local service.
515             *
516             * @param counterLocalService the counter local service
517             */
518            public void setCounterLocalService(CounterLocalService counterLocalService) {
519                    this.counterLocalService = counterLocalService;
520            }
521    
522            /**
523             * Returns the image local service.
524             *
525             * @return the image local service
526             */
527            public ImageLocalService getImageLocalService() {
528                    return imageLocalService;
529            }
530    
531            /**
532             * Sets the image local service.
533             *
534             * @param imageLocalService the image local service
535             */
536            public void setImageLocalService(ImageLocalService imageLocalService) {
537                    this.imageLocalService = imageLocalService;
538            }
539    
540            /**
541             * Returns the image remote service.
542             *
543             * @return the image remote service
544             */
545            public ImageService getImageService() {
546                    return imageService;
547            }
548    
549            /**
550             * Sets the image remote service.
551             *
552             * @param imageService the image remote service
553             */
554            public void setImageService(ImageService imageService) {
555                    this.imageService = imageService;
556            }
557    
558            /**
559             * Returns the image persistence.
560             *
561             * @return the image persistence
562             */
563            public ImagePersistence getImagePersistence() {
564                    return imagePersistence;
565            }
566    
567            /**
568             * Sets the image persistence.
569             *
570             * @param imagePersistence the image persistence
571             */
572            public void setImagePersistence(ImagePersistence imagePersistence) {
573                    this.imagePersistence = imagePersistence;
574            }
575    
576            /**
577             * Returns the resource local service.
578             *
579             * @return the resource local service
580             */
581            public ResourceLocalService getResourceLocalService() {
582                    return resourceLocalService;
583            }
584    
585            /**
586             * Sets the resource local service.
587             *
588             * @param resourceLocalService the resource local service
589             */
590            public void setResourceLocalService(
591                    ResourceLocalService resourceLocalService) {
592                    this.resourceLocalService = resourceLocalService;
593            }
594    
595            /**
596             * Returns the resource remote service.
597             *
598             * @return the resource remote service
599             */
600            public ResourceService getResourceService() {
601                    return resourceService;
602            }
603    
604            /**
605             * Sets the resource remote service.
606             *
607             * @param resourceService the resource remote service
608             */
609            public void setResourceService(ResourceService resourceService) {
610                    this.resourceService = resourceService;
611            }
612    
613            /**
614             * Returns the resource persistence.
615             *
616             * @return the resource persistence
617             */
618            public ResourcePersistence getResourcePersistence() {
619                    return resourcePersistence;
620            }
621    
622            /**
623             * Sets the resource persistence.
624             *
625             * @param resourcePersistence the resource persistence
626             */
627            public void setResourcePersistence(ResourcePersistence resourcePersistence) {
628                    this.resourcePersistence = resourcePersistence;
629            }
630    
631            /**
632             * Returns the resource finder.
633             *
634             * @return the resource finder
635             */
636            public ResourceFinder getResourceFinder() {
637                    return resourceFinder;
638            }
639    
640            /**
641             * Sets the resource finder.
642             *
643             * @param resourceFinder the resource finder
644             */
645            public void setResourceFinder(ResourceFinder resourceFinder) {
646                    this.resourceFinder = resourceFinder;
647            }
648    
649            /**
650             * Returns the user local service.
651             *
652             * @return the user local service
653             */
654            public UserLocalService getUserLocalService() {
655                    return userLocalService;
656            }
657    
658            /**
659             * Sets the user local service.
660             *
661             * @param userLocalService the user local service
662             */
663            public void setUserLocalService(UserLocalService userLocalService) {
664                    this.userLocalService = userLocalService;
665            }
666    
667            /**
668             * Returns the user remote service.
669             *
670             * @return the user remote service
671             */
672            public UserService getUserService() {
673                    return userService;
674            }
675    
676            /**
677             * Sets the user remote service.
678             *
679             * @param userService the user remote service
680             */
681            public void setUserService(UserService userService) {
682                    this.userService = userService;
683            }
684    
685            /**
686             * Returns the user persistence.
687             *
688             * @return the user persistence
689             */
690            public UserPersistence getUserPersistence() {
691                    return userPersistence;
692            }
693    
694            /**
695             * Sets the user persistence.
696             *
697             * @param userPersistence the user persistence
698             */
699            public void setUserPersistence(UserPersistence userPersistence) {
700                    this.userPersistence = userPersistence;
701            }
702    
703            /**
704             * Returns the user finder.
705             *
706             * @return the user finder
707             */
708            public UserFinder getUserFinder() {
709                    return userFinder;
710            }
711    
712            /**
713             * Sets the user finder.
714             *
715             * @param userFinder the user finder
716             */
717            public void setUserFinder(UserFinder userFinder) {
718                    this.userFinder = userFinder;
719            }
720    
721            /**
722             * Returns the web d a v props local service.
723             *
724             * @return the web d a v props local service
725             */
726            public WebDAVPropsLocalService getWebDAVPropsLocalService() {
727                    return webDAVPropsLocalService;
728            }
729    
730            /**
731             * Sets the web d a v props local service.
732             *
733             * @param webDAVPropsLocalService the web d a v props local service
734             */
735            public void setWebDAVPropsLocalService(
736                    WebDAVPropsLocalService webDAVPropsLocalService) {
737                    this.webDAVPropsLocalService = webDAVPropsLocalService;
738            }
739    
740            /**
741             * Returns the web d a v props persistence.
742             *
743             * @return the web d a v props persistence
744             */
745            public WebDAVPropsPersistence getWebDAVPropsPersistence() {
746                    return webDAVPropsPersistence;
747            }
748    
749            /**
750             * Sets the web d a v props persistence.
751             *
752             * @param webDAVPropsPersistence the web d a v props persistence
753             */
754            public void setWebDAVPropsPersistence(
755                    WebDAVPropsPersistence webDAVPropsPersistence) {
756                    this.webDAVPropsPersistence = webDAVPropsPersistence;
757            }
758    
759            /**
760             * Returns the expando value local service.
761             *
762             * @return the expando value local service
763             */
764            public ExpandoValueLocalService getExpandoValueLocalService() {
765                    return expandoValueLocalService;
766            }
767    
768            /**
769             * Sets the expando value local service.
770             *
771             * @param expandoValueLocalService the expando value local service
772             */
773            public void setExpandoValueLocalService(
774                    ExpandoValueLocalService expandoValueLocalService) {
775                    this.expandoValueLocalService = expandoValueLocalService;
776            }
777    
778            /**
779             * Returns the expando value remote service.
780             *
781             * @return the expando value remote service
782             */
783            public ExpandoValueService getExpandoValueService() {
784                    return expandoValueService;
785            }
786    
787            /**
788             * Sets the expando value remote service.
789             *
790             * @param expandoValueService the expando value remote service
791             */
792            public void setExpandoValueService(ExpandoValueService expandoValueService) {
793                    this.expandoValueService = expandoValueService;
794            }
795    
796            /**
797             * Returns the expando value persistence.
798             *
799             * @return the expando value persistence
800             */
801            public ExpandoValuePersistence getExpandoValuePersistence() {
802                    return expandoValuePersistence;
803            }
804    
805            /**
806             * Sets the expando value persistence.
807             *
808             * @param expandoValuePersistence the expando value persistence
809             */
810            public void setExpandoValuePersistence(
811                    ExpandoValuePersistence expandoValuePersistence) {
812                    this.expandoValuePersistence = expandoValuePersistence;
813            }
814    
815            public void afterPropertiesSet() {
816            }
817    
818            public void destroy() {
819            }
820    
821            /**
822             * Returns the Spring bean ID for this bean.
823             *
824             * @return the Spring bean ID for this bean
825             */
826            public String getBeanIdentifier() {
827                    return _beanIdentifier;
828            }
829    
830            /**
831             * Sets the Spring bean ID for this bean.
832             *
833             * @param beanIdentifier the Spring bean ID for this bean
834             */
835            public void setBeanIdentifier(String beanIdentifier) {
836                    _beanIdentifier = beanIdentifier;
837            }
838    
839            protected Class<?> getModelClass() {
840                    return JournalTemplate.class;
841            }
842    
843            protected String getModelClassName() {
844                    return JournalTemplate.class.getName();
845            }
846    
847            /**
848             * Performs an SQL query.
849             *
850             * @param sql the sql query
851             */
852            protected void runSQL(String sql) throws SystemException {
853                    try {
854                            DataSource dataSource = journalTemplatePersistence.getDataSource();
855    
856                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
857                                            sql, new int[0]);
858    
859                            sqlUpdate.update();
860                    }
861                    catch (Exception e) {
862                            throw new SystemException(e);
863                    }
864            }
865    
866            @BeanReference(type = JournalArticleLocalService.class)
867            protected JournalArticleLocalService journalArticleLocalService;
868            @BeanReference(type = JournalArticleService.class)
869            protected JournalArticleService journalArticleService;
870            @BeanReference(type = JournalArticlePersistence.class)
871            protected JournalArticlePersistence journalArticlePersistence;
872            @BeanReference(type = JournalArticleFinder.class)
873            protected JournalArticleFinder journalArticleFinder;
874            @BeanReference(type = JournalArticleImageLocalService.class)
875            protected JournalArticleImageLocalService journalArticleImageLocalService;
876            @BeanReference(type = JournalArticleImagePersistence.class)
877            protected JournalArticleImagePersistence journalArticleImagePersistence;
878            @BeanReference(type = JournalArticleResourceLocalService.class)
879            protected JournalArticleResourceLocalService journalArticleResourceLocalService;
880            @BeanReference(type = JournalArticleResourcePersistence.class)
881            protected JournalArticleResourcePersistence journalArticleResourcePersistence;
882            @BeanReference(type = JournalContentSearchLocalService.class)
883            protected JournalContentSearchLocalService journalContentSearchLocalService;
884            @BeanReference(type = JournalContentSearchPersistence.class)
885            protected JournalContentSearchPersistence journalContentSearchPersistence;
886            @BeanReference(type = JournalFeedLocalService.class)
887            protected JournalFeedLocalService journalFeedLocalService;
888            @BeanReference(type = JournalFeedService.class)
889            protected JournalFeedService journalFeedService;
890            @BeanReference(type = JournalFeedPersistence.class)
891            protected JournalFeedPersistence journalFeedPersistence;
892            @BeanReference(type = JournalFeedFinder.class)
893            protected JournalFeedFinder journalFeedFinder;
894            @BeanReference(type = JournalStructureLocalService.class)
895            protected JournalStructureLocalService journalStructureLocalService;
896            @BeanReference(type = JournalStructureService.class)
897            protected JournalStructureService journalStructureService;
898            @BeanReference(type = JournalStructurePersistence.class)
899            protected JournalStructurePersistence journalStructurePersistence;
900            @BeanReference(type = JournalStructureFinder.class)
901            protected JournalStructureFinder journalStructureFinder;
902            @BeanReference(type = JournalTemplateLocalService.class)
903            protected JournalTemplateLocalService journalTemplateLocalService;
904            @BeanReference(type = JournalTemplateService.class)
905            protected JournalTemplateService journalTemplateService;
906            @BeanReference(type = JournalTemplatePersistence.class)
907            protected JournalTemplatePersistence journalTemplatePersistence;
908            @BeanReference(type = JournalTemplateFinder.class)
909            protected JournalTemplateFinder journalTemplateFinder;
910            @BeanReference(type = CounterLocalService.class)
911            protected CounterLocalService counterLocalService;
912            @BeanReference(type = ImageLocalService.class)
913            protected ImageLocalService imageLocalService;
914            @BeanReference(type = ImageService.class)
915            protected ImageService imageService;
916            @BeanReference(type = ImagePersistence.class)
917            protected ImagePersistence imagePersistence;
918            @BeanReference(type = ResourceLocalService.class)
919            protected ResourceLocalService resourceLocalService;
920            @BeanReference(type = ResourceService.class)
921            protected ResourceService resourceService;
922            @BeanReference(type = ResourcePersistence.class)
923            protected ResourcePersistence resourcePersistence;
924            @BeanReference(type = ResourceFinder.class)
925            protected ResourceFinder resourceFinder;
926            @BeanReference(type = UserLocalService.class)
927            protected UserLocalService userLocalService;
928            @BeanReference(type = UserService.class)
929            protected UserService userService;
930            @BeanReference(type = UserPersistence.class)
931            protected UserPersistence userPersistence;
932            @BeanReference(type = UserFinder.class)
933            protected UserFinder userFinder;
934            @BeanReference(type = WebDAVPropsLocalService.class)
935            protected WebDAVPropsLocalService webDAVPropsLocalService;
936            @BeanReference(type = WebDAVPropsPersistence.class)
937            protected WebDAVPropsPersistence webDAVPropsPersistence;
938            @BeanReference(type = ExpandoValueLocalService.class)
939            protected ExpandoValueLocalService expandoValueLocalService;
940            @BeanReference(type = ExpandoValueService.class)
941            protected ExpandoValueService expandoValueService;
942            @BeanReference(type = ExpandoValuePersistence.class)
943            protected ExpandoValuePersistence expandoValuePersistence;
944            private String _beanIdentifier;
945    }