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