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