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.CompanyPersistence;
027    import com.liferay.portal.service.persistence.GroupFinder;
028    import com.liferay.portal.service.persistence.GroupPersistence;
029    import com.liferay.portal.service.persistence.ImagePersistence;
030    import com.liferay.portal.service.persistence.PortletPreferencesFinder;
031    import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
032    import com.liferay.portal.service.persistence.SubscriptionPersistence;
033    import com.liferay.portal.service.persistence.SystemEventPersistence;
034    import com.liferay.portal.service.persistence.UserFinder;
035    import com.liferay.portal.service.persistence.UserPersistence;
036    import com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistence;
037    import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
038    import com.liferay.portal.util.PortalUtil;
039    
040    import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
041    import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
042    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
043    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
044    import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
045    import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
046    import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
047    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder;
048    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence;
049    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplateFinder;
050    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence;
051    import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
052    import com.liferay.portlet.journal.model.JournalArticle;
053    import com.liferay.portlet.journal.service.JournalArticleService;
054    import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
055    import com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence;
056    import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
057    import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
058    import com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence;
059    import com.liferay.portlet.journal.service.persistence.JournalFolderFinder;
060    import com.liferay.portlet.journal.service.persistence.JournalFolderPersistence;
061    import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
062    import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
063    import com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder;
064    import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
065    import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
066    import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
067    import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
068    import com.liferay.portlet.trash.service.persistence.TrashVersionPersistence;
069    
070    import javax.sql.DataSource;
071    
072    /**
073     * Provides the base implementation for the journal article remote service.
074     *
075     * <p>
076     * 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.JournalArticleServiceImpl}.
077     * </p>
078     *
079     * @author Brian Wing Shun Chan
080     * @see com.liferay.portlet.journal.service.impl.JournalArticleServiceImpl
081     * @see com.liferay.portlet.journal.service.JournalArticleServiceUtil
082     * @generated
083     */
084    public abstract class JournalArticleServiceBaseImpl extends BaseServiceImpl
085            implements JournalArticleService, IdentifiableBean {
086            /*
087             * NOTE FOR DEVELOPERS:
088             *
089             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.journal.service.JournalArticleServiceUtil} to access the journal article remote service.
090             */
091    
092            /**
093             * Returns the journal article local service.
094             *
095             * @return the journal article local service
096             */
097            public com.liferay.portlet.journal.service.JournalArticleLocalService getJournalArticleLocalService() {
098                    return journalArticleLocalService;
099            }
100    
101            /**
102             * Sets the journal article local service.
103             *
104             * @param journalArticleLocalService the journal article local service
105             */
106            public void setJournalArticleLocalService(
107                    com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService) {
108                    this.journalArticleLocalService = journalArticleLocalService;
109            }
110    
111            /**
112             * Returns the journal article remote service.
113             *
114             * @return the journal article remote service
115             */
116            public com.liferay.portlet.journal.service.JournalArticleService getJournalArticleService() {
117                    return journalArticleService;
118            }
119    
120            /**
121             * Sets the journal article remote service.
122             *
123             * @param journalArticleService the journal article remote service
124             */
125            public void setJournalArticleService(
126                    com.liferay.portlet.journal.service.JournalArticleService journalArticleService) {
127                    this.journalArticleService = journalArticleService;
128            }
129    
130            /**
131             * Returns the journal article persistence.
132             *
133             * @return the journal article persistence
134             */
135            public JournalArticlePersistence getJournalArticlePersistence() {
136                    return journalArticlePersistence;
137            }
138    
139            /**
140             * Sets the journal article persistence.
141             *
142             * @param journalArticlePersistence the journal article persistence
143             */
144            public void setJournalArticlePersistence(
145                    JournalArticlePersistence journalArticlePersistence) {
146                    this.journalArticlePersistence = journalArticlePersistence;
147            }
148    
149            /**
150             * Returns the journal article finder.
151             *
152             * @return the journal article finder
153             */
154            public JournalArticleFinder getJournalArticleFinder() {
155                    return journalArticleFinder;
156            }
157    
158            /**
159             * Sets the journal article finder.
160             *
161             * @param journalArticleFinder the journal article finder
162             */
163            public void setJournalArticleFinder(
164                    JournalArticleFinder journalArticleFinder) {
165                    this.journalArticleFinder = journalArticleFinder;
166            }
167    
168            /**
169             * Returns the counter local service.
170             *
171             * @return the counter local service
172             */
173            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
174                    return counterLocalService;
175            }
176    
177            /**
178             * Sets the counter local service.
179             *
180             * @param counterLocalService the counter local service
181             */
182            public void setCounterLocalService(
183                    com.liferay.counter.service.CounterLocalService counterLocalService) {
184                    this.counterLocalService = counterLocalService;
185            }
186    
187            /**
188             * Returns the mail remote service.
189             *
190             * @return the mail remote service
191             */
192            public com.liferay.mail.service.MailService getMailService() {
193                    return mailService;
194            }
195    
196            /**
197             * Sets the mail remote service.
198             *
199             * @param mailService the mail remote service
200             */
201            public void setMailService(com.liferay.mail.service.MailService mailService) {
202                    this.mailService = mailService;
203            }
204    
205            /**
206             * Returns the class name local service.
207             *
208             * @return the class name local service
209             */
210            public com.liferay.portal.service.ClassNameLocalService getClassNameLocalService() {
211                    return classNameLocalService;
212            }
213    
214            /**
215             * Sets the class name local service.
216             *
217             * @param classNameLocalService the class name local service
218             */
219            public void setClassNameLocalService(
220                    com.liferay.portal.service.ClassNameLocalService classNameLocalService) {
221                    this.classNameLocalService = classNameLocalService;
222            }
223    
224            /**
225             * Returns the class name remote service.
226             *
227             * @return the class name remote service
228             */
229            public com.liferay.portal.service.ClassNameService getClassNameService() {
230                    return classNameService;
231            }
232    
233            /**
234             * Sets the class name remote service.
235             *
236             * @param classNameService the class name remote service
237             */
238            public void setClassNameService(
239                    com.liferay.portal.service.ClassNameService classNameService) {
240                    this.classNameService = classNameService;
241            }
242    
243            /**
244             * Returns the class name persistence.
245             *
246             * @return the class name persistence
247             */
248            public ClassNamePersistence getClassNamePersistence() {
249                    return classNamePersistence;
250            }
251    
252            /**
253             * Sets the class name persistence.
254             *
255             * @param classNamePersistence the class name persistence
256             */
257            public void setClassNamePersistence(
258                    ClassNamePersistence classNamePersistence) {
259                    this.classNamePersistence = classNamePersistence;
260            }
261    
262            /**
263             * Returns the company local service.
264             *
265             * @return the company local service
266             */
267            public com.liferay.portal.service.CompanyLocalService getCompanyLocalService() {
268                    return companyLocalService;
269            }
270    
271            /**
272             * Sets the company local service.
273             *
274             * @param companyLocalService the company local service
275             */
276            public void setCompanyLocalService(
277                    com.liferay.portal.service.CompanyLocalService companyLocalService) {
278                    this.companyLocalService = companyLocalService;
279            }
280    
281            /**
282             * Returns the company remote service.
283             *
284             * @return the company remote service
285             */
286            public com.liferay.portal.service.CompanyService getCompanyService() {
287                    return companyService;
288            }
289    
290            /**
291             * Sets the company remote service.
292             *
293             * @param companyService the company remote service
294             */
295            public void setCompanyService(
296                    com.liferay.portal.service.CompanyService companyService) {
297                    this.companyService = companyService;
298            }
299    
300            /**
301             * Returns the company persistence.
302             *
303             * @return the company persistence
304             */
305            public CompanyPersistence getCompanyPersistence() {
306                    return companyPersistence;
307            }
308    
309            /**
310             * Sets the company persistence.
311             *
312             * @param companyPersistence the company persistence
313             */
314            public void setCompanyPersistence(CompanyPersistence companyPersistence) {
315                    this.companyPersistence = companyPersistence;
316            }
317    
318            /**
319             * Returns the group local service.
320             *
321             * @return the group local service
322             */
323            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
324                    return groupLocalService;
325            }
326    
327            /**
328             * Sets the group local service.
329             *
330             * @param groupLocalService the group local service
331             */
332            public void setGroupLocalService(
333                    com.liferay.portal.service.GroupLocalService groupLocalService) {
334                    this.groupLocalService = groupLocalService;
335            }
336    
337            /**
338             * Returns the group remote service.
339             *
340             * @return the group remote service
341             */
342            public com.liferay.portal.service.GroupService getGroupService() {
343                    return groupService;
344            }
345    
346            /**
347             * Sets the group remote service.
348             *
349             * @param groupService the group remote service
350             */
351            public void setGroupService(
352                    com.liferay.portal.service.GroupService groupService) {
353                    this.groupService = groupService;
354            }
355    
356            /**
357             * Returns the group persistence.
358             *
359             * @return the group persistence
360             */
361            public GroupPersistence getGroupPersistence() {
362                    return groupPersistence;
363            }
364    
365            /**
366             * Sets the group persistence.
367             *
368             * @param groupPersistence the group persistence
369             */
370            public void setGroupPersistence(GroupPersistence groupPersistence) {
371                    this.groupPersistence = groupPersistence;
372            }
373    
374            /**
375             * Returns the group finder.
376             *
377             * @return the group finder
378             */
379            public GroupFinder getGroupFinder() {
380                    return groupFinder;
381            }
382    
383            /**
384             * Sets the group finder.
385             *
386             * @param groupFinder the group finder
387             */
388            public void setGroupFinder(GroupFinder groupFinder) {
389                    this.groupFinder = groupFinder;
390            }
391    
392            /**
393             * Returns the image local service.
394             *
395             * @return the image local service
396             */
397            public com.liferay.portal.service.ImageLocalService getImageLocalService() {
398                    return imageLocalService;
399            }
400    
401            /**
402             * Sets the image local service.
403             *
404             * @param imageLocalService the image local service
405             */
406            public void setImageLocalService(
407                    com.liferay.portal.service.ImageLocalService imageLocalService) {
408                    this.imageLocalService = imageLocalService;
409            }
410    
411            /**
412             * Returns the image remote service.
413             *
414             * @return the image remote service
415             */
416            public com.liferay.portal.service.ImageService getImageService() {
417                    return imageService;
418            }
419    
420            /**
421             * Sets the image remote service.
422             *
423             * @param imageService the image remote service
424             */
425            public void setImageService(
426                    com.liferay.portal.service.ImageService imageService) {
427                    this.imageService = imageService;
428            }
429    
430            /**
431             * Returns the image persistence.
432             *
433             * @return the image persistence
434             */
435            public ImagePersistence getImagePersistence() {
436                    return imagePersistence;
437            }
438    
439            /**
440             * Sets the image persistence.
441             *
442             * @param imagePersistence the image persistence
443             */
444            public void setImagePersistence(ImagePersistence imagePersistence) {
445                    this.imagePersistence = imagePersistence;
446            }
447    
448            /**
449             * Returns the portlet preferences local service.
450             *
451             * @return the portlet preferences local service
452             */
453            public com.liferay.portal.service.PortletPreferencesLocalService getPortletPreferencesLocalService() {
454                    return portletPreferencesLocalService;
455            }
456    
457            /**
458             * Sets the portlet preferences local service.
459             *
460             * @param portletPreferencesLocalService the portlet preferences local service
461             */
462            public void setPortletPreferencesLocalService(
463                    com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService) {
464                    this.portletPreferencesLocalService = portletPreferencesLocalService;
465            }
466    
467            /**
468             * Returns the portlet preferences remote service.
469             *
470             * @return the portlet preferences remote service
471             */
472            public com.liferay.portal.service.PortletPreferencesService getPortletPreferencesService() {
473                    return portletPreferencesService;
474            }
475    
476            /**
477             * Sets the portlet preferences remote service.
478             *
479             * @param portletPreferencesService the portlet preferences remote service
480             */
481            public void setPortletPreferencesService(
482                    com.liferay.portal.service.PortletPreferencesService portletPreferencesService) {
483                    this.portletPreferencesService = portletPreferencesService;
484            }
485    
486            /**
487             * Returns the portlet preferences persistence.
488             *
489             * @return the portlet preferences persistence
490             */
491            public PortletPreferencesPersistence getPortletPreferencesPersistence() {
492                    return portletPreferencesPersistence;
493            }
494    
495            /**
496             * Sets the portlet preferences persistence.
497             *
498             * @param portletPreferencesPersistence the portlet preferences persistence
499             */
500            public void setPortletPreferencesPersistence(
501                    PortletPreferencesPersistence portletPreferencesPersistence) {
502                    this.portletPreferencesPersistence = portletPreferencesPersistence;
503            }
504    
505            /**
506             * Returns the portlet preferences finder.
507             *
508             * @return the portlet preferences finder
509             */
510            public PortletPreferencesFinder getPortletPreferencesFinder() {
511                    return portletPreferencesFinder;
512            }
513    
514            /**
515             * Sets the portlet preferences finder.
516             *
517             * @param portletPreferencesFinder the portlet preferences finder
518             */
519            public void setPortletPreferencesFinder(
520                    PortletPreferencesFinder portletPreferencesFinder) {
521                    this.portletPreferencesFinder = portletPreferencesFinder;
522            }
523    
524            /**
525             * Returns the resource local service.
526             *
527             * @return the resource local service
528             */
529            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
530                    return resourceLocalService;
531            }
532    
533            /**
534             * Sets the resource local service.
535             *
536             * @param resourceLocalService the resource local service
537             */
538            public void setResourceLocalService(
539                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
540                    this.resourceLocalService = resourceLocalService;
541            }
542    
543            /**
544             * Returns the subscription local service.
545             *
546             * @return the subscription local service
547             */
548            public com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService() {
549                    return subscriptionLocalService;
550            }
551    
552            /**
553             * Sets the subscription local service.
554             *
555             * @param subscriptionLocalService the subscription local service
556             */
557            public void setSubscriptionLocalService(
558                    com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService) {
559                    this.subscriptionLocalService = subscriptionLocalService;
560            }
561    
562            /**
563             * Returns the subscription persistence.
564             *
565             * @return the subscription persistence
566             */
567            public SubscriptionPersistence getSubscriptionPersistence() {
568                    return subscriptionPersistence;
569            }
570    
571            /**
572             * Sets the subscription persistence.
573             *
574             * @param subscriptionPersistence the subscription persistence
575             */
576            public void setSubscriptionPersistence(
577                    SubscriptionPersistence subscriptionPersistence) {
578                    this.subscriptionPersistence = subscriptionPersistence;
579            }
580    
581            /**
582             * Returns the system event local service.
583             *
584             * @return the system event local service
585             */
586            public com.liferay.portal.service.SystemEventLocalService getSystemEventLocalService() {
587                    return systemEventLocalService;
588            }
589    
590            /**
591             * Sets the system event local service.
592             *
593             * @param systemEventLocalService the system event local service
594             */
595            public void setSystemEventLocalService(
596                    com.liferay.portal.service.SystemEventLocalService systemEventLocalService) {
597                    this.systemEventLocalService = systemEventLocalService;
598            }
599    
600            /**
601             * Returns the system event persistence.
602             *
603             * @return the system event persistence
604             */
605            public SystemEventPersistence getSystemEventPersistence() {
606                    return systemEventPersistence;
607            }
608    
609            /**
610             * Sets the system event persistence.
611             *
612             * @param systemEventPersistence the system event persistence
613             */
614            public void setSystemEventPersistence(
615                    SystemEventPersistence systemEventPersistence) {
616                    this.systemEventPersistence = systemEventPersistence;
617            }
618    
619            /**
620             * Returns the user local service.
621             *
622             * @return the user local service
623             */
624            public com.liferay.portal.service.UserLocalService getUserLocalService() {
625                    return userLocalService;
626            }
627    
628            /**
629             * Sets the user local service.
630             *
631             * @param userLocalService the user local service
632             */
633            public void setUserLocalService(
634                    com.liferay.portal.service.UserLocalService userLocalService) {
635                    this.userLocalService = userLocalService;
636            }
637    
638            /**
639             * Returns the user remote service.
640             *
641             * @return the user remote service
642             */
643            public com.liferay.portal.service.UserService getUserService() {
644                    return userService;
645            }
646    
647            /**
648             * Sets the user remote service.
649             *
650             * @param userService the user remote service
651             */
652            public void setUserService(
653                    com.liferay.portal.service.UserService userService) {
654                    this.userService = userService;
655            }
656    
657            /**
658             * Returns the user persistence.
659             *
660             * @return the user persistence
661             */
662            public UserPersistence getUserPersistence() {
663                    return userPersistence;
664            }
665    
666            /**
667             * Sets the user persistence.
668             *
669             * @param userPersistence the user persistence
670             */
671            public void setUserPersistence(UserPersistence userPersistence) {
672                    this.userPersistence = userPersistence;
673            }
674    
675            /**
676             * Returns the user finder.
677             *
678             * @return the user finder
679             */
680            public UserFinder getUserFinder() {
681                    return userFinder;
682            }
683    
684            /**
685             * Sets the user finder.
686             *
687             * @param userFinder the user finder
688             */
689            public void setUserFinder(UserFinder userFinder) {
690                    this.userFinder = userFinder;
691            }
692    
693            /**
694             * Returns the workflow definition link local service.
695             *
696             * @return the workflow definition link local service
697             */
698            public com.liferay.portal.service.WorkflowDefinitionLinkLocalService getWorkflowDefinitionLinkLocalService() {
699                    return workflowDefinitionLinkLocalService;
700            }
701    
702            /**
703             * Sets the workflow definition link local service.
704             *
705             * @param workflowDefinitionLinkLocalService the workflow definition link local service
706             */
707            public void setWorkflowDefinitionLinkLocalService(
708                    com.liferay.portal.service.WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) {
709                    this.workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService;
710            }
711    
712            /**
713             * Returns the workflow definition link persistence.
714             *
715             * @return the workflow definition link persistence
716             */
717            public WorkflowDefinitionLinkPersistence getWorkflowDefinitionLinkPersistence() {
718                    return workflowDefinitionLinkPersistence;
719            }
720    
721            /**
722             * Sets the workflow definition link persistence.
723             *
724             * @param workflowDefinitionLinkPersistence the workflow definition link persistence
725             */
726            public void setWorkflowDefinitionLinkPersistence(
727                    WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence) {
728                    this.workflowDefinitionLinkPersistence = workflowDefinitionLinkPersistence;
729            }
730    
731            /**
732             * Returns the workflow instance link local service.
733             *
734             * @return the workflow instance link local service
735             */
736            public com.liferay.portal.service.WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
737                    return workflowInstanceLinkLocalService;
738            }
739    
740            /**
741             * Sets the workflow instance link local service.
742             *
743             * @param workflowInstanceLinkLocalService the workflow instance link local service
744             */
745            public void setWorkflowInstanceLinkLocalService(
746                    com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
747                    this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
748            }
749    
750            /**
751             * Returns the workflow instance link persistence.
752             *
753             * @return the workflow instance link persistence
754             */
755            public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
756                    return workflowInstanceLinkPersistence;
757            }
758    
759            /**
760             * Sets the workflow instance link persistence.
761             *
762             * @param workflowInstanceLinkPersistence the workflow instance link persistence
763             */
764            public void setWorkflowInstanceLinkPersistence(
765                    WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
766                    this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
767            }
768    
769            /**
770             * Returns the asset category local service.
771             *
772             * @return the asset category local service
773             */
774            public com.liferay.portlet.asset.service.AssetCategoryLocalService getAssetCategoryLocalService() {
775                    return assetCategoryLocalService;
776            }
777    
778            /**
779             * Sets the asset category local service.
780             *
781             * @param assetCategoryLocalService the asset category local service
782             */
783            public void setAssetCategoryLocalService(
784                    com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService) {
785                    this.assetCategoryLocalService = assetCategoryLocalService;
786            }
787    
788            /**
789             * Returns the asset category remote service.
790             *
791             * @return the asset category remote service
792             */
793            public com.liferay.portlet.asset.service.AssetCategoryService getAssetCategoryService() {
794                    return assetCategoryService;
795            }
796    
797            /**
798             * Sets the asset category remote service.
799             *
800             * @param assetCategoryService the asset category remote service
801             */
802            public void setAssetCategoryService(
803                    com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService) {
804                    this.assetCategoryService = assetCategoryService;
805            }
806    
807            /**
808             * Returns the asset category persistence.
809             *
810             * @return the asset category persistence
811             */
812            public AssetCategoryPersistence getAssetCategoryPersistence() {
813                    return assetCategoryPersistence;
814            }
815    
816            /**
817             * Sets the asset category persistence.
818             *
819             * @param assetCategoryPersistence the asset category persistence
820             */
821            public void setAssetCategoryPersistence(
822                    AssetCategoryPersistence assetCategoryPersistence) {
823                    this.assetCategoryPersistence = assetCategoryPersistence;
824            }
825    
826            /**
827             * Returns the asset category finder.
828             *
829             * @return the asset category finder
830             */
831            public AssetCategoryFinder getAssetCategoryFinder() {
832                    return assetCategoryFinder;
833            }
834    
835            /**
836             * Sets the asset category finder.
837             *
838             * @param assetCategoryFinder the asset category finder
839             */
840            public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
841                    this.assetCategoryFinder = assetCategoryFinder;
842            }
843    
844            /**
845             * Returns the asset entry local service.
846             *
847             * @return the asset entry local service
848             */
849            public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
850                    return assetEntryLocalService;
851            }
852    
853            /**
854             * Sets the asset entry local service.
855             *
856             * @param assetEntryLocalService the asset entry local service
857             */
858            public void setAssetEntryLocalService(
859                    com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
860                    this.assetEntryLocalService = assetEntryLocalService;
861            }
862    
863            /**
864             * Returns the asset entry remote service.
865             *
866             * @return the asset entry remote service
867             */
868            public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
869                    return assetEntryService;
870            }
871    
872            /**
873             * Sets the asset entry remote service.
874             *
875             * @param assetEntryService the asset entry remote service
876             */
877            public void setAssetEntryService(
878                    com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
879                    this.assetEntryService = assetEntryService;
880            }
881    
882            /**
883             * Returns the asset entry persistence.
884             *
885             * @return the asset entry persistence
886             */
887            public AssetEntryPersistence getAssetEntryPersistence() {
888                    return assetEntryPersistence;
889            }
890    
891            /**
892             * Sets the asset entry persistence.
893             *
894             * @param assetEntryPersistence the asset entry persistence
895             */
896            public void setAssetEntryPersistence(
897                    AssetEntryPersistence assetEntryPersistence) {
898                    this.assetEntryPersistence = assetEntryPersistence;
899            }
900    
901            /**
902             * Returns the asset entry finder.
903             *
904             * @return the asset entry finder
905             */
906            public AssetEntryFinder getAssetEntryFinder() {
907                    return assetEntryFinder;
908            }
909    
910            /**
911             * Sets the asset entry finder.
912             *
913             * @param assetEntryFinder the asset entry finder
914             */
915            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
916                    this.assetEntryFinder = assetEntryFinder;
917            }
918    
919            /**
920             * Returns the asset link local service.
921             *
922             * @return the asset link local service
923             */
924            public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
925                    return assetLinkLocalService;
926            }
927    
928            /**
929             * Sets the asset link local service.
930             *
931             * @param assetLinkLocalService the asset link local service
932             */
933            public void setAssetLinkLocalService(
934                    com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
935                    this.assetLinkLocalService = assetLinkLocalService;
936            }
937    
938            /**
939             * Returns the asset link persistence.
940             *
941             * @return the asset link persistence
942             */
943            public AssetLinkPersistence getAssetLinkPersistence() {
944                    return assetLinkPersistence;
945            }
946    
947            /**
948             * Sets the asset link persistence.
949             *
950             * @param assetLinkPersistence the asset link persistence
951             */
952            public void setAssetLinkPersistence(
953                    AssetLinkPersistence assetLinkPersistence) {
954                    this.assetLinkPersistence = assetLinkPersistence;
955            }
956    
957            /**
958             * Returns the asset tag local service.
959             *
960             * @return the asset tag local service
961             */
962            public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
963                    return assetTagLocalService;
964            }
965    
966            /**
967             * Sets the asset tag local service.
968             *
969             * @param assetTagLocalService the asset tag local service
970             */
971            public void setAssetTagLocalService(
972                    com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
973                    this.assetTagLocalService = assetTagLocalService;
974            }
975    
976            /**
977             * Returns the asset tag remote service.
978             *
979             * @return the asset tag remote service
980             */
981            public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
982                    return assetTagService;
983            }
984    
985            /**
986             * Sets the asset tag remote service.
987             *
988             * @param assetTagService the asset tag remote service
989             */
990            public void setAssetTagService(
991                    com.liferay.portlet.asset.service.AssetTagService assetTagService) {
992                    this.assetTagService = assetTagService;
993            }
994    
995            /**
996             * Returns the asset tag persistence.
997             *
998             * @return the asset tag persistence
999             */
1000            public AssetTagPersistence getAssetTagPersistence() {
1001                    return assetTagPersistence;
1002            }
1003    
1004            /**
1005             * Sets the asset tag persistence.
1006             *
1007             * @param assetTagPersistence the asset tag persistence
1008             */
1009            public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1010                    this.assetTagPersistence = assetTagPersistence;
1011            }
1012    
1013            /**
1014             * Returns the asset tag finder.
1015             *
1016             * @return the asset tag finder
1017             */
1018            public AssetTagFinder getAssetTagFinder() {
1019                    return assetTagFinder;
1020            }
1021    
1022            /**
1023             * Sets the asset tag finder.
1024             *
1025             * @param assetTagFinder the asset tag finder
1026             */
1027            public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1028                    this.assetTagFinder = assetTagFinder;
1029            }
1030    
1031            /**
1032             * Returns the d l app local service.
1033             *
1034             * @return the d l app local service
1035             */
1036            public com.liferay.portlet.documentlibrary.service.DLAppLocalService getDLAppLocalService() {
1037                    return dlAppLocalService;
1038            }
1039    
1040            /**
1041             * Sets the d l app local service.
1042             *
1043             * @param dlAppLocalService the d l app local service
1044             */
1045            public void setDLAppLocalService(
1046                    com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService) {
1047                    this.dlAppLocalService = dlAppLocalService;
1048            }
1049    
1050            /**
1051             * Returns the d l app remote service.
1052             *
1053             * @return the d l app remote service
1054             */
1055            public com.liferay.portlet.documentlibrary.service.DLAppService getDLAppService() {
1056                    return dlAppService;
1057            }
1058    
1059            /**
1060             * Sets the d l app remote service.
1061             *
1062             * @param dlAppService the d l app remote service
1063             */
1064            public void setDLAppService(
1065                    com.liferay.portlet.documentlibrary.service.DLAppService dlAppService) {
1066                    this.dlAppService = dlAppService;
1067            }
1068    
1069            /**
1070             * Returns the d d m structure local service.
1071             *
1072             * @return the d d m structure local service
1073             */
1074            public com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService getDDMStructureLocalService() {
1075                    return ddmStructureLocalService;
1076            }
1077    
1078            /**
1079             * Sets the d d m structure local service.
1080             *
1081             * @param ddmStructureLocalService the d d m structure local service
1082             */
1083            public void setDDMStructureLocalService(
1084                    com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService) {
1085                    this.ddmStructureLocalService = ddmStructureLocalService;
1086            }
1087    
1088            /**
1089             * Returns the d d m structure remote service.
1090             *
1091             * @return the d d m structure remote service
1092             */
1093            public com.liferay.portlet.dynamicdatamapping.service.DDMStructureService getDDMStructureService() {
1094                    return ddmStructureService;
1095            }
1096    
1097            /**
1098             * Sets the d d m structure remote service.
1099             *
1100             * @param ddmStructureService the d d m structure remote service
1101             */
1102            public void setDDMStructureService(
1103                    com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService) {
1104                    this.ddmStructureService = ddmStructureService;
1105            }
1106    
1107            /**
1108             * Returns the d d m structure persistence.
1109             *
1110             * @return the d d m structure persistence
1111             */
1112            public DDMStructurePersistence getDDMStructurePersistence() {
1113                    return ddmStructurePersistence;
1114            }
1115    
1116            /**
1117             * Sets the d d m structure persistence.
1118             *
1119             * @param ddmStructurePersistence the d d m structure persistence
1120             */
1121            public void setDDMStructurePersistence(
1122                    DDMStructurePersistence ddmStructurePersistence) {
1123                    this.ddmStructurePersistence = ddmStructurePersistence;
1124            }
1125    
1126            /**
1127             * Returns the d d m structure finder.
1128             *
1129             * @return the d d m structure finder
1130             */
1131            public DDMStructureFinder getDDMStructureFinder() {
1132                    return ddmStructureFinder;
1133            }
1134    
1135            /**
1136             * Sets the d d m structure finder.
1137             *
1138             * @param ddmStructureFinder the d d m structure finder
1139             */
1140            public void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder) {
1141                    this.ddmStructureFinder = ddmStructureFinder;
1142            }
1143    
1144            /**
1145             * Returns the d d m template local service.
1146             *
1147             * @return the d d m template local service
1148             */
1149            public com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService getDDMTemplateLocalService() {
1150                    return ddmTemplateLocalService;
1151            }
1152    
1153            /**
1154             * Sets the d d m template local service.
1155             *
1156             * @param ddmTemplateLocalService the d d m template local service
1157             */
1158            public void setDDMTemplateLocalService(
1159                    com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService ddmTemplateLocalService) {
1160                    this.ddmTemplateLocalService = ddmTemplateLocalService;
1161            }
1162    
1163            /**
1164             * Returns the d d m template remote service.
1165             *
1166             * @return the d d m template remote service
1167             */
1168            public com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService getDDMTemplateService() {
1169                    return ddmTemplateService;
1170            }
1171    
1172            /**
1173             * Sets the d d m template remote service.
1174             *
1175             * @param ddmTemplateService the d d m template remote service
1176             */
1177            public void setDDMTemplateService(
1178                    com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService ddmTemplateService) {
1179                    this.ddmTemplateService = ddmTemplateService;
1180            }
1181    
1182            /**
1183             * Returns the d d m template persistence.
1184             *
1185             * @return the d d m template persistence
1186             */
1187            public DDMTemplatePersistence getDDMTemplatePersistence() {
1188                    return ddmTemplatePersistence;
1189            }
1190    
1191            /**
1192             * Sets the d d m template persistence.
1193             *
1194             * @param ddmTemplatePersistence the d d m template persistence
1195             */
1196            public void setDDMTemplatePersistence(
1197                    DDMTemplatePersistence ddmTemplatePersistence) {
1198                    this.ddmTemplatePersistence = ddmTemplatePersistence;
1199            }
1200    
1201            /**
1202             * Returns the d d m template finder.
1203             *
1204             * @return the d d m template finder
1205             */
1206            public DDMTemplateFinder getDDMTemplateFinder() {
1207                    return ddmTemplateFinder;
1208            }
1209    
1210            /**
1211             * Sets the d d m template finder.
1212             *
1213             * @param ddmTemplateFinder the d d m template finder
1214             */
1215            public void setDDMTemplateFinder(DDMTemplateFinder ddmTemplateFinder) {
1216                    this.ddmTemplateFinder = ddmTemplateFinder;
1217            }
1218    
1219            /**
1220             * Returns the expando row local service.
1221             *
1222             * @return the expando row local service
1223             */
1224            public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
1225                    return expandoRowLocalService;
1226            }
1227    
1228            /**
1229             * Sets the expando row local service.
1230             *
1231             * @param expandoRowLocalService the expando row local service
1232             */
1233            public void setExpandoRowLocalService(
1234                    com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
1235                    this.expandoRowLocalService = expandoRowLocalService;
1236            }
1237    
1238            /**
1239             * Returns the expando row persistence.
1240             *
1241             * @return the expando row persistence
1242             */
1243            public ExpandoRowPersistence getExpandoRowPersistence() {
1244                    return expandoRowPersistence;
1245            }
1246    
1247            /**
1248             * Sets the expando row persistence.
1249             *
1250             * @param expandoRowPersistence the expando row persistence
1251             */
1252            public void setExpandoRowPersistence(
1253                    ExpandoRowPersistence expandoRowPersistence) {
1254                    this.expandoRowPersistence = expandoRowPersistence;
1255            }
1256    
1257            /**
1258             * Returns the message-boards message local service.
1259             *
1260             * @return the message-boards message local service
1261             */
1262            public com.liferay.portlet.messageboards.service.MBMessageLocalService getMBMessageLocalService() {
1263                    return mbMessageLocalService;
1264            }
1265    
1266            /**
1267             * Sets the message-boards message local service.
1268             *
1269             * @param mbMessageLocalService the message-boards message local service
1270             */
1271            public void setMBMessageLocalService(
1272                    com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService) {
1273                    this.mbMessageLocalService = mbMessageLocalService;
1274            }
1275    
1276            /**
1277             * Returns the message-boards message remote service.
1278             *
1279             * @return the message-boards message remote service
1280             */
1281            public com.liferay.portlet.messageboards.service.MBMessageService getMBMessageService() {
1282                    return mbMessageService;
1283            }
1284    
1285            /**
1286             * Sets the message-boards message remote service.
1287             *
1288             * @param mbMessageService the message-boards message remote service
1289             */
1290            public void setMBMessageService(
1291                    com.liferay.portlet.messageboards.service.MBMessageService mbMessageService) {
1292                    this.mbMessageService = mbMessageService;
1293            }
1294    
1295            /**
1296             * Returns the message-boards message persistence.
1297             *
1298             * @return the message-boards message persistence
1299             */
1300            public MBMessagePersistence getMBMessagePersistence() {
1301                    return mbMessagePersistence;
1302            }
1303    
1304            /**
1305             * Sets the message-boards message persistence.
1306             *
1307             * @param mbMessagePersistence the message-boards message persistence
1308             */
1309            public void setMBMessagePersistence(
1310                    MBMessagePersistence mbMessagePersistence) {
1311                    this.mbMessagePersistence = mbMessagePersistence;
1312            }
1313    
1314            /**
1315             * Returns the message-boards message finder.
1316             *
1317             * @return the message-boards message finder
1318             */
1319            public MBMessageFinder getMBMessageFinder() {
1320                    return mbMessageFinder;
1321            }
1322    
1323            /**
1324             * Sets the message-boards message finder.
1325             *
1326             * @param mbMessageFinder the message-boards message finder
1327             */
1328            public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
1329                    this.mbMessageFinder = mbMessageFinder;
1330            }
1331    
1332            /**
1333             * Returns the ratings stats local service.
1334             *
1335             * @return the ratings stats local service
1336             */
1337            public com.liferay.portlet.ratings.service.RatingsStatsLocalService getRatingsStatsLocalService() {
1338                    return ratingsStatsLocalService;
1339            }
1340    
1341            /**
1342             * Sets the ratings stats local service.
1343             *
1344             * @param ratingsStatsLocalService the ratings stats local service
1345             */
1346            public void setRatingsStatsLocalService(
1347                    com.liferay.portlet.ratings.service.RatingsStatsLocalService ratingsStatsLocalService) {
1348                    this.ratingsStatsLocalService = ratingsStatsLocalService;
1349            }
1350    
1351            /**
1352             * Returns the ratings stats persistence.
1353             *
1354             * @return the ratings stats persistence
1355             */
1356            public RatingsStatsPersistence getRatingsStatsPersistence() {
1357                    return ratingsStatsPersistence;
1358            }
1359    
1360            /**
1361             * Sets the ratings stats persistence.
1362             *
1363             * @param ratingsStatsPersistence the ratings stats persistence
1364             */
1365            public void setRatingsStatsPersistence(
1366                    RatingsStatsPersistence ratingsStatsPersistence) {
1367                    this.ratingsStatsPersistence = ratingsStatsPersistence;
1368            }
1369    
1370            /**
1371             * Returns the ratings stats finder.
1372             *
1373             * @return the ratings stats finder
1374             */
1375            public RatingsStatsFinder getRatingsStatsFinder() {
1376                    return ratingsStatsFinder;
1377            }
1378    
1379            /**
1380             * Sets the ratings stats finder.
1381             *
1382             * @param ratingsStatsFinder the ratings stats finder
1383             */
1384            public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
1385                    this.ratingsStatsFinder = ratingsStatsFinder;
1386            }
1387    
1388            /**
1389             * Returns the social activity local service.
1390             *
1391             * @return the social activity local service
1392             */
1393            public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
1394                    return socialActivityLocalService;
1395            }
1396    
1397            /**
1398             * Sets the social activity local service.
1399             *
1400             * @param socialActivityLocalService the social activity local service
1401             */
1402            public void setSocialActivityLocalService(
1403                    com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
1404                    this.socialActivityLocalService = socialActivityLocalService;
1405            }
1406    
1407            /**
1408             * Returns the social activity remote service.
1409             *
1410             * @return the social activity remote service
1411             */
1412            public com.liferay.portlet.social.service.SocialActivityService getSocialActivityService() {
1413                    return socialActivityService;
1414            }
1415    
1416            /**
1417             * Sets the social activity remote service.
1418             *
1419             * @param socialActivityService the social activity remote service
1420             */
1421            public void setSocialActivityService(
1422                    com.liferay.portlet.social.service.SocialActivityService socialActivityService) {
1423                    this.socialActivityService = socialActivityService;
1424            }
1425    
1426            /**
1427             * Returns the social activity persistence.
1428             *
1429             * @return the social activity persistence
1430             */
1431            public SocialActivityPersistence getSocialActivityPersistence() {
1432                    return socialActivityPersistence;
1433            }
1434    
1435            /**
1436             * Sets the social activity persistence.
1437             *
1438             * @param socialActivityPersistence the social activity persistence
1439             */
1440            public void setSocialActivityPersistence(
1441                    SocialActivityPersistence socialActivityPersistence) {
1442                    this.socialActivityPersistence = socialActivityPersistence;
1443            }
1444    
1445            /**
1446             * Returns the social activity finder.
1447             *
1448             * @return the social activity finder
1449             */
1450            public SocialActivityFinder getSocialActivityFinder() {
1451                    return socialActivityFinder;
1452            }
1453    
1454            /**
1455             * Sets the social activity finder.
1456             *
1457             * @param socialActivityFinder the social activity finder
1458             */
1459            public void setSocialActivityFinder(
1460                    SocialActivityFinder socialActivityFinder) {
1461                    this.socialActivityFinder = socialActivityFinder;
1462            }
1463    
1464            /**
1465             * Returns the trash entry local service.
1466             *
1467             * @return the trash entry local service
1468             */
1469            public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
1470                    return trashEntryLocalService;
1471            }
1472    
1473            /**
1474             * Sets the trash entry local service.
1475             *
1476             * @param trashEntryLocalService the trash entry local service
1477             */
1478            public void setTrashEntryLocalService(
1479                    com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
1480                    this.trashEntryLocalService = trashEntryLocalService;
1481            }
1482    
1483            /**
1484             * Returns the trash entry remote service.
1485             *
1486             * @return the trash entry remote service
1487             */
1488            public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
1489                    return trashEntryService;
1490            }
1491    
1492            /**
1493             * Sets the trash entry remote service.
1494             *
1495             * @param trashEntryService the trash entry remote service
1496             */
1497            public void setTrashEntryService(
1498                    com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
1499                    this.trashEntryService = trashEntryService;
1500            }
1501    
1502            /**
1503             * Returns the trash entry persistence.
1504             *
1505             * @return the trash entry persistence
1506             */
1507            public TrashEntryPersistence getTrashEntryPersistence() {
1508                    return trashEntryPersistence;
1509            }
1510    
1511            /**
1512             * Sets the trash entry persistence.
1513             *
1514             * @param trashEntryPersistence the trash entry persistence
1515             */
1516            public void setTrashEntryPersistence(
1517                    TrashEntryPersistence trashEntryPersistence) {
1518                    this.trashEntryPersistence = trashEntryPersistence;
1519            }
1520    
1521            /**
1522             * Returns the trash version local service.
1523             *
1524             * @return the trash version local service
1525             */
1526            public com.liferay.portlet.trash.service.TrashVersionLocalService getTrashVersionLocalService() {
1527                    return trashVersionLocalService;
1528            }
1529    
1530            /**
1531             * Sets the trash version local service.
1532             *
1533             * @param trashVersionLocalService the trash version local service
1534             */
1535            public void setTrashVersionLocalService(
1536                    com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService) {
1537                    this.trashVersionLocalService = trashVersionLocalService;
1538            }
1539    
1540            /**
1541             * Returns the trash version persistence.
1542             *
1543             * @return the trash version persistence
1544             */
1545            public TrashVersionPersistence getTrashVersionPersistence() {
1546                    return trashVersionPersistence;
1547            }
1548    
1549            /**
1550             * Sets the trash version persistence.
1551             *
1552             * @param trashVersionPersistence the trash version persistence
1553             */
1554            public void setTrashVersionPersistence(
1555                    TrashVersionPersistence trashVersionPersistence) {
1556                    this.trashVersionPersistence = trashVersionPersistence;
1557            }
1558    
1559            /**
1560             * Returns the journal article image local service.
1561             *
1562             * @return the journal article image local service
1563             */
1564            public com.liferay.portlet.journal.service.JournalArticleImageLocalService getJournalArticleImageLocalService() {
1565                    return journalArticleImageLocalService;
1566            }
1567    
1568            /**
1569             * Sets the journal article image local service.
1570             *
1571             * @param journalArticleImageLocalService the journal article image local service
1572             */
1573            public void setJournalArticleImageLocalService(
1574                    com.liferay.portlet.journal.service.JournalArticleImageLocalService journalArticleImageLocalService) {
1575                    this.journalArticleImageLocalService = journalArticleImageLocalService;
1576            }
1577    
1578            /**
1579             * Returns the journal article image persistence.
1580             *
1581             * @return the journal article image persistence
1582             */
1583            public JournalArticleImagePersistence getJournalArticleImagePersistence() {
1584                    return journalArticleImagePersistence;
1585            }
1586    
1587            /**
1588             * Sets the journal article image persistence.
1589             *
1590             * @param journalArticleImagePersistence the journal article image persistence
1591             */
1592            public void setJournalArticleImagePersistence(
1593                    JournalArticleImagePersistence journalArticleImagePersistence) {
1594                    this.journalArticleImagePersistence = journalArticleImagePersistence;
1595            }
1596    
1597            /**
1598             * Returns the journal article resource local service.
1599             *
1600             * @return the journal article resource local service
1601             */
1602            public com.liferay.portlet.journal.service.JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
1603                    return journalArticleResourceLocalService;
1604            }
1605    
1606            /**
1607             * Sets the journal article resource local service.
1608             *
1609             * @param journalArticleResourceLocalService the journal article resource local service
1610             */
1611            public void setJournalArticleResourceLocalService(
1612                    com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService) {
1613                    this.journalArticleResourceLocalService = journalArticleResourceLocalService;
1614            }
1615    
1616            /**
1617             * Returns the journal article resource persistence.
1618             *
1619             * @return the journal article resource persistence
1620             */
1621            public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
1622                    return journalArticleResourcePersistence;
1623            }
1624    
1625            /**
1626             * Sets the journal article resource persistence.
1627             *
1628             * @param journalArticleResourcePersistence the journal article resource persistence
1629             */
1630            public void setJournalArticleResourcePersistence(
1631                    JournalArticleResourcePersistence journalArticleResourcePersistence) {
1632                    this.journalArticleResourcePersistence = journalArticleResourcePersistence;
1633            }
1634    
1635            /**
1636             * Returns the journal content search local service.
1637             *
1638             * @return the journal content search local service
1639             */
1640            public com.liferay.portlet.journal.service.JournalContentSearchLocalService getJournalContentSearchLocalService() {
1641                    return journalContentSearchLocalService;
1642            }
1643    
1644            /**
1645             * Sets the journal content search local service.
1646             *
1647             * @param journalContentSearchLocalService the journal content search local service
1648             */
1649            public void setJournalContentSearchLocalService(
1650                    com.liferay.portlet.journal.service.JournalContentSearchLocalService journalContentSearchLocalService) {
1651                    this.journalContentSearchLocalService = journalContentSearchLocalService;
1652            }
1653    
1654            /**
1655             * Returns the journal content search persistence.
1656             *
1657             * @return the journal content search persistence
1658             */
1659            public JournalContentSearchPersistence getJournalContentSearchPersistence() {
1660                    return journalContentSearchPersistence;
1661            }
1662    
1663            /**
1664             * Sets the journal content search persistence.
1665             *
1666             * @param journalContentSearchPersistence the journal content search persistence
1667             */
1668            public void setJournalContentSearchPersistence(
1669                    JournalContentSearchPersistence journalContentSearchPersistence) {
1670                    this.journalContentSearchPersistence = journalContentSearchPersistence;
1671            }
1672    
1673            /**
1674             * Returns the journal folder local service.
1675             *
1676             * @return the journal folder local service
1677             */
1678            public com.liferay.portlet.journal.service.JournalFolderLocalService getJournalFolderLocalService() {
1679                    return journalFolderLocalService;
1680            }
1681    
1682            /**
1683             * Sets the journal folder local service.
1684             *
1685             * @param journalFolderLocalService the journal folder local service
1686             */
1687            public void setJournalFolderLocalService(
1688                    com.liferay.portlet.journal.service.JournalFolderLocalService journalFolderLocalService) {
1689                    this.journalFolderLocalService = journalFolderLocalService;
1690            }
1691    
1692            /**
1693             * Returns the journal folder remote service.
1694             *
1695             * @return the journal folder remote service
1696             */
1697            public com.liferay.portlet.journal.service.JournalFolderService getJournalFolderService() {
1698                    return journalFolderService;
1699            }
1700    
1701            /**
1702             * Sets the journal folder remote service.
1703             *
1704             * @param journalFolderService the journal folder remote service
1705             */
1706            public void setJournalFolderService(
1707                    com.liferay.portlet.journal.service.JournalFolderService journalFolderService) {
1708                    this.journalFolderService = journalFolderService;
1709            }
1710    
1711            /**
1712             * Returns the journal folder persistence.
1713             *
1714             * @return the journal folder persistence
1715             */
1716            public JournalFolderPersistence getJournalFolderPersistence() {
1717                    return journalFolderPersistence;
1718            }
1719    
1720            /**
1721             * Sets the journal folder persistence.
1722             *
1723             * @param journalFolderPersistence the journal folder persistence
1724             */
1725            public void setJournalFolderPersistence(
1726                    JournalFolderPersistence journalFolderPersistence) {
1727                    this.journalFolderPersistence = journalFolderPersistence;
1728            }
1729    
1730            /**
1731             * Returns the journal folder finder.
1732             *
1733             * @return the journal folder finder
1734             */
1735            public JournalFolderFinder getJournalFolderFinder() {
1736                    return journalFolderFinder;
1737            }
1738    
1739            /**
1740             * Sets the journal folder finder.
1741             *
1742             * @param journalFolderFinder the journal folder finder
1743             */
1744            public void setJournalFolderFinder(JournalFolderFinder journalFolderFinder) {
1745                    this.journalFolderFinder = journalFolderFinder;
1746            }
1747    
1748            public void afterPropertiesSet() {
1749            }
1750    
1751            public void destroy() {
1752            }
1753    
1754            /**
1755             * Returns the Spring bean ID for this bean.
1756             *
1757             * @return the Spring bean ID for this bean
1758             */
1759            @Override
1760            public String getBeanIdentifier() {
1761                    return _beanIdentifier;
1762            }
1763    
1764            /**
1765             * Sets the Spring bean ID for this bean.
1766             *
1767             * @param beanIdentifier the Spring bean ID for this bean
1768             */
1769            @Override
1770            public void setBeanIdentifier(String beanIdentifier) {
1771                    _beanIdentifier = beanIdentifier;
1772            }
1773    
1774            protected Class<?> getModelClass() {
1775                    return JournalArticle.class;
1776            }
1777    
1778            protected String getModelClassName() {
1779                    return JournalArticle.class.getName();
1780            }
1781    
1782            /**
1783             * Performs a SQL query.
1784             *
1785             * @param sql the sql query
1786             */
1787            protected void runSQL(String sql) {
1788                    try {
1789                            DataSource dataSource = journalArticlePersistence.getDataSource();
1790    
1791                            DB db = DBFactoryUtil.getDB();
1792    
1793                            sql = db.buildSQL(sql);
1794                            sql = PortalUtil.transformSQL(sql);
1795    
1796                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1797                                            sql, new int[0]);
1798    
1799                            sqlUpdate.update();
1800                    }
1801                    catch (Exception e) {
1802                            throw new SystemException(e);
1803                    }
1804            }
1805    
1806            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleLocalService.class)
1807            protected com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService;
1808            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleService.class)
1809            protected com.liferay.portlet.journal.service.JournalArticleService journalArticleService;
1810            @BeanReference(type = JournalArticlePersistence.class)
1811            protected JournalArticlePersistence journalArticlePersistence;
1812            @BeanReference(type = JournalArticleFinder.class)
1813            protected JournalArticleFinder journalArticleFinder;
1814            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1815            protected com.liferay.counter.service.CounterLocalService counterLocalService;
1816            @BeanReference(type = com.liferay.mail.service.MailService.class)
1817            protected com.liferay.mail.service.MailService mailService;
1818            @BeanReference(type = com.liferay.portal.service.ClassNameLocalService.class)
1819            protected com.liferay.portal.service.ClassNameLocalService classNameLocalService;
1820            @BeanReference(type = com.liferay.portal.service.ClassNameService.class)
1821            protected com.liferay.portal.service.ClassNameService classNameService;
1822            @BeanReference(type = ClassNamePersistence.class)
1823            protected ClassNamePersistence classNamePersistence;
1824            @BeanReference(type = com.liferay.portal.service.CompanyLocalService.class)
1825            protected com.liferay.portal.service.CompanyLocalService companyLocalService;
1826            @BeanReference(type = com.liferay.portal.service.CompanyService.class)
1827            protected com.liferay.portal.service.CompanyService companyService;
1828            @BeanReference(type = CompanyPersistence.class)
1829            protected CompanyPersistence companyPersistence;
1830            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
1831            protected com.liferay.portal.service.GroupLocalService groupLocalService;
1832            @BeanReference(type = com.liferay.portal.service.GroupService.class)
1833            protected com.liferay.portal.service.GroupService groupService;
1834            @BeanReference(type = GroupPersistence.class)
1835            protected GroupPersistence groupPersistence;
1836            @BeanReference(type = GroupFinder.class)
1837            protected GroupFinder groupFinder;
1838            @BeanReference(type = com.liferay.portal.service.ImageLocalService.class)
1839            protected com.liferay.portal.service.ImageLocalService imageLocalService;
1840            @BeanReference(type = com.liferay.portal.service.ImageService.class)
1841            protected com.liferay.portal.service.ImageService imageService;
1842            @BeanReference(type = ImagePersistence.class)
1843            protected ImagePersistence imagePersistence;
1844            @BeanReference(type = com.liferay.portal.service.PortletPreferencesLocalService.class)
1845            protected com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService;
1846            @BeanReference(type = com.liferay.portal.service.PortletPreferencesService.class)
1847            protected com.liferay.portal.service.PortletPreferencesService portletPreferencesService;
1848            @BeanReference(type = PortletPreferencesPersistence.class)
1849            protected PortletPreferencesPersistence portletPreferencesPersistence;
1850            @BeanReference(type = PortletPreferencesFinder.class)
1851            protected PortletPreferencesFinder portletPreferencesFinder;
1852            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1853            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1854            @BeanReference(type = com.liferay.portal.service.SubscriptionLocalService.class)
1855            protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService;
1856            @BeanReference(type = SubscriptionPersistence.class)
1857            protected SubscriptionPersistence subscriptionPersistence;
1858            @BeanReference(type = com.liferay.portal.service.SystemEventLocalService.class)
1859            protected com.liferay.portal.service.SystemEventLocalService systemEventLocalService;
1860            @BeanReference(type = SystemEventPersistence.class)
1861            protected SystemEventPersistence systemEventPersistence;
1862            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1863            protected com.liferay.portal.service.UserLocalService userLocalService;
1864            @BeanReference(type = com.liferay.portal.service.UserService.class)
1865            protected com.liferay.portal.service.UserService userService;
1866            @BeanReference(type = UserPersistence.class)
1867            protected UserPersistence userPersistence;
1868            @BeanReference(type = UserFinder.class)
1869            protected UserFinder userFinder;
1870            @BeanReference(type = com.liferay.portal.service.WorkflowDefinitionLinkLocalService.class)
1871            protected com.liferay.portal.service.WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService;
1872            @BeanReference(type = WorkflowDefinitionLinkPersistence.class)
1873            protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence;
1874            @BeanReference(type = com.liferay.portal.service.WorkflowInstanceLinkLocalService.class)
1875            protected com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1876            @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1877            protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1878            @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryLocalService.class)
1879            protected com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService;
1880            @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryService.class)
1881            protected com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService;
1882            @BeanReference(type = AssetCategoryPersistence.class)
1883            protected AssetCategoryPersistence assetCategoryPersistence;
1884            @BeanReference(type = AssetCategoryFinder.class)
1885            protected AssetCategoryFinder assetCategoryFinder;
1886            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1887            protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1888            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1889            protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1890            @BeanReference(type = AssetEntryPersistence.class)
1891            protected AssetEntryPersistence assetEntryPersistence;
1892            @BeanReference(type = AssetEntryFinder.class)
1893            protected AssetEntryFinder assetEntryFinder;
1894            @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
1895            protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
1896            @BeanReference(type = AssetLinkPersistence.class)
1897            protected AssetLinkPersistence assetLinkPersistence;
1898            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
1899            protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
1900            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
1901            protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
1902            @BeanReference(type = AssetTagPersistence.class)
1903            protected AssetTagPersistence assetTagPersistence;
1904            @BeanReference(type = AssetTagFinder.class)
1905            protected AssetTagFinder assetTagFinder;
1906            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppLocalService.class)
1907            protected com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService;
1908            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppService.class)
1909            protected com.liferay.portlet.documentlibrary.service.DLAppService dlAppService;
1910            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService.class)
1911            protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService;
1912            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureService.class)
1913            protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService;
1914            @BeanReference(type = DDMStructurePersistence.class)
1915            protected DDMStructurePersistence ddmStructurePersistence;
1916            @BeanReference(type = DDMStructureFinder.class)
1917            protected DDMStructureFinder ddmStructureFinder;
1918            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService.class)
1919            protected com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService ddmTemplateLocalService;
1920            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService.class)
1921            protected com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService ddmTemplateService;
1922            @BeanReference(type = DDMTemplatePersistence.class)
1923            protected DDMTemplatePersistence ddmTemplatePersistence;
1924            @BeanReference(type = DDMTemplateFinder.class)
1925            protected DDMTemplateFinder ddmTemplateFinder;
1926            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
1927            protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
1928            @BeanReference(type = ExpandoRowPersistence.class)
1929            protected ExpandoRowPersistence expandoRowPersistence;
1930            @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageLocalService.class)
1931            protected com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService;
1932            @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageService.class)
1933            protected com.liferay.portlet.messageboards.service.MBMessageService mbMessageService;
1934            @BeanReference(type = MBMessagePersistence.class)
1935            protected MBMessagePersistence mbMessagePersistence;
1936            @BeanReference(type = MBMessageFinder.class)
1937            protected MBMessageFinder mbMessageFinder;
1938            @BeanReference(type = com.liferay.portlet.ratings.service.RatingsStatsLocalService.class)
1939            protected com.liferay.portlet.ratings.service.RatingsStatsLocalService ratingsStatsLocalService;
1940            @BeanReference(type = RatingsStatsPersistence.class)
1941            protected RatingsStatsPersistence ratingsStatsPersistence;
1942            @BeanReference(type = RatingsStatsFinder.class)
1943            protected RatingsStatsFinder ratingsStatsFinder;
1944            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
1945            protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
1946            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityService.class)
1947            protected com.liferay.portlet.social.service.SocialActivityService socialActivityService;
1948            @BeanReference(type = SocialActivityPersistence.class)
1949            protected SocialActivityPersistence socialActivityPersistence;
1950            @BeanReference(type = SocialActivityFinder.class)
1951            protected SocialActivityFinder socialActivityFinder;
1952            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
1953            protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
1954            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryService.class)
1955            protected com.liferay.portlet.trash.service.TrashEntryService trashEntryService;
1956            @BeanReference(type = TrashEntryPersistence.class)
1957            protected TrashEntryPersistence trashEntryPersistence;
1958            @BeanReference(type = com.liferay.portlet.trash.service.TrashVersionLocalService.class)
1959            protected com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService;
1960            @BeanReference(type = TrashVersionPersistence.class)
1961            protected TrashVersionPersistence trashVersionPersistence;
1962            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleImageLocalService.class)
1963            protected com.liferay.portlet.journal.service.JournalArticleImageLocalService journalArticleImageLocalService;
1964            @BeanReference(type = JournalArticleImagePersistence.class)
1965            protected JournalArticleImagePersistence journalArticleImagePersistence;
1966            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleResourceLocalService.class)
1967            protected com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService;
1968            @BeanReference(type = JournalArticleResourcePersistence.class)
1969            protected JournalArticleResourcePersistence journalArticleResourcePersistence;
1970            @BeanReference(type = com.liferay.portlet.journal.service.JournalContentSearchLocalService.class)
1971            protected com.liferay.portlet.journal.service.JournalContentSearchLocalService journalContentSearchLocalService;
1972            @BeanReference(type = JournalContentSearchPersistence.class)
1973            protected JournalContentSearchPersistence journalContentSearchPersistence;
1974            @BeanReference(type = com.liferay.portlet.journal.service.JournalFolderLocalService.class)
1975            protected com.liferay.portlet.journal.service.JournalFolderLocalService journalFolderLocalService;
1976            @BeanReference(type = com.liferay.portlet.journal.service.JournalFolderService.class)
1977            protected com.liferay.portlet.journal.service.JournalFolderService journalFolderService;
1978            @BeanReference(type = JournalFolderPersistence.class)
1979            protected JournalFolderPersistence journalFolderPersistence;
1980            @BeanReference(type = JournalFolderFinder.class)
1981            protected JournalFolderFinder journalFolderFinder;
1982            private String _beanIdentifier;
1983    }