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.DDMStorageLinkPersistence;
048    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder;
049    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence;
050    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplateFinder;
051    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplateLinkPersistence;
052    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence;
053    import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
054    import com.liferay.portlet.journal.model.JournalArticle;
055    import com.liferay.portlet.journal.service.JournalArticleService;
056    import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
057    import com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence;
058    import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
059    import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
060    import com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence;
061    import com.liferay.portlet.journal.service.persistence.JournalFolderFinder;
062    import com.liferay.portlet.journal.service.persistence.JournalFolderPersistence;
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 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                    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 storage link local service.
1071             *
1072             * @return the d d m storage link local service
1073             */
1074            public com.liferay.portlet.dynamicdatamapping.service.DDMStorageLinkLocalService getDDMStorageLinkLocalService() {
1075                    return ddmStorageLinkLocalService;
1076            }
1077    
1078            /**
1079             * Sets the d d m storage link local service.
1080             *
1081             * @param ddmStorageLinkLocalService the d d m storage link local service
1082             */
1083            public void setDDMStorageLinkLocalService(
1084                    com.liferay.portlet.dynamicdatamapping.service.DDMStorageLinkLocalService ddmStorageLinkLocalService) {
1085                    this.ddmStorageLinkLocalService = ddmStorageLinkLocalService;
1086            }
1087    
1088            /**
1089             * Returns the d d m storage link persistence.
1090             *
1091             * @return the d d m storage link persistence
1092             */
1093            public DDMStorageLinkPersistence getDDMStorageLinkPersistence() {
1094                    return ddmStorageLinkPersistence;
1095            }
1096    
1097            /**
1098             * Sets the d d m storage link persistence.
1099             *
1100             * @param ddmStorageLinkPersistence the d d m storage link persistence
1101             */
1102            public void setDDMStorageLinkPersistence(
1103                    DDMStorageLinkPersistence ddmStorageLinkPersistence) {
1104                    this.ddmStorageLinkPersistence = ddmStorageLinkPersistence;
1105            }
1106    
1107            /**
1108             * Returns the d d m structure local service.
1109             *
1110             * @return the d d m structure local service
1111             */
1112            public com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService getDDMStructureLocalService() {
1113                    return ddmStructureLocalService;
1114            }
1115    
1116            /**
1117             * Sets the d d m structure local service.
1118             *
1119             * @param ddmStructureLocalService the d d m structure local service
1120             */
1121            public void setDDMStructureLocalService(
1122                    com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService) {
1123                    this.ddmStructureLocalService = ddmStructureLocalService;
1124            }
1125    
1126            /**
1127             * Returns the d d m structure remote service.
1128             *
1129             * @return the d d m structure remote service
1130             */
1131            public com.liferay.portlet.dynamicdatamapping.service.DDMStructureService getDDMStructureService() {
1132                    return ddmStructureService;
1133            }
1134    
1135            /**
1136             * Sets the d d m structure remote service.
1137             *
1138             * @param ddmStructureService the d d m structure remote service
1139             */
1140            public void setDDMStructureService(
1141                    com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService) {
1142                    this.ddmStructureService = ddmStructureService;
1143            }
1144    
1145            /**
1146             * Returns the d d m structure persistence.
1147             *
1148             * @return the d d m structure persistence
1149             */
1150            public DDMStructurePersistence getDDMStructurePersistence() {
1151                    return ddmStructurePersistence;
1152            }
1153    
1154            /**
1155             * Sets the d d m structure persistence.
1156             *
1157             * @param ddmStructurePersistence the d d m structure persistence
1158             */
1159            public void setDDMStructurePersistence(
1160                    DDMStructurePersistence ddmStructurePersistence) {
1161                    this.ddmStructurePersistence = ddmStructurePersistence;
1162            }
1163    
1164            /**
1165             * Returns the d d m structure finder.
1166             *
1167             * @return the d d m structure finder
1168             */
1169            public DDMStructureFinder getDDMStructureFinder() {
1170                    return ddmStructureFinder;
1171            }
1172    
1173            /**
1174             * Sets the d d m structure finder.
1175             *
1176             * @param ddmStructureFinder the d d m structure finder
1177             */
1178            public void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder) {
1179                    this.ddmStructureFinder = ddmStructureFinder;
1180            }
1181    
1182            /**
1183             * Returns the d d m template local service.
1184             *
1185             * @return the d d m template local service
1186             */
1187            public com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService getDDMTemplateLocalService() {
1188                    return ddmTemplateLocalService;
1189            }
1190    
1191            /**
1192             * Sets the d d m template local service.
1193             *
1194             * @param ddmTemplateLocalService the d d m template local service
1195             */
1196            public void setDDMTemplateLocalService(
1197                    com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService ddmTemplateLocalService) {
1198                    this.ddmTemplateLocalService = ddmTemplateLocalService;
1199            }
1200    
1201            /**
1202             * Returns the d d m template remote service.
1203             *
1204             * @return the d d m template remote service
1205             */
1206            public com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService getDDMTemplateService() {
1207                    return ddmTemplateService;
1208            }
1209    
1210            /**
1211             * Sets the d d m template remote service.
1212             *
1213             * @param ddmTemplateService the d d m template remote service
1214             */
1215            public void setDDMTemplateService(
1216                    com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService ddmTemplateService) {
1217                    this.ddmTemplateService = ddmTemplateService;
1218            }
1219    
1220            /**
1221             * Returns the d d m template persistence.
1222             *
1223             * @return the d d m template persistence
1224             */
1225            public DDMTemplatePersistence getDDMTemplatePersistence() {
1226                    return ddmTemplatePersistence;
1227            }
1228    
1229            /**
1230             * Sets the d d m template persistence.
1231             *
1232             * @param ddmTemplatePersistence the d d m template persistence
1233             */
1234            public void setDDMTemplatePersistence(
1235                    DDMTemplatePersistence ddmTemplatePersistence) {
1236                    this.ddmTemplatePersistence = ddmTemplatePersistence;
1237            }
1238    
1239            /**
1240             * Returns the d d m template finder.
1241             *
1242             * @return the d d m template finder
1243             */
1244            public DDMTemplateFinder getDDMTemplateFinder() {
1245                    return ddmTemplateFinder;
1246            }
1247    
1248            /**
1249             * Sets the d d m template finder.
1250             *
1251             * @param ddmTemplateFinder the d d m template finder
1252             */
1253            public void setDDMTemplateFinder(DDMTemplateFinder ddmTemplateFinder) {
1254                    this.ddmTemplateFinder = ddmTemplateFinder;
1255            }
1256    
1257            /**
1258             * Returns the d d m template link local service.
1259             *
1260             * @return the d d m template link local service
1261             */
1262            public com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLinkLocalService getDDMTemplateLinkLocalService() {
1263                    return ddmTemplateLinkLocalService;
1264            }
1265    
1266            /**
1267             * Sets the d d m template link local service.
1268             *
1269             * @param ddmTemplateLinkLocalService the d d m template link local service
1270             */
1271            public void setDDMTemplateLinkLocalService(
1272                    com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLinkLocalService ddmTemplateLinkLocalService) {
1273                    this.ddmTemplateLinkLocalService = ddmTemplateLinkLocalService;
1274            }
1275    
1276            /**
1277             * Returns the d d m template link persistence.
1278             *
1279             * @return the d d m template link persistence
1280             */
1281            public DDMTemplateLinkPersistence getDDMTemplateLinkPersistence() {
1282                    return ddmTemplateLinkPersistence;
1283            }
1284    
1285            /**
1286             * Sets the d d m template link persistence.
1287             *
1288             * @param ddmTemplateLinkPersistence the d d m template link persistence
1289             */
1290            public void setDDMTemplateLinkPersistence(
1291                    DDMTemplateLinkPersistence ddmTemplateLinkPersistence) {
1292                    this.ddmTemplateLinkPersistence = ddmTemplateLinkPersistence;
1293            }
1294    
1295            /**
1296             * Returns the expando row local service.
1297             *
1298             * @return the expando row local service
1299             */
1300            public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
1301                    return expandoRowLocalService;
1302            }
1303    
1304            /**
1305             * Sets the expando row local service.
1306             *
1307             * @param expandoRowLocalService the expando row local service
1308             */
1309            public void setExpandoRowLocalService(
1310                    com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
1311                    this.expandoRowLocalService = expandoRowLocalService;
1312            }
1313    
1314            /**
1315             * Returns the expando row persistence.
1316             *
1317             * @return the expando row persistence
1318             */
1319            public ExpandoRowPersistence getExpandoRowPersistence() {
1320                    return expandoRowPersistence;
1321            }
1322    
1323            /**
1324             * Sets the expando row persistence.
1325             *
1326             * @param expandoRowPersistence the expando row persistence
1327             */
1328            public void setExpandoRowPersistence(
1329                    ExpandoRowPersistence expandoRowPersistence) {
1330                    this.expandoRowPersistence = expandoRowPersistence;
1331            }
1332    
1333            /**
1334             * Returns the ratings stats local service.
1335             *
1336             * @return the ratings stats local service
1337             */
1338            public com.liferay.portlet.ratings.service.RatingsStatsLocalService getRatingsStatsLocalService() {
1339                    return ratingsStatsLocalService;
1340            }
1341    
1342            /**
1343             * Sets the ratings stats local service.
1344             *
1345             * @param ratingsStatsLocalService the ratings stats local service
1346             */
1347            public void setRatingsStatsLocalService(
1348                    com.liferay.portlet.ratings.service.RatingsStatsLocalService ratingsStatsLocalService) {
1349                    this.ratingsStatsLocalService = ratingsStatsLocalService;
1350            }
1351    
1352            /**
1353             * Returns the ratings stats persistence.
1354             *
1355             * @return the ratings stats persistence
1356             */
1357            public RatingsStatsPersistence getRatingsStatsPersistence() {
1358                    return ratingsStatsPersistence;
1359            }
1360    
1361            /**
1362             * Sets the ratings stats persistence.
1363             *
1364             * @param ratingsStatsPersistence the ratings stats persistence
1365             */
1366            public void setRatingsStatsPersistence(
1367                    RatingsStatsPersistence ratingsStatsPersistence) {
1368                    this.ratingsStatsPersistence = ratingsStatsPersistence;
1369            }
1370    
1371            /**
1372             * Returns the ratings stats finder.
1373             *
1374             * @return the ratings stats finder
1375             */
1376            public RatingsStatsFinder getRatingsStatsFinder() {
1377                    return ratingsStatsFinder;
1378            }
1379    
1380            /**
1381             * Sets the ratings stats finder.
1382             *
1383             * @param ratingsStatsFinder the ratings stats finder
1384             */
1385            public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
1386                    this.ratingsStatsFinder = ratingsStatsFinder;
1387            }
1388    
1389            /**
1390             * Returns the social activity local service.
1391             *
1392             * @return the social activity local service
1393             */
1394            public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
1395                    return socialActivityLocalService;
1396            }
1397    
1398            /**
1399             * Sets the social activity local service.
1400             *
1401             * @param socialActivityLocalService the social activity local service
1402             */
1403            public void setSocialActivityLocalService(
1404                    com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
1405                    this.socialActivityLocalService = socialActivityLocalService;
1406            }
1407    
1408            /**
1409             * Returns the social activity remote service.
1410             *
1411             * @return the social activity remote service
1412             */
1413            public com.liferay.portlet.social.service.SocialActivityService getSocialActivityService() {
1414                    return socialActivityService;
1415            }
1416    
1417            /**
1418             * Sets the social activity remote service.
1419             *
1420             * @param socialActivityService the social activity remote service
1421             */
1422            public void setSocialActivityService(
1423                    com.liferay.portlet.social.service.SocialActivityService socialActivityService) {
1424                    this.socialActivityService = socialActivityService;
1425            }
1426    
1427            /**
1428             * Returns the social activity persistence.
1429             *
1430             * @return the social activity persistence
1431             */
1432            public SocialActivityPersistence getSocialActivityPersistence() {
1433                    return socialActivityPersistence;
1434            }
1435    
1436            /**
1437             * Sets the social activity persistence.
1438             *
1439             * @param socialActivityPersistence the social activity persistence
1440             */
1441            public void setSocialActivityPersistence(
1442                    SocialActivityPersistence socialActivityPersistence) {
1443                    this.socialActivityPersistence = socialActivityPersistence;
1444            }
1445    
1446            /**
1447             * Returns the social activity finder.
1448             *
1449             * @return the social activity finder
1450             */
1451            public SocialActivityFinder getSocialActivityFinder() {
1452                    return socialActivityFinder;
1453            }
1454    
1455            /**
1456             * Sets the social activity finder.
1457             *
1458             * @param socialActivityFinder the social activity finder
1459             */
1460            public void setSocialActivityFinder(
1461                    SocialActivityFinder socialActivityFinder) {
1462                    this.socialActivityFinder = socialActivityFinder;
1463            }
1464    
1465            /**
1466             * Returns the trash entry local service.
1467             *
1468             * @return the trash entry local service
1469             */
1470            public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
1471                    return trashEntryLocalService;
1472            }
1473    
1474            /**
1475             * Sets the trash entry local service.
1476             *
1477             * @param trashEntryLocalService the trash entry local service
1478             */
1479            public void setTrashEntryLocalService(
1480                    com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
1481                    this.trashEntryLocalService = trashEntryLocalService;
1482            }
1483    
1484            /**
1485             * Returns the trash entry remote service.
1486             *
1487             * @return the trash entry remote service
1488             */
1489            public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
1490                    return trashEntryService;
1491            }
1492    
1493            /**
1494             * Sets the trash entry remote service.
1495             *
1496             * @param trashEntryService the trash entry remote service
1497             */
1498            public void setTrashEntryService(
1499                    com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
1500                    this.trashEntryService = trashEntryService;
1501            }
1502    
1503            /**
1504             * Returns the trash entry persistence.
1505             *
1506             * @return the trash entry persistence
1507             */
1508            public TrashEntryPersistence getTrashEntryPersistence() {
1509                    return trashEntryPersistence;
1510            }
1511    
1512            /**
1513             * Sets the trash entry persistence.
1514             *
1515             * @param trashEntryPersistence the trash entry persistence
1516             */
1517            public void setTrashEntryPersistence(
1518                    TrashEntryPersistence trashEntryPersistence) {
1519                    this.trashEntryPersistence = trashEntryPersistence;
1520            }
1521    
1522            /**
1523             * Returns the trash version local service.
1524             *
1525             * @return the trash version local service
1526             */
1527            public com.liferay.portlet.trash.service.TrashVersionLocalService getTrashVersionLocalService() {
1528                    return trashVersionLocalService;
1529            }
1530    
1531            /**
1532             * Sets the trash version local service.
1533             *
1534             * @param trashVersionLocalService the trash version local service
1535             */
1536            public void setTrashVersionLocalService(
1537                    com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService) {
1538                    this.trashVersionLocalService = trashVersionLocalService;
1539            }
1540    
1541            /**
1542             * Returns the trash version persistence.
1543             *
1544             * @return the trash version persistence
1545             */
1546            public TrashVersionPersistence getTrashVersionPersistence() {
1547                    return trashVersionPersistence;
1548            }
1549    
1550            /**
1551             * Sets the trash version persistence.
1552             *
1553             * @param trashVersionPersistence the trash version persistence
1554             */
1555            public void setTrashVersionPersistence(
1556                    TrashVersionPersistence trashVersionPersistence) {
1557                    this.trashVersionPersistence = trashVersionPersistence;
1558            }
1559    
1560            /**
1561             * Returns the journal article image local service.
1562             *
1563             * @return the journal article image local service
1564             */
1565            public com.liferay.portlet.journal.service.JournalArticleImageLocalService getJournalArticleImageLocalService() {
1566                    return journalArticleImageLocalService;
1567            }
1568    
1569            /**
1570             * Sets the journal article image local service.
1571             *
1572             * @param journalArticleImageLocalService the journal article image local service
1573             */
1574            public void setJournalArticleImageLocalService(
1575                    com.liferay.portlet.journal.service.JournalArticleImageLocalService journalArticleImageLocalService) {
1576                    this.journalArticleImageLocalService = journalArticleImageLocalService;
1577            }
1578    
1579            /**
1580             * Returns the journal article image persistence.
1581             *
1582             * @return the journal article image persistence
1583             */
1584            public JournalArticleImagePersistence getJournalArticleImagePersistence() {
1585                    return journalArticleImagePersistence;
1586            }
1587    
1588            /**
1589             * Sets the journal article image persistence.
1590             *
1591             * @param journalArticleImagePersistence the journal article image persistence
1592             */
1593            public void setJournalArticleImagePersistence(
1594                    JournalArticleImagePersistence journalArticleImagePersistence) {
1595                    this.journalArticleImagePersistence = journalArticleImagePersistence;
1596            }
1597    
1598            /**
1599             * Returns the journal article resource local service.
1600             *
1601             * @return the journal article resource local service
1602             */
1603            public com.liferay.portlet.journal.service.JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
1604                    return journalArticleResourceLocalService;
1605            }
1606    
1607            /**
1608             * Sets the journal article resource local service.
1609             *
1610             * @param journalArticleResourceLocalService the journal article resource local service
1611             */
1612            public void setJournalArticleResourceLocalService(
1613                    com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService) {
1614                    this.journalArticleResourceLocalService = journalArticleResourceLocalService;
1615            }
1616    
1617            /**
1618             * Returns the journal article resource persistence.
1619             *
1620             * @return the journal article resource persistence
1621             */
1622            public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
1623                    return journalArticleResourcePersistence;
1624            }
1625    
1626            /**
1627             * Sets the journal article resource persistence.
1628             *
1629             * @param journalArticleResourcePersistence the journal article resource persistence
1630             */
1631            public void setJournalArticleResourcePersistence(
1632                    JournalArticleResourcePersistence journalArticleResourcePersistence) {
1633                    this.journalArticleResourcePersistence = journalArticleResourcePersistence;
1634            }
1635    
1636            /**
1637             * Returns the journal content search local service.
1638             *
1639             * @return the journal content search local service
1640             */
1641            public com.liferay.portlet.journal.service.JournalContentSearchLocalService getJournalContentSearchLocalService() {
1642                    return journalContentSearchLocalService;
1643            }
1644    
1645            /**
1646             * Sets the journal content search local service.
1647             *
1648             * @param journalContentSearchLocalService the journal content search local service
1649             */
1650            public void setJournalContentSearchLocalService(
1651                    com.liferay.portlet.journal.service.JournalContentSearchLocalService journalContentSearchLocalService) {
1652                    this.journalContentSearchLocalService = journalContentSearchLocalService;
1653            }
1654    
1655            /**
1656             * Returns the journal content search persistence.
1657             *
1658             * @return the journal content search persistence
1659             */
1660            public JournalContentSearchPersistence getJournalContentSearchPersistence() {
1661                    return journalContentSearchPersistence;
1662            }
1663    
1664            /**
1665             * Sets the journal content search persistence.
1666             *
1667             * @param journalContentSearchPersistence the journal content search persistence
1668             */
1669            public void setJournalContentSearchPersistence(
1670                    JournalContentSearchPersistence journalContentSearchPersistence) {
1671                    this.journalContentSearchPersistence = journalContentSearchPersistence;
1672            }
1673    
1674            /**
1675             * Returns the journal folder local service.
1676             *
1677             * @return the journal folder local service
1678             */
1679            public com.liferay.portlet.journal.service.JournalFolderLocalService getJournalFolderLocalService() {
1680                    return journalFolderLocalService;
1681            }
1682    
1683            /**
1684             * Sets the journal folder local service.
1685             *
1686             * @param journalFolderLocalService the journal folder local service
1687             */
1688            public void setJournalFolderLocalService(
1689                    com.liferay.portlet.journal.service.JournalFolderLocalService journalFolderLocalService) {
1690                    this.journalFolderLocalService = journalFolderLocalService;
1691            }
1692    
1693            /**
1694             * Returns the journal folder remote service.
1695             *
1696             * @return the journal folder remote service
1697             */
1698            public com.liferay.portlet.journal.service.JournalFolderService getJournalFolderService() {
1699                    return journalFolderService;
1700            }
1701    
1702            /**
1703             * Sets the journal folder remote service.
1704             *
1705             * @param journalFolderService the journal folder remote service
1706             */
1707            public void setJournalFolderService(
1708                    com.liferay.portlet.journal.service.JournalFolderService journalFolderService) {
1709                    this.journalFolderService = journalFolderService;
1710            }
1711    
1712            /**
1713             * Returns the journal folder persistence.
1714             *
1715             * @return the journal folder persistence
1716             */
1717            public JournalFolderPersistence getJournalFolderPersistence() {
1718                    return journalFolderPersistence;
1719            }
1720    
1721            /**
1722             * Sets the journal folder persistence.
1723             *
1724             * @param journalFolderPersistence the journal folder persistence
1725             */
1726            public void setJournalFolderPersistence(
1727                    JournalFolderPersistence journalFolderPersistence) {
1728                    this.journalFolderPersistence = journalFolderPersistence;
1729            }
1730    
1731            /**
1732             * Returns the journal folder finder.
1733             *
1734             * @return the journal folder finder
1735             */
1736            public JournalFolderFinder getJournalFolderFinder() {
1737                    return journalFolderFinder;
1738            }
1739    
1740            /**
1741             * Sets the journal folder finder.
1742             *
1743             * @param journalFolderFinder the journal folder finder
1744             */
1745            public void setJournalFolderFinder(JournalFolderFinder journalFolderFinder) {
1746                    this.journalFolderFinder = journalFolderFinder;
1747            }
1748    
1749            public void afterPropertiesSet() {
1750            }
1751    
1752            public void destroy() {
1753            }
1754    
1755            /**
1756             * Returns the Spring bean ID for this bean.
1757             *
1758             * @return the Spring bean ID for this bean
1759             */
1760            @Override
1761            public String getBeanIdentifier() {
1762                    return _beanIdentifier;
1763            }
1764    
1765            /**
1766             * Sets the Spring bean ID for this bean.
1767             *
1768             * @param beanIdentifier the Spring bean ID for this bean
1769             */
1770            @Override
1771            public void setBeanIdentifier(String beanIdentifier) {
1772                    _beanIdentifier = beanIdentifier;
1773            }
1774    
1775            protected Class<?> getModelClass() {
1776                    return JournalArticle.class;
1777            }
1778    
1779            protected String getModelClassName() {
1780                    return JournalArticle.class.getName();
1781            }
1782    
1783            /**
1784             * Performs a SQL query.
1785             *
1786             * @param sql the sql query
1787             */
1788            protected void runSQL(String sql) {
1789                    try {
1790                            DataSource dataSource = journalArticlePersistence.getDataSource();
1791    
1792                            DB db = DBFactoryUtil.getDB();
1793    
1794                            sql = db.buildSQL(sql);
1795                            sql = PortalUtil.transformSQL(sql);
1796    
1797                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1798                                            sql, new int[0]);
1799    
1800                            sqlUpdate.update();
1801                    }
1802                    catch (Exception e) {
1803                            throw new SystemException(e);
1804                    }
1805            }
1806    
1807            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleLocalService.class)
1808            protected com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService;
1809            @BeanReference(type = JournalArticleService.class)
1810            protected JournalArticleService journalArticleService;
1811            @BeanReference(type = JournalArticlePersistence.class)
1812            protected JournalArticlePersistence journalArticlePersistence;
1813            @BeanReference(type = JournalArticleFinder.class)
1814            protected JournalArticleFinder journalArticleFinder;
1815            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1816            protected com.liferay.counter.service.CounterLocalService counterLocalService;
1817            @BeanReference(type = com.liferay.mail.service.MailService.class)
1818            protected com.liferay.mail.service.MailService mailService;
1819            @BeanReference(type = com.liferay.portal.service.ClassNameLocalService.class)
1820            protected com.liferay.portal.service.ClassNameLocalService classNameLocalService;
1821            @BeanReference(type = com.liferay.portal.service.ClassNameService.class)
1822            protected com.liferay.portal.service.ClassNameService classNameService;
1823            @BeanReference(type = ClassNamePersistence.class)
1824            protected ClassNamePersistence classNamePersistence;
1825            @BeanReference(type = com.liferay.portal.service.CompanyLocalService.class)
1826            protected com.liferay.portal.service.CompanyLocalService companyLocalService;
1827            @BeanReference(type = com.liferay.portal.service.CompanyService.class)
1828            protected com.liferay.portal.service.CompanyService companyService;
1829            @BeanReference(type = CompanyPersistence.class)
1830            protected CompanyPersistence companyPersistence;
1831            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
1832            protected com.liferay.portal.service.GroupLocalService groupLocalService;
1833            @BeanReference(type = com.liferay.portal.service.GroupService.class)
1834            protected com.liferay.portal.service.GroupService groupService;
1835            @BeanReference(type = GroupPersistence.class)
1836            protected GroupPersistence groupPersistence;
1837            @BeanReference(type = GroupFinder.class)
1838            protected GroupFinder groupFinder;
1839            @BeanReference(type = com.liferay.portal.service.ImageLocalService.class)
1840            protected com.liferay.portal.service.ImageLocalService imageLocalService;
1841            @BeanReference(type = com.liferay.portal.service.ImageService.class)
1842            protected com.liferay.portal.service.ImageService imageService;
1843            @BeanReference(type = ImagePersistence.class)
1844            protected ImagePersistence imagePersistence;
1845            @BeanReference(type = com.liferay.portal.service.PortletPreferencesLocalService.class)
1846            protected com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService;
1847            @BeanReference(type = com.liferay.portal.service.PortletPreferencesService.class)
1848            protected com.liferay.portal.service.PortletPreferencesService portletPreferencesService;
1849            @BeanReference(type = PortletPreferencesPersistence.class)
1850            protected PortletPreferencesPersistence portletPreferencesPersistence;
1851            @BeanReference(type = PortletPreferencesFinder.class)
1852            protected PortletPreferencesFinder portletPreferencesFinder;
1853            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1854            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1855            @BeanReference(type = com.liferay.portal.service.SubscriptionLocalService.class)
1856            protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService;
1857            @BeanReference(type = SubscriptionPersistence.class)
1858            protected SubscriptionPersistence subscriptionPersistence;
1859            @BeanReference(type = com.liferay.portal.service.SystemEventLocalService.class)
1860            protected com.liferay.portal.service.SystemEventLocalService systemEventLocalService;
1861            @BeanReference(type = SystemEventPersistence.class)
1862            protected SystemEventPersistence systemEventPersistence;
1863            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1864            protected com.liferay.portal.service.UserLocalService userLocalService;
1865            @BeanReference(type = com.liferay.portal.service.UserService.class)
1866            protected com.liferay.portal.service.UserService userService;
1867            @BeanReference(type = UserPersistence.class)
1868            protected UserPersistence userPersistence;
1869            @BeanReference(type = UserFinder.class)
1870            protected UserFinder userFinder;
1871            @BeanReference(type = com.liferay.portal.service.WorkflowDefinitionLinkLocalService.class)
1872            protected com.liferay.portal.service.WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService;
1873            @BeanReference(type = WorkflowDefinitionLinkPersistence.class)
1874            protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence;
1875            @BeanReference(type = com.liferay.portal.service.WorkflowInstanceLinkLocalService.class)
1876            protected com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1877            @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1878            protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1879            @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryLocalService.class)
1880            protected com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService;
1881            @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryService.class)
1882            protected com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService;
1883            @BeanReference(type = AssetCategoryPersistence.class)
1884            protected AssetCategoryPersistence assetCategoryPersistence;
1885            @BeanReference(type = AssetCategoryFinder.class)
1886            protected AssetCategoryFinder assetCategoryFinder;
1887            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1888            protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1889            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1890            protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1891            @BeanReference(type = AssetEntryPersistence.class)
1892            protected AssetEntryPersistence assetEntryPersistence;
1893            @BeanReference(type = AssetEntryFinder.class)
1894            protected AssetEntryFinder assetEntryFinder;
1895            @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
1896            protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
1897            @BeanReference(type = AssetLinkPersistence.class)
1898            protected AssetLinkPersistence assetLinkPersistence;
1899            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
1900            protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
1901            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
1902            protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
1903            @BeanReference(type = AssetTagPersistence.class)
1904            protected AssetTagPersistence assetTagPersistence;
1905            @BeanReference(type = AssetTagFinder.class)
1906            protected AssetTagFinder assetTagFinder;
1907            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppLocalService.class)
1908            protected com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService;
1909            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppService.class)
1910            protected com.liferay.portlet.documentlibrary.service.DLAppService dlAppService;
1911            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStorageLinkLocalService.class)
1912            protected com.liferay.portlet.dynamicdatamapping.service.DDMStorageLinkLocalService ddmStorageLinkLocalService;
1913            @BeanReference(type = DDMStorageLinkPersistence.class)
1914            protected DDMStorageLinkPersistence ddmStorageLinkPersistence;
1915            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService.class)
1916            protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService;
1917            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureService.class)
1918            protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService;
1919            @BeanReference(type = DDMStructurePersistence.class)
1920            protected DDMStructurePersistence ddmStructurePersistence;
1921            @BeanReference(type = DDMStructureFinder.class)
1922            protected DDMStructureFinder ddmStructureFinder;
1923            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService.class)
1924            protected com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService ddmTemplateLocalService;
1925            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService.class)
1926            protected com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService ddmTemplateService;
1927            @BeanReference(type = DDMTemplatePersistence.class)
1928            protected DDMTemplatePersistence ddmTemplatePersistence;
1929            @BeanReference(type = DDMTemplateFinder.class)
1930            protected DDMTemplateFinder ddmTemplateFinder;
1931            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLinkLocalService.class)
1932            protected com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLinkLocalService ddmTemplateLinkLocalService;
1933            @BeanReference(type = DDMTemplateLinkPersistence.class)
1934            protected DDMTemplateLinkPersistence ddmTemplateLinkPersistence;
1935            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
1936            protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
1937            @BeanReference(type = ExpandoRowPersistence.class)
1938            protected ExpandoRowPersistence expandoRowPersistence;
1939            @BeanReference(type = com.liferay.portlet.ratings.service.RatingsStatsLocalService.class)
1940            protected com.liferay.portlet.ratings.service.RatingsStatsLocalService ratingsStatsLocalService;
1941            @BeanReference(type = RatingsStatsPersistence.class)
1942            protected RatingsStatsPersistence ratingsStatsPersistence;
1943            @BeanReference(type = RatingsStatsFinder.class)
1944            protected RatingsStatsFinder ratingsStatsFinder;
1945            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
1946            protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
1947            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityService.class)
1948            protected com.liferay.portlet.social.service.SocialActivityService socialActivityService;
1949            @BeanReference(type = SocialActivityPersistence.class)
1950            protected SocialActivityPersistence socialActivityPersistence;
1951            @BeanReference(type = SocialActivityFinder.class)
1952            protected SocialActivityFinder socialActivityFinder;
1953            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
1954            protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
1955            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryService.class)
1956            protected com.liferay.portlet.trash.service.TrashEntryService trashEntryService;
1957            @BeanReference(type = TrashEntryPersistence.class)
1958            protected TrashEntryPersistence trashEntryPersistence;
1959            @BeanReference(type = com.liferay.portlet.trash.service.TrashVersionLocalService.class)
1960            protected com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService;
1961            @BeanReference(type = TrashVersionPersistence.class)
1962            protected TrashVersionPersistence trashVersionPersistence;
1963            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleImageLocalService.class)
1964            protected com.liferay.portlet.journal.service.JournalArticleImageLocalService journalArticleImageLocalService;
1965            @BeanReference(type = JournalArticleImagePersistence.class)
1966            protected JournalArticleImagePersistence journalArticleImagePersistence;
1967            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleResourceLocalService.class)
1968            protected com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService;
1969            @BeanReference(type = JournalArticleResourcePersistence.class)
1970            protected JournalArticleResourcePersistence journalArticleResourcePersistence;
1971            @BeanReference(type = com.liferay.portlet.journal.service.JournalContentSearchLocalService.class)
1972            protected com.liferay.portlet.journal.service.JournalContentSearchLocalService journalContentSearchLocalService;
1973            @BeanReference(type = JournalContentSearchPersistence.class)
1974            protected JournalContentSearchPersistence journalContentSearchPersistence;
1975            @BeanReference(type = com.liferay.portlet.journal.service.JournalFolderLocalService.class)
1976            protected com.liferay.portlet.journal.service.JournalFolderLocalService journalFolderLocalService;
1977            @BeanReference(type = com.liferay.portlet.journal.service.JournalFolderService.class)
1978            protected com.liferay.portlet.journal.service.JournalFolderService journalFolderService;
1979            @BeanReference(type = JournalFolderPersistence.class)
1980            protected JournalFolderPersistence journalFolderPersistence;
1981            @BeanReference(type = JournalFolderFinder.class)
1982            protected JournalFolderFinder journalFolderFinder;
1983            private String _beanIdentifier;
1984    }