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