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