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