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.dao.db.DB;
019    import com.liferay.portal.kernel.dao.db.DBManagerUtil;
020    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
021    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
022    import com.liferay.portal.kernel.exception.SystemException;
023    import com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService;
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.ClassNamePersistence;
028    import com.liferay.portal.service.persistence.GroupFinder;
029    import com.liferay.portal.service.persistence.GroupPersistence;
030    import com.liferay.portal.service.persistence.ImagePersistence;
031    import com.liferay.portal.service.persistence.LayoutFinder;
032    import com.liferay.portal.service.persistence.LayoutFriendlyURLPersistence;
033    import com.liferay.portal.service.persistence.LayoutPersistence;
034    import com.liferay.portal.service.persistence.LayoutPrototypePersistence;
035    import com.liferay.portal.service.persistence.LayoutSetPersistence;
036    import com.liferay.portal.service.persistence.LayoutSetPrototypePersistence;
037    import com.liferay.portal.service.persistence.PluginSettingPersistence;
038    import com.liferay.portal.service.persistence.PortletPreferencesFinder;
039    import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
040    import com.liferay.portal.service.persistence.ResourcePermissionFinder;
041    import com.liferay.portal.service.persistence.ResourcePermissionPersistence;
042    import com.liferay.portal.service.persistence.SubscriptionPersistence;
043    import com.liferay.portal.service.persistence.UserFinder;
044    import com.liferay.portal.service.persistence.UserPersistence;
045    import com.liferay.portal.util.PortalUtil;
046    
047    import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
048    import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
049    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
050    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
051    import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
052    import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
053    import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
054    import com.liferay.portlet.exportimport.service.persistence.ExportImportConfigurationFinder;
055    import com.liferay.portlet.exportimport.service.persistence.ExportImportConfigurationPersistence;
056    import com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder;
057    import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
058    
059    import javax.sql.DataSource;
060    
061    /**
062     * Provides the base implementation for the layout remote service.
063     *
064     * <p>
065     * 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}.
066     * </p>
067     *
068     * @author Brian Wing Shun Chan
069     * @see com.liferay.portal.service.impl.LayoutServiceImpl
070     * @see com.liferay.portal.service.LayoutServiceUtil
071     * @generated
072     */
073    public abstract class LayoutServiceBaseImpl extends BaseServiceImpl
074            implements LayoutService, IdentifiableOSGiService {
075            /*
076             * NOTE FOR DEVELOPERS:
077             *
078             * Never modify or reference this class directly. Always use {@link com.liferay.portal.service.LayoutServiceUtil} to access the layout remote service.
079             */
080    
081            /**
082             * Returns the layout local service.
083             *
084             * @return the layout local service
085             */
086            public com.liferay.portal.service.LayoutLocalService getLayoutLocalService() {
087                    return layoutLocalService;
088            }
089    
090            /**
091             * Sets the layout local service.
092             *
093             * @param layoutLocalService the layout local service
094             */
095            public void setLayoutLocalService(
096                    com.liferay.portal.service.LayoutLocalService layoutLocalService) {
097                    this.layoutLocalService = layoutLocalService;
098            }
099    
100            /**
101             * Returns the layout remote service.
102             *
103             * @return the layout remote service
104             */
105            public LayoutService getLayoutService() {
106                    return layoutService;
107            }
108    
109            /**
110             * Sets the layout remote service.
111             *
112             * @param layoutService the layout remote service
113             */
114            public void setLayoutService(LayoutService layoutService) {
115                    this.layoutService = layoutService;
116            }
117    
118            /**
119             * Returns the layout persistence.
120             *
121             * @return the layout persistence
122             */
123            public LayoutPersistence getLayoutPersistence() {
124                    return layoutPersistence;
125            }
126    
127            /**
128             * Sets the layout persistence.
129             *
130             * @param layoutPersistence the layout persistence
131             */
132            public void setLayoutPersistence(LayoutPersistence layoutPersistence) {
133                    this.layoutPersistence = layoutPersistence;
134            }
135    
136            /**
137             * Returns the layout finder.
138             *
139             * @return the layout finder
140             */
141            public LayoutFinder getLayoutFinder() {
142                    return layoutFinder;
143            }
144    
145            /**
146             * Sets the layout finder.
147             *
148             * @param layoutFinder the layout finder
149             */
150            public void setLayoutFinder(LayoutFinder layoutFinder) {
151                    this.layoutFinder = layoutFinder;
152            }
153    
154            /**
155             * Returns the counter local service.
156             *
157             * @return the counter local service
158             */
159            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
160                    return counterLocalService;
161            }
162    
163            /**
164             * Sets the counter local service.
165             *
166             * @param counterLocalService the counter local service
167             */
168            public void setCounterLocalService(
169                    com.liferay.counter.service.CounterLocalService counterLocalService) {
170                    this.counterLocalService = counterLocalService;
171            }
172    
173            /**
174             * Returns the class name local service.
175             *
176             * @return the class name local service
177             */
178            public com.liferay.portal.service.ClassNameLocalService getClassNameLocalService() {
179                    return classNameLocalService;
180            }
181    
182            /**
183             * Sets the class name local service.
184             *
185             * @param classNameLocalService the class name local service
186             */
187            public void setClassNameLocalService(
188                    com.liferay.portal.service.ClassNameLocalService classNameLocalService) {
189                    this.classNameLocalService = classNameLocalService;
190            }
191    
192            /**
193             * Returns the class name remote service.
194             *
195             * @return the class name remote service
196             */
197            public com.liferay.portal.service.ClassNameService getClassNameService() {
198                    return classNameService;
199            }
200    
201            /**
202             * Sets the class name remote service.
203             *
204             * @param classNameService the class name remote service
205             */
206            public void setClassNameService(
207                    com.liferay.portal.service.ClassNameService classNameService) {
208                    this.classNameService = classNameService;
209            }
210    
211            /**
212             * Returns the class name persistence.
213             *
214             * @return the class name persistence
215             */
216            public ClassNamePersistence getClassNamePersistence() {
217                    return classNamePersistence;
218            }
219    
220            /**
221             * Sets the class name persistence.
222             *
223             * @param classNamePersistence the class name persistence
224             */
225            public void setClassNamePersistence(
226                    ClassNamePersistence classNamePersistence) {
227                    this.classNamePersistence = classNamePersistence;
228            }
229    
230            /**
231             * Returns the group local service.
232             *
233             * @return the group local service
234             */
235            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
236                    return groupLocalService;
237            }
238    
239            /**
240             * Sets the group local service.
241             *
242             * @param groupLocalService the group local service
243             */
244            public void setGroupLocalService(
245                    com.liferay.portal.service.GroupLocalService groupLocalService) {
246                    this.groupLocalService = groupLocalService;
247            }
248    
249            /**
250             * Returns the group remote service.
251             *
252             * @return the group remote service
253             */
254            public com.liferay.portal.service.GroupService getGroupService() {
255                    return groupService;
256            }
257    
258            /**
259             * Sets the group remote service.
260             *
261             * @param groupService the group remote service
262             */
263            public void setGroupService(
264                    com.liferay.portal.service.GroupService groupService) {
265                    this.groupService = groupService;
266            }
267    
268            /**
269             * Returns the group persistence.
270             *
271             * @return the group persistence
272             */
273            public GroupPersistence getGroupPersistence() {
274                    return groupPersistence;
275            }
276    
277            /**
278             * Sets the group persistence.
279             *
280             * @param groupPersistence the group persistence
281             */
282            public void setGroupPersistence(GroupPersistence groupPersistence) {
283                    this.groupPersistence = groupPersistence;
284            }
285    
286            /**
287             * Returns the group finder.
288             *
289             * @return the group finder
290             */
291            public GroupFinder getGroupFinder() {
292                    return groupFinder;
293            }
294    
295            /**
296             * Sets the group finder.
297             *
298             * @param groupFinder the group finder
299             */
300            public void setGroupFinder(GroupFinder groupFinder) {
301                    this.groupFinder = groupFinder;
302            }
303    
304            /**
305             * Returns the image local service.
306             *
307             * @return the image local service
308             */
309            public com.liferay.portal.service.ImageLocalService getImageLocalService() {
310                    return imageLocalService;
311            }
312    
313            /**
314             * Sets the image local service.
315             *
316             * @param imageLocalService the image local service
317             */
318            public void setImageLocalService(
319                    com.liferay.portal.service.ImageLocalService imageLocalService) {
320                    this.imageLocalService = imageLocalService;
321            }
322    
323            /**
324             * Returns the image remote service.
325             *
326             * @return the image remote service
327             */
328            public com.liferay.portal.service.ImageService getImageService() {
329                    return imageService;
330            }
331    
332            /**
333             * Sets the image remote service.
334             *
335             * @param imageService the image remote service
336             */
337            public void setImageService(
338                    com.liferay.portal.service.ImageService imageService) {
339                    this.imageService = imageService;
340            }
341    
342            /**
343             * Returns the image persistence.
344             *
345             * @return the image persistence
346             */
347            public ImagePersistence getImagePersistence() {
348                    return imagePersistence;
349            }
350    
351            /**
352             * Sets the image persistence.
353             *
354             * @param imagePersistence the image persistence
355             */
356            public void setImagePersistence(ImagePersistence imagePersistence) {
357                    this.imagePersistence = imagePersistence;
358            }
359    
360            /**
361             * Returns the asset category local service.
362             *
363             * @return the asset category local service
364             */
365            public com.liferay.portlet.asset.service.AssetCategoryLocalService getAssetCategoryLocalService() {
366                    return assetCategoryLocalService;
367            }
368    
369            /**
370             * Sets the asset category local service.
371             *
372             * @param assetCategoryLocalService the asset category local service
373             */
374            public void setAssetCategoryLocalService(
375                    com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService) {
376                    this.assetCategoryLocalService = assetCategoryLocalService;
377            }
378    
379            /**
380             * Returns the asset category remote service.
381             *
382             * @return the asset category remote service
383             */
384            public com.liferay.portlet.asset.service.AssetCategoryService getAssetCategoryService() {
385                    return assetCategoryService;
386            }
387    
388            /**
389             * Sets the asset category remote service.
390             *
391             * @param assetCategoryService the asset category remote service
392             */
393            public void setAssetCategoryService(
394                    com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService) {
395                    this.assetCategoryService = assetCategoryService;
396            }
397    
398            /**
399             * Returns the asset category persistence.
400             *
401             * @return the asset category persistence
402             */
403            public AssetCategoryPersistence getAssetCategoryPersistence() {
404                    return assetCategoryPersistence;
405            }
406    
407            /**
408             * Sets the asset category persistence.
409             *
410             * @param assetCategoryPersistence the asset category persistence
411             */
412            public void setAssetCategoryPersistence(
413                    AssetCategoryPersistence assetCategoryPersistence) {
414                    this.assetCategoryPersistence = assetCategoryPersistence;
415            }
416    
417            /**
418             * Returns the asset category finder.
419             *
420             * @return the asset category finder
421             */
422            public AssetCategoryFinder getAssetCategoryFinder() {
423                    return assetCategoryFinder;
424            }
425    
426            /**
427             * Sets the asset category finder.
428             *
429             * @param assetCategoryFinder the asset category finder
430             */
431            public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
432                    this.assetCategoryFinder = assetCategoryFinder;
433            }
434    
435            /**
436             * Returns the asset entry local service.
437             *
438             * @return the asset entry local service
439             */
440            public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
441                    return assetEntryLocalService;
442            }
443    
444            /**
445             * Sets the asset entry local service.
446             *
447             * @param assetEntryLocalService the asset entry local service
448             */
449            public void setAssetEntryLocalService(
450                    com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
451                    this.assetEntryLocalService = assetEntryLocalService;
452            }
453    
454            /**
455             * Returns the asset entry remote service.
456             *
457             * @return the asset entry remote service
458             */
459            public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
460                    return assetEntryService;
461            }
462    
463            /**
464             * Sets the asset entry remote service.
465             *
466             * @param assetEntryService the asset entry remote service
467             */
468            public void setAssetEntryService(
469                    com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
470                    this.assetEntryService = assetEntryService;
471            }
472    
473            /**
474             * Returns the asset entry persistence.
475             *
476             * @return the asset entry persistence
477             */
478            public AssetEntryPersistence getAssetEntryPersistence() {
479                    return assetEntryPersistence;
480            }
481    
482            /**
483             * Sets the asset entry persistence.
484             *
485             * @param assetEntryPersistence the asset entry persistence
486             */
487            public void setAssetEntryPersistence(
488                    AssetEntryPersistence assetEntryPersistence) {
489                    this.assetEntryPersistence = assetEntryPersistence;
490            }
491    
492            /**
493             * Returns the asset entry finder.
494             *
495             * @return the asset entry finder
496             */
497            public AssetEntryFinder getAssetEntryFinder() {
498                    return assetEntryFinder;
499            }
500    
501            /**
502             * Sets the asset entry finder.
503             *
504             * @param assetEntryFinder the asset entry finder
505             */
506            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
507                    this.assetEntryFinder = assetEntryFinder;
508            }
509    
510            /**
511             * Returns the asset tag local service.
512             *
513             * @return the asset tag local service
514             */
515            public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
516                    return assetTagLocalService;
517            }
518    
519            /**
520             * Sets the asset tag local service.
521             *
522             * @param assetTagLocalService the asset tag local service
523             */
524            public void setAssetTagLocalService(
525                    com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
526                    this.assetTagLocalService = assetTagLocalService;
527            }
528    
529            /**
530             * Returns the asset tag remote service.
531             *
532             * @return the asset tag remote service
533             */
534            public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
535                    return assetTagService;
536            }
537    
538            /**
539             * Sets the asset tag remote service.
540             *
541             * @param assetTagService the asset tag remote service
542             */
543            public void setAssetTagService(
544                    com.liferay.portlet.asset.service.AssetTagService assetTagService) {
545                    this.assetTagService = assetTagService;
546            }
547    
548            /**
549             * Returns the asset tag persistence.
550             *
551             * @return the asset tag persistence
552             */
553            public AssetTagPersistence getAssetTagPersistence() {
554                    return assetTagPersistence;
555            }
556    
557            /**
558             * Sets the asset tag persistence.
559             *
560             * @param assetTagPersistence the asset tag persistence
561             */
562            public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
563                    this.assetTagPersistence = assetTagPersistence;
564            }
565    
566            /**
567             * Returns the asset tag finder.
568             *
569             * @return the asset tag finder
570             */
571            public AssetTagFinder getAssetTagFinder() {
572                    return assetTagFinder;
573            }
574    
575            /**
576             * Sets the asset tag finder.
577             *
578             * @param assetTagFinder the asset tag finder
579             */
580            public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
581                    this.assetTagFinder = assetTagFinder;
582            }
583    
584            /**
585             * Returns the expando row local service.
586             *
587             * @return the expando row local service
588             */
589            public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
590                    return expandoRowLocalService;
591            }
592    
593            /**
594             * Sets the expando row local service.
595             *
596             * @param expandoRowLocalService the expando row local service
597             */
598            public void setExpandoRowLocalService(
599                    com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
600                    this.expandoRowLocalService = expandoRowLocalService;
601            }
602    
603            /**
604             * Returns the expando row persistence.
605             *
606             * @return the expando row persistence
607             */
608            public ExpandoRowPersistence getExpandoRowPersistence() {
609                    return expandoRowPersistence;
610            }
611    
612            /**
613             * Sets the expando row persistence.
614             *
615             * @param expandoRowPersistence the expando row persistence
616             */
617            public void setExpandoRowPersistence(
618                    ExpandoRowPersistence expandoRowPersistence) {
619                    this.expandoRowPersistence = expandoRowPersistence;
620            }
621    
622            /**
623             * Returns the export import configuration local service.
624             *
625             * @return the export import configuration local service
626             */
627            public com.liferay.portlet.exportimport.service.ExportImportConfigurationLocalService getExportImportConfigurationLocalService() {
628                    return exportImportConfigurationLocalService;
629            }
630    
631            /**
632             * Sets the export import configuration local service.
633             *
634             * @param exportImportConfigurationLocalService the export import configuration local service
635             */
636            public void setExportImportConfigurationLocalService(
637                    com.liferay.portlet.exportimport.service.ExportImportConfigurationLocalService exportImportConfigurationLocalService) {
638                    this.exportImportConfigurationLocalService = exportImportConfigurationLocalService;
639            }
640    
641            /**
642             * Returns the export import configuration remote service.
643             *
644             * @return the export import configuration remote service
645             */
646            public com.liferay.portlet.exportimport.service.ExportImportConfigurationService getExportImportConfigurationService() {
647                    return exportImportConfigurationService;
648            }
649    
650            /**
651             * Sets the export import configuration remote service.
652             *
653             * @param exportImportConfigurationService the export import configuration remote service
654             */
655            public void setExportImportConfigurationService(
656                    com.liferay.portlet.exportimport.service.ExportImportConfigurationService exportImportConfigurationService) {
657                    this.exportImportConfigurationService = exportImportConfigurationService;
658            }
659    
660            /**
661             * Returns the export import configuration persistence.
662             *
663             * @return the export import configuration persistence
664             */
665            public ExportImportConfigurationPersistence getExportImportConfigurationPersistence() {
666                    return exportImportConfigurationPersistence;
667            }
668    
669            /**
670             * Sets the export import configuration persistence.
671             *
672             * @param exportImportConfigurationPersistence the export import configuration persistence
673             */
674            public void setExportImportConfigurationPersistence(
675                    ExportImportConfigurationPersistence exportImportConfigurationPersistence) {
676                    this.exportImportConfigurationPersistence = exportImportConfigurationPersistence;
677            }
678    
679            /**
680             * Returns the export import configuration finder.
681             *
682             * @return the export import configuration finder
683             */
684            public ExportImportConfigurationFinder getExportImportConfigurationFinder() {
685                    return exportImportConfigurationFinder;
686            }
687    
688            /**
689             * Sets the export import configuration finder.
690             *
691             * @param exportImportConfigurationFinder the export import configuration finder
692             */
693            public void setExportImportConfigurationFinder(
694                    ExportImportConfigurationFinder exportImportConfigurationFinder) {
695                    this.exportImportConfigurationFinder = exportImportConfigurationFinder;
696            }
697    
698            /**
699             * Returns the ratings stats local service.
700             *
701             * @return the ratings stats local service
702             */
703            public com.liferay.portlet.ratings.service.RatingsStatsLocalService getRatingsStatsLocalService() {
704                    return ratingsStatsLocalService;
705            }
706    
707            /**
708             * Sets the ratings stats local service.
709             *
710             * @param ratingsStatsLocalService the ratings stats local service
711             */
712            public void setRatingsStatsLocalService(
713                    com.liferay.portlet.ratings.service.RatingsStatsLocalService ratingsStatsLocalService) {
714                    this.ratingsStatsLocalService = ratingsStatsLocalService;
715            }
716    
717            /**
718             * Returns the ratings stats persistence.
719             *
720             * @return the ratings stats persistence
721             */
722            public RatingsStatsPersistence getRatingsStatsPersistence() {
723                    return ratingsStatsPersistence;
724            }
725    
726            /**
727             * Sets the ratings stats persistence.
728             *
729             * @param ratingsStatsPersistence the ratings stats persistence
730             */
731            public void setRatingsStatsPersistence(
732                    RatingsStatsPersistence ratingsStatsPersistence) {
733                    this.ratingsStatsPersistence = ratingsStatsPersistence;
734            }
735    
736            /**
737             * Returns the ratings stats finder.
738             *
739             * @return the ratings stats finder
740             */
741            public RatingsStatsFinder getRatingsStatsFinder() {
742                    return ratingsStatsFinder;
743            }
744    
745            /**
746             * Sets the ratings stats finder.
747             *
748             * @param ratingsStatsFinder the ratings stats finder
749             */
750            public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
751                    this.ratingsStatsFinder = ratingsStatsFinder;
752            }
753    
754            /**
755             * Returns the layout friendly u r l local service.
756             *
757             * @return the layout friendly u r l local service
758             */
759            public com.liferay.portal.service.LayoutFriendlyURLLocalService getLayoutFriendlyURLLocalService() {
760                    return layoutFriendlyURLLocalService;
761            }
762    
763            /**
764             * Sets the layout friendly u r l local service.
765             *
766             * @param layoutFriendlyURLLocalService the layout friendly u r l local service
767             */
768            public void setLayoutFriendlyURLLocalService(
769                    com.liferay.portal.service.LayoutFriendlyURLLocalService layoutFriendlyURLLocalService) {
770                    this.layoutFriendlyURLLocalService = layoutFriendlyURLLocalService;
771            }
772    
773            /**
774             * Returns the layout friendly u r l persistence.
775             *
776             * @return the layout friendly u r l persistence
777             */
778            public LayoutFriendlyURLPersistence getLayoutFriendlyURLPersistence() {
779                    return layoutFriendlyURLPersistence;
780            }
781    
782            /**
783             * Sets the layout friendly u r l persistence.
784             *
785             * @param layoutFriendlyURLPersistence the layout friendly u r l persistence
786             */
787            public void setLayoutFriendlyURLPersistence(
788                    LayoutFriendlyURLPersistence layoutFriendlyURLPersistence) {
789                    this.layoutFriendlyURLPersistence = layoutFriendlyURLPersistence;
790            }
791    
792            /**
793             * Returns the layout prototype local service.
794             *
795             * @return the layout prototype local service
796             */
797            public com.liferay.portal.service.LayoutPrototypeLocalService getLayoutPrototypeLocalService() {
798                    return layoutPrototypeLocalService;
799            }
800    
801            /**
802             * Sets the layout prototype local service.
803             *
804             * @param layoutPrototypeLocalService the layout prototype local service
805             */
806            public void setLayoutPrototypeLocalService(
807                    com.liferay.portal.service.LayoutPrototypeLocalService layoutPrototypeLocalService) {
808                    this.layoutPrototypeLocalService = layoutPrototypeLocalService;
809            }
810    
811            /**
812             * Returns the layout prototype remote service.
813             *
814             * @return the layout prototype remote service
815             */
816            public com.liferay.portal.service.LayoutPrototypeService getLayoutPrototypeService() {
817                    return layoutPrototypeService;
818            }
819    
820            /**
821             * Sets the layout prototype remote service.
822             *
823             * @param layoutPrototypeService the layout prototype remote service
824             */
825            public void setLayoutPrototypeService(
826                    com.liferay.portal.service.LayoutPrototypeService layoutPrototypeService) {
827                    this.layoutPrototypeService = layoutPrototypeService;
828            }
829    
830            /**
831             * Returns the layout prototype persistence.
832             *
833             * @return the layout prototype persistence
834             */
835            public LayoutPrototypePersistence getLayoutPrototypePersistence() {
836                    return layoutPrototypePersistence;
837            }
838    
839            /**
840             * Sets the layout prototype persistence.
841             *
842             * @param layoutPrototypePersistence the layout prototype persistence
843             */
844            public void setLayoutPrototypePersistence(
845                    LayoutPrototypePersistence layoutPrototypePersistence) {
846                    this.layoutPrototypePersistence = layoutPrototypePersistence;
847            }
848    
849            /**
850             * Returns the layout set local service.
851             *
852             * @return the layout set local service
853             */
854            public com.liferay.portal.service.LayoutSetLocalService getLayoutSetLocalService() {
855                    return layoutSetLocalService;
856            }
857    
858            /**
859             * Sets the layout set local service.
860             *
861             * @param layoutSetLocalService the layout set local service
862             */
863            public void setLayoutSetLocalService(
864                    com.liferay.portal.service.LayoutSetLocalService layoutSetLocalService) {
865                    this.layoutSetLocalService = layoutSetLocalService;
866            }
867    
868            /**
869             * Returns the layout set remote service.
870             *
871             * @return the layout set remote service
872             */
873            public com.liferay.portal.service.LayoutSetService getLayoutSetService() {
874                    return layoutSetService;
875            }
876    
877            /**
878             * Sets the layout set remote service.
879             *
880             * @param layoutSetService the layout set remote service
881             */
882            public void setLayoutSetService(
883                    com.liferay.portal.service.LayoutSetService layoutSetService) {
884                    this.layoutSetService = layoutSetService;
885            }
886    
887            /**
888             * Returns the layout set persistence.
889             *
890             * @return the layout set persistence
891             */
892            public LayoutSetPersistence getLayoutSetPersistence() {
893                    return layoutSetPersistence;
894            }
895    
896            /**
897             * Sets the layout set persistence.
898             *
899             * @param layoutSetPersistence the layout set persistence
900             */
901            public void setLayoutSetPersistence(
902                    LayoutSetPersistence layoutSetPersistence) {
903                    this.layoutSetPersistence = layoutSetPersistence;
904            }
905    
906            /**
907             * Returns the layout set prototype local service.
908             *
909             * @return the layout set prototype local service
910             */
911            public com.liferay.portal.service.LayoutSetPrototypeLocalService getLayoutSetPrototypeLocalService() {
912                    return layoutSetPrototypeLocalService;
913            }
914    
915            /**
916             * Sets the layout set prototype local service.
917             *
918             * @param layoutSetPrototypeLocalService the layout set prototype local service
919             */
920            public void setLayoutSetPrototypeLocalService(
921                    com.liferay.portal.service.LayoutSetPrototypeLocalService layoutSetPrototypeLocalService) {
922                    this.layoutSetPrototypeLocalService = layoutSetPrototypeLocalService;
923            }
924    
925            /**
926             * Returns the layout set prototype remote service.
927             *
928             * @return the layout set prototype remote service
929             */
930            public com.liferay.portal.service.LayoutSetPrototypeService getLayoutSetPrototypeService() {
931                    return layoutSetPrototypeService;
932            }
933    
934            /**
935             * Sets the layout set prototype remote service.
936             *
937             * @param layoutSetPrototypeService the layout set prototype remote service
938             */
939            public void setLayoutSetPrototypeService(
940                    com.liferay.portal.service.LayoutSetPrototypeService layoutSetPrototypeService) {
941                    this.layoutSetPrototypeService = layoutSetPrototypeService;
942            }
943    
944            /**
945             * Returns the layout set prototype persistence.
946             *
947             * @return the layout set prototype persistence
948             */
949            public LayoutSetPrototypePersistence getLayoutSetPrototypePersistence() {
950                    return layoutSetPrototypePersistence;
951            }
952    
953            /**
954             * Sets the layout set prototype persistence.
955             *
956             * @param layoutSetPrototypePersistence the layout set prototype persistence
957             */
958            public void setLayoutSetPrototypePersistence(
959                    LayoutSetPrototypePersistence layoutSetPrototypePersistence) {
960                    this.layoutSetPrototypePersistence = layoutSetPrototypePersistence;
961            }
962    
963            /**
964             * Returns the plugin setting local service.
965             *
966             * @return the plugin setting local service
967             */
968            public com.liferay.portal.service.PluginSettingLocalService getPluginSettingLocalService() {
969                    return pluginSettingLocalService;
970            }
971    
972            /**
973             * Sets the plugin setting local service.
974             *
975             * @param pluginSettingLocalService the plugin setting local service
976             */
977            public void setPluginSettingLocalService(
978                    com.liferay.portal.service.PluginSettingLocalService pluginSettingLocalService) {
979                    this.pluginSettingLocalService = pluginSettingLocalService;
980            }
981    
982            /**
983             * Returns the plugin setting remote service.
984             *
985             * @return the plugin setting remote service
986             */
987            public com.liferay.portal.service.PluginSettingService getPluginSettingService() {
988                    return pluginSettingService;
989            }
990    
991            /**
992             * Sets the plugin setting remote service.
993             *
994             * @param pluginSettingService the plugin setting remote service
995             */
996            public void setPluginSettingService(
997                    com.liferay.portal.service.PluginSettingService pluginSettingService) {
998                    this.pluginSettingService = pluginSettingService;
999            }
1000    
1001            /**
1002             * Returns the plugin setting persistence.
1003             *
1004             * @return the plugin setting persistence
1005             */
1006            public PluginSettingPersistence getPluginSettingPersistence() {
1007                    return pluginSettingPersistence;
1008            }
1009    
1010            /**
1011             * Sets the plugin setting persistence.
1012             *
1013             * @param pluginSettingPersistence the plugin setting persistence
1014             */
1015            public void setPluginSettingPersistence(
1016                    PluginSettingPersistence pluginSettingPersistence) {
1017                    this.pluginSettingPersistence = pluginSettingPersistence;
1018            }
1019    
1020            /**
1021             * Returns the portlet preferences local service.
1022             *
1023             * @return the portlet preferences local service
1024             */
1025            public com.liferay.portal.service.PortletPreferencesLocalService getPortletPreferencesLocalService() {
1026                    return portletPreferencesLocalService;
1027            }
1028    
1029            /**
1030             * Sets the portlet preferences local service.
1031             *
1032             * @param portletPreferencesLocalService the portlet preferences local service
1033             */
1034            public void setPortletPreferencesLocalService(
1035                    com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService) {
1036                    this.portletPreferencesLocalService = portletPreferencesLocalService;
1037            }
1038    
1039            /**
1040             * Returns the portlet preferences remote service.
1041             *
1042             * @return the portlet preferences remote service
1043             */
1044            public com.liferay.portal.service.PortletPreferencesService getPortletPreferencesService() {
1045                    return portletPreferencesService;
1046            }
1047    
1048            /**
1049             * Sets the portlet preferences remote service.
1050             *
1051             * @param portletPreferencesService the portlet preferences remote service
1052             */
1053            public void setPortletPreferencesService(
1054                    com.liferay.portal.service.PortletPreferencesService portletPreferencesService) {
1055                    this.portletPreferencesService = portletPreferencesService;
1056            }
1057    
1058            /**
1059             * Returns the portlet preferences persistence.
1060             *
1061             * @return the portlet preferences persistence
1062             */
1063            public PortletPreferencesPersistence getPortletPreferencesPersistence() {
1064                    return portletPreferencesPersistence;
1065            }
1066    
1067            /**
1068             * Sets the portlet preferences persistence.
1069             *
1070             * @param portletPreferencesPersistence the portlet preferences persistence
1071             */
1072            public void setPortletPreferencesPersistence(
1073                    PortletPreferencesPersistence portletPreferencesPersistence) {
1074                    this.portletPreferencesPersistence = portletPreferencesPersistence;
1075            }
1076    
1077            /**
1078             * Returns the portlet preferences finder.
1079             *
1080             * @return the portlet preferences finder
1081             */
1082            public PortletPreferencesFinder getPortletPreferencesFinder() {
1083                    return portletPreferencesFinder;
1084            }
1085    
1086            /**
1087             * Sets the portlet preferences finder.
1088             *
1089             * @param portletPreferencesFinder the portlet preferences finder
1090             */
1091            public void setPortletPreferencesFinder(
1092                    PortletPreferencesFinder portletPreferencesFinder) {
1093                    this.portletPreferencesFinder = portletPreferencesFinder;
1094            }
1095    
1096            /**
1097             * Returns the resource local service.
1098             *
1099             * @return the resource local service
1100             */
1101            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
1102                    return resourceLocalService;
1103            }
1104    
1105            /**
1106             * Sets the resource local service.
1107             *
1108             * @param resourceLocalService the resource local service
1109             */
1110            public void setResourceLocalService(
1111                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
1112                    this.resourceLocalService = resourceLocalService;
1113            }
1114    
1115            /**
1116             * Returns the resource permission local service.
1117             *
1118             * @return the resource permission local service
1119             */
1120            public com.liferay.portal.service.ResourcePermissionLocalService getResourcePermissionLocalService() {
1121                    return resourcePermissionLocalService;
1122            }
1123    
1124            /**
1125             * Sets the resource permission local service.
1126             *
1127             * @param resourcePermissionLocalService the resource permission local service
1128             */
1129            public void setResourcePermissionLocalService(
1130                    com.liferay.portal.service.ResourcePermissionLocalService resourcePermissionLocalService) {
1131                    this.resourcePermissionLocalService = resourcePermissionLocalService;
1132            }
1133    
1134            /**
1135             * Returns the resource permission remote service.
1136             *
1137             * @return the resource permission remote service
1138             */
1139            public com.liferay.portal.service.ResourcePermissionService getResourcePermissionService() {
1140                    return resourcePermissionService;
1141            }
1142    
1143            /**
1144             * Sets the resource permission remote service.
1145             *
1146             * @param resourcePermissionService the resource permission remote service
1147             */
1148            public void setResourcePermissionService(
1149                    com.liferay.portal.service.ResourcePermissionService resourcePermissionService) {
1150                    this.resourcePermissionService = resourcePermissionService;
1151            }
1152    
1153            /**
1154             * Returns the resource permission persistence.
1155             *
1156             * @return the resource permission persistence
1157             */
1158            public ResourcePermissionPersistence getResourcePermissionPersistence() {
1159                    return resourcePermissionPersistence;
1160            }
1161    
1162            /**
1163             * Sets the resource permission persistence.
1164             *
1165             * @param resourcePermissionPersistence the resource permission persistence
1166             */
1167            public void setResourcePermissionPersistence(
1168                    ResourcePermissionPersistence resourcePermissionPersistence) {
1169                    this.resourcePermissionPersistence = resourcePermissionPersistence;
1170            }
1171    
1172            /**
1173             * Returns the resource permission finder.
1174             *
1175             * @return the resource permission finder
1176             */
1177            public ResourcePermissionFinder getResourcePermissionFinder() {
1178                    return resourcePermissionFinder;
1179            }
1180    
1181            /**
1182             * Sets the resource permission finder.
1183             *
1184             * @param resourcePermissionFinder the resource permission finder
1185             */
1186            public void setResourcePermissionFinder(
1187                    ResourcePermissionFinder resourcePermissionFinder) {
1188                    this.resourcePermissionFinder = resourcePermissionFinder;
1189            }
1190    
1191            /**
1192             * Returns the subscription local service.
1193             *
1194             * @return the subscription local service
1195             */
1196            public com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService() {
1197                    return subscriptionLocalService;
1198            }
1199    
1200            /**
1201             * Sets the subscription local service.
1202             *
1203             * @param subscriptionLocalService the subscription local service
1204             */
1205            public void setSubscriptionLocalService(
1206                    com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService) {
1207                    this.subscriptionLocalService = subscriptionLocalService;
1208            }
1209    
1210            /**
1211             * Returns the subscription persistence.
1212             *
1213             * @return the subscription persistence
1214             */
1215            public SubscriptionPersistence getSubscriptionPersistence() {
1216                    return subscriptionPersistence;
1217            }
1218    
1219            /**
1220             * Sets the subscription persistence.
1221             *
1222             * @param subscriptionPersistence the subscription persistence
1223             */
1224            public void setSubscriptionPersistence(
1225                    SubscriptionPersistence subscriptionPersistence) {
1226                    this.subscriptionPersistence = subscriptionPersistence;
1227            }
1228    
1229            /**
1230             * Returns the user local service.
1231             *
1232             * @return the user local service
1233             */
1234            public com.liferay.portal.service.UserLocalService getUserLocalService() {
1235                    return userLocalService;
1236            }
1237    
1238            /**
1239             * Sets the user local service.
1240             *
1241             * @param userLocalService the user local service
1242             */
1243            public void setUserLocalService(
1244                    com.liferay.portal.service.UserLocalService userLocalService) {
1245                    this.userLocalService = userLocalService;
1246            }
1247    
1248            /**
1249             * Returns the user remote service.
1250             *
1251             * @return the user remote service
1252             */
1253            public com.liferay.portal.service.UserService getUserService() {
1254                    return userService;
1255            }
1256    
1257            /**
1258             * Sets the user remote service.
1259             *
1260             * @param userService the user remote service
1261             */
1262            public void setUserService(
1263                    com.liferay.portal.service.UserService userService) {
1264                    this.userService = userService;
1265            }
1266    
1267            /**
1268             * Returns the user persistence.
1269             *
1270             * @return the user persistence
1271             */
1272            public UserPersistence getUserPersistence() {
1273                    return userPersistence;
1274            }
1275    
1276            /**
1277             * Sets the user persistence.
1278             *
1279             * @param userPersistence the user persistence
1280             */
1281            public void setUserPersistence(UserPersistence userPersistence) {
1282                    this.userPersistence = userPersistence;
1283            }
1284    
1285            /**
1286             * Returns the user finder.
1287             *
1288             * @return the user finder
1289             */
1290            public UserFinder getUserFinder() {
1291                    return userFinder;
1292            }
1293    
1294            /**
1295             * Sets the user finder.
1296             *
1297             * @param userFinder the user finder
1298             */
1299            public void setUserFinder(UserFinder userFinder) {
1300                    this.userFinder = userFinder;
1301            }
1302    
1303            public void afterPropertiesSet() {
1304            }
1305    
1306            public void destroy() {
1307            }
1308    
1309            /**
1310             * Returns the OSGi service identifier.
1311             *
1312             * @return the OSGi service identifier
1313             */
1314            @Override
1315            public String getOSGiServiceIdentifier() {
1316                    return LayoutService.class.getName();
1317            }
1318    
1319            protected Class<?> getModelClass() {
1320                    return Layout.class;
1321            }
1322    
1323            protected String getModelClassName() {
1324                    return Layout.class.getName();
1325            }
1326    
1327            /**
1328             * Performs a SQL query.
1329             *
1330             * @param sql the sql query
1331             */
1332            protected void runSQL(String sql) {
1333                    try {
1334                            DataSource dataSource = layoutPersistence.getDataSource();
1335    
1336                            DB db = DBManagerUtil.getDB();
1337    
1338                            sql = db.buildSQL(sql);
1339                            sql = PortalUtil.transformSQL(sql);
1340    
1341                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1342                                            sql, new int[0]);
1343    
1344                            sqlUpdate.update();
1345                    }
1346                    catch (Exception e) {
1347                            throw new SystemException(e);
1348                    }
1349            }
1350    
1351            @BeanReference(type = com.liferay.portal.service.LayoutLocalService.class)
1352            protected com.liferay.portal.service.LayoutLocalService layoutLocalService;
1353            @BeanReference(type = com.liferay.portal.service.LayoutService.class)
1354            protected LayoutService layoutService;
1355            @BeanReference(type = LayoutPersistence.class)
1356            protected LayoutPersistence layoutPersistence;
1357            @BeanReference(type = LayoutFinder.class)
1358            protected LayoutFinder layoutFinder;
1359            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1360            protected com.liferay.counter.service.CounterLocalService counterLocalService;
1361            @BeanReference(type = com.liferay.portal.service.ClassNameLocalService.class)
1362            protected com.liferay.portal.service.ClassNameLocalService classNameLocalService;
1363            @BeanReference(type = com.liferay.portal.service.ClassNameService.class)
1364            protected com.liferay.portal.service.ClassNameService classNameService;
1365            @BeanReference(type = ClassNamePersistence.class)
1366            protected ClassNamePersistence classNamePersistence;
1367            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
1368            protected com.liferay.portal.service.GroupLocalService groupLocalService;
1369            @BeanReference(type = com.liferay.portal.service.GroupService.class)
1370            protected com.liferay.portal.service.GroupService groupService;
1371            @BeanReference(type = GroupPersistence.class)
1372            protected GroupPersistence groupPersistence;
1373            @BeanReference(type = GroupFinder.class)
1374            protected GroupFinder groupFinder;
1375            @BeanReference(type = com.liferay.portal.service.ImageLocalService.class)
1376            protected com.liferay.portal.service.ImageLocalService imageLocalService;
1377            @BeanReference(type = com.liferay.portal.service.ImageService.class)
1378            protected com.liferay.portal.service.ImageService imageService;
1379            @BeanReference(type = ImagePersistence.class)
1380            protected ImagePersistence imagePersistence;
1381            @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryLocalService.class)
1382            protected com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService;
1383            @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryService.class)
1384            protected com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService;
1385            @BeanReference(type = AssetCategoryPersistence.class)
1386            protected AssetCategoryPersistence assetCategoryPersistence;
1387            @BeanReference(type = AssetCategoryFinder.class)
1388            protected AssetCategoryFinder assetCategoryFinder;
1389            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1390            protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1391            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1392            protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1393            @BeanReference(type = AssetEntryPersistence.class)
1394            protected AssetEntryPersistence assetEntryPersistence;
1395            @BeanReference(type = AssetEntryFinder.class)
1396            protected AssetEntryFinder assetEntryFinder;
1397            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
1398            protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
1399            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
1400            protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
1401            @BeanReference(type = AssetTagPersistence.class)
1402            protected AssetTagPersistence assetTagPersistence;
1403            @BeanReference(type = AssetTagFinder.class)
1404            protected AssetTagFinder assetTagFinder;
1405            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
1406            protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
1407            @BeanReference(type = ExpandoRowPersistence.class)
1408            protected ExpandoRowPersistence expandoRowPersistence;
1409            @BeanReference(type = com.liferay.portlet.exportimport.service.ExportImportConfigurationLocalService.class)
1410            protected com.liferay.portlet.exportimport.service.ExportImportConfigurationLocalService exportImportConfigurationLocalService;
1411            @BeanReference(type = com.liferay.portlet.exportimport.service.ExportImportConfigurationService.class)
1412            protected com.liferay.portlet.exportimport.service.ExportImportConfigurationService exportImportConfigurationService;
1413            @BeanReference(type = ExportImportConfigurationPersistence.class)
1414            protected ExportImportConfigurationPersistence exportImportConfigurationPersistence;
1415            @BeanReference(type = ExportImportConfigurationFinder.class)
1416            protected ExportImportConfigurationFinder exportImportConfigurationFinder;
1417            @BeanReference(type = com.liferay.portlet.ratings.service.RatingsStatsLocalService.class)
1418            protected com.liferay.portlet.ratings.service.RatingsStatsLocalService ratingsStatsLocalService;
1419            @BeanReference(type = RatingsStatsPersistence.class)
1420            protected RatingsStatsPersistence ratingsStatsPersistence;
1421            @BeanReference(type = RatingsStatsFinder.class)
1422            protected RatingsStatsFinder ratingsStatsFinder;
1423            @BeanReference(type = com.liferay.portal.service.LayoutFriendlyURLLocalService.class)
1424            protected com.liferay.portal.service.LayoutFriendlyURLLocalService layoutFriendlyURLLocalService;
1425            @BeanReference(type = LayoutFriendlyURLPersistence.class)
1426            protected LayoutFriendlyURLPersistence layoutFriendlyURLPersistence;
1427            @BeanReference(type = com.liferay.portal.service.LayoutPrototypeLocalService.class)
1428            protected com.liferay.portal.service.LayoutPrototypeLocalService layoutPrototypeLocalService;
1429            @BeanReference(type = com.liferay.portal.service.LayoutPrototypeService.class)
1430            protected com.liferay.portal.service.LayoutPrototypeService layoutPrototypeService;
1431            @BeanReference(type = LayoutPrototypePersistence.class)
1432            protected LayoutPrototypePersistence layoutPrototypePersistence;
1433            @BeanReference(type = com.liferay.portal.service.LayoutSetLocalService.class)
1434            protected com.liferay.portal.service.LayoutSetLocalService layoutSetLocalService;
1435            @BeanReference(type = com.liferay.portal.service.LayoutSetService.class)
1436            protected com.liferay.portal.service.LayoutSetService layoutSetService;
1437            @BeanReference(type = LayoutSetPersistence.class)
1438            protected LayoutSetPersistence layoutSetPersistence;
1439            @BeanReference(type = com.liferay.portal.service.LayoutSetPrototypeLocalService.class)
1440            protected com.liferay.portal.service.LayoutSetPrototypeLocalService layoutSetPrototypeLocalService;
1441            @BeanReference(type = com.liferay.portal.service.LayoutSetPrototypeService.class)
1442            protected com.liferay.portal.service.LayoutSetPrototypeService layoutSetPrototypeService;
1443            @BeanReference(type = LayoutSetPrototypePersistence.class)
1444            protected LayoutSetPrototypePersistence layoutSetPrototypePersistence;
1445            @BeanReference(type = com.liferay.portal.service.PluginSettingLocalService.class)
1446            protected com.liferay.portal.service.PluginSettingLocalService pluginSettingLocalService;
1447            @BeanReference(type = com.liferay.portal.service.PluginSettingService.class)
1448            protected com.liferay.portal.service.PluginSettingService pluginSettingService;
1449            @BeanReference(type = PluginSettingPersistence.class)
1450            protected PluginSettingPersistence pluginSettingPersistence;
1451            @BeanReference(type = com.liferay.portal.service.PortletPreferencesLocalService.class)
1452            protected com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService;
1453            @BeanReference(type = com.liferay.portal.service.PortletPreferencesService.class)
1454            protected com.liferay.portal.service.PortletPreferencesService portletPreferencesService;
1455            @BeanReference(type = PortletPreferencesPersistence.class)
1456            protected PortletPreferencesPersistence portletPreferencesPersistence;
1457            @BeanReference(type = PortletPreferencesFinder.class)
1458            protected PortletPreferencesFinder portletPreferencesFinder;
1459            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1460            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1461            @BeanReference(type = com.liferay.portal.service.ResourcePermissionLocalService.class)
1462            protected com.liferay.portal.service.ResourcePermissionLocalService resourcePermissionLocalService;
1463            @BeanReference(type = com.liferay.portal.service.ResourcePermissionService.class)
1464            protected com.liferay.portal.service.ResourcePermissionService resourcePermissionService;
1465            @BeanReference(type = ResourcePermissionPersistence.class)
1466            protected ResourcePermissionPersistence resourcePermissionPersistence;
1467            @BeanReference(type = ResourcePermissionFinder.class)
1468            protected ResourcePermissionFinder resourcePermissionFinder;
1469            @BeanReference(type = com.liferay.portal.service.SubscriptionLocalService.class)
1470            protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService;
1471            @BeanReference(type = SubscriptionPersistence.class)
1472            protected SubscriptionPersistence subscriptionPersistence;
1473            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1474            protected com.liferay.portal.service.UserLocalService userLocalService;
1475            @BeanReference(type = com.liferay.portal.service.UserService.class)
1476            protected com.liferay.portal.service.UserService userService;
1477            @BeanReference(type = UserPersistence.class)
1478            protected UserPersistence userPersistence;
1479            @BeanReference(type = UserFinder.class)
1480            protected UserFinder userFinder;
1481    }