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