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