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.WorkflowInstanceLinkLocalService;
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.WorkflowInstanceLinkPersistence;
036    
037    import com.liferay.portlet.asset.service.AssetEntryLocalService;
038    import com.liferay.portlet.asset.service.AssetEntryService;
039    import com.liferay.portlet.asset.service.AssetLinkLocalService;
040    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
041    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
042    import com.liferay.portlet.asset.service.persistence.AssetLinkFinder;
043    import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
044    import com.liferay.portlet.expando.service.ExpandoValueLocalService;
045    import com.liferay.portlet.expando.service.ExpandoValueService;
046    import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
047    import com.liferay.portlet.journal.model.JournalFolder;
048    import com.liferay.portlet.journal.service.JournalArticleImageLocalService;
049    import com.liferay.portlet.journal.service.JournalArticleLocalService;
050    import com.liferay.portlet.journal.service.JournalArticleResourceLocalService;
051    import com.liferay.portlet.journal.service.JournalArticleService;
052    import com.liferay.portlet.journal.service.JournalContentSearchLocalService;
053    import com.liferay.portlet.journal.service.JournalFeedLocalService;
054    import com.liferay.portlet.journal.service.JournalFeedService;
055    import com.liferay.portlet.journal.service.JournalFolderLocalService;
056    import com.liferay.portlet.journal.service.JournalFolderService;
057    import com.liferay.portlet.journal.service.JournalStructureLocalService;
058    import com.liferay.portlet.journal.service.JournalStructureService;
059    import com.liferay.portlet.journal.service.JournalTemplateLocalService;
060    import com.liferay.portlet.journal.service.JournalTemplateService;
061    import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
062    import com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence;
063    import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
064    import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
065    import com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence;
066    import com.liferay.portlet.journal.service.persistence.JournalFeedFinder;
067    import com.liferay.portlet.journal.service.persistence.JournalFeedPersistence;
068    import com.liferay.portlet.journal.service.persistence.JournalFolderFinder;
069    import com.liferay.portlet.journal.service.persistence.JournalFolderPersistence;
070    import com.liferay.portlet.journal.service.persistence.JournalStructureFinder;
071    import com.liferay.portlet.journal.service.persistence.JournalStructurePersistence;
072    import com.liferay.portlet.journal.service.persistence.JournalTemplateFinder;
073    import com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence;
074    import com.liferay.portlet.social.service.SocialActivityCounterLocalService;
075    import com.liferay.portlet.social.service.SocialActivityLocalService;
076    import com.liferay.portlet.social.service.persistence.SocialActivityCounterFinder;
077    import com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence;
078    import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
079    import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
080    import com.liferay.portlet.trash.service.TrashEntryLocalService;
081    import com.liferay.portlet.trash.service.TrashEntryService;
082    import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
083    
084    import javax.sql.DataSource;
085    
086    /**
087     * The base implementation of the journal folder remote service.
088     *
089     * <p>
090     * 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.JournalFolderServiceImpl}.
091     * </p>
092     *
093     * @author Brian Wing Shun Chan
094     * @see com.liferay.portlet.journal.service.impl.JournalFolderServiceImpl
095     * @see com.liferay.portlet.journal.service.JournalFolderServiceUtil
096     * @generated
097     */
098    public abstract class JournalFolderServiceBaseImpl extends BaseServiceImpl
099            implements JournalFolderService, IdentifiableBean {
100            /*
101             * NOTE FOR DEVELOPERS:
102             *
103             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.journal.service.JournalFolderServiceUtil} to access the journal folder remote service.
104             */
105    
106            /**
107             * Returns the journal article local service.
108             *
109             * @return the journal article local service
110             */
111            public JournalArticleLocalService getJournalArticleLocalService() {
112                    return journalArticleLocalService;
113            }
114    
115            /**
116             * Sets the journal article local service.
117             *
118             * @param journalArticleLocalService the journal article local service
119             */
120            public void setJournalArticleLocalService(
121                    JournalArticleLocalService journalArticleLocalService) {
122                    this.journalArticleLocalService = journalArticleLocalService;
123            }
124    
125            /**
126             * Returns the journal article remote service.
127             *
128             * @return the journal article remote service
129             */
130            public JournalArticleService getJournalArticleService() {
131                    return journalArticleService;
132            }
133    
134            /**
135             * Sets the journal article remote service.
136             *
137             * @param journalArticleService the journal article remote service
138             */
139            public void setJournalArticleService(
140                    JournalArticleService journalArticleService) {
141                    this.journalArticleService = journalArticleService;
142            }
143    
144            /**
145             * Returns the journal article persistence.
146             *
147             * @return the journal article persistence
148             */
149            public JournalArticlePersistence getJournalArticlePersistence() {
150                    return journalArticlePersistence;
151            }
152    
153            /**
154             * Sets the journal article persistence.
155             *
156             * @param journalArticlePersistence the journal article persistence
157             */
158            public void setJournalArticlePersistence(
159                    JournalArticlePersistence journalArticlePersistence) {
160                    this.journalArticlePersistence = journalArticlePersistence;
161            }
162    
163            /**
164             * Returns the journal article finder.
165             *
166             * @return the journal article finder
167             */
168            public JournalArticleFinder getJournalArticleFinder() {
169                    return journalArticleFinder;
170            }
171    
172            /**
173             * Sets the journal article finder.
174             *
175             * @param journalArticleFinder the journal article finder
176             */
177            public void setJournalArticleFinder(
178                    JournalArticleFinder journalArticleFinder) {
179                    this.journalArticleFinder = journalArticleFinder;
180            }
181    
182            /**
183             * Returns the journal article image local service.
184             *
185             * @return the journal article image local service
186             */
187            public JournalArticleImageLocalService getJournalArticleImageLocalService() {
188                    return journalArticleImageLocalService;
189            }
190    
191            /**
192             * Sets the journal article image local service.
193             *
194             * @param journalArticleImageLocalService the journal article image local service
195             */
196            public void setJournalArticleImageLocalService(
197                    JournalArticleImageLocalService journalArticleImageLocalService) {
198                    this.journalArticleImageLocalService = journalArticleImageLocalService;
199            }
200    
201            /**
202             * Returns the journal article image persistence.
203             *
204             * @return the journal article image persistence
205             */
206            public JournalArticleImagePersistence getJournalArticleImagePersistence() {
207                    return journalArticleImagePersistence;
208            }
209    
210            /**
211             * Sets the journal article image persistence.
212             *
213             * @param journalArticleImagePersistence the journal article image persistence
214             */
215            public void setJournalArticleImagePersistence(
216                    JournalArticleImagePersistence journalArticleImagePersistence) {
217                    this.journalArticleImagePersistence = journalArticleImagePersistence;
218            }
219    
220            /**
221             * Returns the journal article resource local service.
222             *
223             * @return the journal article resource local service
224             */
225            public JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
226                    return journalArticleResourceLocalService;
227            }
228    
229            /**
230             * Sets the journal article resource local service.
231             *
232             * @param journalArticleResourceLocalService the journal article resource local service
233             */
234            public void setJournalArticleResourceLocalService(
235                    JournalArticleResourceLocalService journalArticleResourceLocalService) {
236                    this.journalArticleResourceLocalService = journalArticleResourceLocalService;
237            }
238    
239            /**
240             * Returns the journal article resource persistence.
241             *
242             * @return the journal article resource persistence
243             */
244            public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
245                    return journalArticleResourcePersistence;
246            }
247    
248            /**
249             * Sets the journal article resource persistence.
250             *
251             * @param journalArticleResourcePersistence the journal article resource persistence
252             */
253            public void setJournalArticleResourcePersistence(
254                    JournalArticleResourcePersistence journalArticleResourcePersistence) {
255                    this.journalArticleResourcePersistence = journalArticleResourcePersistence;
256            }
257    
258            /**
259             * Returns the journal content search local service.
260             *
261             * @return the journal content search local service
262             */
263            public JournalContentSearchLocalService getJournalContentSearchLocalService() {
264                    return journalContentSearchLocalService;
265            }
266    
267            /**
268             * Sets the journal content search local service.
269             *
270             * @param journalContentSearchLocalService the journal content search local service
271             */
272            public void setJournalContentSearchLocalService(
273                    JournalContentSearchLocalService journalContentSearchLocalService) {
274                    this.journalContentSearchLocalService = journalContentSearchLocalService;
275            }
276    
277            /**
278             * Returns the journal content search persistence.
279             *
280             * @return the journal content search persistence
281             */
282            public JournalContentSearchPersistence getJournalContentSearchPersistence() {
283                    return journalContentSearchPersistence;
284            }
285    
286            /**
287             * Sets the journal content search persistence.
288             *
289             * @param journalContentSearchPersistence the journal content search persistence
290             */
291            public void setJournalContentSearchPersistence(
292                    JournalContentSearchPersistence journalContentSearchPersistence) {
293                    this.journalContentSearchPersistence = journalContentSearchPersistence;
294            }
295    
296            /**
297             * Returns the journal feed local service.
298             *
299             * @return the journal feed local service
300             */
301            public JournalFeedLocalService getJournalFeedLocalService() {
302                    return journalFeedLocalService;
303            }
304    
305            /**
306             * Sets the journal feed local service.
307             *
308             * @param journalFeedLocalService the journal feed local service
309             */
310            public void setJournalFeedLocalService(
311                    JournalFeedLocalService journalFeedLocalService) {
312                    this.journalFeedLocalService = journalFeedLocalService;
313            }
314    
315            /**
316             * Returns the journal feed remote service.
317             *
318             * @return the journal feed remote service
319             */
320            public JournalFeedService getJournalFeedService() {
321                    return journalFeedService;
322            }
323    
324            /**
325             * Sets the journal feed remote service.
326             *
327             * @param journalFeedService the journal feed remote service
328             */
329            public void setJournalFeedService(JournalFeedService journalFeedService) {
330                    this.journalFeedService = journalFeedService;
331            }
332    
333            /**
334             * Returns the journal feed persistence.
335             *
336             * @return the journal feed persistence
337             */
338            public JournalFeedPersistence getJournalFeedPersistence() {
339                    return journalFeedPersistence;
340            }
341    
342            /**
343             * Sets the journal feed persistence.
344             *
345             * @param journalFeedPersistence the journal feed persistence
346             */
347            public void setJournalFeedPersistence(
348                    JournalFeedPersistence journalFeedPersistence) {
349                    this.journalFeedPersistence = journalFeedPersistence;
350            }
351    
352            /**
353             * Returns the journal feed finder.
354             *
355             * @return the journal feed finder
356             */
357            public JournalFeedFinder getJournalFeedFinder() {
358                    return journalFeedFinder;
359            }
360    
361            /**
362             * Sets the journal feed finder.
363             *
364             * @param journalFeedFinder the journal feed finder
365             */
366            public void setJournalFeedFinder(JournalFeedFinder journalFeedFinder) {
367                    this.journalFeedFinder = journalFeedFinder;
368            }
369    
370            /**
371             * Returns the journal folder local service.
372             *
373             * @return the journal folder local service
374             */
375            public JournalFolderLocalService getJournalFolderLocalService() {
376                    return journalFolderLocalService;
377            }
378    
379            /**
380             * Sets the journal folder local service.
381             *
382             * @param journalFolderLocalService the journal folder local service
383             */
384            public void setJournalFolderLocalService(
385                    JournalFolderLocalService journalFolderLocalService) {
386                    this.journalFolderLocalService = journalFolderLocalService;
387            }
388    
389            /**
390             * Returns the journal folder remote service.
391             *
392             * @return the journal folder remote service
393             */
394            public JournalFolderService getJournalFolderService() {
395                    return journalFolderService;
396            }
397    
398            /**
399             * Sets the journal folder remote service.
400             *
401             * @param journalFolderService the journal folder remote service
402             */
403            public void setJournalFolderService(
404                    JournalFolderService journalFolderService) {
405                    this.journalFolderService = journalFolderService;
406            }
407    
408            /**
409             * Returns the journal folder persistence.
410             *
411             * @return the journal folder persistence
412             */
413            public JournalFolderPersistence getJournalFolderPersistence() {
414                    return journalFolderPersistence;
415            }
416    
417            /**
418             * Sets the journal folder persistence.
419             *
420             * @param journalFolderPersistence the journal folder persistence
421             */
422            public void setJournalFolderPersistence(
423                    JournalFolderPersistence journalFolderPersistence) {
424                    this.journalFolderPersistence = journalFolderPersistence;
425            }
426    
427            /**
428             * Returns the journal folder finder.
429             *
430             * @return the journal folder finder
431             */
432            public JournalFolderFinder getJournalFolderFinder() {
433                    return journalFolderFinder;
434            }
435    
436            /**
437             * Sets the journal folder finder.
438             *
439             * @param journalFolderFinder the journal folder finder
440             */
441            public void setJournalFolderFinder(JournalFolderFinder journalFolderFinder) {
442                    this.journalFolderFinder = journalFolderFinder;
443            }
444    
445            /**
446             * Returns the journal structure local service.
447             *
448             * @return the journal structure local service
449             */
450            public JournalStructureLocalService getJournalStructureLocalService() {
451                    return journalStructureLocalService;
452            }
453    
454            /**
455             * Sets the journal structure local service.
456             *
457             * @param journalStructureLocalService the journal structure local service
458             */
459            public void setJournalStructureLocalService(
460                    JournalStructureLocalService journalStructureLocalService) {
461                    this.journalStructureLocalService = journalStructureLocalService;
462            }
463    
464            /**
465             * Returns the journal structure remote service.
466             *
467             * @return the journal structure remote service
468             */
469            public JournalStructureService getJournalStructureService() {
470                    return journalStructureService;
471            }
472    
473            /**
474             * Sets the journal structure remote service.
475             *
476             * @param journalStructureService the journal structure remote service
477             */
478            public void setJournalStructureService(
479                    JournalStructureService journalStructureService) {
480                    this.journalStructureService = journalStructureService;
481            }
482    
483            /**
484             * Returns the journal structure persistence.
485             *
486             * @return the journal structure persistence
487             */
488            public JournalStructurePersistence getJournalStructurePersistence() {
489                    return journalStructurePersistence;
490            }
491    
492            /**
493             * Sets the journal structure persistence.
494             *
495             * @param journalStructurePersistence the journal structure persistence
496             */
497            public void setJournalStructurePersistence(
498                    JournalStructurePersistence journalStructurePersistence) {
499                    this.journalStructurePersistence = journalStructurePersistence;
500            }
501    
502            /**
503             * Returns the journal structure finder.
504             *
505             * @return the journal structure finder
506             */
507            public JournalStructureFinder getJournalStructureFinder() {
508                    return journalStructureFinder;
509            }
510    
511            /**
512             * Sets the journal structure finder.
513             *
514             * @param journalStructureFinder the journal structure finder
515             */
516            public void setJournalStructureFinder(
517                    JournalStructureFinder journalStructureFinder) {
518                    this.journalStructureFinder = journalStructureFinder;
519            }
520    
521            /**
522             * Returns the journal template local service.
523             *
524             * @return the journal template local service
525             */
526            public JournalTemplateLocalService getJournalTemplateLocalService() {
527                    return journalTemplateLocalService;
528            }
529    
530            /**
531             * Sets the journal template local service.
532             *
533             * @param journalTemplateLocalService the journal template local service
534             */
535            public void setJournalTemplateLocalService(
536                    JournalTemplateLocalService journalTemplateLocalService) {
537                    this.journalTemplateLocalService = journalTemplateLocalService;
538            }
539    
540            /**
541             * Returns the journal template remote service.
542             *
543             * @return the journal template remote service
544             */
545            public JournalTemplateService getJournalTemplateService() {
546                    return journalTemplateService;
547            }
548    
549            /**
550             * Sets the journal template remote service.
551             *
552             * @param journalTemplateService the journal template remote service
553             */
554            public void setJournalTemplateService(
555                    JournalTemplateService journalTemplateService) {
556                    this.journalTemplateService = journalTemplateService;
557            }
558    
559            /**
560             * Returns the journal template persistence.
561             *
562             * @return the journal template persistence
563             */
564            public JournalTemplatePersistence getJournalTemplatePersistence() {
565                    return journalTemplatePersistence;
566            }
567    
568            /**
569             * Sets the journal template persistence.
570             *
571             * @param journalTemplatePersistence the journal template persistence
572             */
573            public void setJournalTemplatePersistence(
574                    JournalTemplatePersistence journalTemplatePersistence) {
575                    this.journalTemplatePersistence = journalTemplatePersistence;
576            }
577    
578            /**
579             * Returns the journal template finder.
580             *
581             * @return the journal template finder
582             */
583            public JournalTemplateFinder getJournalTemplateFinder() {
584                    return journalTemplateFinder;
585            }
586    
587            /**
588             * Sets the journal template finder.
589             *
590             * @param journalTemplateFinder the journal template finder
591             */
592            public void setJournalTemplateFinder(
593                    JournalTemplateFinder journalTemplateFinder) {
594                    this.journalTemplateFinder = journalTemplateFinder;
595            }
596    
597            /**
598             * Returns the counter local service.
599             *
600             * @return the counter local service
601             */
602            public CounterLocalService getCounterLocalService() {
603                    return counterLocalService;
604            }
605    
606            /**
607             * Sets the counter local service.
608             *
609             * @param counterLocalService the counter local service
610             */
611            public void setCounterLocalService(CounterLocalService counterLocalService) {
612                    this.counterLocalService = counterLocalService;
613            }
614    
615            /**
616             * Returns the group local service.
617             *
618             * @return the group local service
619             */
620            public GroupLocalService getGroupLocalService() {
621                    return groupLocalService;
622            }
623    
624            /**
625             * Sets the group local service.
626             *
627             * @param groupLocalService the group local service
628             */
629            public void setGroupLocalService(GroupLocalService groupLocalService) {
630                    this.groupLocalService = groupLocalService;
631            }
632    
633            /**
634             * Returns the group remote service.
635             *
636             * @return the group remote service
637             */
638            public GroupService getGroupService() {
639                    return groupService;
640            }
641    
642            /**
643             * Sets the group remote service.
644             *
645             * @param groupService the group remote service
646             */
647            public void setGroupService(GroupService groupService) {
648                    this.groupService = groupService;
649            }
650    
651            /**
652             * Returns the group persistence.
653             *
654             * @return the group persistence
655             */
656            public GroupPersistence getGroupPersistence() {
657                    return groupPersistence;
658            }
659    
660            /**
661             * Sets the group persistence.
662             *
663             * @param groupPersistence the group persistence
664             */
665            public void setGroupPersistence(GroupPersistence groupPersistence) {
666                    this.groupPersistence = groupPersistence;
667            }
668    
669            /**
670             * Returns the group finder.
671             *
672             * @return the group finder
673             */
674            public GroupFinder getGroupFinder() {
675                    return groupFinder;
676            }
677    
678            /**
679             * Sets the group finder.
680             *
681             * @param groupFinder the group finder
682             */
683            public void setGroupFinder(GroupFinder groupFinder) {
684                    this.groupFinder = groupFinder;
685            }
686    
687            /**
688             * Returns the resource local service.
689             *
690             * @return the resource local service
691             */
692            public ResourceLocalService getResourceLocalService() {
693                    return resourceLocalService;
694            }
695    
696            /**
697             * Sets the resource local service.
698             *
699             * @param resourceLocalService the resource local service
700             */
701            public void setResourceLocalService(
702                    ResourceLocalService resourceLocalService) {
703                    this.resourceLocalService = resourceLocalService;
704            }
705    
706            /**
707             * Returns the user local service.
708             *
709             * @return the user local service
710             */
711            public UserLocalService getUserLocalService() {
712                    return userLocalService;
713            }
714    
715            /**
716             * Sets the user local service.
717             *
718             * @param userLocalService the user local service
719             */
720            public void setUserLocalService(UserLocalService userLocalService) {
721                    this.userLocalService = userLocalService;
722            }
723    
724            /**
725             * Returns the user remote service.
726             *
727             * @return the user remote service
728             */
729            public UserService getUserService() {
730                    return userService;
731            }
732    
733            /**
734             * Sets the user remote service.
735             *
736             * @param userService the user remote service
737             */
738            public void setUserService(UserService userService) {
739                    this.userService = userService;
740            }
741    
742            /**
743             * Returns the user persistence.
744             *
745             * @return the user persistence
746             */
747            public UserPersistence getUserPersistence() {
748                    return userPersistence;
749            }
750    
751            /**
752             * Sets the user persistence.
753             *
754             * @param userPersistence the user persistence
755             */
756            public void setUserPersistence(UserPersistence userPersistence) {
757                    this.userPersistence = userPersistence;
758            }
759    
760            /**
761             * Returns the user finder.
762             *
763             * @return the user finder
764             */
765            public UserFinder getUserFinder() {
766                    return userFinder;
767            }
768    
769            /**
770             * Sets the user finder.
771             *
772             * @param userFinder the user finder
773             */
774            public void setUserFinder(UserFinder userFinder) {
775                    this.userFinder = userFinder;
776            }
777    
778            /**
779             * Returns the workflow instance link local service.
780             *
781             * @return the workflow instance link local service
782             */
783            public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
784                    return workflowInstanceLinkLocalService;
785            }
786    
787            /**
788             * Sets the workflow instance link local service.
789             *
790             * @param workflowInstanceLinkLocalService the workflow instance link local service
791             */
792            public void setWorkflowInstanceLinkLocalService(
793                    WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
794                    this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
795            }
796    
797            /**
798             * Returns the workflow instance link persistence.
799             *
800             * @return the workflow instance link persistence
801             */
802            public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
803                    return workflowInstanceLinkPersistence;
804            }
805    
806            /**
807             * Sets the workflow instance link persistence.
808             *
809             * @param workflowInstanceLinkPersistence the workflow instance link persistence
810             */
811            public void setWorkflowInstanceLinkPersistence(
812                    WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
813                    this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
814            }
815    
816            /**
817             * Returns the asset entry local service.
818             *
819             * @return the asset entry local service
820             */
821            public AssetEntryLocalService getAssetEntryLocalService() {
822                    return assetEntryLocalService;
823            }
824    
825            /**
826             * Sets the asset entry local service.
827             *
828             * @param assetEntryLocalService the asset entry local service
829             */
830            public void setAssetEntryLocalService(
831                    AssetEntryLocalService assetEntryLocalService) {
832                    this.assetEntryLocalService = assetEntryLocalService;
833            }
834    
835            /**
836             * Returns the asset entry remote service.
837             *
838             * @return the asset entry remote service
839             */
840            public AssetEntryService getAssetEntryService() {
841                    return assetEntryService;
842            }
843    
844            /**
845             * Sets the asset entry remote service.
846             *
847             * @param assetEntryService the asset entry remote service
848             */
849            public void setAssetEntryService(AssetEntryService assetEntryService) {
850                    this.assetEntryService = assetEntryService;
851            }
852    
853            /**
854             * Returns the asset entry persistence.
855             *
856             * @return the asset entry persistence
857             */
858            public AssetEntryPersistence getAssetEntryPersistence() {
859                    return assetEntryPersistence;
860            }
861    
862            /**
863             * Sets the asset entry persistence.
864             *
865             * @param assetEntryPersistence the asset entry persistence
866             */
867            public void setAssetEntryPersistence(
868                    AssetEntryPersistence assetEntryPersistence) {
869                    this.assetEntryPersistence = assetEntryPersistence;
870            }
871    
872            /**
873             * Returns the asset entry finder.
874             *
875             * @return the asset entry finder
876             */
877            public AssetEntryFinder getAssetEntryFinder() {
878                    return assetEntryFinder;
879            }
880    
881            /**
882             * Sets the asset entry finder.
883             *
884             * @param assetEntryFinder the asset entry finder
885             */
886            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
887                    this.assetEntryFinder = assetEntryFinder;
888            }
889    
890            /**
891             * Returns the asset link local service.
892             *
893             * @return the asset link local service
894             */
895            public AssetLinkLocalService getAssetLinkLocalService() {
896                    return assetLinkLocalService;
897            }
898    
899            /**
900             * Sets the asset link local service.
901             *
902             * @param assetLinkLocalService the asset link local service
903             */
904            public void setAssetLinkLocalService(
905                    AssetLinkLocalService assetLinkLocalService) {
906                    this.assetLinkLocalService = assetLinkLocalService;
907            }
908    
909            /**
910             * Returns the asset link persistence.
911             *
912             * @return the asset link persistence
913             */
914            public AssetLinkPersistence getAssetLinkPersistence() {
915                    return assetLinkPersistence;
916            }
917    
918            /**
919             * Sets the asset link persistence.
920             *
921             * @param assetLinkPersistence the asset link persistence
922             */
923            public void setAssetLinkPersistence(
924                    AssetLinkPersistence assetLinkPersistence) {
925                    this.assetLinkPersistence = assetLinkPersistence;
926            }
927    
928            /**
929             * Returns the asset link finder.
930             *
931             * @return the asset link finder
932             */
933            public AssetLinkFinder getAssetLinkFinder() {
934                    return assetLinkFinder;
935            }
936    
937            /**
938             * Sets the asset link finder.
939             *
940             * @param assetLinkFinder the asset link finder
941             */
942            public void setAssetLinkFinder(AssetLinkFinder assetLinkFinder) {
943                    this.assetLinkFinder = assetLinkFinder;
944            }
945    
946            /**
947             * Returns the expando value local service.
948             *
949             * @return the expando value local service
950             */
951            public ExpandoValueLocalService getExpandoValueLocalService() {
952                    return expandoValueLocalService;
953            }
954    
955            /**
956             * Sets the expando value local service.
957             *
958             * @param expandoValueLocalService the expando value local service
959             */
960            public void setExpandoValueLocalService(
961                    ExpandoValueLocalService expandoValueLocalService) {
962                    this.expandoValueLocalService = expandoValueLocalService;
963            }
964    
965            /**
966             * Returns the expando value remote service.
967             *
968             * @return the expando value remote service
969             */
970            public ExpandoValueService getExpandoValueService() {
971                    return expandoValueService;
972            }
973    
974            /**
975             * Sets the expando value remote service.
976             *
977             * @param expandoValueService the expando value remote service
978             */
979            public void setExpandoValueService(ExpandoValueService expandoValueService) {
980                    this.expandoValueService = expandoValueService;
981            }
982    
983            /**
984             * Returns the expando value persistence.
985             *
986             * @return the expando value persistence
987             */
988            public ExpandoValuePersistence getExpandoValuePersistence() {
989                    return expandoValuePersistence;
990            }
991    
992            /**
993             * Sets the expando value persistence.
994             *
995             * @param expandoValuePersistence the expando value persistence
996             */
997            public void setExpandoValuePersistence(
998                    ExpandoValuePersistence expandoValuePersistence) {
999                    this.expandoValuePersistence = expandoValuePersistence;
1000            }
1001    
1002            /**
1003             * Returns the social activity local service.
1004             *
1005             * @return the social activity local service
1006             */
1007            public SocialActivityLocalService getSocialActivityLocalService() {
1008                    return socialActivityLocalService;
1009            }
1010    
1011            /**
1012             * Sets the social activity local service.
1013             *
1014             * @param socialActivityLocalService the social activity local service
1015             */
1016            public void setSocialActivityLocalService(
1017                    SocialActivityLocalService socialActivityLocalService) {
1018                    this.socialActivityLocalService = socialActivityLocalService;
1019            }
1020    
1021            /**
1022             * Returns the social activity persistence.
1023             *
1024             * @return the social activity persistence
1025             */
1026            public SocialActivityPersistence getSocialActivityPersistence() {
1027                    return socialActivityPersistence;
1028            }
1029    
1030            /**
1031             * Sets the social activity persistence.
1032             *
1033             * @param socialActivityPersistence the social activity persistence
1034             */
1035            public void setSocialActivityPersistence(
1036                    SocialActivityPersistence socialActivityPersistence) {
1037                    this.socialActivityPersistence = socialActivityPersistence;
1038            }
1039    
1040            /**
1041             * Returns the social activity finder.
1042             *
1043             * @return the social activity finder
1044             */
1045            public SocialActivityFinder getSocialActivityFinder() {
1046                    return socialActivityFinder;
1047            }
1048    
1049            /**
1050             * Sets the social activity finder.
1051             *
1052             * @param socialActivityFinder the social activity finder
1053             */
1054            public void setSocialActivityFinder(
1055                    SocialActivityFinder socialActivityFinder) {
1056                    this.socialActivityFinder = socialActivityFinder;
1057            }
1058    
1059            /**
1060             * Returns the social activity counter local service.
1061             *
1062             * @return the social activity counter local service
1063             */
1064            public SocialActivityCounterLocalService getSocialActivityCounterLocalService() {
1065                    return socialActivityCounterLocalService;
1066            }
1067    
1068            /**
1069             * Sets the social activity counter local service.
1070             *
1071             * @param socialActivityCounterLocalService the social activity counter local service
1072             */
1073            public void setSocialActivityCounterLocalService(
1074                    SocialActivityCounterLocalService socialActivityCounterLocalService) {
1075                    this.socialActivityCounterLocalService = socialActivityCounterLocalService;
1076            }
1077    
1078            /**
1079             * Returns the social activity counter persistence.
1080             *
1081             * @return the social activity counter persistence
1082             */
1083            public SocialActivityCounterPersistence getSocialActivityCounterPersistence() {
1084                    return socialActivityCounterPersistence;
1085            }
1086    
1087            /**
1088             * Sets the social activity counter persistence.
1089             *
1090             * @param socialActivityCounterPersistence the social activity counter persistence
1091             */
1092            public void setSocialActivityCounterPersistence(
1093                    SocialActivityCounterPersistence socialActivityCounterPersistence) {
1094                    this.socialActivityCounterPersistence = socialActivityCounterPersistence;
1095            }
1096    
1097            /**
1098             * Returns the social activity counter finder.
1099             *
1100             * @return the social activity counter finder
1101             */
1102            public SocialActivityCounterFinder getSocialActivityCounterFinder() {
1103                    return socialActivityCounterFinder;
1104            }
1105    
1106            /**
1107             * Sets the social activity counter finder.
1108             *
1109             * @param socialActivityCounterFinder the social activity counter finder
1110             */
1111            public void setSocialActivityCounterFinder(
1112                    SocialActivityCounterFinder socialActivityCounterFinder) {
1113                    this.socialActivityCounterFinder = socialActivityCounterFinder;
1114            }
1115    
1116            /**
1117             * Returns the trash entry local service.
1118             *
1119             * @return the trash entry local service
1120             */
1121            public TrashEntryLocalService getTrashEntryLocalService() {
1122                    return trashEntryLocalService;
1123            }
1124    
1125            /**
1126             * Sets the trash entry local service.
1127             *
1128             * @param trashEntryLocalService the trash entry local service
1129             */
1130            public void setTrashEntryLocalService(
1131                    TrashEntryLocalService trashEntryLocalService) {
1132                    this.trashEntryLocalService = trashEntryLocalService;
1133            }
1134    
1135            /**
1136             * Returns the trash entry remote service.
1137             *
1138             * @return the trash entry remote service
1139             */
1140            public TrashEntryService getTrashEntryService() {
1141                    return trashEntryService;
1142            }
1143    
1144            /**
1145             * Sets the trash entry remote service.
1146             *
1147             * @param trashEntryService the trash entry remote service
1148             */
1149            public void setTrashEntryService(TrashEntryService trashEntryService) {
1150                    this.trashEntryService = trashEntryService;
1151            }
1152    
1153            /**
1154             * Returns the trash entry persistence.
1155             *
1156             * @return the trash entry persistence
1157             */
1158            public TrashEntryPersistence getTrashEntryPersistence() {
1159                    return trashEntryPersistence;
1160            }
1161    
1162            /**
1163             * Sets the trash entry persistence.
1164             *
1165             * @param trashEntryPersistence the trash entry persistence
1166             */
1167            public void setTrashEntryPersistence(
1168                    TrashEntryPersistence trashEntryPersistence) {
1169                    this.trashEntryPersistence = trashEntryPersistence;
1170            }
1171    
1172            public void afterPropertiesSet() {
1173            }
1174    
1175            public void destroy() {
1176            }
1177    
1178            /**
1179             * Returns the Spring bean ID for this bean.
1180             *
1181             * @return the Spring bean ID for this bean
1182             */
1183            public String getBeanIdentifier() {
1184                    return _beanIdentifier;
1185            }
1186    
1187            /**
1188             * Sets the Spring bean ID for this bean.
1189             *
1190             * @param beanIdentifier the Spring bean ID for this bean
1191             */
1192            public void setBeanIdentifier(String beanIdentifier) {
1193                    _beanIdentifier = beanIdentifier;
1194            }
1195    
1196            protected Class<?> getModelClass() {
1197                    return JournalFolder.class;
1198            }
1199    
1200            protected String getModelClassName() {
1201                    return JournalFolder.class.getName();
1202            }
1203    
1204            /**
1205             * Performs an SQL query.
1206             *
1207             * @param sql the sql query
1208             */
1209            protected void runSQL(String sql) throws SystemException {
1210                    try {
1211                            DataSource dataSource = journalFolderPersistence.getDataSource();
1212    
1213                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1214                                            sql, new int[0]);
1215    
1216                            sqlUpdate.update();
1217                    }
1218                    catch (Exception e) {
1219                            throw new SystemException(e);
1220                    }
1221            }
1222    
1223            @BeanReference(type = JournalArticleLocalService.class)
1224            protected JournalArticleLocalService journalArticleLocalService;
1225            @BeanReference(type = JournalArticleService.class)
1226            protected JournalArticleService journalArticleService;
1227            @BeanReference(type = JournalArticlePersistence.class)
1228            protected JournalArticlePersistence journalArticlePersistence;
1229            @BeanReference(type = JournalArticleFinder.class)
1230            protected JournalArticleFinder journalArticleFinder;
1231            @BeanReference(type = JournalArticleImageLocalService.class)
1232            protected JournalArticleImageLocalService journalArticleImageLocalService;
1233            @BeanReference(type = JournalArticleImagePersistence.class)
1234            protected JournalArticleImagePersistence journalArticleImagePersistence;
1235            @BeanReference(type = JournalArticleResourceLocalService.class)
1236            protected JournalArticleResourceLocalService journalArticleResourceLocalService;
1237            @BeanReference(type = JournalArticleResourcePersistence.class)
1238            protected JournalArticleResourcePersistence journalArticleResourcePersistence;
1239            @BeanReference(type = JournalContentSearchLocalService.class)
1240            protected JournalContentSearchLocalService journalContentSearchLocalService;
1241            @BeanReference(type = JournalContentSearchPersistence.class)
1242            protected JournalContentSearchPersistence journalContentSearchPersistence;
1243            @BeanReference(type = JournalFeedLocalService.class)
1244            protected JournalFeedLocalService journalFeedLocalService;
1245            @BeanReference(type = JournalFeedService.class)
1246            protected JournalFeedService journalFeedService;
1247            @BeanReference(type = JournalFeedPersistence.class)
1248            protected JournalFeedPersistence journalFeedPersistence;
1249            @BeanReference(type = JournalFeedFinder.class)
1250            protected JournalFeedFinder journalFeedFinder;
1251            @BeanReference(type = JournalFolderLocalService.class)
1252            protected JournalFolderLocalService journalFolderLocalService;
1253            @BeanReference(type = JournalFolderService.class)
1254            protected JournalFolderService journalFolderService;
1255            @BeanReference(type = JournalFolderPersistence.class)
1256            protected JournalFolderPersistence journalFolderPersistence;
1257            @BeanReference(type = JournalFolderFinder.class)
1258            protected JournalFolderFinder journalFolderFinder;
1259            @BeanReference(type = JournalStructureLocalService.class)
1260            protected JournalStructureLocalService journalStructureLocalService;
1261            @BeanReference(type = JournalStructureService.class)
1262            protected JournalStructureService journalStructureService;
1263            @BeanReference(type = JournalStructurePersistence.class)
1264            protected JournalStructurePersistence journalStructurePersistence;
1265            @BeanReference(type = JournalStructureFinder.class)
1266            protected JournalStructureFinder journalStructureFinder;
1267            @BeanReference(type = JournalTemplateLocalService.class)
1268            protected JournalTemplateLocalService journalTemplateLocalService;
1269            @BeanReference(type = JournalTemplateService.class)
1270            protected JournalTemplateService journalTemplateService;
1271            @BeanReference(type = JournalTemplatePersistence.class)
1272            protected JournalTemplatePersistence journalTemplatePersistence;
1273            @BeanReference(type = JournalTemplateFinder.class)
1274            protected JournalTemplateFinder journalTemplateFinder;
1275            @BeanReference(type = CounterLocalService.class)
1276            protected CounterLocalService counterLocalService;
1277            @BeanReference(type = GroupLocalService.class)
1278            protected GroupLocalService groupLocalService;
1279            @BeanReference(type = GroupService.class)
1280            protected GroupService groupService;
1281            @BeanReference(type = GroupPersistence.class)
1282            protected GroupPersistence groupPersistence;
1283            @BeanReference(type = GroupFinder.class)
1284            protected GroupFinder groupFinder;
1285            @BeanReference(type = ResourceLocalService.class)
1286            protected ResourceLocalService resourceLocalService;
1287            @BeanReference(type = UserLocalService.class)
1288            protected UserLocalService userLocalService;
1289            @BeanReference(type = UserService.class)
1290            protected UserService userService;
1291            @BeanReference(type = UserPersistence.class)
1292            protected UserPersistence userPersistence;
1293            @BeanReference(type = UserFinder.class)
1294            protected UserFinder userFinder;
1295            @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1296            protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1297            @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1298            protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1299            @BeanReference(type = AssetEntryLocalService.class)
1300            protected AssetEntryLocalService assetEntryLocalService;
1301            @BeanReference(type = AssetEntryService.class)
1302            protected AssetEntryService assetEntryService;
1303            @BeanReference(type = AssetEntryPersistence.class)
1304            protected AssetEntryPersistence assetEntryPersistence;
1305            @BeanReference(type = AssetEntryFinder.class)
1306            protected AssetEntryFinder assetEntryFinder;
1307            @BeanReference(type = AssetLinkLocalService.class)
1308            protected AssetLinkLocalService assetLinkLocalService;
1309            @BeanReference(type = AssetLinkPersistence.class)
1310            protected AssetLinkPersistence assetLinkPersistence;
1311            @BeanReference(type = AssetLinkFinder.class)
1312            protected AssetLinkFinder assetLinkFinder;
1313            @BeanReference(type = ExpandoValueLocalService.class)
1314            protected ExpandoValueLocalService expandoValueLocalService;
1315            @BeanReference(type = ExpandoValueService.class)
1316            protected ExpandoValueService expandoValueService;
1317            @BeanReference(type = ExpandoValuePersistence.class)
1318            protected ExpandoValuePersistence expandoValuePersistence;
1319            @BeanReference(type = SocialActivityLocalService.class)
1320            protected SocialActivityLocalService socialActivityLocalService;
1321            @BeanReference(type = SocialActivityPersistence.class)
1322            protected SocialActivityPersistence socialActivityPersistence;
1323            @BeanReference(type = SocialActivityFinder.class)
1324            protected SocialActivityFinder socialActivityFinder;
1325            @BeanReference(type = SocialActivityCounterLocalService.class)
1326            protected SocialActivityCounterLocalService socialActivityCounterLocalService;
1327            @BeanReference(type = SocialActivityCounterPersistence.class)
1328            protected SocialActivityCounterPersistence socialActivityCounterPersistence;
1329            @BeanReference(type = SocialActivityCounterFinder.class)
1330            protected SocialActivityCounterFinder socialActivityCounterFinder;
1331            @BeanReference(type = TrashEntryLocalService.class)
1332            protected TrashEntryLocalService trashEntryLocalService;
1333            @BeanReference(type = TrashEntryService.class)
1334            protected TrashEntryService trashEntryService;
1335            @BeanReference(type = TrashEntryPersistence.class)
1336            protected TrashEntryPersistence trashEntryPersistence;
1337            private String _beanIdentifier;
1338    }