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