001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.service.base;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.BeanReference;
020    import com.liferay.portal.kernel.bean.IdentifiableBean;
021    import com.liferay.portal.kernel.dao.db.DB;
022    import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
023    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
024    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
025    import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery;
026    import com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery;
027    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
028    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
029    import com.liferay.portal.kernel.dao.orm.Projection;
030    import com.liferay.portal.kernel.exception.PortalException;
031    import com.liferay.portal.kernel.exception.SystemException;
032    import com.liferay.portal.kernel.search.Indexable;
033    import com.liferay.portal.kernel.search.IndexableType;
034    import com.liferay.portal.kernel.util.OrderByComparator;
035    import com.liferay.portal.model.PersistedModel;
036    import com.liferay.portal.model.UserGroupRole;
037    import com.liferay.portal.service.BaseLocalServiceImpl;
038    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
039    import com.liferay.portal.service.UserGroupRoleLocalService;
040    import com.liferay.portal.service.persistence.GroupFinder;
041    import com.liferay.portal.service.persistence.GroupPersistence;
042    import com.liferay.portal.service.persistence.RoleFinder;
043    import com.liferay.portal.service.persistence.RolePersistence;
044    import com.liferay.portal.service.persistence.UserFinder;
045    import com.liferay.portal.service.persistence.UserGroupRoleFinder;
046    import com.liferay.portal.service.persistence.UserGroupRolePK;
047    import com.liferay.portal.service.persistence.UserGroupRolePersistence;
048    import com.liferay.portal.service.persistence.UserPersistence;
049    import com.liferay.portal.util.PortalUtil;
050    
051    import java.io.Serializable;
052    
053    import java.util.List;
054    
055    import javax.sql.DataSource;
056    
057    /**
058     * Provides the base implementation for the user group role local service.
059     *
060     * <p>
061     * 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.UserGroupRoleLocalServiceImpl}.
062     * </p>
063     *
064     * @author Brian Wing Shun Chan
065     * @see com.liferay.portal.service.impl.UserGroupRoleLocalServiceImpl
066     * @see com.liferay.portal.service.UserGroupRoleLocalServiceUtil
067     * @generated
068     */
069    @ProviderType
070    public abstract class UserGroupRoleLocalServiceBaseImpl
071            extends BaseLocalServiceImpl implements UserGroupRoleLocalService,
072                    IdentifiableBean {
073            /*
074             * NOTE FOR DEVELOPERS:
075             *
076             * Never modify or reference this class directly. Always use {@link com.liferay.portal.service.UserGroupRoleLocalServiceUtil} to access the user group role local service.
077             */
078    
079            /**
080             * Adds the user group role to the database. Also notifies the appropriate model listeners.
081             *
082             * @param userGroupRole the user group role
083             * @return the user group role that was added
084             */
085            @Indexable(type = IndexableType.REINDEX)
086            @Override
087            public UserGroupRole addUserGroupRole(UserGroupRole userGroupRole) {
088                    userGroupRole.setNew(true);
089    
090                    return userGroupRolePersistence.update(userGroupRole);
091            }
092    
093            /**
094             * Creates a new user group role with the primary key. Does not add the user group role to the database.
095             *
096             * @param userGroupRolePK the primary key for the new user group role
097             * @return the new user group role
098             */
099            @Override
100            public UserGroupRole createUserGroupRole(UserGroupRolePK userGroupRolePK) {
101                    return userGroupRolePersistence.create(userGroupRolePK);
102            }
103    
104            /**
105             * Deletes the user group role with the primary key from the database. Also notifies the appropriate model listeners.
106             *
107             * @param userGroupRolePK the primary key of the user group role
108             * @return the user group role that was removed
109             * @throws PortalException if a user group role with the primary key could not be found
110             */
111            @Indexable(type = IndexableType.DELETE)
112            @Override
113            public UserGroupRole deleteUserGroupRole(UserGroupRolePK userGroupRolePK)
114                    throws PortalException {
115                    return userGroupRolePersistence.remove(userGroupRolePK);
116            }
117    
118            /**
119             * Deletes the user group role from the database. Also notifies the appropriate model listeners.
120             *
121             * @param userGroupRole the user group role
122             * @return the user group role that was removed
123             */
124            @Indexable(type = IndexableType.DELETE)
125            @Override
126            public UserGroupRole deleteUserGroupRole(UserGroupRole userGroupRole) {
127                    return userGroupRolePersistence.remove(userGroupRole);
128            }
129    
130            @Override
131            public DynamicQuery dynamicQuery() {
132                    Class<?> clazz = getClass();
133    
134                    return DynamicQueryFactoryUtil.forClass(UserGroupRole.class,
135                            clazz.getClassLoader());
136            }
137    
138            /**
139             * Performs a dynamic query on the database and returns the matching rows.
140             *
141             * @param dynamicQuery the dynamic query
142             * @return the matching rows
143             */
144            @Override
145            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery) {
146                    return userGroupRolePersistence.findWithDynamicQuery(dynamicQuery);
147            }
148    
149            /**
150             * Performs a dynamic query on the database and returns a range of the matching rows.
151             *
152             * <p>
153             * 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.UserGroupRoleModelImpl}. 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.
154             * </p>
155             *
156             * @param dynamicQuery the dynamic query
157             * @param start the lower bound of the range of model instances
158             * @param end the upper bound of the range of model instances (not inclusive)
159             * @return the range of matching rows
160             */
161            @Override
162            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
163                    int end) {
164                    return userGroupRolePersistence.findWithDynamicQuery(dynamicQuery,
165                            start, end);
166            }
167    
168            /**
169             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
170             *
171             * <p>
172             * 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.UserGroupRoleModelImpl}. 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.
173             * </p>
174             *
175             * @param dynamicQuery the dynamic query
176             * @param start the lower bound of the range of model instances
177             * @param end the upper bound of the range of model instances (not inclusive)
178             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
179             * @return the ordered range of matching rows
180             */
181            @Override
182            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
183                    int end, OrderByComparator<T> orderByComparator) {
184                    return userGroupRolePersistence.findWithDynamicQuery(dynamicQuery,
185                            start, end, orderByComparator);
186            }
187    
188            /**
189             * Returns the number of rows matching the dynamic query.
190             *
191             * @param dynamicQuery the dynamic query
192             * @return the number of rows matching the dynamic query
193             */
194            @Override
195            public long dynamicQueryCount(DynamicQuery dynamicQuery) {
196                    return userGroupRolePersistence.countWithDynamicQuery(dynamicQuery);
197            }
198    
199            /**
200             * Returns the number of rows matching the dynamic query.
201             *
202             * @param dynamicQuery the dynamic query
203             * @param projection the projection to apply to the query
204             * @return the number of rows matching the dynamic query
205             */
206            @Override
207            public long dynamicQueryCount(DynamicQuery dynamicQuery,
208                    Projection projection) {
209                    return userGroupRolePersistence.countWithDynamicQuery(dynamicQuery,
210                            projection);
211            }
212    
213            @Override
214            public UserGroupRole fetchUserGroupRole(UserGroupRolePK userGroupRolePK) {
215                    return userGroupRolePersistence.fetchByPrimaryKey(userGroupRolePK);
216            }
217    
218            /**
219             * Returns the user group role with the primary key.
220             *
221             * @param userGroupRolePK the primary key of the user group role
222             * @return the user group role
223             * @throws PortalException if a user group role with the primary key could not be found
224             */
225            @Override
226            public UserGroupRole getUserGroupRole(UserGroupRolePK userGroupRolePK)
227                    throws PortalException {
228                    return userGroupRolePersistence.findByPrimaryKey(userGroupRolePK);
229            }
230    
231            @Override
232            public ActionableDynamicQuery getActionableDynamicQuery() {
233                    ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();
234    
235                    actionableDynamicQuery.setBaseLocalService(com.liferay.portal.service.UserGroupRoleLocalServiceUtil.getService());
236                    actionableDynamicQuery.setClass(UserGroupRole.class);
237                    actionableDynamicQuery.setClassLoader(getClassLoader());
238    
239                    actionableDynamicQuery.setPrimaryKeyPropertyName("primaryKey.userId");
240    
241                    actionableDynamicQuery.setGroupIdPropertyName("primaryKey.groupId");
242    
243                    return actionableDynamicQuery;
244            }
245    
246            protected void initActionableDynamicQuery(
247                    ActionableDynamicQuery actionableDynamicQuery) {
248                    actionableDynamicQuery.setBaseLocalService(com.liferay.portal.service.UserGroupRoleLocalServiceUtil.getService());
249                    actionableDynamicQuery.setClass(UserGroupRole.class);
250                    actionableDynamicQuery.setClassLoader(getClassLoader());
251    
252                    actionableDynamicQuery.setPrimaryKeyPropertyName("primaryKey.userId");
253    
254                    actionableDynamicQuery.setGroupIdPropertyName("primaryKey.groupId");
255            }
256    
257            /**
258             * @throws PortalException
259             */
260            @Override
261            public PersistedModel deletePersistedModel(PersistedModel persistedModel)
262                    throws PortalException {
263                    return userGroupRoleLocalService.deleteUserGroupRole((UserGroupRole)persistedModel);
264            }
265    
266            @Override
267            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
268                    throws PortalException {
269                    return userGroupRolePersistence.findByPrimaryKey(primaryKeyObj);
270            }
271    
272            /**
273             * Returns a range of all the user group roles.
274             *
275             * <p>
276             * 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.UserGroupRoleModelImpl}. 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.
277             * </p>
278             *
279             * @param start the lower bound of the range of user group roles
280             * @param end the upper bound of the range of user group roles (not inclusive)
281             * @return the range of user group roles
282             */
283            @Override
284            public List<UserGroupRole> getUserGroupRoles(int start, int end) {
285                    return userGroupRolePersistence.findAll(start, end);
286            }
287    
288            /**
289             * Returns the number of user group roles.
290             *
291             * @return the number of user group roles
292             */
293            @Override
294            public int getUserGroupRolesCount() {
295                    return userGroupRolePersistence.countAll();
296            }
297    
298            /**
299             * Updates the user group role in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
300             *
301             * @param userGroupRole the user group role
302             * @return the user group role that was updated
303             */
304            @Indexable(type = IndexableType.REINDEX)
305            @Override
306            public UserGroupRole updateUserGroupRole(UserGroupRole userGroupRole) {
307                    return userGroupRolePersistence.update(userGroupRole);
308            }
309    
310            /**
311             * Returns the user group role local service.
312             *
313             * @return the user group role local service
314             */
315            public UserGroupRoleLocalService getUserGroupRoleLocalService() {
316                    return userGroupRoleLocalService;
317            }
318    
319            /**
320             * Sets the user group role local service.
321             *
322             * @param userGroupRoleLocalService the user group role local service
323             */
324            public void setUserGroupRoleLocalService(
325                    UserGroupRoleLocalService userGroupRoleLocalService) {
326                    this.userGroupRoleLocalService = userGroupRoleLocalService;
327            }
328    
329            /**
330             * Returns the user group role remote service.
331             *
332             * @return the user group role remote service
333             */
334            public com.liferay.portal.service.UserGroupRoleService getUserGroupRoleService() {
335                    return userGroupRoleService;
336            }
337    
338            /**
339             * Sets the user group role remote service.
340             *
341             * @param userGroupRoleService the user group role remote service
342             */
343            public void setUserGroupRoleService(
344                    com.liferay.portal.service.UserGroupRoleService userGroupRoleService) {
345                    this.userGroupRoleService = userGroupRoleService;
346            }
347    
348            /**
349             * Returns the user group role persistence.
350             *
351             * @return the user group role persistence
352             */
353            public UserGroupRolePersistence getUserGroupRolePersistence() {
354                    return userGroupRolePersistence;
355            }
356    
357            /**
358             * Sets the user group role persistence.
359             *
360             * @param userGroupRolePersistence the user group role persistence
361             */
362            public void setUserGroupRolePersistence(
363                    UserGroupRolePersistence userGroupRolePersistence) {
364                    this.userGroupRolePersistence = userGroupRolePersistence;
365            }
366    
367            /**
368             * Returns the user group role finder.
369             *
370             * @return the user group role finder
371             */
372            public UserGroupRoleFinder getUserGroupRoleFinder() {
373                    return userGroupRoleFinder;
374            }
375    
376            /**
377             * Sets the user group role finder.
378             *
379             * @param userGroupRoleFinder the user group role finder
380             */
381            public void setUserGroupRoleFinder(UserGroupRoleFinder userGroupRoleFinder) {
382                    this.userGroupRoleFinder = userGroupRoleFinder;
383            }
384    
385            /**
386             * Returns the counter local service.
387             *
388             * @return the counter local service
389             */
390            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
391                    return counterLocalService;
392            }
393    
394            /**
395             * Sets the counter local service.
396             *
397             * @param counterLocalService the counter local service
398             */
399            public void setCounterLocalService(
400                    com.liferay.counter.service.CounterLocalService counterLocalService) {
401                    this.counterLocalService = counterLocalService;
402            }
403    
404            /**
405             * Returns the group local service.
406             *
407             * @return the group local service
408             */
409            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
410                    return groupLocalService;
411            }
412    
413            /**
414             * Sets the group local service.
415             *
416             * @param groupLocalService the group local service
417             */
418            public void setGroupLocalService(
419                    com.liferay.portal.service.GroupLocalService groupLocalService) {
420                    this.groupLocalService = groupLocalService;
421            }
422    
423            /**
424             * Returns the group remote service.
425             *
426             * @return the group remote service
427             */
428            public com.liferay.portal.service.GroupService getGroupService() {
429                    return groupService;
430            }
431    
432            /**
433             * Sets the group remote service.
434             *
435             * @param groupService the group remote service
436             */
437            public void setGroupService(
438                    com.liferay.portal.service.GroupService groupService) {
439                    this.groupService = groupService;
440            }
441    
442            /**
443             * Returns the group persistence.
444             *
445             * @return the group persistence
446             */
447            public GroupPersistence getGroupPersistence() {
448                    return groupPersistence;
449            }
450    
451            /**
452             * Sets the group persistence.
453             *
454             * @param groupPersistence the group persistence
455             */
456            public void setGroupPersistence(GroupPersistence groupPersistence) {
457                    this.groupPersistence = groupPersistence;
458            }
459    
460            /**
461             * Returns the group finder.
462             *
463             * @return the group finder
464             */
465            public GroupFinder getGroupFinder() {
466                    return groupFinder;
467            }
468    
469            /**
470             * Sets the group finder.
471             *
472             * @param groupFinder the group finder
473             */
474            public void setGroupFinder(GroupFinder groupFinder) {
475                    this.groupFinder = groupFinder;
476            }
477    
478            /**
479             * Returns the role local service.
480             *
481             * @return the role local service
482             */
483            public com.liferay.portal.service.RoleLocalService getRoleLocalService() {
484                    return roleLocalService;
485            }
486    
487            /**
488             * Sets the role local service.
489             *
490             * @param roleLocalService the role local service
491             */
492            public void setRoleLocalService(
493                    com.liferay.portal.service.RoleLocalService roleLocalService) {
494                    this.roleLocalService = roleLocalService;
495            }
496    
497            /**
498             * Returns the role remote service.
499             *
500             * @return the role remote service
501             */
502            public com.liferay.portal.service.RoleService getRoleService() {
503                    return roleService;
504            }
505    
506            /**
507             * Sets the role remote service.
508             *
509             * @param roleService the role remote service
510             */
511            public void setRoleService(
512                    com.liferay.portal.service.RoleService roleService) {
513                    this.roleService = roleService;
514            }
515    
516            /**
517             * Returns the role persistence.
518             *
519             * @return the role persistence
520             */
521            public RolePersistence getRolePersistence() {
522                    return rolePersistence;
523            }
524    
525            /**
526             * Sets the role persistence.
527             *
528             * @param rolePersistence the role persistence
529             */
530            public void setRolePersistence(RolePersistence rolePersistence) {
531                    this.rolePersistence = rolePersistence;
532            }
533    
534            /**
535             * Returns the role finder.
536             *
537             * @return the role finder
538             */
539            public RoleFinder getRoleFinder() {
540                    return roleFinder;
541            }
542    
543            /**
544             * Sets the role finder.
545             *
546             * @param roleFinder the role finder
547             */
548            public void setRoleFinder(RoleFinder roleFinder) {
549                    this.roleFinder = roleFinder;
550            }
551    
552            /**
553             * Returns the user local service.
554             *
555             * @return the user local service
556             */
557            public com.liferay.portal.service.UserLocalService getUserLocalService() {
558                    return userLocalService;
559            }
560    
561            /**
562             * Sets the user local service.
563             *
564             * @param userLocalService the user local service
565             */
566            public void setUserLocalService(
567                    com.liferay.portal.service.UserLocalService userLocalService) {
568                    this.userLocalService = userLocalService;
569            }
570    
571            /**
572             * Returns the user remote service.
573             *
574             * @return the user remote service
575             */
576            public com.liferay.portal.service.UserService getUserService() {
577                    return userService;
578            }
579    
580            /**
581             * Sets the user remote service.
582             *
583             * @param userService the user remote service
584             */
585            public void setUserService(
586                    com.liferay.portal.service.UserService userService) {
587                    this.userService = userService;
588            }
589    
590            /**
591             * Returns the user persistence.
592             *
593             * @return the user persistence
594             */
595            public UserPersistence getUserPersistence() {
596                    return userPersistence;
597            }
598    
599            /**
600             * Sets the user persistence.
601             *
602             * @param userPersistence the user persistence
603             */
604            public void setUserPersistence(UserPersistence userPersistence) {
605                    this.userPersistence = userPersistence;
606            }
607    
608            /**
609             * Returns the user finder.
610             *
611             * @return the user finder
612             */
613            public UserFinder getUserFinder() {
614                    return userFinder;
615            }
616    
617            /**
618             * Sets the user finder.
619             *
620             * @param userFinder the user finder
621             */
622            public void setUserFinder(UserFinder userFinder) {
623                    this.userFinder = userFinder;
624            }
625    
626            public void afterPropertiesSet() {
627                    persistedModelLocalServiceRegistry.register("com.liferay.portal.model.UserGroupRole",
628                            userGroupRoleLocalService);
629            }
630    
631            public void destroy() {
632                    persistedModelLocalServiceRegistry.unregister(
633                            "com.liferay.portal.model.UserGroupRole");
634            }
635    
636            /**
637             * Returns the Spring bean ID for this bean.
638             *
639             * @return the Spring bean ID for this bean
640             */
641            @Override
642            public String getBeanIdentifier() {
643                    return _beanIdentifier;
644            }
645    
646            /**
647             * Sets the Spring bean ID for this bean.
648             *
649             * @param beanIdentifier the Spring bean ID for this bean
650             */
651            @Override
652            public void setBeanIdentifier(String beanIdentifier) {
653                    _beanIdentifier = beanIdentifier;
654            }
655    
656            protected Class<?> getModelClass() {
657                    return UserGroupRole.class;
658            }
659    
660            protected String getModelClassName() {
661                    return UserGroupRole.class.getName();
662            }
663    
664            /**
665             * Performs a SQL query.
666             *
667             * @param sql the sql query
668             */
669            protected void runSQL(String sql) {
670                    try {
671                            DataSource dataSource = userGroupRolePersistence.getDataSource();
672    
673                            DB db = DBFactoryUtil.getDB();
674    
675                            sql = db.buildSQL(sql);
676                            sql = PortalUtil.transformSQL(sql);
677    
678                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
679                                            sql, new int[0]);
680    
681                            sqlUpdate.update();
682                    }
683                    catch (Exception e) {
684                            throw new SystemException(e);
685                    }
686            }
687    
688            @BeanReference(type = UserGroupRoleLocalService.class)
689            protected UserGroupRoleLocalService userGroupRoleLocalService;
690            @BeanReference(type = com.liferay.portal.service.UserGroupRoleService.class)
691            protected com.liferay.portal.service.UserGroupRoleService userGroupRoleService;
692            @BeanReference(type = UserGroupRolePersistence.class)
693            protected UserGroupRolePersistence userGroupRolePersistence;
694            @BeanReference(type = UserGroupRoleFinder.class)
695            protected UserGroupRoleFinder userGroupRoleFinder;
696            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
697            protected com.liferay.counter.service.CounterLocalService counterLocalService;
698            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
699            protected com.liferay.portal.service.GroupLocalService groupLocalService;
700            @BeanReference(type = com.liferay.portal.service.GroupService.class)
701            protected com.liferay.portal.service.GroupService groupService;
702            @BeanReference(type = GroupPersistence.class)
703            protected GroupPersistence groupPersistence;
704            @BeanReference(type = GroupFinder.class)
705            protected GroupFinder groupFinder;
706            @BeanReference(type = com.liferay.portal.service.RoleLocalService.class)
707            protected com.liferay.portal.service.RoleLocalService roleLocalService;
708            @BeanReference(type = com.liferay.portal.service.RoleService.class)
709            protected com.liferay.portal.service.RoleService roleService;
710            @BeanReference(type = RolePersistence.class)
711            protected RolePersistence rolePersistence;
712            @BeanReference(type = RoleFinder.class)
713            protected RoleFinder roleFinder;
714            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
715            protected com.liferay.portal.service.UserLocalService userLocalService;
716            @BeanReference(type = com.liferay.portal.service.UserService.class)
717            protected com.liferay.portal.service.UserService userService;
718            @BeanReference(type = UserPersistence.class)
719            protected UserPersistence userPersistence;
720            @BeanReference(type = UserFinder.class)
721            protected UserFinder userFinder;
722            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
723            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
724            private String _beanIdentifier;
725    }