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