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