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