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