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