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