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