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