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