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