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