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