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.dao.db.DB;
021    import com.liferay.portal.kernel.dao.db.DBManagerUtil;
022    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
023    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
024    import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery;
025    import com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery;
026    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
027    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
028    import com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery;
029    import com.liferay.portal.kernel.dao.orm.Projection;
030    import com.liferay.portal.kernel.exception.PortalException;
031    import com.liferay.portal.kernel.exception.SystemException;
032    import com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService;
033    import com.liferay.portal.kernel.search.Indexable;
034    import com.liferay.portal.kernel.search.IndexableType;
035    import com.liferay.portal.kernel.util.OrderByComparator;
036    import com.liferay.portal.model.Group;
037    import com.liferay.portal.model.PersistedModel;
038    import com.liferay.portal.service.BaseLocalServiceImpl;
039    import com.liferay.portal.service.GroupLocalService;
040    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
041    import com.liferay.portal.service.persistence.AccountPersistence;
042    import com.liferay.portal.service.persistence.ClassNamePersistence;
043    import com.liferay.portal.service.persistence.CompanyPersistence;
044    import com.liferay.portal.service.persistence.GroupFinder;
045    import com.liferay.portal.service.persistence.GroupPersistence;
046    import com.liferay.portal.service.persistence.LayoutFinder;
047    import com.liferay.portal.service.persistence.LayoutPersistence;
048    import com.liferay.portal.service.persistence.LayoutPrototypePersistence;
049    import com.liferay.portal.service.persistence.LayoutSetBranchPersistence;
050    import com.liferay.portal.service.persistence.LayoutSetPersistence;
051    import com.liferay.portal.service.persistence.LayoutSetPrototypePersistence;
052    import com.liferay.portal.service.persistence.MembershipRequestPersistence;
053    import com.liferay.portal.service.persistence.OrganizationFinder;
054    import com.liferay.portal.service.persistence.OrganizationPersistence;
055    import com.liferay.portal.service.persistence.PortletPersistence;
056    import com.liferay.portal.service.persistence.PortletPreferencesFinder;
057    import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
058    import com.liferay.portal.service.persistence.ResourceActionPersistence;
059    import com.liferay.portal.service.persistence.ResourceBlockFinder;
060    import com.liferay.portal.service.persistence.ResourceBlockPersistence;
061    import com.liferay.portal.service.persistence.ResourcePermissionFinder;
062    import com.liferay.portal.service.persistence.ResourcePermissionPersistence;
063    import com.liferay.portal.service.persistence.ResourceTypePermissionFinder;
064    import com.liferay.portal.service.persistence.ResourceTypePermissionPersistence;
065    import com.liferay.portal.service.persistence.RoleFinder;
066    import com.liferay.portal.service.persistence.RolePersistence;
067    import com.liferay.portal.service.persistence.SubscriptionPersistence;
068    import com.liferay.portal.service.persistence.TeamFinder;
069    import com.liferay.portal.service.persistence.TeamPersistence;
070    import com.liferay.portal.service.persistence.UserFinder;
071    import com.liferay.portal.service.persistence.UserGroupFinder;
072    import com.liferay.portal.service.persistence.UserGroupGroupRoleFinder;
073    import com.liferay.portal.service.persistence.UserGroupGroupRolePersistence;
074    import com.liferay.portal.service.persistence.UserGroupPersistence;
075    import com.liferay.portal.service.persistence.UserGroupRoleFinder;
076    import com.liferay.portal.service.persistence.UserGroupRolePersistence;
077    import com.liferay.portal.service.persistence.UserPersistence;
078    import com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistence;
079    import com.liferay.portal.util.PortalUtil;
080    
081    import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
082    import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
083    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
084    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
085    import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
086    import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
087    import com.liferay.portlet.asset.service.persistence.AssetVocabularyFinder;
088    import com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence;
089    import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
090    import com.liferay.portlet.exportimport.service.persistence.ExportImportConfigurationFinder;
091    import com.liferay.portlet.exportimport.service.persistence.ExportImportConfigurationPersistence;
092    import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
093    import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
094    import com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence;
095    import com.liferay.portlet.social.service.persistence.SocialRequestPersistence;
096    import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
097    
098    import java.io.Serializable;
099    
100    import java.util.List;
101    
102    import javax.sql.DataSource;
103    
104    /**
105     * Provides the base implementation for the group local service.
106     *
107     * <p>
108     * 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.GroupLocalServiceImpl}.
109     * </p>
110     *
111     * @author Brian Wing Shun Chan
112     * @see com.liferay.portal.service.impl.GroupLocalServiceImpl
113     * @see com.liferay.portal.service.GroupLocalServiceUtil
114     * @generated
115     */
116    @ProviderType
117    public abstract class GroupLocalServiceBaseImpl extends BaseLocalServiceImpl
118            implements GroupLocalService, IdentifiableOSGiService {
119            /*
120             * NOTE FOR DEVELOPERS:
121             *
122             * Never modify or reference this class directly. Always use {@link com.liferay.portal.service.GroupLocalServiceUtil} to access the group local service.
123             */
124    
125            /**
126             * Adds the group to the database. Also notifies the appropriate model listeners.
127             *
128             * @param group the group
129             * @return the group that was added
130             */
131            @Indexable(type = IndexableType.REINDEX)
132            @Override
133            public Group addGroup(Group group) {
134                    group.setNew(true);
135    
136                    return groupPersistence.update(group);
137            }
138    
139            /**
140             * Creates a new group with the primary key. Does not add the group to the database.
141             *
142             * @param groupId the primary key for the new group
143             * @return the new group
144             */
145            @Override
146            public Group createGroup(long groupId) {
147                    return groupPersistence.create(groupId);
148            }
149    
150            /**
151             * Deletes the group with the primary key from the database. Also notifies the appropriate model listeners.
152             *
153             * @param groupId the primary key of the group
154             * @return the group that was removed
155             * @throws PortalException if a group with the primary key could not be found
156             */
157            @Indexable(type = IndexableType.DELETE)
158            @Override
159            public Group deleteGroup(long groupId) throws PortalException {
160                    return groupPersistence.remove(groupId);
161            }
162    
163            /**
164             * Deletes the group from the database. Also notifies the appropriate model listeners.
165             *
166             * @param group the group
167             * @return the group that was removed
168             * @throws PortalException
169             */
170            @Indexable(type = IndexableType.DELETE)
171            @Override
172            public Group deleteGroup(Group group) throws PortalException {
173                    return groupPersistence.remove(group);
174            }
175    
176            @Override
177            public DynamicQuery dynamicQuery() {
178                    Class<?> clazz = getClass();
179    
180                    return DynamicQueryFactoryUtil.forClass(Group.class,
181                            clazz.getClassLoader());
182            }
183    
184            /**
185             * Performs a dynamic query on the database and returns the matching rows.
186             *
187             * @param dynamicQuery the dynamic query
188             * @return the matching rows
189             */
190            @Override
191            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery) {
192                    return groupPersistence.findWithDynamicQuery(dynamicQuery);
193            }
194    
195            /**
196             * Performs a dynamic query on the database and returns a range of the matching rows.
197             *
198             * <p>
199             * 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.GroupModelImpl}. 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.
200             * </p>
201             *
202             * @param dynamicQuery the dynamic query
203             * @param start the lower bound of the range of model instances
204             * @param end the upper bound of the range of model instances (not inclusive)
205             * @return the range of matching rows
206             */
207            @Override
208            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
209                    int end) {
210                    return groupPersistence.findWithDynamicQuery(dynamicQuery, start, end);
211            }
212    
213            /**
214             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
215             *
216             * <p>
217             * 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.GroupModelImpl}. 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.
218             * </p>
219             *
220             * @param dynamicQuery the dynamic query
221             * @param start the lower bound of the range of model instances
222             * @param end the upper bound of the range of model instances (not inclusive)
223             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
224             * @return the ordered range of matching rows
225             */
226            @Override
227            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
228                    int end, OrderByComparator<T> orderByComparator) {
229                    return groupPersistence.findWithDynamicQuery(dynamicQuery, start, end,
230                            orderByComparator);
231            }
232    
233            /**
234             * Returns the number of rows matching the dynamic query.
235             *
236             * @param dynamicQuery the dynamic query
237             * @return the number of rows matching the dynamic query
238             */
239            @Override
240            public long dynamicQueryCount(DynamicQuery dynamicQuery) {
241                    return groupPersistence.countWithDynamicQuery(dynamicQuery);
242            }
243    
244            /**
245             * Returns the number of rows matching the dynamic query.
246             *
247             * @param dynamicQuery the dynamic query
248             * @param projection the projection to apply to the query
249             * @return the number of rows matching the dynamic query
250             */
251            @Override
252            public long dynamicQueryCount(DynamicQuery dynamicQuery,
253                    Projection projection) {
254                    return groupPersistence.countWithDynamicQuery(dynamicQuery, projection);
255            }
256    
257            @Override
258            public Group fetchGroup(long groupId) {
259                    return groupPersistence.fetchByPrimaryKey(groupId);
260            }
261    
262            /**
263             * Returns the group with the matching UUID and company.
264             *
265             * @param uuid the group's UUID
266             * @param companyId the primary key of the company
267             * @return the matching group, or <code>null</code> if a matching group could not be found
268             */
269            @Override
270            public Group fetchGroupByUuidAndCompanyId(String uuid, long companyId) {
271                    return groupPersistence.fetchByUuid_C_First(uuid, companyId, null);
272            }
273    
274            /**
275             * Returns the group with the primary key.
276             *
277             * @param groupId the primary key of the group
278             * @return the group
279             * @throws PortalException if a group with the primary key could not be found
280             */
281            @Override
282            public Group getGroup(long groupId) throws PortalException {
283                    return groupPersistence.findByPrimaryKey(groupId);
284            }
285    
286            @Override
287            public ActionableDynamicQuery getActionableDynamicQuery() {
288                    ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();
289    
290                    actionableDynamicQuery.setBaseLocalService(com.liferay.portal.service.GroupLocalServiceUtil.getService());
291                    actionableDynamicQuery.setClassLoader(getClassLoader());
292                    actionableDynamicQuery.setModelClass(Group.class);
293    
294                    actionableDynamicQuery.setPrimaryKeyPropertyName("groupId");
295    
296                    return actionableDynamicQuery;
297            }
298    
299            @Override
300            public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
301                    IndexableActionableDynamicQuery indexableActionableDynamicQuery = new IndexableActionableDynamicQuery();
302    
303                    indexableActionableDynamicQuery.setBaseLocalService(com.liferay.portal.service.GroupLocalServiceUtil.getService());
304                    indexableActionableDynamicQuery.setClassLoader(getClassLoader());
305                    indexableActionableDynamicQuery.setModelClass(Group.class);
306    
307                    indexableActionableDynamicQuery.setPrimaryKeyPropertyName("groupId");
308    
309                    return indexableActionableDynamicQuery;
310            }
311    
312            protected void initActionableDynamicQuery(
313                    ActionableDynamicQuery actionableDynamicQuery) {
314                    actionableDynamicQuery.setBaseLocalService(com.liferay.portal.service.GroupLocalServiceUtil.getService());
315                    actionableDynamicQuery.setClassLoader(getClassLoader());
316                    actionableDynamicQuery.setModelClass(Group.class);
317    
318                    actionableDynamicQuery.setPrimaryKeyPropertyName("groupId");
319            }
320    
321            /**
322             * @throws PortalException
323             */
324            @Override
325            public PersistedModel deletePersistedModel(PersistedModel persistedModel)
326                    throws PortalException {
327                    return groupLocalService.deleteGroup((Group)persistedModel);
328            }
329    
330            @Override
331            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
332                    throws PortalException {
333                    return groupPersistence.findByPrimaryKey(primaryKeyObj);
334            }
335    
336            /**
337             * Returns the group with the matching UUID and company.
338             *
339             * @param uuid the group's UUID
340             * @param companyId the primary key of the company
341             * @return the matching group
342             * @throws PortalException if a matching group could not be found
343             */
344            @Override
345            public Group getGroupByUuidAndCompanyId(String uuid, long companyId)
346                    throws PortalException {
347                    return groupPersistence.findByUuid_C_First(uuid, companyId, null);
348            }
349    
350            /**
351             * Returns a range of all the groups.
352             *
353             * <p>
354             * 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.GroupModelImpl}. 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.
355             * </p>
356             *
357             * @param start the lower bound of the range of groups
358             * @param end the upper bound of the range of groups (not inclusive)
359             * @return the range of groups
360             */
361            @Override
362            public List<Group> getGroups(int start, int end) {
363                    return groupPersistence.findAll(start, end);
364            }
365    
366            /**
367             * Returns the number of groups.
368             *
369             * @return the number of groups
370             */
371            @Override
372            public int getGroupsCount() {
373                    return groupPersistence.countAll();
374            }
375    
376            /**
377             * Updates the group in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
378             *
379             * @param group the group
380             * @return the group that was updated
381             */
382            @Indexable(type = IndexableType.REINDEX)
383            @Override
384            public Group updateGroup(Group group) {
385                    return groupPersistence.update(group);
386            }
387    
388            /**
389             */
390            @Override
391            public void addOrganizationGroup(long organizationId, long groupId) {
392                    organizationPersistence.addGroup(organizationId, groupId);
393            }
394    
395            /**
396             */
397            @Override
398            public void addOrganizationGroup(long organizationId, Group group) {
399                    organizationPersistence.addGroup(organizationId, group);
400            }
401    
402            /**
403             */
404            @Override
405            public void addOrganizationGroups(long organizationId, long[] groupIds) {
406                    organizationPersistence.addGroups(organizationId, groupIds);
407            }
408    
409            /**
410             */
411            @Override
412            public void addOrganizationGroups(long organizationId, List<Group> Groups) {
413                    organizationPersistence.addGroups(organizationId, Groups);
414            }
415    
416            /**
417             */
418            @Override
419            public void clearOrganizationGroups(long organizationId) {
420                    organizationPersistence.clearGroups(organizationId);
421            }
422    
423            /**
424             */
425            @Override
426            public void deleteOrganizationGroup(long organizationId, long groupId) {
427                    organizationPersistence.removeGroup(organizationId, groupId);
428            }
429    
430            /**
431             */
432            @Override
433            public void deleteOrganizationGroup(long organizationId, Group group) {
434                    organizationPersistence.removeGroup(organizationId, group);
435            }
436    
437            /**
438             */
439            @Override
440            public void deleteOrganizationGroups(long organizationId, long[] groupIds) {
441                    organizationPersistence.removeGroups(organizationId, groupIds);
442            }
443    
444            /**
445             */
446            @Override
447            public void deleteOrganizationGroups(long organizationId, List<Group> Groups) {
448                    organizationPersistence.removeGroups(organizationId, Groups);
449            }
450    
451            /**
452             * Returns the organizationIds of the organizations associated with the group.
453             *
454             * @param groupId the groupId of the group
455             * @return long[] the organizationIds of organizations associated with the group
456             */
457            @Override
458            public long[] getOrganizationPrimaryKeys(long groupId) {
459                    return groupPersistence.getOrganizationPrimaryKeys(groupId);
460            }
461    
462            /**
463             */
464            @Override
465            public List<Group> getOrganizationGroups(long organizationId) {
466                    return organizationPersistence.getGroups(organizationId);
467            }
468    
469            /**
470             */
471            @Override
472            public List<Group> getOrganizationGroups(long organizationId, int start,
473                    int end) {
474                    return organizationPersistence.getGroups(organizationId, start, end);
475            }
476    
477            /**
478             */
479            @Override
480            public List<Group> getOrganizationGroups(long organizationId, int start,
481                    int end, OrderByComparator<Group> orderByComparator) {
482                    return organizationPersistence.getGroups(organizationId, start, end,
483                            orderByComparator);
484            }
485    
486            /**
487             */
488            @Override
489            public int getOrganizationGroupsCount(long organizationId) {
490                    return organizationPersistence.getGroupsSize(organizationId);
491            }
492    
493            /**
494             */
495            @Override
496            public boolean hasOrganizationGroup(long organizationId, long groupId) {
497                    return organizationPersistence.containsGroup(organizationId, groupId);
498            }
499    
500            /**
501             */
502            @Override
503            public boolean hasOrganizationGroups(long organizationId) {
504                    return organizationPersistence.containsGroups(organizationId);
505            }
506    
507            /**
508             */
509            @Override
510            public void setOrganizationGroups(long organizationId, long[] groupIds) {
511                    organizationPersistence.setGroups(organizationId, groupIds);
512            }
513    
514            /**
515             */
516            @Override
517            public void addRoleGroup(long roleId, long groupId) {
518                    rolePersistence.addGroup(roleId, groupId);
519            }
520    
521            /**
522             */
523            @Override
524            public void addRoleGroup(long roleId, Group group) {
525                    rolePersistence.addGroup(roleId, group);
526            }
527    
528            /**
529             */
530            @Override
531            public void addRoleGroups(long roleId, long[] groupIds) {
532                    rolePersistence.addGroups(roleId, groupIds);
533            }
534    
535            /**
536             */
537            @Override
538            public void addRoleGroups(long roleId, List<Group> Groups) {
539                    rolePersistence.addGroups(roleId, Groups);
540            }
541    
542            /**
543             */
544            @Override
545            public void clearRoleGroups(long roleId) {
546                    rolePersistence.clearGroups(roleId);
547            }
548    
549            /**
550             */
551            @Override
552            public void deleteRoleGroup(long roleId, long groupId) {
553                    rolePersistence.removeGroup(roleId, groupId);
554            }
555    
556            /**
557             */
558            @Override
559            public void deleteRoleGroup(long roleId, Group group) {
560                    rolePersistence.removeGroup(roleId, group);
561            }
562    
563            /**
564             */
565            @Override
566            public void deleteRoleGroups(long roleId, long[] groupIds) {
567                    rolePersistence.removeGroups(roleId, groupIds);
568            }
569    
570            /**
571             */
572            @Override
573            public void deleteRoleGroups(long roleId, List<Group> Groups) {
574                    rolePersistence.removeGroups(roleId, Groups);
575            }
576    
577            /**
578             * Returns the roleIds of the roles associated with the group.
579             *
580             * @param groupId the groupId of the group
581             * @return long[] the roleIds of roles associated with the group
582             */
583            @Override
584            public long[] getRolePrimaryKeys(long groupId) {
585                    return groupPersistence.getRolePrimaryKeys(groupId);
586            }
587    
588            /**
589             */
590            @Override
591            public List<Group> getRoleGroups(long roleId) {
592                    return rolePersistence.getGroups(roleId);
593            }
594    
595            /**
596             */
597            @Override
598            public List<Group> getRoleGroups(long roleId, int start, int end) {
599                    return rolePersistence.getGroups(roleId, start, end);
600            }
601    
602            /**
603             */
604            @Override
605            public List<Group> getRoleGroups(long roleId, int start, int end,
606                    OrderByComparator<Group> orderByComparator) {
607                    return rolePersistence.getGroups(roleId, start, end, orderByComparator);
608            }
609    
610            /**
611             */
612            @Override
613            public int getRoleGroupsCount(long roleId) {
614                    return rolePersistence.getGroupsSize(roleId);
615            }
616    
617            /**
618             */
619            @Override
620            public boolean hasRoleGroup(long roleId, long groupId) {
621                    return rolePersistence.containsGroup(roleId, groupId);
622            }
623    
624            /**
625             */
626            @Override
627            public boolean hasRoleGroups(long roleId) {
628                    return rolePersistence.containsGroups(roleId);
629            }
630    
631            /**
632             */
633            @Override
634            public void setRoleGroups(long roleId, long[] groupIds) {
635                    rolePersistence.setGroups(roleId, groupIds);
636            }
637    
638            /**
639             */
640            @Override
641            public void addUserGroupGroup(long userGroupId, long groupId) {
642                    userGroupPersistence.addGroup(userGroupId, groupId);
643            }
644    
645            /**
646             */
647            @Override
648            public void addUserGroupGroup(long userGroupId, Group group) {
649                    userGroupPersistence.addGroup(userGroupId, group);
650            }
651    
652            /**
653             */
654            @Override
655            public void addUserGroupGroups(long userGroupId, long[] groupIds) {
656                    userGroupPersistence.addGroups(userGroupId, groupIds);
657            }
658    
659            /**
660             */
661            @Override
662            public void addUserGroupGroups(long userGroupId, List<Group> Groups) {
663                    userGroupPersistence.addGroups(userGroupId, Groups);
664            }
665    
666            /**
667             */
668            @Override
669            public void clearUserGroupGroups(long userGroupId) {
670                    userGroupPersistence.clearGroups(userGroupId);
671            }
672    
673            /**
674             */
675            @Override
676            public void deleteUserGroupGroup(long userGroupId, long groupId) {
677                    userGroupPersistence.removeGroup(userGroupId, groupId);
678            }
679    
680            /**
681             */
682            @Override
683            public void deleteUserGroupGroup(long userGroupId, Group group) {
684                    userGroupPersistence.removeGroup(userGroupId, group);
685            }
686    
687            /**
688             */
689            @Override
690            public void deleteUserGroupGroups(long userGroupId, long[] groupIds) {
691                    userGroupPersistence.removeGroups(userGroupId, groupIds);
692            }
693    
694            /**
695             */
696            @Override
697            public void deleteUserGroupGroups(long userGroupId, List<Group> Groups) {
698                    userGroupPersistence.removeGroups(userGroupId, Groups);
699            }
700    
701            /**
702             * Returns the userGroupIds of the user groups associated with the group.
703             *
704             * @param groupId the groupId of the group
705             * @return long[] the userGroupIds of user groups associated with the group
706             */
707            @Override
708            public long[] getUserGroupPrimaryKeys(long groupId) {
709                    return groupPersistence.getUserGroupPrimaryKeys(groupId);
710            }
711    
712            /**
713             */
714            @Override
715            public List<Group> getUserGroupGroups(long userGroupId) {
716                    return userGroupPersistence.getGroups(userGroupId);
717            }
718    
719            /**
720             */
721            @Override
722            public List<Group> getUserGroupGroups(long userGroupId, int start, int end) {
723                    return userGroupPersistence.getGroups(userGroupId, start, end);
724            }
725    
726            /**
727             */
728            @Override
729            public List<Group> getUserGroupGroups(long userGroupId, int start, int end,
730                    OrderByComparator<Group> orderByComparator) {
731                    return userGroupPersistence.getGroups(userGroupId, start, end,
732                            orderByComparator);
733            }
734    
735            /**
736             */
737            @Override
738            public int getUserGroupGroupsCount(long userGroupId) {
739                    return userGroupPersistence.getGroupsSize(userGroupId);
740            }
741    
742            /**
743             */
744            @Override
745            public boolean hasUserGroupGroup(long userGroupId, long groupId) {
746                    return userGroupPersistence.containsGroup(userGroupId, groupId);
747            }
748    
749            /**
750             */
751            @Override
752            public boolean hasUserGroupGroups(long userGroupId) {
753                    return userGroupPersistence.containsGroups(userGroupId);
754            }
755    
756            /**
757             */
758            @Override
759            public void setUserGroupGroups(long userGroupId, long[] groupIds) {
760                    userGroupPersistence.setGroups(userGroupId, groupIds);
761            }
762    
763            /**
764             */
765            @Override
766            public void addUserGroup(long userId, long groupId) {
767                    userPersistence.addGroup(userId, groupId);
768            }
769    
770            /**
771             */
772            @Override
773            public void addUserGroup(long userId, Group group) {
774                    userPersistence.addGroup(userId, group);
775            }
776    
777            /**
778             */
779            @Override
780            public void addUserGroups(long userId, long[] groupIds) {
781                    userPersistence.addGroups(userId, groupIds);
782            }
783    
784            /**
785             */
786            @Override
787            public void addUserGroups(long userId, List<Group> Groups) {
788                    userPersistence.addGroups(userId, Groups);
789            }
790    
791            /**
792             */
793            @Override
794            public void clearUserGroups(long userId) {
795                    userPersistence.clearGroups(userId);
796            }
797    
798            /**
799             */
800            @Override
801            public void deleteUserGroup(long userId, long groupId) {
802                    userPersistence.removeGroup(userId, groupId);
803            }
804    
805            /**
806             */
807            @Override
808            public void deleteUserGroup(long userId, Group group) {
809                    userPersistence.removeGroup(userId, group);
810            }
811    
812            /**
813             */
814            @Override
815            public void deleteUserGroups(long userId, long[] groupIds) {
816                    userPersistence.removeGroups(userId, groupIds);
817            }
818    
819            /**
820             */
821            @Override
822            public void deleteUserGroups(long userId, List<Group> Groups) {
823                    userPersistence.removeGroups(userId, Groups);
824            }
825    
826            /**
827             * Returns the userIds of the users associated with the group.
828             *
829             * @param groupId the groupId of the group
830             * @return long[] the userIds of users associated with the group
831             */
832            @Override
833            public long[] getUserPrimaryKeys(long groupId) {
834                    return groupPersistence.getUserPrimaryKeys(groupId);
835            }
836    
837            /**
838             */
839            @Override
840            public List<Group> getUserGroups(long userId) {
841                    return userPersistence.getGroups(userId);
842            }
843    
844            /**
845             */
846            @Override
847            public List<Group> getUserGroups(long userId, int start, int end) {
848                    return userPersistence.getGroups(userId, start, end);
849            }
850    
851            /**
852             * @throws PortalException
853             */
854            @Override
855            public List<Group> getUserGroups(long userId, int start, int end,
856                    OrderByComparator<Group> orderByComparator) throws PortalException {
857                    return userPersistence.getGroups(userId, start, end, orderByComparator);
858            }
859    
860            /**
861             */
862            @Override
863            public int getUserGroupsCount(long userId) {
864                    return userPersistence.getGroupsSize(userId);
865            }
866    
867            /**
868             */
869            @Override
870            public boolean hasUserGroup(long userId, long groupId) {
871                    return userPersistence.containsGroup(userId, groupId);
872            }
873    
874            /**
875             */
876            @Override
877            public boolean hasUserGroups(long userId) {
878                    return userPersistence.containsGroups(userId);
879            }
880    
881            /**
882             */
883            @Override
884            public void setUserGroups(long userId, long[] groupIds) {
885                    userPersistence.setGroups(userId, groupIds);
886            }
887    
888            /**
889             * Returns the group local service.
890             *
891             * @return the group local service
892             */
893            public GroupLocalService getGroupLocalService() {
894                    return groupLocalService;
895            }
896    
897            /**
898             * Sets the group local service.
899             *
900             * @param groupLocalService the group local service
901             */
902            public void setGroupLocalService(GroupLocalService groupLocalService) {
903                    this.groupLocalService = groupLocalService;
904            }
905    
906            /**
907             * Returns the group persistence.
908             *
909             * @return the group persistence
910             */
911            public GroupPersistence getGroupPersistence() {
912                    return groupPersistence;
913            }
914    
915            /**
916             * Sets the group persistence.
917             *
918             * @param groupPersistence the group persistence
919             */
920            public void setGroupPersistence(GroupPersistence groupPersistence) {
921                    this.groupPersistence = groupPersistence;
922            }
923    
924            /**
925             * Returns the group finder.
926             *
927             * @return the group finder
928             */
929            public GroupFinder getGroupFinder() {
930                    return groupFinder;
931            }
932    
933            /**
934             * Sets the group finder.
935             *
936             * @param groupFinder the group finder
937             */
938            public void setGroupFinder(GroupFinder groupFinder) {
939                    this.groupFinder = groupFinder;
940            }
941    
942            /**
943             * Returns the counter local service.
944             *
945             * @return the counter local service
946             */
947            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
948                    return counterLocalService;
949            }
950    
951            /**
952             * Sets the counter local service.
953             *
954             * @param counterLocalService the counter local service
955             */
956            public void setCounterLocalService(
957                    com.liferay.counter.service.CounterLocalService counterLocalService) {
958                    this.counterLocalService = counterLocalService;
959            }
960    
961            /**
962             * Returns the account local service.
963             *
964             * @return the account local service
965             */
966            public com.liferay.portal.service.AccountLocalService getAccountLocalService() {
967                    return accountLocalService;
968            }
969    
970            /**
971             * Sets the account local service.
972             *
973             * @param accountLocalService the account local service
974             */
975            public void setAccountLocalService(
976                    com.liferay.portal.service.AccountLocalService accountLocalService) {
977                    this.accountLocalService = accountLocalService;
978            }
979    
980            /**
981             * Returns the account persistence.
982             *
983             * @return the account persistence
984             */
985            public AccountPersistence getAccountPersistence() {
986                    return accountPersistence;
987            }
988    
989            /**
990             * Sets the account persistence.
991             *
992             * @param accountPersistence the account persistence
993             */
994            public void setAccountPersistence(AccountPersistence accountPersistence) {
995                    this.accountPersistence = accountPersistence;
996            }
997    
998            /**
999             * Returns the class name local service.
1000             *
1001             * @return the class name local service
1002             */
1003            public com.liferay.portal.service.ClassNameLocalService getClassNameLocalService() {
1004                    return classNameLocalService;
1005            }
1006    
1007            /**
1008             * Sets the class name local service.
1009             *
1010             * @param classNameLocalService the class name local service
1011             */
1012            public void setClassNameLocalService(
1013                    com.liferay.portal.service.ClassNameLocalService classNameLocalService) {
1014                    this.classNameLocalService = classNameLocalService;
1015            }
1016    
1017            /**
1018             * Returns the class name persistence.
1019             *
1020             * @return the class name persistence
1021             */
1022            public ClassNamePersistence getClassNamePersistence() {
1023                    return classNamePersistence;
1024            }
1025    
1026            /**
1027             * Sets the class name persistence.
1028             *
1029             * @param classNamePersistence the class name persistence
1030             */
1031            public void setClassNamePersistence(
1032                    ClassNamePersistence classNamePersistence) {
1033                    this.classNamePersistence = classNamePersistence;
1034            }
1035    
1036            /**
1037             * Returns the company local service.
1038             *
1039             * @return the company local service
1040             */
1041            public com.liferay.portal.service.CompanyLocalService getCompanyLocalService() {
1042                    return companyLocalService;
1043            }
1044    
1045            /**
1046             * Sets the company local service.
1047             *
1048             * @param companyLocalService the company local service
1049             */
1050            public void setCompanyLocalService(
1051                    com.liferay.portal.service.CompanyLocalService companyLocalService) {
1052                    this.companyLocalService = companyLocalService;
1053            }
1054    
1055            /**
1056             * Returns the company persistence.
1057             *
1058             * @return the company persistence
1059             */
1060            public CompanyPersistence getCompanyPersistence() {
1061                    return companyPersistence;
1062            }
1063    
1064            /**
1065             * Sets the company persistence.
1066             *
1067             * @param companyPersistence the company persistence
1068             */
1069            public void setCompanyPersistence(CompanyPersistence companyPersistence) {
1070                    this.companyPersistence = companyPersistence;
1071            }
1072    
1073            /**
1074             * Returns the asset category local service.
1075             *
1076             * @return the asset category local service
1077             */
1078            public com.liferay.portlet.asset.service.AssetCategoryLocalService getAssetCategoryLocalService() {
1079                    return assetCategoryLocalService;
1080            }
1081    
1082            /**
1083             * Sets the asset category local service.
1084             *
1085             * @param assetCategoryLocalService the asset category local service
1086             */
1087            public void setAssetCategoryLocalService(
1088                    com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService) {
1089                    this.assetCategoryLocalService = assetCategoryLocalService;
1090            }
1091    
1092            /**
1093             * Returns the asset category persistence.
1094             *
1095             * @return the asset category persistence
1096             */
1097            public AssetCategoryPersistence getAssetCategoryPersistence() {
1098                    return assetCategoryPersistence;
1099            }
1100    
1101            /**
1102             * Sets the asset category persistence.
1103             *
1104             * @param assetCategoryPersistence the asset category persistence
1105             */
1106            public void setAssetCategoryPersistence(
1107                    AssetCategoryPersistence assetCategoryPersistence) {
1108                    this.assetCategoryPersistence = assetCategoryPersistence;
1109            }
1110    
1111            /**
1112             * Returns the asset category finder.
1113             *
1114             * @return the asset category finder
1115             */
1116            public AssetCategoryFinder getAssetCategoryFinder() {
1117                    return assetCategoryFinder;
1118            }
1119    
1120            /**
1121             * Sets the asset category finder.
1122             *
1123             * @param assetCategoryFinder the asset category finder
1124             */
1125            public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
1126                    this.assetCategoryFinder = assetCategoryFinder;
1127            }
1128    
1129            /**
1130             * Returns the asset entry local service.
1131             *
1132             * @return the asset entry local service
1133             */
1134            public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
1135                    return assetEntryLocalService;
1136            }
1137    
1138            /**
1139             * Sets the asset entry local service.
1140             *
1141             * @param assetEntryLocalService the asset entry local service
1142             */
1143            public void setAssetEntryLocalService(
1144                    com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
1145                    this.assetEntryLocalService = assetEntryLocalService;
1146            }
1147    
1148            /**
1149             * Returns the asset entry persistence.
1150             *
1151             * @return the asset entry persistence
1152             */
1153            public AssetEntryPersistence getAssetEntryPersistence() {
1154                    return assetEntryPersistence;
1155            }
1156    
1157            /**
1158             * Sets the asset entry persistence.
1159             *
1160             * @param assetEntryPersistence the asset entry persistence
1161             */
1162            public void setAssetEntryPersistence(
1163                    AssetEntryPersistence assetEntryPersistence) {
1164                    this.assetEntryPersistence = assetEntryPersistence;
1165            }
1166    
1167            /**
1168             * Returns the asset entry finder.
1169             *
1170             * @return the asset entry finder
1171             */
1172            public AssetEntryFinder getAssetEntryFinder() {
1173                    return assetEntryFinder;
1174            }
1175    
1176            /**
1177             * Sets the asset entry finder.
1178             *
1179             * @param assetEntryFinder the asset entry finder
1180             */
1181            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1182                    this.assetEntryFinder = assetEntryFinder;
1183            }
1184    
1185            /**
1186             * Returns the asset tag local service.
1187             *
1188             * @return the asset tag local service
1189             */
1190            public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
1191                    return assetTagLocalService;
1192            }
1193    
1194            /**
1195             * Sets the asset tag local service.
1196             *
1197             * @param assetTagLocalService the asset tag local service
1198             */
1199            public void setAssetTagLocalService(
1200                    com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
1201                    this.assetTagLocalService = assetTagLocalService;
1202            }
1203    
1204            /**
1205             * Returns the asset tag persistence.
1206             *
1207             * @return the asset tag persistence
1208             */
1209            public AssetTagPersistence getAssetTagPersistence() {
1210                    return assetTagPersistence;
1211            }
1212    
1213            /**
1214             * Sets the asset tag persistence.
1215             *
1216             * @param assetTagPersistence the asset tag persistence
1217             */
1218            public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1219                    this.assetTagPersistence = assetTagPersistence;
1220            }
1221    
1222            /**
1223             * Returns the asset tag finder.
1224             *
1225             * @return the asset tag finder
1226             */
1227            public AssetTagFinder getAssetTagFinder() {
1228                    return assetTagFinder;
1229            }
1230    
1231            /**
1232             * Sets the asset tag finder.
1233             *
1234             * @param assetTagFinder the asset tag finder
1235             */
1236            public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1237                    this.assetTagFinder = assetTagFinder;
1238            }
1239    
1240            /**
1241             * Returns the asset vocabulary local service.
1242             *
1243             * @return the asset vocabulary local service
1244             */
1245            public com.liferay.portlet.asset.service.AssetVocabularyLocalService getAssetVocabularyLocalService() {
1246                    return assetVocabularyLocalService;
1247            }
1248    
1249            /**
1250             * Sets the asset vocabulary local service.
1251             *
1252             * @param assetVocabularyLocalService the asset vocabulary local service
1253             */
1254            public void setAssetVocabularyLocalService(
1255                    com.liferay.portlet.asset.service.AssetVocabularyLocalService assetVocabularyLocalService) {
1256                    this.assetVocabularyLocalService = assetVocabularyLocalService;
1257            }
1258    
1259            /**
1260             * Returns the asset vocabulary persistence.
1261             *
1262             * @return the asset vocabulary persistence
1263             */
1264            public AssetVocabularyPersistence getAssetVocabularyPersistence() {
1265                    return assetVocabularyPersistence;
1266            }
1267    
1268            /**
1269             * Sets the asset vocabulary persistence.
1270             *
1271             * @param assetVocabularyPersistence the asset vocabulary persistence
1272             */
1273            public void setAssetVocabularyPersistence(
1274                    AssetVocabularyPersistence assetVocabularyPersistence) {
1275                    this.assetVocabularyPersistence = assetVocabularyPersistence;
1276            }
1277    
1278            /**
1279             * Returns the asset vocabulary finder.
1280             *
1281             * @return the asset vocabulary finder
1282             */
1283            public AssetVocabularyFinder getAssetVocabularyFinder() {
1284                    return assetVocabularyFinder;
1285            }
1286    
1287            /**
1288             * Sets the asset vocabulary finder.
1289             *
1290             * @param assetVocabularyFinder the asset vocabulary finder
1291             */
1292            public void setAssetVocabularyFinder(
1293                    AssetVocabularyFinder assetVocabularyFinder) {
1294                    this.assetVocabularyFinder = assetVocabularyFinder;
1295            }
1296    
1297            /**
1298             * Returns the d l app local service.
1299             *
1300             * @return the d l app local service
1301             */
1302            public com.liferay.portlet.documentlibrary.service.DLAppLocalService getDLAppLocalService() {
1303                    return dlAppLocalService;
1304            }
1305    
1306            /**
1307             * Sets the d l app local service.
1308             *
1309             * @param dlAppLocalService the d l app local service
1310             */
1311            public void setDLAppLocalService(
1312                    com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService) {
1313                    this.dlAppLocalService = dlAppLocalService;
1314            }
1315    
1316            /**
1317             * Returns the expando row local service.
1318             *
1319             * @return the expando row local service
1320             */
1321            public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
1322                    return expandoRowLocalService;
1323            }
1324    
1325            /**
1326             * Sets the expando row local service.
1327             *
1328             * @param expandoRowLocalService the expando row local service
1329             */
1330            public void setExpandoRowLocalService(
1331                    com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
1332                    this.expandoRowLocalService = expandoRowLocalService;
1333            }
1334    
1335            /**
1336             * Returns the expando row persistence.
1337             *
1338             * @return the expando row persistence
1339             */
1340            public ExpandoRowPersistence getExpandoRowPersistence() {
1341                    return expandoRowPersistence;
1342            }
1343    
1344            /**
1345             * Sets the expando row persistence.
1346             *
1347             * @param expandoRowPersistence the expando row persistence
1348             */
1349            public void setExpandoRowPersistence(
1350                    ExpandoRowPersistence expandoRowPersistence) {
1351                    this.expandoRowPersistence = expandoRowPersistence;
1352            }
1353    
1354            /**
1355             * Returns the export import local service.
1356             *
1357             * @return the export import local service
1358             */
1359            public com.liferay.portlet.exportimport.service.ExportImportLocalService getExportImportLocalService() {
1360                    return exportImportLocalService;
1361            }
1362    
1363            /**
1364             * Sets the export import local service.
1365             *
1366             * @param exportImportLocalService the export import local service
1367             */
1368            public void setExportImportLocalService(
1369                    com.liferay.portlet.exportimport.service.ExportImportLocalService exportImportLocalService) {
1370                    this.exportImportLocalService = exportImportLocalService;
1371            }
1372    
1373            /**
1374             * Returns the export import configuration local service.
1375             *
1376             * @return the export import configuration local service
1377             */
1378            public com.liferay.portlet.exportimport.service.ExportImportConfigurationLocalService getExportImportConfigurationLocalService() {
1379                    return exportImportConfigurationLocalService;
1380            }
1381    
1382            /**
1383             * Sets the export import configuration local service.
1384             *
1385             * @param exportImportConfigurationLocalService the export import configuration local service
1386             */
1387            public void setExportImportConfigurationLocalService(
1388                    com.liferay.portlet.exportimport.service.ExportImportConfigurationLocalService exportImportConfigurationLocalService) {
1389                    this.exportImportConfigurationLocalService = exportImportConfigurationLocalService;
1390            }
1391    
1392            /**
1393             * Returns the export import configuration persistence.
1394             *
1395             * @return the export import configuration persistence
1396             */
1397            public ExportImportConfigurationPersistence getExportImportConfigurationPersistence() {
1398                    return exportImportConfigurationPersistence;
1399            }
1400    
1401            /**
1402             * Sets the export import configuration persistence.
1403             *
1404             * @param exportImportConfigurationPersistence the export import configuration persistence
1405             */
1406            public void setExportImportConfigurationPersistence(
1407                    ExportImportConfigurationPersistence exportImportConfigurationPersistence) {
1408                    this.exportImportConfigurationPersistence = exportImportConfigurationPersistence;
1409            }
1410    
1411            /**
1412             * Returns the export import configuration finder.
1413             *
1414             * @return the export import configuration finder
1415             */
1416            public ExportImportConfigurationFinder getExportImportConfigurationFinder() {
1417                    return exportImportConfigurationFinder;
1418            }
1419    
1420            /**
1421             * Sets the export import configuration finder.
1422             *
1423             * @param exportImportConfigurationFinder the export import configuration finder
1424             */
1425            public void setExportImportConfigurationFinder(
1426                    ExportImportConfigurationFinder exportImportConfigurationFinder) {
1427                    this.exportImportConfigurationFinder = exportImportConfigurationFinder;
1428            }
1429    
1430            /**
1431             * Returns the staging local service.
1432             *
1433             * @return the staging local service
1434             */
1435            public com.liferay.portlet.exportimport.service.StagingLocalService getStagingLocalService() {
1436                    return stagingLocalService;
1437            }
1438    
1439            /**
1440             * Sets the staging local service.
1441             *
1442             * @param stagingLocalService the staging local service
1443             */
1444            public void setStagingLocalService(
1445                    com.liferay.portlet.exportimport.service.StagingLocalService stagingLocalService) {
1446                    this.stagingLocalService = stagingLocalService;
1447            }
1448    
1449            /**
1450             * Returns the social activity local service.
1451             *
1452             * @return the social activity local service
1453             */
1454            public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
1455                    return socialActivityLocalService;
1456            }
1457    
1458            /**
1459             * Sets the social activity local service.
1460             *
1461             * @param socialActivityLocalService the social activity local service
1462             */
1463            public void setSocialActivityLocalService(
1464                    com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
1465                    this.socialActivityLocalService = socialActivityLocalService;
1466            }
1467    
1468            /**
1469             * Returns the social activity persistence.
1470             *
1471             * @return the social activity persistence
1472             */
1473            public SocialActivityPersistence getSocialActivityPersistence() {
1474                    return socialActivityPersistence;
1475            }
1476    
1477            /**
1478             * Sets the social activity persistence.
1479             *
1480             * @param socialActivityPersistence the social activity persistence
1481             */
1482            public void setSocialActivityPersistence(
1483                    SocialActivityPersistence socialActivityPersistence) {
1484                    this.socialActivityPersistence = socialActivityPersistence;
1485            }
1486    
1487            /**
1488             * Returns the social activity finder.
1489             *
1490             * @return the social activity finder
1491             */
1492            public SocialActivityFinder getSocialActivityFinder() {
1493                    return socialActivityFinder;
1494            }
1495    
1496            /**
1497             * Sets the social activity finder.
1498             *
1499             * @param socialActivityFinder the social activity finder
1500             */
1501            public void setSocialActivityFinder(
1502                    SocialActivityFinder socialActivityFinder) {
1503                    this.socialActivityFinder = socialActivityFinder;
1504            }
1505    
1506            /**
1507             * Returns the social activity setting local service.
1508             *
1509             * @return the social activity setting local service
1510             */
1511            public com.liferay.portlet.social.service.SocialActivitySettingLocalService getSocialActivitySettingLocalService() {
1512                    return socialActivitySettingLocalService;
1513            }
1514    
1515            /**
1516             * Sets the social activity setting local service.
1517             *
1518             * @param socialActivitySettingLocalService the social activity setting local service
1519             */
1520            public void setSocialActivitySettingLocalService(
1521                    com.liferay.portlet.social.service.SocialActivitySettingLocalService socialActivitySettingLocalService) {
1522                    this.socialActivitySettingLocalService = socialActivitySettingLocalService;
1523            }
1524    
1525            /**
1526             * Returns the social activity setting persistence.
1527             *
1528             * @return the social activity setting persistence
1529             */
1530            public SocialActivitySettingPersistence getSocialActivitySettingPersistence() {
1531                    return socialActivitySettingPersistence;
1532            }
1533    
1534            /**
1535             * Sets the social activity setting persistence.
1536             *
1537             * @param socialActivitySettingPersistence the social activity setting persistence
1538             */
1539            public void setSocialActivitySettingPersistence(
1540                    SocialActivitySettingPersistence socialActivitySettingPersistence) {
1541                    this.socialActivitySettingPersistence = socialActivitySettingPersistence;
1542            }
1543    
1544            /**
1545             * Returns the social request local service.
1546             *
1547             * @return the social request local service
1548             */
1549            public com.liferay.portlet.social.service.SocialRequestLocalService getSocialRequestLocalService() {
1550                    return socialRequestLocalService;
1551            }
1552    
1553            /**
1554             * Sets the social request local service.
1555             *
1556             * @param socialRequestLocalService the social request local service
1557             */
1558            public void setSocialRequestLocalService(
1559                    com.liferay.portlet.social.service.SocialRequestLocalService socialRequestLocalService) {
1560                    this.socialRequestLocalService = socialRequestLocalService;
1561            }
1562    
1563            /**
1564             * Returns the social request persistence.
1565             *
1566             * @return the social request persistence
1567             */
1568            public SocialRequestPersistence getSocialRequestPersistence() {
1569                    return socialRequestPersistence;
1570            }
1571    
1572            /**
1573             * Sets the social request persistence.
1574             *
1575             * @param socialRequestPersistence the social request persistence
1576             */
1577            public void setSocialRequestPersistence(
1578                    SocialRequestPersistence socialRequestPersistence) {
1579                    this.socialRequestPersistence = socialRequestPersistence;
1580            }
1581    
1582            /**
1583             * Returns the trash entry local service.
1584             *
1585             * @return the trash entry local service
1586             */
1587            public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
1588                    return trashEntryLocalService;
1589            }
1590    
1591            /**
1592             * Sets the trash entry local service.
1593             *
1594             * @param trashEntryLocalService the trash entry local service
1595             */
1596            public void setTrashEntryLocalService(
1597                    com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
1598                    this.trashEntryLocalService = trashEntryLocalService;
1599            }
1600    
1601            /**
1602             * Returns the trash entry persistence.
1603             *
1604             * @return the trash entry persistence
1605             */
1606            public TrashEntryPersistence getTrashEntryPersistence() {
1607                    return trashEntryPersistence;
1608            }
1609    
1610            /**
1611             * Sets the trash entry persistence.
1612             *
1613             * @param trashEntryPersistence the trash entry persistence
1614             */
1615            public void setTrashEntryPersistence(
1616                    TrashEntryPersistence trashEntryPersistence) {
1617                    this.trashEntryPersistence = trashEntryPersistence;
1618            }
1619    
1620            /**
1621             * Returns the layout local service.
1622             *
1623             * @return the layout local service
1624             */
1625            public com.liferay.portal.service.LayoutLocalService getLayoutLocalService() {
1626                    return layoutLocalService;
1627            }
1628    
1629            /**
1630             * Sets the layout local service.
1631             *
1632             * @param layoutLocalService the layout local service
1633             */
1634            public void setLayoutLocalService(
1635                    com.liferay.portal.service.LayoutLocalService layoutLocalService) {
1636                    this.layoutLocalService = layoutLocalService;
1637            }
1638    
1639            /**
1640             * Returns the layout persistence.
1641             *
1642             * @return the layout persistence
1643             */
1644            public LayoutPersistence getLayoutPersistence() {
1645                    return layoutPersistence;
1646            }
1647    
1648            /**
1649             * Sets the layout persistence.
1650             *
1651             * @param layoutPersistence the layout persistence
1652             */
1653            public void setLayoutPersistence(LayoutPersistence layoutPersistence) {
1654                    this.layoutPersistence = layoutPersistence;
1655            }
1656    
1657            /**
1658             * Returns the layout finder.
1659             *
1660             * @return the layout finder
1661             */
1662            public LayoutFinder getLayoutFinder() {
1663                    return layoutFinder;
1664            }
1665    
1666            /**
1667             * Sets the layout finder.
1668             *
1669             * @param layoutFinder the layout finder
1670             */
1671            public void setLayoutFinder(LayoutFinder layoutFinder) {
1672                    this.layoutFinder = layoutFinder;
1673            }
1674    
1675            /**
1676             * Returns the layout prototype local service.
1677             *
1678             * @return the layout prototype local service
1679             */
1680            public com.liferay.portal.service.LayoutPrototypeLocalService getLayoutPrototypeLocalService() {
1681                    return layoutPrototypeLocalService;
1682            }
1683    
1684            /**
1685             * Sets the layout prototype local service.
1686             *
1687             * @param layoutPrototypeLocalService the layout prototype local service
1688             */
1689            public void setLayoutPrototypeLocalService(
1690                    com.liferay.portal.service.LayoutPrototypeLocalService layoutPrototypeLocalService) {
1691                    this.layoutPrototypeLocalService = layoutPrototypeLocalService;
1692            }
1693    
1694            /**
1695             * Returns the layout prototype persistence.
1696             *
1697             * @return the layout prototype persistence
1698             */
1699            public LayoutPrototypePersistence getLayoutPrototypePersistence() {
1700                    return layoutPrototypePersistence;
1701            }
1702    
1703            /**
1704             * Sets the layout prototype persistence.
1705             *
1706             * @param layoutPrototypePersistence the layout prototype persistence
1707             */
1708            public void setLayoutPrototypePersistence(
1709                    LayoutPrototypePersistence layoutPrototypePersistence) {
1710                    this.layoutPrototypePersistence = layoutPrototypePersistence;
1711            }
1712    
1713            /**
1714             * Returns the layout set local service.
1715             *
1716             * @return the layout set local service
1717             */
1718            public com.liferay.portal.service.LayoutSetLocalService getLayoutSetLocalService() {
1719                    return layoutSetLocalService;
1720            }
1721    
1722            /**
1723             * Sets the layout set local service.
1724             *
1725             * @param layoutSetLocalService the layout set local service
1726             */
1727            public void setLayoutSetLocalService(
1728                    com.liferay.portal.service.LayoutSetLocalService layoutSetLocalService) {
1729                    this.layoutSetLocalService = layoutSetLocalService;
1730            }
1731    
1732            /**
1733             * Returns the layout set persistence.
1734             *
1735             * @return the layout set persistence
1736             */
1737            public LayoutSetPersistence getLayoutSetPersistence() {
1738                    return layoutSetPersistence;
1739            }
1740    
1741            /**
1742             * Sets the layout set persistence.
1743             *
1744             * @param layoutSetPersistence the layout set persistence
1745             */
1746            public void setLayoutSetPersistence(
1747                    LayoutSetPersistence layoutSetPersistence) {
1748                    this.layoutSetPersistence = layoutSetPersistence;
1749            }
1750    
1751            /**
1752             * Returns the layout set branch local service.
1753             *
1754             * @return the layout set branch local service
1755             */
1756            public com.liferay.portal.service.LayoutSetBranchLocalService getLayoutSetBranchLocalService() {
1757                    return layoutSetBranchLocalService;
1758            }
1759    
1760            /**
1761             * Sets the layout set branch local service.
1762             *
1763             * @param layoutSetBranchLocalService the layout set branch local service
1764             */
1765            public void setLayoutSetBranchLocalService(
1766                    com.liferay.portal.service.LayoutSetBranchLocalService layoutSetBranchLocalService) {
1767                    this.layoutSetBranchLocalService = layoutSetBranchLocalService;
1768            }
1769    
1770            /**
1771             * Returns the layout set branch persistence.
1772             *
1773             * @return the layout set branch persistence
1774             */
1775            public LayoutSetBranchPersistence getLayoutSetBranchPersistence() {
1776                    return layoutSetBranchPersistence;
1777            }
1778    
1779            /**
1780             * Sets the layout set branch persistence.
1781             *
1782             * @param layoutSetBranchPersistence the layout set branch persistence
1783             */
1784            public void setLayoutSetBranchPersistence(
1785                    LayoutSetBranchPersistence layoutSetBranchPersistence) {
1786                    this.layoutSetBranchPersistence = layoutSetBranchPersistence;
1787            }
1788    
1789            /**
1790             * Returns the layout set prototype local service.
1791             *
1792             * @return the layout set prototype local service
1793             */
1794            public com.liferay.portal.service.LayoutSetPrototypeLocalService getLayoutSetPrototypeLocalService() {
1795                    return layoutSetPrototypeLocalService;
1796            }
1797    
1798            /**
1799             * Sets the layout set prototype local service.
1800             *
1801             * @param layoutSetPrototypeLocalService the layout set prototype local service
1802             */
1803            public void setLayoutSetPrototypeLocalService(
1804                    com.liferay.portal.service.LayoutSetPrototypeLocalService layoutSetPrototypeLocalService) {
1805                    this.layoutSetPrototypeLocalService = layoutSetPrototypeLocalService;
1806            }
1807    
1808            /**
1809             * Returns the layout set prototype persistence.
1810             *
1811             * @return the layout set prototype persistence
1812             */
1813            public LayoutSetPrototypePersistence getLayoutSetPrototypePersistence() {
1814                    return layoutSetPrototypePersistence;
1815            }
1816    
1817            /**
1818             * Sets the layout set prototype persistence.
1819             *
1820             * @param layoutSetPrototypePersistence the layout set prototype persistence
1821             */
1822            public void setLayoutSetPrototypePersistence(
1823                    LayoutSetPrototypePersistence layoutSetPrototypePersistence) {
1824                    this.layoutSetPrototypePersistence = layoutSetPrototypePersistence;
1825            }
1826    
1827            /**
1828             * Returns the membership request local service.
1829             *
1830             * @return the membership request local service
1831             */
1832            public com.liferay.portal.service.MembershipRequestLocalService getMembershipRequestLocalService() {
1833                    return membershipRequestLocalService;
1834            }
1835    
1836            /**
1837             * Sets the membership request local service.
1838             *
1839             * @param membershipRequestLocalService the membership request local service
1840             */
1841            public void setMembershipRequestLocalService(
1842                    com.liferay.portal.service.MembershipRequestLocalService membershipRequestLocalService) {
1843                    this.membershipRequestLocalService = membershipRequestLocalService;
1844            }
1845    
1846            /**
1847             * Returns the membership request persistence.
1848             *
1849             * @return the membership request persistence
1850             */
1851            public MembershipRequestPersistence getMembershipRequestPersistence() {
1852                    return membershipRequestPersistence;
1853            }
1854    
1855            /**
1856             * Sets the membership request persistence.
1857             *
1858             * @param membershipRequestPersistence the membership request persistence
1859             */
1860            public void setMembershipRequestPersistence(
1861                    MembershipRequestPersistence membershipRequestPersistence) {
1862                    this.membershipRequestPersistence = membershipRequestPersistence;
1863            }
1864    
1865            /**
1866             * Returns the organization local service.
1867             *
1868             * @return the organization local service
1869             */
1870            public com.liferay.portal.service.OrganizationLocalService getOrganizationLocalService() {
1871                    return organizationLocalService;
1872            }
1873    
1874            /**
1875             * Sets the organization local service.
1876             *
1877             * @param organizationLocalService the organization local service
1878             */
1879            public void setOrganizationLocalService(
1880                    com.liferay.portal.service.OrganizationLocalService organizationLocalService) {
1881                    this.organizationLocalService = organizationLocalService;
1882            }
1883    
1884            /**
1885             * Returns the organization persistence.
1886             *
1887             * @return the organization persistence
1888             */
1889            public OrganizationPersistence getOrganizationPersistence() {
1890                    return organizationPersistence;
1891            }
1892    
1893            /**
1894             * Sets the organization persistence.
1895             *
1896             * @param organizationPersistence the organization persistence
1897             */
1898            public void setOrganizationPersistence(
1899                    OrganizationPersistence organizationPersistence) {
1900                    this.organizationPersistence = organizationPersistence;
1901            }
1902    
1903            /**
1904             * Returns the organization finder.
1905             *
1906             * @return the organization finder
1907             */
1908            public OrganizationFinder getOrganizationFinder() {
1909                    return organizationFinder;
1910            }
1911    
1912            /**
1913             * Sets the organization finder.
1914             *
1915             * @param organizationFinder the organization finder
1916             */
1917            public void setOrganizationFinder(OrganizationFinder organizationFinder) {
1918                    this.organizationFinder = organizationFinder;
1919            }
1920    
1921            /**
1922             * Returns the portlet local service.
1923             *
1924             * @return the portlet local service
1925             */
1926            public com.liferay.portal.service.PortletLocalService getPortletLocalService() {
1927                    return portletLocalService;
1928            }
1929    
1930            /**
1931             * Sets the portlet local service.
1932             *
1933             * @param portletLocalService the portlet local service
1934             */
1935            public void setPortletLocalService(
1936                    com.liferay.portal.service.PortletLocalService portletLocalService) {
1937                    this.portletLocalService = portletLocalService;
1938            }
1939    
1940            /**
1941             * Returns the portlet persistence.
1942             *
1943             * @return the portlet persistence
1944             */
1945            public PortletPersistence getPortletPersistence() {
1946                    return portletPersistence;
1947            }
1948    
1949            /**
1950             * Sets the portlet persistence.
1951             *
1952             * @param portletPersistence the portlet persistence
1953             */
1954            public void setPortletPersistence(PortletPersistence portletPersistence) {
1955                    this.portletPersistence = portletPersistence;
1956            }
1957    
1958            /**
1959             * Returns the portlet preferences local service.
1960             *
1961             * @return the portlet preferences local service
1962             */
1963            public com.liferay.portal.service.PortletPreferencesLocalService getPortletPreferencesLocalService() {
1964                    return portletPreferencesLocalService;
1965            }
1966    
1967            /**
1968             * Sets the portlet preferences local service.
1969             *
1970             * @param portletPreferencesLocalService the portlet preferences local service
1971             */
1972            public void setPortletPreferencesLocalService(
1973                    com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService) {
1974                    this.portletPreferencesLocalService = portletPreferencesLocalService;
1975            }
1976    
1977            /**
1978             * Returns the portlet preferences persistence.
1979             *
1980             * @return the portlet preferences persistence
1981             */
1982            public PortletPreferencesPersistence getPortletPreferencesPersistence() {
1983                    return portletPreferencesPersistence;
1984            }
1985    
1986            /**
1987             * Sets the portlet preferences persistence.
1988             *
1989             * @param portletPreferencesPersistence the portlet preferences persistence
1990             */
1991            public void setPortletPreferencesPersistence(
1992                    PortletPreferencesPersistence portletPreferencesPersistence) {
1993                    this.portletPreferencesPersistence = portletPreferencesPersistence;
1994            }
1995    
1996            /**
1997             * Returns the portlet preferences finder.
1998             *
1999             * @return the portlet preferences finder
2000             */
2001            public PortletPreferencesFinder getPortletPreferencesFinder() {
2002                    return portletPreferencesFinder;
2003            }
2004    
2005            /**
2006             * Sets the portlet preferences finder.
2007             *
2008             * @param portletPreferencesFinder the portlet preferences finder
2009             */
2010            public void setPortletPreferencesFinder(
2011                    PortletPreferencesFinder portletPreferencesFinder) {
2012                    this.portletPreferencesFinder = portletPreferencesFinder;
2013            }
2014    
2015            /**
2016             * Returns the resource local service.
2017             *
2018             * @return the resource local service
2019             */
2020            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
2021                    return resourceLocalService;
2022            }
2023    
2024            /**
2025             * Sets the resource local service.
2026             *
2027             * @param resourceLocalService the resource local service
2028             */
2029            public void setResourceLocalService(
2030                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
2031                    this.resourceLocalService = resourceLocalService;
2032            }
2033    
2034            /**
2035             * Returns the resource action local service.
2036             *
2037             * @return the resource action local service
2038             */
2039            public com.liferay.portal.service.ResourceActionLocalService getResourceActionLocalService() {
2040                    return resourceActionLocalService;
2041            }
2042    
2043            /**
2044             * Sets the resource action local service.
2045             *
2046             * @param resourceActionLocalService the resource action local service
2047             */
2048            public void setResourceActionLocalService(
2049                    com.liferay.portal.service.ResourceActionLocalService resourceActionLocalService) {
2050                    this.resourceActionLocalService = resourceActionLocalService;
2051            }
2052    
2053            /**
2054             * Returns the resource action persistence.
2055             *
2056             * @return the resource action persistence
2057             */
2058            public ResourceActionPersistence getResourceActionPersistence() {
2059                    return resourceActionPersistence;
2060            }
2061    
2062            /**
2063             * Sets the resource action persistence.
2064             *
2065             * @param resourceActionPersistence the resource action persistence
2066             */
2067            public void setResourceActionPersistence(
2068                    ResourceActionPersistence resourceActionPersistence) {
2069                    this.resourceActionPersistence = resourceActionPersistence;
2070            }
2071    
2072            /**
2073             * Returns the resource block local service.
2074             *
2075             * @return the resource block local service
2076             */
2077            public com.liferay.portal.service.ResourceBlockLocalService getResourceBlockLocalService() {
2078                    return resourceBlockLocalService;
2079            }
2080    
2081            /**
2082             * Sets the resource block local service.
2083             *
2084             * @param resourceBlockLocalService the resource block local service
2085             */
2086            public void setResourceBlockLocalService(
2087                    com.liferay.portal.service.ResourceBlockLocalService resourceBlockLocalService) {
2088                    this.resourceBlockLocalService = resourceBlockLocalService;
2089            }
2090    
2091            /**
2092             * Returns the resource block persistence.
2093             *
2094             * @return the resource block persistence
2095             */
2096            public ResourceBlockPersistence getResourceBlockPersistence() {
2097                    return resourceBlockPersistence;
2098            }
2099    
2100            /**
2101             * Sets the resource block persistence.
2102             *
2103             * @param resourceBlockPersistence the resource block persistence
2104             */
2105            public void setResourceBlockPersistence(
2106                    ResourceBlockPersistence resourceBlockPersistence) {
2107                    this.resourceBlockPersistence = resourceBlockPersistence;
2108            }
2109    
2110            /**
2111             * Returns the resource block finder.
2112             *
2113             * @return the resource block finder
2114             */
2115            public ResourceBlockFinder getResourceBlockFinder() {
2116                    return resourceBlockFinder;
2117            }
2118    
2119            /**
2120             * Sets the resource block finder.
2121             *
2122             * @param resourceBlockFinder the resource block finder
2123             */
2124            public void setResourceBlockFinder(ResourceBlockFinder resourceBlockFinder) {
2125                    this.resourceBlockFinder = resourceBlockFinder;
2126            }
2127    
2128            /**
2129             * Returns the resource permission local service.
2130             *
2131             * @return the resource permission local service
2132             */
2133            public com.liferay.portal.service.ResourcePermissionLocalService getResourcePermissionLocalService() {
2134                    return resourcePermissionLocalService;
2135            }
2136    
2137            /**
2138             * Sets the resource permission local service.
2139             *
2140             * @param resourcePermissionLocalService the resource permission local service
2141             */
2142            public void setResourcePermissionLocalService(
2143                    com.liferay.portal.service.ResourcePermissionLocalService resourcePermissionLocalService) {
2144                    this.resourcePermissionLocalService = resourcePermissionLocalService;
2145            }
2146    
2147            /**
2148             * Returns the resource permission persistence.
2149             *
2150             * @return the resource permission persistence
2151             */
2152            public ResourcePermissionPersistence getResourcePermissionPersistence() {
2153                    return resourcePermissionPersistence;
2154            }
2155    
2156            /**
2157             * Sets the resource permission persistence.
2158             *
2159             * @param resourcePermissionPersistence the resource permission persistence
2160             */
2161            public void setResourcePermissionPersistence(
2162                    ResourcePermissionPersistence resourcePermissionPersistence) {
2163                    this.resourcePermissionPersistence = resourcePermissionPersistence;
2164            }
2165    
2166            /**
2167             * Returns the resource permission finder.
2168             *
2169             * @return the resource permission finder
2170             */
2171            public ResourcePermissionFinder getResourcePermissionFinder() {
2172                    return resourcePermissionFinder;
2173            }
2174    
2175            /**
2176             * Sets the resource permission finder.
2177             *
2178             * @param resourcePermissionFinder the resource permission finder
2179             */
2180            public void setResourcePermissionFinder(
2181                    ResourcePermissionFinder resourcePermissionFinder) {
2182                    this.resourcePermissionFinder = resourcePermissionFinder;
2183            }
2184    
2185            /**
2186             * Returns the resource type permission local service.
2187             *
2188             * @return the resource type permission local service
2189             */
2190            public com.liferay.portal.service.ResourceTypePermissionLocalService getResourceTypePermissionLocalService() {
2191                    return resourceTypePermissionLocalService;
2192            }
2193    
2194            /**
2195             * Sets the resource type permission local service.
2196             *
2197             * @param resourceTypePermissionLocalService the resource type permission local service
2198             */
2199            public void setResourceTypePermissionLocalService(
2200                    com.liferay.portal.service.ResourceTypePermissionLocalService resourceTypePermissionLocalService) {
2201                    this.resourceTypePermissionLocalService = resourceTypePermissionLocalService;
2202            }
2203    
2204            /**
2205             * Returns the resource type permission persistence.
2206             *
2207             * @return the resource type permission persistence
2208             */
2209            public ResourceTypePermissionPersistence getResourceTypePermissionPersistence() {
2210                    return resourceTypePermissionPersistence;
2211            }
2212    
2213            /**
2214             * Sets the resource type permission persistence.
2215             *
2216             * @param resourceTypePermissionPersistence the resource type permission persistence
2217             */
2218            public void setResourceTypePermissionPersistence(
2219                    ResourceTypePermissionPersistence resourceTypePermissionPersistence) {
2220                    this.resourceTypePermissionPersistence = resourceTypePermissionPersistence;
2221            }
2222    
2223            /**
2224             * Returns the resource type permission finder.
2225             *
2226             * @return the resource type permission finder
2227             */
2228            public ResourceTypePermissionFinder getResourceTypePermissionFinder() {
2229                    return resourceTypePermissionFinder;
2230            }
2231    
2232            /**
2233             * Sets the resource type permission finder.
2234             *
2235             * @param resourceTypePermissionFinder the resource type permission finder
2236             */
2237            public void setResourceTypePermissionFinder(
2238                    ResourceTypePermissionFinder resourceTypePermissionFinder) {
2239                    this.resourceTypePermissionFinder = resourceTypePermissionFinder;
2240            }
2241    
2242            /**
2243             * Returns the role local service.
2244             *
2245             * @return the role local service
2246             */
2247            public com.liferay.portal.service.RoleLocalService getRoleLocalService() {
2248                    return roleLocalService;
2249            }
2250    
2251            /**
2252             * Sets the role local service.
2253             *
2254             * @param roleLocalService the role local service
2255             */
2256            public void setRoleLocalService(
2257                    com.liferay.portal.service.RoleLocalService roleLocalService) {
2258                    this.roleLocalService = roleLocalService;
2259            }
2260    
2261            /**
2262             * Returns the role persistence.
2263             *
2264             * @return the role persistence
2265             */
2266            public RolePersistence getRolePersistence() {
2267                    return rolePersistence;
2268            }
2269    
2270            /**
2271             * Sets the role persistence.
2272             *
2273             * @param rolePersistence the role persistence
2274             */
2275            public void setRolePersistence(RolePersistence rolePersistence) {
2276                    this.rolePersistence = rolePersistence;
2277            }
2278    
2279            /**
2280             * Returns the role finder.
2281             *
2282             * @return the role finder
2283             */
2284            public RoleFinder getRoleFinder() {
2285                    return roleFinder;
2286            }
2287    
2288            /**
2289             * Sets the role finder.
2290             *
2291             * @param roleFinder the role finder
2292             */
2293            public void setRoleFinder(RoleFinder roleFinder) {
2294                    this.roleFinder = roleFinder;
2295            }
2296    
2297            /**
2298             * Returns the subscription local service.
2299             *
2300             * @return the subscription local service
2301             */
2302            public com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService() {
2303                    return subscriptionLocalService;
2304            }
2305    
2306            /**
2307             * Sets the subscription local service.
2308             *
2309             * @param subscriptionLocalService the subscription local service
2310             */
2311            public void setSubscriptionLocalService(
2312                    com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService) {
2313                    this.subscriptionLocalService = subscriptionLocalService;
2314            }
2315    
2316            /**
2317             * Returns the subscription persistence.
2318             *
2319             * @return the subscription persistence
2320             */
2321            public SubscriptionPersistence getSubscriptionPersistence() {
2322                    return subscriptionPersistence;
2323            }
2324    
2325            /**
2326             * Sets the subscription persistence.
2327             *
2328             * @param subscriptionPersistence the subscription persistence
2329             */
2330            public void setSubscriptionPersistence(
2331                    SubscriptionPersistence subscriptionPersistence) {
2332                    this.subscriptionPersistence = subscriptionPersistence;
2333            }
2334    
2335            /**
2336             * Returns the team local service.
2337             *
2338             * @return the team local service
2339             */
2340            public com.liferay.portal.service.TeamLocalService getTeamLocalService() {
2341                    return teamLocalService;
2342            }
2343    
2344            /**
2345             * Sets the team local service.
2346             *
2347             * @param teamLocalService the team local service
2348             */
2349            public void setTeamLocalService(
2350                    com.liferay.portal.service.TeamLocalService teamLocalService) {
2351                    this.teamLocalService = teamLocalService;
2352            }
2353    
2354            /**
2355             * Returns the team persistence.
2356             *
2357             * @return the team persistence
2358             */
2359            public TeamPersistence getTeamPersistence() {
2360                    return teamPersistence;
2361            }
2362    
2363            /**
2364             * Sets the team persistence.
2365             *
2366             * @param teamPersistence the team persistence
2367             */
2368            public void setTeamPersistence(TeamPersistence teamPersistence) {
2369                    this.teamPersistence = teamPersistence;
2370            }
2371    
2372            /**
2373             * Returns the team finder.
2374             *
2375             * @return the team finder
2376             */
2377            public TeamFinder getTeamFinder() {
2378                    return teamFinder;
2379            }
2380    
2381            /**
2382             * Sets the team finder.
2383             *
2384             * @param teamFinder the team finder
2385             */
2386            public void setTeamFinder(TeamFinder teamFinder) {
2387                    this.teamFinder = teamFinder;
2388            }
2389    
2390            /**
2391             * Returns the user local service.
2392             *
2393             * @return the user local service
2394             */
2395            public com.liferay.portal.service.UserLocalService getUserLocalService() {
2396                    return userLocalService;
2397            }
2398    
2399            /**
2400             * Sets the user local service.
2401             *
2402             * @param userLocalService the user local service
2403             */
2404            public void setUserLocalService(
2405                    com.liferay.portal.service.UserLocalService userLocalService) {
2406                    this.userLocalService = userLocalService;
2407            }
2408    
2409            /**
2410             * Returns the user persistence.
2411             *
2412             * @return the user persistence
2413             */
2414            public UserPersistence getUserPersistence() {
2415                    return userPersistence;
2416            }
2417    
2418            /**
2419             * Sets the user persistence.
2420             *
2421             * @param userPersistence the user persistence
2422             */
2423            public void setUserPersistence(UserPersistence userPersistence) {
2424                    this.userPersistence = userPersistence;
2425            }
2426    
2427            /**
2428             * Returns the user finder.
2429             *
2430             * @return the user finder
2431             */
2432            public UserFinder getUserFinder() {
2433                    return userFinder;
2434            }
2435    
2436            /**
2437             * Sets the user finder.
2438             *
2439             * @param userFinder the user finder
2440             */
2441            public void setUserFinder(UserFinder userFinder) {
2442                    this.userFinder = userFinder;
2443            }
2444    
2445            /**
2446             * Returns the user group local service.
2447             *
2448             * @return the user group local service
2449             */
2450            public com.liferay.portal.service.UserGroupLocalService getUserGroupLocalService() {
2451                    return userGroupLocalService;
2452            }
2453    
2454            /**
2455             * Sets the user group local service.
2456             *
2457             * @param userGroupLocalService the user group local service
2458             */
2459            public void setUserGroupLocalService(
2460                    com.liferay.portal.service.UserGroupLocalService userGroupLocalService) {
2461                    this.userGroupLocalService = userGroupLocalService;
2462            }
2463    
2464            /**
2465             * Returns the user group persistence.
2466             *
2467             * @return the user group persistence
2468             */
2469            public UserGroupPersistence getUserGroupPersistence() {
2470                    return userGroupPersistence;
2471            }
2472    
2473            /**
2474             * Sets the user group persistence.
2475             *
2476             * @param userGroupPersistence the user group persistence
2477             */
2478            public void setUserGroupPersistence(
2479                    UserGroupPersistence userGroupPersistence) {
2480                    this.userGroupPersistence = userGroupPersistence;
2481            }
2482    
2483            /**
2484             * Returns the user group finder.
2485             *
2486             * @return the user group finder
2487             */
2488            public UserGroupFinder getUserGroupFinder() {
2489                    return userGroupFinder;
2490            }
2491    
2492            /**
2493             * Sets the user group finder.
2494             *
2495             * @param userGroupFinder the user group finder
2496             */
2497            public void setUserGroupFinder(UserGroupFinder userGroupFinder) {
2498                    this.userGroupFinder = userGroupFinder;
2499            }
2500    
2501            /**
2502             * Returns the user group group role local service.
2503             *
2504             * @return the user group group role local service
2505             */
2506            public com.liferay.portal.service.UserGroupGroupRoleLocalService getUserGroupGroupRoleLocalService() {
2507                    return userGroupGroupRoleLocalService;
2508            }
2509    
2510            /**
2511             * Sets the user group group role local service.
2512             *
2513             * @param userGroupGroupRoleLocalService the user group group role local service
2514             */
2515            public void setUserGroupGroupRoleLocalService(
2516                    com.liferay.portal.service.UserGroupGroupRoleLocalService userGroupGroupRoleLocalService) {
2517                    this.userGroupGroupRoleLocalService = userGroupGroupRoleLocalService;
2518            }
2519    
2520            /**
2521             * Returns the user group group role persistence.
2522             *
2523             * @return the user group group role persistence
2524             */
2525            public UserGroupGroupRolePersistence getUserGroupGroupRolePersistence() {
2526                    return userGroupGroupRolePersistence;
2527            }
2528    
2529            /**
2530             * Sets the user group group role persistence.
2531             *
2532             * @param userGroupGroupRolePersistence the user group group role persistence
2533             */
2534            public void setUserGroupGroupRolePersistence(
2535                    UserGroupGroupRolePersistence userGroupGroupRolePersistence) {
2536                    this.userGroupGroupRolePersistence = userGroupGroupRolePersistence;
2537            }
2538    
2539            /**
2540             * Returns the user group group role finder.
2541             *
2542             * @return the user group group role finder
2543             */
2544            public UserGroupGroupRoleFinder getUserGroupGroupRoleFinder() {
2545                    return userGroupGroupRoleFinder;
2546            }
2547    
2548            /**
2549             * Sets the user group group role finder.
2550             *
2551             * @param userGroupGroupRoleFinder the user group group role finder
2552             */
2553            public void setUserGroupGroupRoleFinder(
2554                    UserGroupGroupRoleFinder userGroupGroupRoleFinder) {
2555                    this.userGroupGroupRoleFinder = userGroupGroupRoleFinder;
2556            }
2557    
2558            /**
2559             * Returns the user group role local service.
2560             *
2561             * @return the user group role local service
2562             */
2563            public com.liferay.portal.service.UserGroupRoleLocalService getUserGroupRoleLocalService() {
2564                    return userGroupRoleLocalService;
2565            }
2566    
2567            /**
2568             * Sets the user group role local service.
2569             *
2570             * @param userGroupRoleLocalService the user group role local service
2571             */
2572            public void setUserGroupRoleLocalService(
2573                    com.liferay.portal.service.UserGroupRoleLocalService userGroupRoleLocalService) {
2574                    this.userGroupRoleLocalService = userGroupRoleLocalService;
2575            }
2576    
2577            /**
2578             * Returns the user group role persistence.
2579             *
2580             * @return the user group role persistence
2581             */
2582            public UserGroupRolePersistence getUserGroupRolePersistence() {
2583                    return userGroupRolePersistence;
2584            }
2585    
2586            /**
2587             * Sets the user group role persistence.
2588             *
2589             * @param userGroupRolePersistence the user group role persistence
2590             */
2591            public void setUserGroupRolePersistence(
2592                    UserGroupRolePersistence userGroupRolePersistence) {
2593                    this.userGroupRolePersistence = userGroupRolePersistence;
2594            }
2595    
2596            /**
2597             * Returns the user group role finder.
2598             *
2599             * @return the user group role finder
2600             */
2601            public UserGroupRoleFinder getUserGroupRoleFinder() {
2602                    return userGroupRoleFinder;
2603            }
2604    
2605            /**
2606             * Sets the user group role finder.
2607             *
2608             * @param userGroupRoleFinder the user group role finder
2609             */
2610            public void setUserGroupRoleFinder(UserGroupRoleFinder userGroupRoleFinder) {
2611                    this.userGroupRoleFinder = userGroupRoleFinder;
2612            }
2613    
2614            /**
2615             * Returns the workflow definition link local service.
2616             *
2617             * @return the workflow definition link local service
2618             */
2619            public com.liferay.portal.service.WorkflowDefinitionLinkLocalService getWorkflowDefinitionLinkLocalService() {
2620                    return workflowDefinitionLinkLocalService;
2621            }
2622    
2623            /**
2624             * Sets the workflow definition link local service.
2625             *
2626             * @param workflowDefinitionLinkLocalService the workflow definition link local service
2627             */
2628            public void setWorkflowDefinitionLinkLocalService(
2629                    com.liferay.portal.service.WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) {
2630                    this.workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService;
2631            }
2632    
2633            /**
2634             * Returns the workflow definition link persistence.
2635             *
2636             * @return the workflow definition link persistence
2637             */
2638            public WorkflowDefinitionLinkPersistence getWorkflowDefinitionLinkPersistence() {
2639                    return workflowDefinitionLinkPersistence;
2640            }
2641    
2642            /**
2643             * Sets the workflow definition link persistence.
2644             *
2645             * @param workflowDefinitionLinkPersistence the workflow definition link persistence
2646             */
2647            public void setWorkflowDefinitionLinkPersistence(
2648                    WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence) {
2649                    this.workflowDefinitionLinkPersistence = workflowDefinitionLinkPersistence;
2650            }
2651    
2652            public void afterPropertiesSet() {
2653                    persistedModelLocalServiceRegistry.register("com.liferay.portal.model.Group",
2654                            groupLocalService);
2655            }
2656    
2657            public void destroy() {
2658                    persistedModelLocalServiceRegistry.unregister(
2659                            "com.liferay.portal.model.Group");
2660            }
2661    
2662            /**
2663             * Returns the OSGi service identifier.
2664             *
2665             * @return the OSGi service identifier
2666             */
2667            @Override
2668            public String getOSGiServiceIdentifier() {
2669                    return GroupLocalService.class.getName();
2670            }
2671    
2672            protected Class<?> getModelClass() {
2673                    return Group.class;
2674            }
2675    
2676            protected String getModelClassName() {
2677                    return Group.class.getName();
2678            }
2679    
2680            /**
2681             * Performs a SQL query.
2682             *
2683             * @param sql the sql query
2684             */
2685            protected void runSQL(String sql) {
2686                    try {
2687                            DataSource dataSource = groupPersistence.getDataSource();
2688    
2689                            DB db = DBManagerUtil.getDB();
2690    
2691                            sql = db.buildSQL(sql);
2692                            sql = PortalUtil.transformSQL(sql);
2693    
2694                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
2695                                            sql, new int[0]);
2696    
2697                            sqlUpdate.update();
2698                    }
2699                    catch (Exception e) {
2700                            throw new SystemException(e);
2701                    }
2702            }
2703    
2704            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
2705            protected GroupLocalService groupLocalService;
2706            @BeanReference(type = GroupPersistence.class)
2707            protected GroupPersistence groupPersistence;
2708            @BeanReference(type = GroupFinder.class)
2709            protected GroupFinder groupFinder;
2710            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
2711            protected com.liferay.counter.service.CounterLocalService counterLocalService;
2712            @BeanReference(type = com.liferay.portal.service.AccountLocalService.class)
2713            protected com.liferay.portal.service.AccountLocalService accountLocalService;
2714            @BeanReference(type = AccountPersistence.class)
2715            protected AccountPersistence accountPersistence;
2716            @BeanReference(type = com.liferay.portal.service.ClassNameLocalService.class)
2717            protected com.liferay.portal.service.ClassNameLocalService classNameLocalService;
2718            @BeanReference(type = ClassNamePersistence.class)
2719            protected ClassNamePersistence classNamePersistence;
2720            @BeanReference(type = com.liferay.portal.service.CompanyLocalService.class)
2721            protected com.liferay.portal.service.CompanyLocalService companyLocalService;
2722            @BeanReference(type = CompanyPersistence.class)
2723            protected CompanyPersistence companyPersistence;
2724            @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryLocalService.class)
2725            protected com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService;
2726            @BeanReference(type = AssetCategoryPersistence.class)
2727            protected AssetCategoryPersistence assetCategoryPersistence;
2728            @BeanReference(type = AssetCategoryFinder.class)
2729            protected AssetCategoryFinder assetCategoryFinder;
2730            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
2731            protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
2732            @BeanReference(type = AssetEntryPersistence.class)
2733            protected AssetEntryPersistence assetEntryPersistence;
2734            @BeanReference(type = AssetEntryFinder.class)
2735            protected AssetEntryFinder assetEntryFinder;
2736            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
2737            protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
2738            @BeanReference(type = AssetTagPersistence.class)
2739            protected AssetTagPersistence assetTagPersistence;
2740            @BeanReference(type = AssetTagFinder.class)
2741            protected AssetTagFinder assetTagFinder;
2742            @BeanReference(type = com.liferay.portlet.asset.service.AssetVocabularyLocalService.class)
2743            protected com.liferay.portlet.asset.service.AssetVocabularyLocalService assetVocabularyLocalService;
2744            @BeanReference(type = AssetVocabularyPersistence.class)
2745            protected AssetVocabularyPersistence assetVocabularyPersistence;
2746            @BeanReference(type = AssetVocabularyFinder.class)
2747            protected AssetVocabularyFinder assetVocabularyFinder;
2748            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppLocalService.class)
2749            protected com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService;
2750            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
2751            protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
2752            @BeanReference(type = ExpandoRowPersistence.class)
2753            protected ExpandoRowPersistence expandoRowPersistence;
2754            @BeanReference(type = com.liferay.portlet.exportimport.service.ExportImportLocalService.class)
2755            protected com.liferay.portlet.exportimport.service.ExportImportLocalService exportImportLocalService;
2756            @BeanReference(type = com.liferay.portlet.exportimport.service.ExportImportConfigurationLocalService.class)
2757            protected com.liferay.portlet.exportimport.service.ExportImportConfigurationLocalService exportImportConfigurationLocalService;
2758            @BeanReference(type = ExportImportConfigurationPersistence.class)
2759            protected ExportImportConfigurationPersistence exportImportConfigurationPersistence;
2760            @BeanReference(type = ExportImportConfigurationFinder.class)
2761            protected ExportImportConfigurationFinder exportImportConfigurationFinder;
2762            @BeanReference(type = com.liferay.portlet.exportimport.service.StagingLocalService.class)
2763            protected com.liferay.portlet.exportimport.service.StagingLocalService stagingLocalService;
2764            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
2765            protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
2766            @BeanReference(type = SocialActivityPersistence.class)
2767            protected SocialActivityPersistence socialActivityPersistence;
2768            @BeanReference(type = SocialActivityFinder.class)
2769            protected SocialActivityFinder socialActivityFinder;
2770            @BeanReference(type = com.liferay.portlet.social.service.SocialActivitySettingLocalService.class)
2771            protected com.liferay.portlet.social.service.SocialActivitySettingLocalService socialActivitySettingLocalService;
2772            @BeanReference(type = SocialActivitySettingPersistence.class)
2773            protected SocialActivitySettingPersistence socialActivitySettingPersistence;
2774            @BeanReference(type = com.liferay.portlet.social.service.SocialRequestLocalService.class)
2775            protected com.liferay.portlet.social.service.SocialRequestLocalService socialRequestLocalService;
2776            @BeanReference(type = SocialRequestPersistence.class)
2777            protected SocialRequestPersistence socialRequestPersistence;
2778            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
2779            protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
2780            @BeanReference(type = TrashEntryPersistence.class)
2781            protected TrashEntryPersistence trashEntryPersistence;
2782            @BeanReference(type = com.liferay.portal.service.LayoutLocalService.class)
2783            protected com.liferay.portal.service.LayoutLocalService layoutLocalService;
2784            @BeanReference(type = LayoutPersistence.class)
2785            protected LayoutPersistence layoutPersistence;
2786            @BeanReference(type = LayoutFinder.class)
2787            protected LayoutFinder layoutFinder;
2788            @BeanReference(type = com.liferay.portal.service.LayoutPrototypeLocalService.class)
2789            protected com.liferay.portal.service.LayoutPrototypeLocalService layoutPrototypeLocalService;
2790            @BeanReference(type = LayoutPrototypePersistence.class)
2791            protected LayoutPrototypePersistence layoutPrototypePersistence;
2792            @BeanReference(type = com.liferay.portal.service.LayoutSetLocalService.class)
2793            protected com.liferay.portal.service.LayoutSetLocalService layoutSetLocalService;
2794            @BeanReference(type = LayoutSetPersistence.class)
2795            protected LayoutSetPersistence layoutSetPersistence;
2796            @BeanReference(type = com.liferay.portal.service.LayoutSetBranchLocalService.class)
2797            protected com.liferay.portal.service.LayoutSetBranchLocalService layoutSetBranchLocalService;
2798            @BeanReference(type = LayoutSetBranchPersistence.class)
2799            protected LayoutSetBranchPersistence layoutSetBranchPersistence;
2800            @BeanReference(type = com.liferay.portal.service.LayoutSetPrototypeLocalService.class)
2801            protected com.liferay.portal.service.LayoutSetPrototypeLocalService layoutSetPrototypeLocalService;
2802            @BeanReference(type = LayoutSetPrototypePersistence.class)
2803            protected LayoutSetPrototypePersistence layoutSetPrototypePersistence;
2804            @BeanReference(type = com.liferay.portal.service.MembershipRequestLocalService.class)
2805            protected com.liferay.portal.service.MembershipRequestLocalService membershipRequestLocalService;
2806            @BeanReference(type = MembershipRequestPersistence.class)
2807            protected MembershipRequestPersistence membershipRequestPersistence;
2808            @BeanReference(type = com.liferay.portal.service.OrganizationLocalService.class)
2809            protected com.liferay.portal.service.OrganizationLocalService organizationLocalService;
2810            @BeanReference(type = OrganizationPersistence.class)
2811            protected OrganizationPersistence organizationPersistence;
2812            @BeanReference(type = OrganizationFinder.class)
2813            protected OrganizationFinder organizationFinder;
2814            @BeanReference(type = com.liferay.portal.service.PortletLocalService.class)
2815            protected com.liferay.portal.service.PortletLocalService portletLocalService;
2816            @BeanReference(type = PortletPersistence.class)
2817            protected PortletPersistence portletPersistence;
2818            @BeanReference(type = com.liferay.portal.service.PortletPreferencesLocalService.class)
2819            protected com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService;
2820            @BeanReference(type = PortletPreferencesPersistence.class)
2821            protected PortletPreferencesPersistence portletPreferencesPersistence;
2822            @BeanReference(type = PortletPreferencesFinder.class)
2823            protected PortletPreferencesFinder portletPreferencesFinder;
2824            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
2825            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
2826            @BeanReference(type = com.liferay.portal.service.ResourceActionLocalService.class)
2827            protected com.liferay.portal.service.ResourceActionLocalService resourceActionLocalService;
2828            @BeanReference(type = ResourceActionPersistence.class)
2829            protected ResourceActionPersistence resourceActionPersistence;
2830            @BeanReference(type = com.liferay.portal.service.ResourceBlockLocalService.class)
2831            protected com.liferay.portal.service.ResourceBlockLocalService resourceBlockLocalService;
2832            @BeanReference(type = ResourceBlockPersistence.class)
2833            protected ResourceBlockPersistence resourceBlockPersistence;
2834            @BeanReference(type = ResourceBlockFinder.class)
2835            protected ResourceBlockFinder resourceBlockFinder;
2836            @BeanReference(type = com.liferay.portal.service.ResourcePermissionLocalService.class)
2837            protected com.liferay.portal.service.ResourcePermissionLocalService resourcePermissionLocalService;
2838            @BeanReference(type = ResourcePermissionPersistence.class)
2839            protected ResourcePermissionPersistence resourcePermissionPersistence;
2840            @BeanReference(type = ResourcePermissionFinder.class)
2841            protected ResourcePermissionFinder resourcePermissionFinder;
2842            @BeanReference(type = com.liferay.portal.service.ResourceTypePermissionLocalService.class)
2843            protected com.liferay.portal.service.ResourceTypePermissionLocalService resourceTypePermissionLocalService;
2844            @BeanReference(type = ResourceTypePermissionPersistence.class)
2845            protected ResourceTypePermissionPersistence resourceTypePermissionPersistence;
2846            @BeanReference(type = ResourceTypePermissionFinder.class)
2847            protected ResourceTypePermissionFinder resourceTypePermissionFinder;
2848            @BeanReference(type = com.liferay.portal.service.RoleLocalService.class)
2849            protected com.liferay.portal.service.RoleLocalService roleLocalService;
2850            @BeanReference(type = RolePersistence.class)
2851            protected RolePersistence rolePersistence;
2852            @BeanReference(type = RoleFinder.class)
2853            protected RoleFinder roleFinder;
2854            @BeanReference(type = com.liferay.portal.service.SubscriptionLocalService.class)
2855            protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService;
2856            @BeanReference(type = SubscriptionPersistence.class)
2857            protected SubscriptionPersistence subscriptionPersistence;
2858            @BeanReference(type = com.liferay.portal.service.TeamLocalService.class)
2859            protected com.liferay.portal.service.TeamLocalService teamLocalService;
2860            @BeanReference(type = TeamPersistence.class)
2861            protected TeamPersistence teamPersistence;
2862            @BeanReference(type = TeamFinder.class)
2863            protected TeamFinder teamFinder;
2864            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
2865            protected com.liferay.portal.service.UserLocalService userLocalService;
2866            @BeanReference(type = UserPersistence.class)
2867            protected UserPersistence userPersistence;
2868            @BeanReference(type = UserFinder.class)
2869            protected UserFinder userFinder;
2870            @BeanReference(type = com.liferay.portal.service.UserGroupLocalService.class)
2871            protected com.liferay.portal.service.UserGroupLocalService userGroupLocalService;
2872            @BeanReference(type = UserGroupPersistence.class)
2873            protected UserGroupPersistence userGroupPersistence;
2874            @BeanReference(type = UserGroupFinder.class)
2875            protected UserGroupFinder userGroupFinder;
2876            @BeanReference(type = com.liferay.portal.service.UserGroupGroupRoleLocalService.class)
2877            protected com.liferay.portal.service.UserGroupGroupRoleLocalService userGroupGroupRoleLocalService;
2878            @BeanReference(type = UserGroupGroupRolePersistence.class)
2879            protected UserGroupGroupRolePersistence userGroupGroupRolePersistence;
2880            @BeanReference(type = UserGroupGroupRoleFinder.class)
2881            protected UserGroupGroupRoleFinder userGroupGroupRoleFinder;
2882            @BeanReference(type = com.liferay.portal.service.UserGroupRoleLocalService.class)
2883            protected com.liferay.portal.service.UserGroupRoleLocalService userGroupRoleLocalService;
2884            @BeanReference(type = UserGroupRolePersistence.class)
2885            protected UserGroupRolePersistence userGroupRolePersistence;
2886            @BeanReference(type = UserGroupRoleFinder.class)
2887            protected UserGroupRoleFinder userGroupRoleFinder;
2888            @BeanReference(type = com.liferay.portal.service.WorkflowDefinitionLinkLocalService.class)
2889            protected com.liferay.portal.service.WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService;
2890            @BeanReference(type = WorkflowDefinitionLinkPersistence.class)
2891            protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence;
2892            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
2893            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
2894    }