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.lar.ExportImportHelperUtil;
034    import com.liferay.portal.kernel.lar.ManifestSummary;
035    import com.liferay.portal.kernel.lar.PortletDataContext;
036    import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil;
037    import com.liferay.portal.kernel.lar.StagedModelType;
038    import com.liferay.portal.kernel.search.Indexable;
039    import com.liferay.portal.kernel.search.IndexableType;
040    import com.liferay.portal.kernel.util.OrderByComparator;
041    import com.liferay.portal.model.PersistedModel;
042    import com.liferay.portal.model.User;
043    import com.liferay.portal.service.BaseLocalServiceImpl;
044    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
045    import com.liferay.portal.service.UserLocalService;
046    import com.liferay.portal.service.persistence.BrowserTrackerPersistence;
047    import com.liferay.portal.service.persistence.CompanyPersistence;
048    import com.liferay.portal.service.persistence.ContactPersistence;
049    import com.liferay.portal.service.persistence.GroupFinder;
050    import com.liferay.portal.service.persistence.GroupPersistence;
051    import com.liferay.portal.service.persistence.ImagePersistence;
052    import com.liferay.portal.service.persistence.LayoutFinder;
053    import com.liferay.portal.service.persistence.LayoutPersistence;
054    import com.liferay.portal.service.persistence.MembershipRequestPersistence;
055    import com.liferay.portal.service.persistence.OrganizationFinder;
056    import com.liferay.portal.service.persistence.OrganizationPersistence;
057    import com.liferay.portal.service.persistence.PasswordPolicyFinder;
058    import com.liferay.portal.service.persistence.PasswordPolicyPersistence;
059    import com.liferay.portal.service.persistence.PasswordPolicyRelPersistence;
060    import com.liferay.portal.service.persistence.PasswordTrackerPersistence;
061    import com.liferay.portal.service.persistence.RoleFinder;
062    import com.liferay.portal.service.persistence.RolePersistence;
063    import com.liferay.portal.service.persistence.SubscriptionPersistence;
064    import com.liferay.portal.service.persistence.TeamFinder;
065    import com.liferay.portal.service.persistence.TeamPersistence;
066    import com.liferay.portal.service.persistence.TicketPersistence;
067    import com.liferay.portal.service.persistence.UserFinder;
068    import com.liferay.portal.service.persistence.UserGroupFinder;
069    import com.liferay.portal.service.persistence.UserGroupPersistence;
070    import com.liferay.portal.service.persistence.UserGroupRoleFinder;
071    import com.liferay.portal.service.persistence.UserGroupRolePersistence;
072    import com.liferay.portal.service.persistence.UserIdMapperPersistence;
073    import com.liferay.portal.service.persistence.UserPersistence;
074    import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
075    import com.liferay.portal.util.PortalUtil;
076    
077    import com.liferay.portlet.announcements.service.persistence.AnnouncementsDeliveryPersistence;
078    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
079    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
080    import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder;
081    import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence;
082    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
083    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
084    import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
085    import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
086    import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
087    import com.liferay.portlet.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 com.liferay.portal.service.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(
1098                    com.liferay.portal.service.UserLocalService userLocalService) {
1099                    this.userLocalService = userLocalService;
1100            }
1101    
1102            /**
1103             * Returns the user remote service.
1104             *
1105             * @return the user remote service
1106             */
1107            public com.liferay.portal.service.UserService getUserService() {
1108                    return userService;
1109            }
1110    
1111            /**
1112             * Sets the user remote service.
1113             *
1114             * @param userService the user remote service
1115             */
1116            public void setUserService(
1117                    com.liferay.portal.service.UserService userService) {
1118                    this.userService = userService;
1119            }
1120    
1121            /**
1122             * Returns the user persistence.
1123             *
1124             * @return the user persistence
1125             */
1126            public UserPersistence getUserPersistence() {
1127                    return userPersistence;
1128            }
1129    
1130            /**
1131             * Sets the user persistence.
1132             *
1133             * @param userPersistence the user persistence
1134             */
1135            public void setUserPersistence(UserPersistence userPersistence) {
1136                    this.userPersistence = userPersistence;
1137            }
1138    
1139            /**
1140             * Returns the user finder.
1141             *
1142             * @return the user finder
1143             */
1144            public UserFinder getUserFinder() {
1145                    return userFinder;
1146            }
1147    
1148            /**
1149             * Sets the user finder.
1150             *
1151             * @param userFinder the user finder
1152             */
1153            public void setUserFinder(UserFinder userFinder) {
1154                    this.userFinder = userFinder;
1155            }
1156    
1157            /**
1158             * Returns the counter local service.
1159             *
1160             * @return the counter local service
1161             */
1162            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
1163                    return counterLocalService;
1164            }
1165    
1166            /**
1167             * Sets the counter local service.
1168             *
1169             * @param counterLocalService the counter local service
1170             */
1171            public void setCounterLocalService(
1172                    com.liferay.counter.service.CounterLocalService counterLocalService) {
1173                    this.counterLocalService = counterLocalService;
1174            }
1175    
1176            /**
1177             * Returns the mail remote service.
1178             *
1179             * @return the mail remote service
1180             */
1181            public com.liferay.mail.service.MailService getMailService() {
1182                    return mailService;
1183            }
1184    
1185            /**
1186             * Sets the mail remote service.
1187             *
1188             * @param mailService the mail remote service
1189             */
1190            public void setMailService(com.liferay.mail.service.MailService mailService) {
1191                    this.mailService = mailService;
1192            }
1193    
1194            /**
1195             * Returns the browser tracker local service.
1196             *
1197             * @return the browser tracker local service
1198             */
1199            public com.liferay.portal.service.BrowserTrackerLocalService getBrowserTrackerLocalService() {
1200                    return browserTrackerLocalService;
1201            }
1202    
1203            /**
1204             * Sets the browser tracker local service.
1205             *
1206             * @param browserTrackerLocalService the browser tracker local service
1207             */
1208            public void setBrowserTrackerLocalService(
1209                    com.liferay.portal.service.BrowserTrackerLocalService browserTrackerLocalService) {
1210                    this.browserTrackerLocalService = browserTrackerLocalService;
1211            }
1212    
1213            /**
1214             * Returns the browser tracker persistence.
1215             *
1216             * @return the browser tracker persistence
1217             */
1218            public BrowserTrackerPersistence getBrowserTrackerPersistence() {
1219                    return browserTrackerPersistence;
1220            }
1221    
1222            /**
1223             * Sets the browser tracker persistence.
1224             *
1225             * @param browserTrackerPersistence the browser tracker persistence
1226             */
1227            public void setBrowserTrackerPersistence(
1228                    BrowserTrackerPersistence browserTrackerPersistence) {
1229                    this.browserTrackerPersistence = browserTrackerPersistence;
1230            }
1231    
1232            /**
1233             * Returns the company local service.
1234             *
1235             * @return the company local service
1236             */
1237            public com.liferay.portal.service.CompanyLocalService getCompanyLocalService() {
1238                    return companyLocalService;
1239            }
1240    
1241            /**
1242             * Sets the company local service.
1243             *
1244             * @param companyLocalService the company local service
1245             */
1246            public void setCompanyLocalService(
1247                    com.liferay.portal.service.CompanyLocalService companyLocalService) {
1248                    this.companyLocalService = companyLocalService;
1249            }
1250    
1251            /**
1252             * Returns the company remote service.
1253             *
1254             * @return the company remote service
1255             */
1256            public com.liferay.portal.service.CompanyService getCompanyService() {
1257                    return companyService;
1258            }
1259    
1260            /**
1261             * Sets the company remote service.
1262             *
1263             * @param companyService the company remote service
1264             */
1265            public void setCompanyService(
1266                    com.liferay.portal.service.CompanyService companyService) {
1267                    this.companyService = companyService;
1268            }
1269    
1270            /**
1271             * Returns the company persistence.
1272             *
1273             * @return the company persistence
1274             */
1275            public CompanyPersistence getCompanyPersistence() {
1276                    return companyPersistence;
1277            }
1278    
1279            /**
1280             * Sets the company persistence.
1281             *
1282             * @param companyPersistence the company persistence
1283             */
1284            public void setCompanyPersistence(CompanyPersistence companyPersistence) {
1285                    this.companyPersistence = companyPersistence;
1286            }
1287    
1288            /**
1289             * Returns the contact local service.
1290             *
1291             * @return the contact local service
1292             */
1293            public com.liferay.portal.service.ContactLocalService getContactLocalService() {
1294                    return contactLocalService;
1295            }
1296    
1297            /**
1298             * Sets the contact local service.
1299             *
1300             * @param contactLocalService the contact local service
1301             */
1302            public void setContactLocalService(
1303                    com.liferay.portal.service.ContactLocalService contactLocalService) {
1304                    this.contactLocalService = contactLocalService;
1305            }
1306    
1307            /**
1308             * Returns the contact remote service.
1309             *
1310             * @return the contact remote service
1311             */
1312            public com.liferay.portal.service.ContactService getContactService() {
1313                    return contactService;
1314            }
1315    
1316            /**
1317             * Sets the contact remote service.
1318             *
1319             * @param contactService the contact remote service
1320             */
1321            public void setContactService(
1322                    com.liferay.portal.service.ContactService contactService) {
1323                    this.contactService = contactService;
1324            }
1325    
1326            /**
1327             * Returns the contact persistence.
1328             *
1329             * @return the contact persistence
1330             */
1331            public ContactPersistence getContactPersistence() {
1332                    return contactPersistence;
1333            }
1334    
1335            /**
1336             * Sets the contact persistence.
1337             *
1338             * @param contactPersistence the contact persistence
1339             */
1340            public void setContactPersistence(ContactPersistence contactPersistence) {
1341                    this.contactPersistence = contactPersistence;
1342            }
1343    
1344            /**
1345             * Returns the group local service.
1346             *
1347             * @return the group local service
1348             */
1349            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
1350                    return groupLocalService;
1351            }
1352    
1353            /**
1354             * Sets the group local service.
1355             *
1356             * @param groupLocalService the group local service
1357             */
1358            public void setGroupLocalService(
1359                    com.liferay.portal.service.GroupLocalService groupLocalService) {
1360                    this.groupLocalService = groupLocalService;
1361            }
1362    
1363            /**
1364             * Returns the group remote service.
1365             *
1366             * @return the group remote service
1367             */
1368            public com.liferay.portal.service.GroupService getGroupService() {
1369                    return groupService;
1370            }
1371    
1372            /**
1373             * Sets the group remote service.
1374             *
1375             * @param groupService the group remote service
1376             */
1377            public void setGroupService(
1378                    com.liferay.portal.service.GroupService groupService) {
1379                    this.groupService = groupService;
1380            }
1381    
1382            /**
1383             * Returns the group persistence.
1384             *
1385             * @return the group persistence
1386             */
1387            public GroupPersistence getGroupPersistence() {
1388                    return groupPersistence;
1389            }
1390    
1391            /**
1392             * Sets the group persistence.
1393             *
1394             * @param groupPersistence the group persistence
1395             */
1396            public void setGroupPersistence(GroupPersistence groupPersistence) {
1397                    this.groupPersistence = groupPersistence;
1398            }
1399    
1400            /**
1401             * Returns the group finder.
1402             *
1403             * @return the group finder
1404             */
1405            public GroupFinder getGroupFinder() {
1406                    return groupFinder;
1407            }
1408    
1409            /**
1410             * Sets the group finder.
1411             *
1412             * @param groupFinder the group finder
1413             */
1414            public void setGroupFinder(GroupFinder groupFinder) {
1415                    this.groupFinder = groupFinder;
1416            }
1417    
1418            /**
1419             * Returns the image local service.
1420             *
1421             * @return the image local service
1422             */
1423            public com.liferay.portal.service.ImageLocalService getImageLocalService() {
1424                    return imageLocalService;
1425            }
1426    
1427            /**
1428             * Sets the image local service.
1429             *
1430             * @param imageLocalService the image local service
1431             */
1432            public void setImageLocalService(
1433                    com.liferay.portal.service.ImageLocalService imageLocalService) {
1434                    this.imageLocalService = imageLocalService;
1435            }
1436    
1437            /**
1438             * Returns the image remote service.
1439             *
1440             * @return the image remote service
1441             */
1442            public com.liferay.portal.service.ImageService getImageService() {
1443                    return imageService;
1444            }
1445    
1446            /**
1447             * Sets the image remote service.
1448             *
1449             * @param imageService the image remote service
1450             */
1451            public void setImageService(
1452                    com.liferay.portal.service.ImageService imageService) {
1453                    this.imageService = imageService;
1454            }
1455    
1456            /**
1457             * Returns the image persistence.
1458             *
1459             * @return the image persistence
1460             */
1461            public ImagePersistence getImagePersistence() {
1462                    return imagePersistence;
1463            }
1464    
1465            /**
1466             * Sets the image persistence.
1467             *
1468             * @param imagePersistence the image persistence
1469             */
1470            public void setImagePersistence(ImagePersistence imagePersistence) {
1471                    this.imagePersistence = imagePersistence;
1472            }
1473    
1474            /**
1475             * Returns the layout local service.
1476             *
1477             * @return the layout local service
1478             */
1479            public com.liferay.portal.service.LayoutLocalService getLayoutLocalService() {
1480                    return layoutLocalService;
1481            }
1482    
1483            /**
1484             * Sets the layout local service.
1485             *
1486             * @param layoutLocalService the layout local service
1487             */
1488            public void setLayoutLocalService(
1489                    com.liferay.portal.service.LayoutLocalService layoutLocalService) {
1490                    this.layoutLocalService = layoutLocalService;
1491            }
1492    
1493            /**
1494             * Returns the layout remote service.
1495             *
1496             * @return the layout remote service
1497             */
1498            public com.liferay.portal.service.LayoutService getLayoutService() {
1499                    return layoutService;
1500            }
1501    
1502            /**
1503             * Sets the layout remote service.
1504             *
1505             * @param layoutService the layout remote service
1506             */
1507            public void setLayoutService(
1508                    com.liferay.portal.service.LayoutService layoutService) {
1509                    this.layoutService = layoutService;
1510            }
1511    
1512            /**
1513             * Returns the layout persistence.
1514             *
1515             * @return the layout persistence
1516             */
1517            public LayoutPersistence getLayoutPersistence() {
1518                    return layoutPersistence;
1519            }
1520    
1521            /**
1522             * Sets the layout persistence.
1523             *
1524             * @param layoutPersistence the layout persistence
1525             */
1526            public void setLayoutPersistence(LayoutPersistence layoutPersistence) {
1527                    this.layoutPersistence = layoutPersistence;
1528            }
1529    
1530            /**
1531             * Returns the layout finder.
1532             *
1533             * @return the layout finder
1534             */
1535            public LayoutFinder getLayoutFinder() {
1536                    return layoutFinder;
1537            }
1538    
1539            /**
1540             * Sets the layout finder.
1541             *
1542             * @param layoutFinder the layout finder
1543             */
1544            public void setLayoutFinder(LayoutFinder layoutFinder) {
1545                    this.layoutFinder = layoutFinder;
1546            }
1547    
1548            /**
1549             * Returns the membership request local service.
1550             *
1551             * @return the membership request local service
1552             */
1553            public com.liferay.portal.service.MembershipRequestLocalService getMembershipRequestLocalService() {
1554                    return membershipRequestLocalService;
1555            }
1556    
1557            /**
1558             * Sets the membership request local service.
1559             *
1560             * @param membershipRequestLocalService the membership request local service
1561             */
1562            public void setMembershipRequestLocalService(
1563                    com.liferay.portal.service.MembershipRequestLocalService membershipRequestLocalService) {
1564                    this.membershipRequestLocalService = membershipRequestLocalService;
1565            }
1566    
1567            /**
1568             * Returns the membership request remote service.
1569             *
1570             * @return the membership request remote service
1571             */
1572            public com.liferay.portal.service.MembershipRequestService getMembershipRequestService() {
1573                    return membershipRequestService;
1574            }
1575    
1576            /**
1577             * Sets the membership request remote service.
1578             *
1579             * @param membershipRequestService the membership request remote service
1580             */
1581            public void setMembershipRequestService(
1582                    com.liferay.portal.service.MembershipRequestService membershipRequestService) {
1583                    this.membershipRequestService = membershipRequestService;
1584            }
1585    
1586            /**
1587             * Returns the membership request persistence.
1588             *
1589             * @return the membership request persistence
1590             */
1591            public MembershipRequestPersistence getMembershipRequestPersistence() {
1592                    return membershipRequestPersistence;
1593            }
1594    
1595            /**
1596             * Sets the membership request persistence.
1597             *
1598             * @param membershipRequestPersistence the membership request persistence
1599             */
1600            public void setMembershipRequestPersistence(
1601                    MembershipRequestPersistence membershipRequestPersistence) {
1602                    this.membershipRequestPersistence = membershipRequestPersistence;
1603            }
1604    
1605            /**
1606             * Returns the organization local service.
1607             *
1608             * @return the organization local service
1609             */
1610            public com.liferay.portal.service.OrganizationLocalService getOrganizationLocalService() {
1611                    return organizationLocalService;
1612            }
1613    
1614            /**
1615             * Sets the organization local service.
1616             *
1617             * @param organizationLocalService the organization local service
1618             */
1619            public void setOrganizationLocalService(
1620                    com.liferay.portal.service.OrganizationLocalService organizationLocalService) {
1621                    this.organizationLocalService = organizationLocalService;
1622            }
1623    
1624            /**
1625             * Returns the organization remote service.
1626             *
1627             * @return the organization remote service
1628             */
1629            public com.liferay.portal.service.OrganizationService getOrganizationService() {
1630                    return organizationService;
1631            }
1632    
1633            /**
1634             * Sets the organization remote service.
1635             *
1636             * @param organizationService the organization remote service
1637             */
1638            public void setOrganizationService(
1639                    com.liferay.portal.service.OrganizationService organizationService) {
1640                    this.organizationService = organizationService;
1641            }
1642    
1643            /**
1644             * Returns the organization persistence.
1645             *
1646             * @return the organization persistence
1647             */
1648            public OrganizationPersistence getOrganizationPersistence() {
1649                    return organizationPersistence;
1650            }
1651    
1652            /**
1653             * Sets the organization persistence.
1654             *
1655             * @param organizationPersistence the organization persistence
1656             */
1657            public void setOrganizationPersistence(
1658                    OrganizationPersistence organizationPersistence) {
1659                    this.organizationPersistence = organizationPersistence;
1660            }
1661    
1662            /**
1663             * Returns the organization finder.
1664             *
1665             * @return the organization finder
1666             */
1667            public OrganizationFinder getOrganizationFinder() {
1668                    return organizationFinder;
1669            }
1670    
1671            /**
1672             * Sets the organization finder.
1673             *
1674             * @param organizationFinder the organization finder
1675             */
1676            public void setOrganizationFinder(OrganizationFinder organizationFinder) {
1677                    this.organizationFinder = organizationFinder;
1678            }
1679    
1680            /**
1681             * Returns the password policy local service.
1682             *
1683             * @return the password policy local service
1684             */
1685            public com.liferay.portal.service.PasswordPolicyLocalService getPasswordPolicyLocalService() {
1686                    return passwordPolicyLocalService;
1687            }
1688    
1689            /**
1690             * Sets the password policy local service.
1691             *
1692             * @param passwordPolicyLocalService the password policy local service
1693             */
1694            public void setPasswordPolicyLocalService(
1695                    com.liferay.portal.service.PasswordPolicyLocalService passwordPolicyLocalService) {
1696                    this.passwordPolicyLocalService = passwordPolicyLocalService;
1697            }
1698    
1699            /**
1700             * Returns the password policy remote service.
1701             *
1702             * @return the password policy remote service
1703             */
1704            public com.liferay.portal.service.PasswordPolicyService getPasswordPolicyService() {
1705                    return passwordPolicyService;
1706            }
1707    
1708            /**
1709             * Sets the password policy remote service.
1710             *
1711             * @param passwordPolicyService the password policy remote service
1712             */
1713            public void setPasswordPolicyService(
1714                    com.liferay.portal.service.PasswordPolicyService passwordPolicyService) {
1715                    this.passwordPolicyService = passwordPolicyService;
1716            }
1717    
1718            /**
1719             * Returns the password policy persistence.
1720             *
1721             * @return the password policy persistence
1722             */
1723            public PasswordPolicyPersistence getPasswordPolicyPersistence() {
1724                    return passwordPolicyPersistence;
1725            }
1726    
1727            /**
1728             * Sets the password policy persistence.
1729             *
1730             * @param passwordPolicyPersistence the password policy persistence
1731             */
1732            public void setPasswordPolicyPersistence(
1733                    PasswordPolicyPersistence passwordPolicyPersistence) {
1734                    this.passwordPolicyPersistence = passwordPolicyPersistence;
1735            }
1736    
1737            /**
1738             * Returns the password policy finder.
1739             *
1740             * @return the password policy finder
1741             */
1742            public PasswordPolicyFinder getPasswordPolicyFinder() {
1743                    return passwordPolicyFinder;
1744            }
1745    
1746            /**
1747             * Sets the password policy finder.
1748             *
1749             * @param passwordPolicyFinder the password policy finder
1750             */
1751            public void setPasswordPolicyFinder(
1752                    PasswordPolicyFinder passwordPolicyFinder) {
1753                    this.passwordPolicyFinder = passwordPolicyFinder;
1754            }
1755    
1756            /**
1757             * Returns the password policy rel local service.
1758             *
1759             * @return the password policy rel local service
1760             */
1761            public com.liferay.portal.service.PasswordPolicyRelLocalService getPasswordPolicyRelLocalService() {
1762                    return passwordPolicyRelLocalService;
1763            }
1764    
1765            /**
1766             * Sets the password policy rel local service.
1767             *
1768             * @param passwordPolicyRelLocalService the password policy rel local service
1769             */
1770            public void setPasswordPolicyRelLocalService(
1771                    com.liferay.portal.service.PasswordPolicyRelLocalService passwordPolicyRelLocalService) {
1772                    this.passwordPolicyRelLocalService = passwordPolicyRelLocalService;
1773            }
1774    
1775            /**
1776             * Returns the password policy rel persistence.
1777             *
1778             * @return the password policy rel persistence
1779             */
1780            public PasswordPolicyRelPersistence getPasswordPolicyRelPersistence() {
1781                    return passwordPolicyRelPersistence;
1782            }
1783    
1784            /**
1785             * Sets the password policy rel persistence.
1786             *
1787             * @param passwordPolicyRelPersistence the password policy rel persistence
1788             */
1789            public void setPasswordPolicyRelPersistence(
1790                    PasswordPolicyRelPersistence passwordPolicyRelPersistence) {
1791                    this.passwordPolicyRelPersistence = passwordPolicyRelPersistence;
1792            }
1793    
1794            /**
1795             * Returns the password tracker local service.
1796             *
1797             * @return the password tracker local service
1798             */
1799            public com.liferay.portal.service.PasswordTrackerLocalService getPasswordTrackerLocalService() {
1800                    return passwordTrackerLocalService;
1801            }
1802    
1803            /**
1804             * Sets the password tracker local service.
1805             *
1806             * @param passwordTrackerLocalService the password tracker local service
1807             */
1808            public void setPasswordTrackerLocalService(
1809                    com.liferay.portal.service.PasswordTrackerLocalService passwordTrackerLocalService) {
1810                    this.passwordTrackerLocalService = passwordTrackerLocalService;
1811            }
1812    
1813            /**
1814             * Returns the password tracker persistence.
1815             *
1816             * @return the password tracker persistence
1817             */
1818            public PasswordTrackerPersistence getPasswordTrackerPersistence() {
1819                    return passwordTrackerPersistence;
1820            }
1821    
1822            /**
1823             * Sets the password tracker persistence.
1824             *
1825             * @param passwordTrackerPersistence the password tracker persistence
1826             */
1827            public void setPasswordTrackerPersistence(
1828                    PasswordTrackerPersistence passwordTrackerPersistence) {
1829                    this.passwordTrackerPersistence = passwordTrackerPersistence;
1830            }
1831    
1832            /**
1833             * Returns the resource local service.
1834             *
1835             * @return the resource local service
1836             */
1837            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
1838                    return resourceLocalService;
1839            }
1840    
1841            /**
1842             * Sets the resource local service.
1843             *
1844             * @param resourceLocalService the resource local service
1845             */
1846            public void setResourceLocalService(
1847                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
1848                    this.resourceLocalService = resourceLocalService;
1849            }
1850    
1851            /**
1852             * Returns the role local service.
1853             *
1854             * @return the role local service
1855             */
1856            public com.liferay.portal.service.RoleLocalService getRoleLocalService() {
1857                    return roleLocalService;
1858            }
1859    
1860            /**
1861             * Sets the role local service.
1862             *
1863             * @param roleLocalService the role local service
1864             */
1865            public void setRoleLocalService(
1866                    com.liferay.portal.service.RoleLocalService roleLocalService) {
1867                    this.roleLocalService = roleLocalService;
1868            }
1869    
1870            /**
1871             * Returns the role remote service.
1872             *
1873             * @return the role remote service
1874             */
1875            public com.liferay.portal.service.RoleService getRoleService() {
1876                    return roleService;
1877            }
1878    
1879            /**
1880             * Sets the role remote service.
1881             *
1882             * @param roleService the role remote service
1883             */
1884            public void setRoleService(
1885                    com.liferay.portal.service.RoleService roleService) {
1886                    this.roleService = roleService;
1887            }
1888    
1889            /**
1890             * Returns the role persistence.
1891             *
1892             * @return the role persistence
1893             */
1894            public RolePersistence getRolePersistence() {
1895                    return rolePersistence;
1896            }
1897    
1898            /**
1899             * Sets the role persistence.
1900             *
1901             * @param rolePersistence the role persistence
1902             */
1903            public void setRolePersistence(RolePersistence rolePersistence) {
1904                    this.rolePersistence = rolePersistence;
1905            }
1906    
1907            /**
1908             * Returns the role finder.
1909             *
1910             * @return the role finder
1911             */
1912            public RoleFinder getRoleFinder() {
1913                    return roleFinder;
1914            }
1915    
1916            /**
1917             * Sets the role finder.
1918             *
1919             * @param roleFinder the role finder
1920             */
1921            public void setRoleFinder(RoleFinder roleFinder) {
1922                    this.roleFinder = roleFinder;
1923            }
1924    
1925            /**
1926             * Returns the subscription local service.
1927             *
1928             * @return the subscription local service
1929             */
1930            public com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService() {
1931                    return subscriptionLocalService;
1932            }
1933    
1934            /**
1935             * Sets the subscription local service.
1936             *
1937             * @param subscriptionLocalService the subscription local service
1938             */
1939            public void setSubscriptionLocalService(
1940                    com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService) {
1941                    this.subscriptionLocalService = subscriptionLocalService;
1942            }
1943    
1944            /**
1945             * Returns the subscription persistence.
1946             *
1947             * @return the subscription persistence
1948             */
1949            public SubscriptionPersistence getSubscriptionPersistence() {
1950                    return subscriptionPersistence;
1951            }
1952    
1953            /**
1954             * Sets the subscription persistence.
1955             *
1956             * @param subscriptionPersistence the subscription persistence
1957             */
1958            public void setSubscriptionPersistence(
1959                    SubscriptionPersistence subscriptionPersistence) {
1960                    this.subscriptionPersistence = subscriptionPersistence;
1961            }
1962    
1963            /**
1964             * Returns the team local service.
1965             *
1966             * @return the team local service
1967             */
1968            public com.liferay.portal.service.TeamLocalService getTeamLocalService() {
1969                    return teamLocalService;
1970            }
1971    
1972            /**
1973             * Sets the team local service.
1974             *
1975             * @param teamLocalService the team local service
1976             */
1977            public void setTeamLocalService(
1978                    com.liferay.portal.service.TeamLocalService teamLocalService) {
1979                    this.teamLocalService = teamLocalService;
1980            }
1981    
1982            /**
1983             * Returns the team remote service.
1984             *
1985             * @return the team remote service
1986             */
1987            public com.liferay.portal.service.TeamService getTeamService() {
1988                    return teamService;
1989            }
1990    
1991            /**
1992             * Sets the team remote service.
1993             *
1994             * @param teamService the team remote service
1995             */
1996            public void setTeamService(
1997                    com.liferay.portal.service.TeamService teamService) {
1998                    this.teamService = teamService;
1999            }
2000    
2001            /**
2002             * Returns the team persistence.
2003             *
2004             * @return the team persistence
2005             */
2006            public TeamPersistence getTeamPersistence() {
2007                    return teamPersistence;
2008            }
2009    
2010            /**
2011             * Sets the team persistence.
2012             *
2013             * @param teamPersistence the team persistence
2014             */
2015            public void setTeamPersistence(TeamPersistence teamPersistence) {
2016                    this.teamPersistence = teamPersistence;
2017            }
2018    
2019            /**
2020             * Returns the team finder.
2021             *
2022             * @return the team finder
2023             */
2024            public TeamFinder getTeamFinder() {
2025                    return teamFinder;
2026            }
2027    
2028            /**
2029             * Sets the team finder.
2030             *
2031             * @param teamFinder the team finder
2032             */
2033            public void setTeamFinder(TeamFinder teamFinder) {
2034                    this.teamFinder = teamFinder;
2035            }
2036    
2037            /**
2038             * Returns the ticket local service.
2039             *
2040             * @return the ticket local service
2041             */
2042            public com.liferay.portal.service.TicketLocalService getTicketLocalService() {
2043                    return ticketLocalService;
2044            }
2045    
2046            /**
2047             * Sets the ticket local service.
2048             *
2049             * @param ticketLocalService the ticket local service
2050             */
2051            public void setTicketLocalService(
2052                    com.liferay.portal.service.TicketLocalService ticketLocalService) {
2053                    this.ticketLocalService = ticketLocalService;
2054            }
2055    
2056            /**
2057             * Returns the ticket persistence.
2058             *
2059             * @return the ticket persistence
2060             */
2061            public TicketPersistence getTicketPersistence() {
2062                    return ticketPersistence;
2063            }
2064    
2065            /**
2066             * Sets the ticket persistence.
2067             *
2068             * @param ticketPersistence the ticket persistence
2069             */
2070            public void setTicketPersistence(TicketPersistence ticketPersistence) {
2071                    this.ticketPersistence = ticketPersistence;
2072            }
2073    
2074            /**
2075             * Returns the announcements delivery local service.
2076             *
2077             * @return the announcements delivery local service
2078             */
2079            public com.liferay.portlet.announcements.service.AnnouncementsDeliveryLocalService getAnnouncementsDeliveryLocalService() {
2080                    return announcementsDeliveryLocalService;
2081            }
2082    
2083            /**
2084             * Sets the announcements delivery local service.
2085             *
2086             * @param announcementsDeliveryLocalService the announcements delivery local service
2087             */
2088            public void setAnnouncementsDeliveryLocalService(
2089                    com.liferay.portlet.announcements.service.AnnouncementsDeliveryLocalService announcementsDeliveryLocalService) {
2090                    this.announcementsDeliveryLocalService = announcementsDeliveryLocalService;
2091            }
2092    
2093            /**
2094             * Returns the announcements delivery remote service.
2095             *
2096             * @return the announcements delivery remote service
2097             */
2098            public com.liferay.portlet.announcements.service.AnnouncementsDeliveryService getAnnouncementsDeliveryService() {
2099                    return announcementsDeliveryService;
2100            }
2101    
2102            /**
2103             * Sets the announcements delivery remote service.
2104             *
2105             * @param announcementsDeliveryService the announcements delivery remote service
2106             */
2107            public void setAnnouncementsDeliveryService(
2108                    com.liferay.portlet.announcements.service.AnnouncementsDeliveryService announcementsDeliveryService) {
2109                    this.announcementsDeliveryService = announcementsDeliveryService;
2110            }
2111    
2112            /**
2113             * Returns the announcements delivery persistence.
2114             *
2115             * @return the announcements delivery persistence
2116             */
2117            public AnnouncementsDeliveryPersistence getAnnouncementsDeliveryPersistence() {
2118                    return announcementsDeliveryPersistence;
2119            }
2120    
2121            /**
2122             * Sets the announcements delivery persistence.
2123             *
2124             * @param announcementsDeliveryPersistence the announcements delivery persistence
2125             */
2126            public void setAnnouncementsDeliveryPersistence(
2127                    AnnouncementsDeliveryPersistence announcementsDeliveryPersistence) {
2128                    this.announcementsDeliveryPersistence = announcementsDeliveryPersistence;
2129            }
2130    
2131            /**
2132             * Returns the asset entry local service.
2133             *
2134             * @return the asset entry local service
2135             */
2136            public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
2137                    return assetEntryLocalService;
2138            }
2139    
2140            /**
2141             * Sets the asset entry local service.
2142             *
2143             * @param assetEntryLocalService the asset entry local service
2144             */
2145            public void setAssetEntryLocalService(
2146                    com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
2147                    this.assetEntryLocalService = assetEntryLocalService;
2148            }
2149    
2150            /**
2151             * Returns the asset entry remote service.
2152             *
2153             * @return the asset entry remote service
2154             */
2155            public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
2156                    return assetEntryService;
2157            }
2158    
2159            /**
2160             * Sets the asset entry remote service.
2161             *
2162             * @param assetEntryService the asset entry remote service
2163             */
2164            public void setAssetEntryService(
2165                    com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
2166                    this.assetEntryService = assetEntryService;
2167            }
2168    
2169            /**
2170             * Returns the asset entry persistence.
2171             *
2172             * @return the asset entry persistence
2173             */
2174            public AssetEntryPersistence getAssetEntryPersistence() {
2175                    return assetEntryPersistence;
2176            }
2177    
2178            /**
2179             * Sets the asset entry persistence.
2180             *
2181             * @param assetEntryPersistence the asset entry persistence
2182             */
2183            public void setAssetEntryPersistence(
2184                    AssetEntryPersistence assetEntryPersistence) {
2185                    this.assetEntryPersistence = assetEntryPersistence;
2186            }
2187    
2188            /**
2189             * Returns the asset entry finder.
2190             *
2191             * @return the asset entry finder
2192             */
2193            public AssetEntryFinder getAssetEntryFinder() {
2194                    return assetEntryFinder;
2195            }
2196    
2197            /**
2198             * Sets the asset entry finder.
2199             *
2200             * @param assetEntryFinder the asset entry finder
2201             */
2202            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
2203                    this.assetEntryFinder = assetEntryFinder;
2204            }
2205    
2206            /**
2207             * Returns the blogs stats user local service.
2208             *
2209             * @return the blogs stats user local service
2210             */
2211            public com.liferay.portlet.blogs.service.BlogsStatsUserLocalService getBlogsStatsUserLocalService() {
2212                    return blogsStatsUserLocalService;
2213            }
2214    
2215            /**
2216             * Sets the blogs stats user local service.
2217             *
2218             * @param blogsStatsUserLocalService the blogs stats user local service
2219             */
2220            public void setBlogsStatsUserLocalService(
2221                    com.liferay.portlet.blogs.service.BlogsStatsUserLocalService blogsStatsUserLocalService) {
2222                    this.blogsStatsUserLocalService = blogsStatsUserLocalService;
2223            }
2224    
2225            /**
2226             * Returns the blogs stats user persistence.
2227             *
2228             * @return the blogs stats user persistence
2229             */
2230            public BlogsStatsUserPersistence getBlogsStatsUserPersistence() {
2231                    return blogsStatsUserPersistence;
2232            }
2233    
2234            /**
2235             * Sets the blogs stats user persistence.
2236             *
2237             * @param blogsStatsUserPersistence the blogs stats user persistence
2238             */
2239            public void setBlogsStatsUserPersistence(
2240                    BlogsStatsUserPersistence blogsStatsUserPersistence) {
2241                    this.blogsStatsUserPersistence = blogsStatsUserPersistence;
2242            }
2243    
2244            /**
2245             * Returns the blogs stats user finder.
2246             *
2247             * @return the blogs stats user finder
2248             */
2249            public BlogsStatsUserFinder getBlogsStatsUserFinder() {
2250                    return blogsStatsUserFinder;
2251            }
2252    
2253            /**
2254             * Sets the blogs stats user finder.
2255             *
2256             * @param blogsStatsUserFinder the blogs stats user finder
2257             */
2258            public void setBlogsStatsUserFinder(
2259                    BlogsStatsUserFinder blogsStatsUserFinder) {
2260                    this.blogsStatsUserFinder = blogsStatsUserFinder;
2261            }
2262    
2263            /**
2264             * Returns the document library file entry local service.
2265             *
2266             * @return the document library file entry local service
2267             */
2268            public com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService getDLFileEntryLocalService() {
2269                    return dlFileEntryLocalService;
2270            }
2271    
2272            /**
2273             * Sets the document library file entry local service.
2274             *
2275             * @param dlFileEntryLocalService the document library file entry local service
2276             */
2277            public void setDLFileEntryLocalService(
2278                    com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService) {
2279                    this.dlFileEntryLocalService = dlFileEntryLocalService;
2280            }
2281    
2282            /**
2283             * Returns the document library file entry remote service.
2284             *
2285             * @return the document library file entry remote service
2286             */
2287            public com.liferay.portlet.documentlibrary.service.DLFileEntryService getDLFileEntryService() {
2288                    return dlFileEntryService;
2289            }
2290    
2291            /**
2292             * Sets the document library file entry remote service.
2293             *
2294             * @param dlFileEntryService the document library file entry remote service
2295             */
2296            public void setDLFileEntryService(
2297                    com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService) {
2298                    this.dlFileEntryService = dlFileEntryService;
2299            }
2300    
2301            /**
2302             * Returns the document library file entry persistence.
2303             *
2304             * @return the document library file entry persistence
2305             */
2306            public DLFileEntryPersistence getDLFileEntryPersistence() {
2307                    return dlFileEntryPersistence;
2308            }
2309    
2310            /**
2311             * Sets the document library file entry persistence.
2312             *
2313             * @param dlFileEntryPersistence the document library file entry persistence
2314             */
2315            public void setDLFileEntryPersistence(
2316                    DLFileEntryPersistence dlFileEntryPersistence) {
2317                    this.dlFileEntryPersistence = dlFileEntryPersistence;
2318            }
2319    
2320            /**
2321             * Returns the document library file entry finder.
2322             *
2323             * @return the document library file entry finder
2324             */
2325            public DLFileEntryFinder getDLFileEntryFinder() {
2326                    return dlFileEntryFinder;
2327            }
2328    
2329            /**
2330             * Sets the document library file entry finder.
2331             *
2332             * @param dlFileEntryFinder the document library file entry finder
2333             */
2334            public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
2335                    this.dlFileEntryFinder = dlFileEntryFinder;
2336            }
2337    
2338            /**
2339             * Returns the document library file rank local service.
2340             *
2341             * @return the document library file rank local service
2342             */
2343            public com.liferay.portlet.documentlibrary.service.DLFileRankLocalService getDLFileRankLocalService() {
2344                    return dlFileRankLocalService;
2345            }
2346    
2347            /**
2348             * Sets the document library file rank local service.
2349             *
2350             * @param dlFileRankLocalService the document library file rank local service
2351             */
2352            public void setDLFileRankLocalService(
2353                    com.liferay.portlet.documentlibrary.service.DLFileRankLocalService dlFileRankLocalService) {
2354                    this.dlFileRankLocalService = dlFileRankLocalService;
2355            }
2356    
2357            /**
2358             * Returns the document library file rank persistence.
2359             *
2360             * @return the document library file rank persistence
2361             */
2362            public DLFileRankPersistence getDLFileRankPersistence() {
2363                    return dlFileRankPersistence;
2364            }
2365    
2366            /**
2367             * Sets the document library file rank persistence.
2368             *
2369             * @param dlFileRankPersistence the document library file rank persistence
2370             */
2371            public void setDLFileRankPersistence(
2372                    DLFileRankPersistence dlFileRankPersistence) {
2373                    this.dlFileRankPersistence = dlFileRankPersistence;
2374            }
2375    
2376            /**
2377             * Returns the document library file rank finder.
2378             *
2379             * @return the document library file rank finder
2380             */
2381            public DLFileRankFinder getDLFileRankFinder() {
2382                    return dlFileRankFinder;
2383            }
2384    
2385            /**
2386             * Sets the document library file rank finder.
2387             *
2388             * @param dlFileRankFinder the document library file rank finder
2389             */
2390            public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
2391                    this.dlFileRankFinder = dlFileRankFinder;
2392            }
2393    
2394            /**
2395             * Returns the expando row local service.
2396             *
2397             * @return the expando row local service
2398             */
2399            public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
2400                    return expandoRowLocalService;
2401            }
2402    
2403            /**
2404             * Sets the expando row local service.
2405             *
2406             * @param expandoRowLocalService the expando row local service
2407             */
2408            public void setExpandoRowLocalService(
2409                    com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
2410                    this.expandoRowLocalService = expandoRowLocalService;
2411            }
2412    
2413            /**
2414             * Returns the expando row persistence.
2415             *
2416             * @return the expando row persistence
2417             */
2418            public ExpandoRowPersistence getExpandoRowPersistence() {
2419                    return expandoRowPersistence;
2420            }
2421    
2422            /**
2423             * Sets the expando row persistence.
2424             *
2425             * @param expandoRowPersistence the expando row persistence
2426             */
2427            public void setExpandoRowPersistence(
2428                    ExpandoRowPersistence expandoRowPersistence) {
2429                    this.expandoRowPersistence = expandoRowPersistence;
2430            }
2431    
2432            /**
2433             * Returns the message boards ban local service.
2434             *
2435             * @return the message boards ban local service
2436             */
2437            public com.liferay.portlet.messageboards.service.MBBanLocalService getMBBanLocalService() {
2438                    return mbBanLocalService;
2439            }
2440    
2441            /**
2442             * Sets the message boards ban local service.
2443             *
2444             * @param mbBanLocalService the message boards ban local service
2445             */
2446            public void setMBBanLocalService(
2447                    com.liferay.portlet.messageboards.service.MBBanLocalService mbBanLocalService) {
2448                    this.mbBanLocalService = mbBanLocalService;
2449            }
2450    
2451            /**
2452             * Returns the message boards ban remote service.
2453             *
2454             * @return the message boards ban remote service
2455             */
2456            public com.liferay.portlet.messageboards.service.MBBanService getMBBanService() {
2457                    return mbBanService;
2458            }
2459    
2460            /**
2461             * Sets the message boards ban remote service.
2462             *
2463             * @param mbBanService the message boards ban remote service
2464             */
2465            public void setMBBanService(
2466                    com.liferay.portlet.messageboards.service.MBBanService mbBanService) {
2467                    this.mbBanService = mbBanService;
2468            }
2469    
2470            /**
2471             * Returns the message boards ban persistence.
2472             *
2473             * @return the message boards ban persistence
2474             */
2475            public MBBanPersistence getMBBanPersistence() {
2476                    return mbBanPersistence;
2477            }
2478    
2479            /**
2480             * Sets the message boards ban persistence.
2481             *
2482             * @param mbBanPersistence the message boards ban persistence
2483             */
2484            public void setMBBanPersistence(MBBanPersistence mbBanPersistence) {
2485                    this.mbBanPersistence = mbBanPersistence;
2486            }
2487    
2488            /**
2489             * Returns the message-boards message local service.
2490             *
2491             * @return the message-boards message local service
2492             */
2493            public com.liferay.portlet.messageboards.service.MBMessageLocalService getMBMessageLocalService() {
2494                    return mbMessageLocalService;
2495            }
2496    
2497            /**
2498             * Sets the message-boards message local service.
2499             *
2500             * @param mbMessageLocalService the message-boards message local service
2501             */
2502            public void setMBMessageLocalService(
2503                    com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService) {
2504                    this.mbMessageLocalService = mbMessageLocalService;
2505            }
2506    
2507            /**
2508             * Returns the message-boards message remote service.
2509             *
2510             * @return the message-boards message remote service
2511             */
2512            public com.liferay.portlet.messageboards.service.MBMessageService getMBMessageService() {
2513                    return mbMessageService;
2514            }
2515    
2516            /**
2517             * Sets the message-boards message remote service.
2518             *
2519             * @param mbMessageService the message-boards message remote service
2520             */
2521            public void setMBMessageService(
2522                    com.liferay.portlet.messageboards.service.MBMessageService mbMessageService) {
2523                    this.mbMessageService = mbMessageService;
2524            }
2525    
2526            /**
2527             * Returns the message-boards message persistence.
2528             *
2529             * @return the message-boards message persistence
2530             */
2531            public MBMessagePersistence getMBMessagePersistence() {
2532                    return mbMessagePersistence;
2533            }
2534    
2535            /**
2536             * Sets the message-boards message persistence.
2537             *
2538             * @param mbMessagePersistence the message-boards message persistence
2539             */
2540            public void setMBMessagePersistence(
2541                    MBMessagePersistence mbMessagePersistence) {
2542                    this.mbMessagePersistence = mbMessagePersistence;
2543            }
2544    
2545            /**
2546             * Returns the message-boards message finder.
2547             *
2548             * @return the message-boards message finder
2549             */
2550            public MBMessageFinder getMBMessageFinder() {
2551                    return mbMessageFinder;
2552            }
2553    
2554            /**
2555             * Sets the message-boards message finder.
2556             *
2557             * @param mbMessageFinder the message-boards message finder
2558             */
2559            public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
2560                    this.mbMessageFinder = mbMessageFinder;
2561            }
2562    
2563            /**
2564             * Returns the message boards stats user local service.
2565             *
2566             * @return the message boards stats user local service
2567             */
2568            public com.liferay.portlet.messageboards.service.MBStatsUserLocalService getMBStatsUserLocalService() {
2569                    return mbStatsUserLocalService;
2570            }
2571    
2572            /**
2573             * Sets the message boards stats user local service.
2574             *
2575             * @param mbStatsUserLocalService the message boards stats user local service
2576             */
2577            public void setMBStatsUserLocalService(
2578                    com.liferay.portlet.messageboards.service.MBStatsUserLocalService mbStatsUserLocalService) {
2579                    this.mbStatsUserLocalService = mbStatsUserLocalService;
2580            }
2581    
2582            /**
2583             * Returns the message boards stats user persistence.
2584             *
2585             * @return the message boards stats user persistence
2586             */
2587            public MBStatsUserPersistence getMBStatsUserPersistence() {
2588                    return mbStatsUserPersistence;
2589            }
2590    
2591            /**
2592             * Sets the message boards stats user persistence.
2593             *
2594             * @param mbStatsUserPersistence the message boards stats user persistence
2595             */
2596            public void setMBStatsUserPersistence(
2597                    MBStatsUserPersistence mbStatsUserPersistence) {
2598                    this.mbStatsUserPersistence = mbStatsUserPersistence;
2599            }
2600    
2601            /**
2602             * Returns the message boards thread flag local service.
2603             *
2604             * @return the message boards thread flag local service
2605             */
2606            public com.liferay.portlet.messageboards.service.MBThreadFlagLocalService getMBThreadFlagLocalService() {
2607                    return mbThreadFlagLocalService;
2608            }
2609    
2610            /**
2611             * Sets the message boards thread flag local service.
2612             *
2613             * @param mbThreadFlagLocalService the message boards thread flag local service
2614             */
2615            public void setMBThreadFlagLocalService(
2616                    com.liferay.portlet.messageboards.service.MBThreadFlagLocalService mbThreadFlagLocalService) {
2617                    this.mbThreadFlagLocalService = mbThreadFlagLocalService;
2618            }
2619    
2620            /**
2621             * Returns the message boards thread flag persistence.
2622             *
2623             * @return the message boards thread flag persistence
2624             */
2625            public MBThreadFlagPersistence getMBThreadFlagPersistence() {
2626                    return mbThreadFlagPersistence;
2627            }
2628    
2629            /**
2630             * Sets the message boards thread flag persistence.
2631             *
2632             * @param mbThreadFlagPersistence the message boards thread flag persistence
2633             */
2634            public void setMBThreadFlagPersistence(
2635                    MBThreadFlagPersistence mbThreadFlagPersistence) {
2636                    this.mbThreadFlagPersistence = mbThreadFlagPersistence;
2637            }
2638    
2639            /**
2640             * Returns the shopping cart local service.
2641             *
2642             * @return the shopping cart local service
2643             */
2644            public com.liferay.portlet.shopping.service.ShoppingCartLocalService getShoppingCartLocalService() {
2645                    return shoppingCartLocalService;
2646            }
2647    
2648            /**
2649             * Sets the shopping cart local service.
2650             *
2651             * @param shoppingCartLocalService the shopping cart local service
2652             */
2653            public void setShoppingCartLocalService(
2654                    com.liferay.portlet.shopping.service.ShoppingCartLocalService shoppingCartLocalService) {
2655                    this.shoppingCartLocalService = shoppingCartLocalService;
2656            }
2657    
2658            /**
2659             * Returns the shopping cart persistence.
2660             *
2661             * @return the shopping cart persistence
2662             */
2663            public ShoppingCartPersistence getShoppingCartPersistence() {
2664                    return shoppingCartPersistence;
2665            }
2666    
2667            /**
2668             * Sets the shopping cart persistence.
2669             *
2670             * @param shoppingCartPersistence the shopping cart persistence
2671             */
2672            public void setShoppingCartPersistence(
2673                    ShoppingCartPersistence shoppingCartPersistence) {
2674                    this.shoppingCartPersistence = shoppingCartPersistence;
2675            }
2676    
2677            /**
2678             * Returns the social activity local service.
2679             *
2680             * @return the social activity local service
2681             */
2682            public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
2683                    return socialActivityLocalService;
2684            }
2685    
2686            /**
2687             * Sets the social activity local service.
2688             *
2689             * @param socialActivityLocalService the social activity local service
2690             */
2691            public void setSocialActivityLocalService(
2692                    com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
2693                    this.socialActivityLocalService = socialActivityLocalService;
2694            }
2695    
2696            /**
2697             * Returns the social activity remote service.
2698             *
2699             * @return the social activity remote service
2700             */
2701            public com.liferay.portlet.social.service.SocialActivityService getSocialActivityService() {
2702                    return socialActivityService;
2703            }
2704    
2705            /**
2706             * Sets the social activity remote service.
2707             *
2708             * @param socialActivityService the social activity remote service
2709             */
2710            public void setSocialActivityService(
2711                    com.liferay.portlet.social.service.SocialActivityService socialActivityService) {
2712                    this.socialActivityService = socialActivityService;
2713            }
2714    
2715            /**
2716             * Returns the social activity persistence.
2717             *
2718             * @return the social activity persistence
2719             */
2720            public SocialActivityPersistence getSocialActivityPersistence() {
2721                    return socialActivityPersistence;
2722            }
2723    
2724            /**
2725             * Sets the social activity persistence.
2726             *
2727             * @param socialActivityPersistence the social activity persistence
2728             */
2729            public void setSocialActivityPersistence(
2730                    SocialActivityPersistence socialActivityPersistence) {
2731                    this.socialActivityPersistence = socialActivityPersistence;
2732            }
2733    
2734            /**
2735             * Returns the social activity finder.
2736             *
2737             * @return the social activity finder
2738             */
2739            public SocialActivityFinder getSocialActivityFinder() {
2740                    return socialActivityFinder;
2741            }
2742    
2743            /**
2744             * Sets the social activity finder.
2745             *
2746             * @param socialActivityFinder the social activity finder
2747             */
2748            public void setSocialActivityFinder(
2749                    SocialActivityFinder socialActivityFinder) {
2750                    this.socialActivityFinder = socialActivityFinder;
2751            }
2752    
2753            /**
2754             * Returns the social relation local service.
2755             *
2756             * @return the social relation local service
2757             */
2758            public com.liferay.portlet.social.service.SocialRelationLocalService getSocialRelationLocalService() {
2759                    return socialRelationLocalService;
2760            }
2761    
2762            /**
2763             * Sets the social relation local service.
2764             *
2765             * @param socialRelationLocalService the social relation local service
2766             */
2767            public void setSocialRelationLocalService(
2768                    com.liferay.portlet.social.service.SocialRelationLocalService socialRelationLocalService) {
2769                    this.socialRelationLocalService = socialRelationLocalService;
2770            }
2771    
2772            /**
2773             * Returns the social relation persistence.
2774             *
2775             * @return the social relation persistence
2776             */
2777            public SocialRelationPersistence getSocialRelationPersistence() {
2778                    return socialRelationPersistence;
2779            }
2780    
2781            /**
2782             * Sets the social relation persistence.
2783             *
2784             * @param socialRelationPersistence the social relation persistence
2785             */
2786            public void setSocialRelationPersistence(
2787                    SocialRelationPersistence socialRelationPersistence) {
2788                    this.socialRelationPersistence = socialRelationPersistence;
2789            }
2790    
2791            /**
2792             * Returns the social request local service.
2793             *
2794             * @return the social request local service
2795             */
2796            public com.liferay.portlet.social.service.SocialRequestLocalService getSocialRequestLocalService() {
2797                    return socialRequestLocalService;
2798            }
2799    
2800            /**
2801             * Sets the social request local service.
2802             *
2803             * @param socialRequestLocalService the social request local service
2804             */
2805            public void setSocialRequestLocalService(
2806                    com.liferay.portlet.social.service.SocialRequestLocalService socialRequestLocalService) {
2807                    this.socialRequestLocalService = socialRequestLocalService;
2808            }
2809    
2810            /**
2811             * Returns the social request remote service.
2812             *
2813             * @return the social request remote service
2814             */
2815            public com.liferay.portlet.social.service.SocialRequestService getSocialRequestService() {
2816                    return socialRequestService;
2817            }
2818    
2819            /**
2820             * Sets the social request remote service.
2821             *
2822             * @param socialRequestService the social request remote service
2823             */
2824            public void setSocialRequestService(
2825                    com.liferay.portlet.social.service.SocialRequestService socialRequestService) {
2826                    this.socialRequestService = socialRequestService;
2827            }
2828    
2829            /**
2830             * Returns the social request persistence.
2831             *
2832             * @return the social request persistence
2833             */
2834            public SocialRequestPersistence getSocialRequestPersistence() {
2835                    return socialRequestPersistence;
2836            }
2837    
2838            /**
2839             * Sets the social request persistence.
2840             *
2841             * @param socialRequestPersistence the social request persistence
2842             */
2843            public void setSocialRequestPersistence(
2844                    SocialRequestPersistence socialRequestPersistence) {
2845                    this.socialRequestPersistence = socialRequestPersistence;
2846            }
2847    
2848            /**
2849             * Returns the user group local service.
2850             *
2851             * @return the user group local service
2852             */
2853            public com.liferay.portal.service.UserGroupLocalService getUserGroupLocalService() {
2854                    return userGroupLocalService;
2855            }
2856    
2857            /**
2858             * Sets the user group local service.
2859             *
2860             * @param userGroupLocalService the user group local service
2861             */
2862            public void setUserGroupLocalService(
2863                    com.liferay.portal.service.UserGroupLocalService userGroupLocalService) {
2864                    this.userGroupLocalService = userGroupLocalService;
2865            }
2866    
2867            /**
2868             * Returns the user group remote service.
2869             *
2870             * @return the user group remote service
2871             */
2872            public com.liferay.portal.service.UserGroupService getUserGroupService() {
2873                    return userGroupService;
2874            }
2875    
2876            /**
2877             * Sets the user group remote service.
2878             *
2879             * @param userGroupService the user group remote service
2880             */
2881            public void setUserGroupService(
2882                    com.liferay.portal.service.UserGroupService userGroupService) {
2883                    this.userGroupService = userGroupService;
2884            }
2885    
2886            /**
2887             * Returns the user group persistence.
2888             *
2889             * @return the user group persistence
2890             */
2891            public UserGroupPersistence getUserGroupPersistence() {
2892                    return userGroupPersistence;
2893            }
2894    
2895            /**
2896             * Sets the user group persistence.
2897             *
2898             * @param userGroupPersistence the user group persistence
2899             */
2900            public void setUserGroupPersistence(
2901                    UserGroupPersistence userGroupPersistence) {
2902                    this.userGroupPersistence = userGroupPersistence;
2903            }
2904    
2905            /**
2906             * Returns the user group finder.
2907             *
2908             * @return the user group finder
2909             */
2910            public UserGroupFinder getUserGroupFinder() {
2911                    return userGroupFinder;
2912            }
2913    
2914            /**
2915             * Sets the user group finder.
2916             *
2917             * @param userGroupFinder the user group finder
2918             */
2919            public void setUserGroupFinder(UserGroupFinder userGroupFinder) {
2920                    this.userGroupFinder = userGroupFinder;
2921            }
2922    
2923            /**
2924             * Returns the user group role local service.
2925             *
2926             * @return the user group role local service
2927             */
2928            public com.liferay.portal.service.UserGroupRoleLocalService getUserGroupRoleLocalService() {
2929                    return userGroupRoleLocalService;
2930            }
2931    
2932            /**
2933             * Sets the user group role local service.
2934             *
2935             * @param userGroupRoleLocalService the user group role local service
2936             */
2937            public void setUserGroupRoleLocalService(
2938                    com.liferay.portal.service.UserGroupRoleLocalService userGroupRoleLocalService) {
2939                    this.userGroupRoleLocalService = userGroupRoleLocalService;
2940            }
2941    
2942            /**
2943             * Returns the user group role remote service.
2944             *
2945             * @return the user group role remote service
2946             */
2947            public com.liferay.portal.service.UserGroupRoleService getUserGroupRoleService() {
2948                    return userGroupRoleService;
2949            }
2950    
2951            /**
2952             * Sets the user group role remote service.
2953             *
2954             * @param userGroupRoleService the user group role remote service
2955             */
2956            public void setUserGroupRoleService(
2957                    com.liferay.portal.service.UserGroupRoleService userGroupRoleService) {
2958                    this.userGroupRoleService = userGroupRoleService;
2959            }
2960    
2961            /**
2962             * Returns the user group role persistence.
2963             *
2964             * @return the user group role persistence
2965             */
2966            public UserGroupRolePersistence getUserGroupRolePersistence() {
2967                    return userGroupRolePersistence;
2968            }
2969    
2970            /**
2971             * Sets the user group role persistence.
2972             *
2973             * @param userGroupRolePersistence the user group role persistence
2974             */
2975            public void setUserGroupRolePersistence(
2976                    UserGroupRolePersistence userGroupRolePersistence) {
2977                    this.userGroupRolePersistence = userGroupRolePersistence;
2978            }
2979    
2980            /**
2981             * Returns the user group role finder.
2982             *
2983             * @return the user group role finder
2984             */
2985            public UserGroupRoleFinder getUserGroupRoleFinder() {
2986                    return userGroupRoleFinder;
2987            }
2988    
2989            /**
2990             * Sets the user group role finder.
2991             *
2992             * @param userGroupRoleFinder the user group role finder
2993             */
2994            public void setUserGroupRoleFinder(UserGroupRoleFinder userGroupRoleFinder) {
2995                    this.userGroupRoleFinder = userGroupRoleFinder;
2996            }
2997    
2998            /**
2999             * Returns the user ID mapper local service.
3000             *
3001             * @return the user ID mapper local service
3002             */
3003            public com.liferay.portal.service.UserIdMapperLocalService getUserIdMapperLocalService() {
3004                    return userIdMapperLocalService;
3005            }
3006    
3007            /**
3008             * Sets the user ID mapper local service.
3009             *
3010             * @param userIdMapperLocalService the user ID mapper local service
3011             */
3012            public void setUserIdMapperLocalService(
3013                    com.liferay.portal.service.UserIdMapperLocalService userIdMapperLocalService) {
3014                    this.userIdMapperLocalService = userIdMapperLocalService;
3015            }
3016    
3017            /**
3018             * Returns the user ID mapper persistence.
3019             *
3020             * @return the user ID mapper persistence
3021             */
3022            public UserIdMapperPersistence getUserIdMapperPersistence() {
3023                    return userIdMapperPersistence;
3024            }
3025    
3026            /**
3027             * Sets the user ID mapper persistence.
3028             *
3029             * @param userIdMapperPersistence the user ID mapper persistence
3030             */
3031            public void setUserIdMapperPersistence(
3032                    UserIdMapperPersistence userIdMapperPersistence) {
3033                    this.userIdMapperPersistence = userIdMapperPersistence;
3034            }
3035    
3036            /**
3037             * Returns the workflow instance link local service.
3038             *
3039             * @return the workflow instance link local service
3040             */
3041            public com.liferay.portal.service.WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
3042                    return workflowInstanceLinkLocalService;
3043            }
3044    
3045            /**
3046             * Sets the workflow instance link local service.
3047             *
3048             * @param workflowInstanceLinkLocalService the workflow instance link local service
3049             */
3050            public void setWorkflowInstanceLinkLocalService(
3051                    com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
3052                    this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
3053            }
3054    
3055            /**
3056             * Returns the workflow instance link persistence.
3057             *
3058             * @return the workflow instance link persistence
3059             */
3060            public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
3061                    return workflowInstanceLinkPersistence;
3062            }
3063    
3064            /**
3065             * Sets the workflow instance link persistence.
3066             *
3067             * @param workflowInstanceLinkPersistence the workflow instance link persistence
3068             */
3069            public void setWorkflowInstanceLinkPersistence(
3070                    WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
3071                    this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
3072            }
3073    
3074            public void afterPropertiesSet() {
3075                    persistedModelLocalServiceRegistry.register("com.liferay.portal.model.User",
3076                            userLocalService);
3077            }
3078    
3079            public void destroy() {
3080                    persistedModelLocalServiceRegistry.unregister(
3081                            "com.liferay.portal.model.User");
3082            }
3083    
3084            /**
3085             * Returns the Spring bean ID for this bean.
3086             *
3087             * @return the Spring bean ID for this bean
3088             */
3089            @Override
3090            public String getBeanIdentifier() {
3091                    return _beanIdentifier;
3092            }
3093    
3094            /**
3095             * Sets the Spring bean ID for this bean.
3096             *
3097             * @param beanIdentifier the Spring bean ID for this bean
3098             */
3099            @Override
3100            public void setBeanIdentifier(String beanIdentifier) {
3101                    _beanIdentifier = beanIdentifier;
3102            }
3103    
3104            protected Class<?> getModelClass() {
3105                    return User.class;
3106            }
3107    
3108            protected String getModelClassName() {
3109                    return User.class.getName();
3110            }
3111    
3112            /**
3113             * Performs a SQL query.
3114             *
3115             * @param sql the sql query
3116             */
3117            protected void runSQL(String sql) {
3118                    try {
3119                            DataSource dataSource = userPersistence.getDataSource();
3120    
3121                            DB db = DBFactoryUtil.getDB();
3122    
3123                            sql = db.buildSQL(sql);
3124                            sql = PortalUtil.transformSQL(sql);
3125    
3126                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
3127                                            sql, new int[0]);
3128    
3129                            sqlUpdate.update();
3130                    }
3131                    catch (Exception e) {
3132                            throw new SystemException(e);
3133                    }
3134            }
3135    
3136            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
3137            protected com.liferay.portal.service.UserLocalService userLocalService;
3138            @BeanReference(type = com.liferay.portal.service.UserService.class)
3139            protected com.liferay.portal.service.UserService userService;
3140            @BeanReference(type = UserPersistence.class)
3141            protected UserPersistence userPersistence;
3142            @BeanReference(type = UserFinder.class)
3143            protected UserFinder userFinder;
3144            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
3145            protected com.liferay.counter.service.CounterLocalService counterLocalService;
3146            @BeanReference(type = com.liferay.mail.service.MailService.class)
3147            protected com.liferay.mail.service.MailService mailService;
3148            @BeanReference(type = com.liferay.portal.service.BrowserTrackerLocalService.class)
3149            protected com.liferay.portal.service.BrowserTrackerLocalService browserTrackerLocalService;
3150            @BeanReference(type = BrowserTrackerPersistence.class)
3151            protected BrowserTrackerPersistence browserTrackerPersistence;
3152            @BeanReference(type = com.liferay.portal.service.CompanyLocalService.class)
3153            protected com.liferay.portal.service.CompanyLocalService companyLocalService;
3154            @BeanReference(type = com.liferay.portal.service.CompanyService.class)
3155            protected com.liferay.portal.service.CompanyService companyService;
3156            @BeanReference(type = CompanyPersistence.class)
3157            protected CompanyPersistence companyPersistence;
3158            @BeanReference(type = com.liferay.portal.service.ContactLocalService.class)
3159            protected com.liferay.portal.service.ContactLocalService contactLocalService;
3160            @BeanReference(type = com.liferay.portal.service.ContactService.class)
3161            protected com.liferay.portal.service.ContactService contactService;
3162            @BeanReference(type = ContactPersistence.class)
3163            protected ContactPersistence contactPersistence;
3164            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
3165            protected com.liferay.portal.service.GroupLocalService groupLocalService;
3166            @BeanReference(type = com.liferay.portal.service.GroupService.class)
3167            protected com.liferay.portal.service.GroupService groupService;
3168            @BeanReference(type = GroupPersistence.class)
3169            protected GroupPersistence groupPersistence;
3170            @BeanReference(type = GroupFinder.class)
3171            protected GroupFinder groupFinder;
3172            @BeanReference(type = com.liferay.portal.service.ImageLocalService.class)
3173            protected com.liferay.portal.service.ImageLocalService imageLocalService;
3174            @BeanReference(type = com.liferay.portal.service.ImageService.class)
3175            protected com.liferay.portal.service.ImageService imageService;
3176            @BeanReference(type = ImagePersistence.class)
3177            protected ImagePersistence imagePersistence;
3178            @BeanReference(type = com.liferay.portal.service.LayoutLocalService.class)
3179            protected com.liferay.portal.service.LayoutLocalService layoutLocalService;
3180            @BeanReference(type = com.liferay.portal.service.LayoutService.class)
3181            protected com.liferay.portal.service.LayoutService layoutService;
3182            @BeanReference(type = LayoutPersistence.class)
3183            protected LayoutPersistence layoutPersistence;
3184            @BeanReference(type = LayoutFinder.class)
3185            protected LayoutFinder layoutFinder;
3186            @BeanReference(type = com.liferay.portal.service.MembershipRequestLocalService.class)
3187            protected com.liferay.portal.service.MembershipRequestLocalService membershipRequestLocalService;
3188            @BeanReference(type = com.liferay.portal.service.MembershipRequestService.class)
3189            protected com.liferay.portal.service.MembershipRequestService membershipRequestService;
3190            @BeanReference(type = MembershipRequestPersistence.class)
3191            protected MembershipRequestPersistence membershipRequestPersistence;
3192            @BeanReference(type = com.liferay.portal.service.OrganizationLocalService.class)
3193            protected com.liferay.portal.service.OrganizationLocalService organizationLocalService;
3194            @BeanReference(type = com.liferay.portal.service.OrganizationService.class)
3195            protected com.liferay.portal.service.OrganizationService organizationService;
3196            @BeanReference(type = OrganizationPersistence.class)
3197            protected OrganizationPersistence organizationPersistence;
3198            @BeanReference(type = OrganizationFinder.class)
3199            protected OrganizationFinder organizationFinder;
3200            @BeanReference(type = com.liferay.portal.service.PasswordPolicyLocalService.class)
3201            protected com.liferay.portal.service.PasswordPolicyLocalService passwordPolicyLocalService;
3202            @BeanReference(type = com.liferay.portal.service.PasswordPolicyService.class)
3203            protected com.liferay.portal.service.PasswordPolicyService passwordPolicyService;
3204            @BeanReference(type = PasswordPolicyPersistence.class)
3205            protected PasswordPolicyPersistence passwordPolicyPersistence;
3206            @BeanReference(type = PasswordPolicyFinder.class)
3207            protected PasswordPolicyFinder passwordPolicyFinder;
3208            @BeanReference(type = com.liferay.portal.service.PasswordPolicyRelLocalService.class)
3209            protected com.liferay.portal.service.PasswordPolicyRelLocalService passwordPolicyRelLocalService;
3210            @BeanReference(type = PasswordPolicyRelPersistence.class)
3211            protected PasswordPolicyRelPersistence passwordPolicyRelPersistence;
3212            @BeanReference(type = com.liferay.portal.service.PasswordTrackerLocalService.class)
3213            protected com.liferay.portal.service.PasswordTrackerLocalService passwordTrackerLocalService;
3214            @BeanReference(type = PasswordTrackerPersistence.class)
3215            protected PasswordTrackerPersistence passwordTrackerPersistence;
3216            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
3217            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
3218            @BeanReference(type = com.liferay.portal.service.RoleLocalService.class)
3219            protected com.liferay.portal.service.RoleLocalService roleLocalService;
3220            @BeanReference(type = com.liferay.portal.service.RoleService.class)
3221            protected com.liferay.portal.service.RoleService roleService;
3222            @BeanReference(type = RolePersistence.class)
3223            protected RolePersistence rolePersistence;
3224            @BeanReference(type = RoleFinder.class)
3225            protected RoleFinder roleFinder;
3226            @BeanReference(type = com.liferay.portal.service.SubscriptionLocalService.class)
3227            protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService;
3228            @BeanReference(type = SubscriptionPersistence.class)
3229            protected SubscriptionPersistence subscriptionPersistence;
3230            @BeanReference(type = com.liferay.portal.service.TeamLocalService.class)
3231            protected com.liferay.portal.service.TeamLocalService teamLocalService;
3232            @BeanReference(type = com.liferay.portal.service.TeamService.class)
3233            protected com.liferay.portal.service.TeamService teamService;
3234            @BeanReference(type = TeamPersistence.class)
3235            protected TeamPersistence teamPersistence;
3236            @BeanReference(type = TeamFinder.class)
3237            protected TeamFinder teamFinder;
3238            @BeanReference(type = com.liferay.portal.service.TicketLocalService.class)
3239            protected com.liferay.portal.service.TicketLocalService ticketLocalService;
3240            @BeanReference(type = TicketPersistence.class)
3241            protected TicketPersistence ticketPersistence;
3242            @BeanReference(type = com.liferay.portlet.announcements.service.AnnouncementsDeliveryLocalService.class)
3243            protected com.liferay.portlet.announcements.service.AnnouncementsDeliveryLocalService announcementsDeliveryLocalService;
3244            @BeanReference(type = com.liferay.portlet.announcements.service.AnnouncementsDeliveryService.class)
3245            protected com.liferay.portlet.announcements.service.AnnouncementsDeliveryService announcementsDeliveryService;
3246            @BeanReference(type = AnnouncementsDeliveryPersistence.class)
3247            protected AnnouncementsDeliveryPersistence announcementsDeliveryPersistence;
3248            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
3249            protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
3250            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
3251            protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
3252            @BeanReference(type = AssetEntryPersistence.class)
3253            protected AssetEntryPersistence assetEntryPersistence;
3254            @BeanReference(type = AssetEntryFinder.class)
3255            protected AssetEntryFinder assetEntryFinder;
3256            @BeanReference(type = com.liferay.portlet.blogs.service.BlogsStatsUserLocalService.class)
3257            protected com.liferay.portlet.blogs.service.BlogsStatsUserLocalService blogsStatsUserLocalService;
3258            @BeanReference(type = BlogsStatsUserPersistence.class)
3259            protected BlogsStatsUserPersistence blogsStatsUserPersistence;
3260            @BeanReference(type = BlogsStatsUserFinder.class)
3261            protected BlogsStatsUserFinder blogsStatsUserFinder;
3262            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService.class)
3263            protected com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService;
3264            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryService.class)
3265            protected com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService;
3266            @BeanReference(type = DLFileEntryPersistence.class)
3267            protected DLFileEntryPersistence dlFileEntryPersistence;
3268            @BeanReference(type = DLFileEntryFinder.class)
3269            protected DLFileEntryFinder dlFileEntryFinder;
3270            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileRankLocalService.class)
3271            protected com.liferay.portlet.documentlibrary.service.DLFileRankLocalService dlFileRankLocalService;
3272            @BeanReference(type = DLFileRankPersistence.class)
3273            protected DLFileRankPersistence dlFileRankPersistence;
3274            @BeanReference(type = DLFileRankFinder.class)
3275            protected DLFileRankFinder dlFileRankFinder;
3276            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
3277            protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
3278            @BeanReference(type = ExpandoRowPersistence.class)
3279            protected ExpandoRowPersistence expandoRowPersistence;
3280            @BeanReference(type = com.liferay.portlet.messageboards.service.MBBanLocalService.class)
3281            protected com.liferay.portlet.messageboards.service.MBBanLocalService mbBanLocalService;
3282            @BeanReference(type = com.liferay.portlet.messageboards.service.MBBanService.class)
3283            protected com.liferay.portlet.messageboards.service.MBBanService mbBanService;
3284            @BeanReference(type = MBBanPersistence.class)
3285            protected MBBanPersistence mbBanPersistence;
3286            @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageLocalService.class)
3287            protected com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService;
3288            @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageService.class)
3289            protected com.liferay.portlet.messageboards.service.MBMessageService mbMessageService;
3290            @BeanReference(type = MBMessagePersistence.class)
3291            protected MBMessagePersistence mbMessagePersistence;
3292            @BeanReference(type = MBMessageFinder.class)
3293            protected MBMessageFinder mbMessageFinder;
3294            @BeanReference(type = com.liferay.portlet.messageboards.service.MBStatsUserLocalService.class)
3295            protected com.liferay.portlet.messageboards.service.MBStatsUserLocalService mbStatsUserLocalService;
3296            @BeanReference(type = MBStatsUserPersistence.class)
3297            protected MBStatsUserPersistence mbStatsUserPersistence;
3298            @BeanReference(type = com.liferay.portlet.messageboards.service.MBThreadFlagLocalService.class)
3299            protected com.liferay.portlet.messageboards.service.MBThreadFlagLocalService mbThreadFlagLocalService;
3300            @BeanReference(type = MBThreadFlagPersistence.class)
3301            protected MBThreadFlagPersistence mbThreadFlagPersistence;
3302            @BeanReference(type = com.liferay.portlet.shopping.service.ShoppingCartLocalService.class)
3303            protected com.liferay.portlet.shopping.service.ShoppingCartLocalService shoppingCartLocalService;
3304            @BeanReference(type = ShoppingCartPersistence.class)
3305            protected ShoppingCartPersistence shoppingCartPersistence;
3306            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
3307            protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
3308            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityService.class)
3309            protected com.liferay.portlet.social.service.SocialActivityService socialActivityService;
3310            @BeanReference(type = SocialActivityPersistence.class)
3311            protected SocialActivityPersistence socialActivityPersistence;
3312            @BeanReference(type = SocialActivityFinder.class)
3313            protected SocialActivityFinder socialActivityFinder;
3314            @BeanReference(type = com.liferay.portlet.social.service.SocialRelationLocalService.class)
3315            protected com.liferay.portlet.social.service.SocialRelationLocalService socialRelationLocalService;
3316            @BeanReference(type = SocialRelationPersistence.class)
3317            protected SocialRelationPersistence socialRelationPersistence;
3318            @BeanReference(type = com.liferay.portlet.social.service.SocialRequestLocalService.class)
3319            protected com.liferay.portlet.social.service.SocialRequestLocalService socialRequestLocalService;
3320            @BeanReference(type = com.liferay.portlet.social.service.SocialRequestService.class)
3321            protected com.liferay.portlet.social.service.SocialRequestService socialRequestService;
3322            @BeanReference(type = SocialRequestPersistence.class)
3323            protected SocialRequestPersistence socialRequestPersistence;
3324            @BeanReference(type = com.liferay.portal.service.UserGroupLocalService.class)
3325            protected com.liferay.portal.service.UserGroupLocalService userGroupLocalService;
3326            @BeanReference(type = com.liferay.portal.service.UserGroupService.class)
3327            protected com.liferay.portal.service.UserGroupService userGroupService;
3328            @BeanReference(type = UserGroupPersistence.class)
3329            protected UserGroupPersistence userGroupPersistence;
3330            @BeanReference(type = UserGroupFinder.class)
3331            protected UserGroupFinder userGroupFinder;
3332            @BeanReference(type = com.liferay.portal.service.UserGroupRoleLocalService.class)
3333            protected com.liferay.portal.service.UserGroupRoleLocalService userGroupRoleLocalService;
3334            @BeanReference(type = com.liferay.portal.service.UserGroupRoleService.class)
3335            protected com.liferay.portal.service.UserGroupRoleService userGroupRoleService;
3336            @BeanReference(type = UserGroupRolePersistence.class)
3337            protected UserGroupRolePersistence userGroupRolePersistence;
3338            @BeanReference(type = UserGroupRoleFinder.class)
3339            protected UserGroupRoleFinder userGroupRoleFinder;
3340            @BeanReference(type = com.liferay.portal.service.UserIdMapperLocalService.class)
3341            protected com.liferay.portal.service.UserIdMapperLocalService userIdMapperLocalService;
3342            @BeanReference(type = UserIdMapperPersistence.class)
3343            protected UserIdMapperPersistence userIdMapperPersistence;
3344            @BeanReference(type = com.liferay.portal.service.WorkflowInstanceLinkLocalService.class)
3345            protected com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
3346            @BeanReference(type = WorkflowInstanceLinkPersistence.class)
3347            protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
3348            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
3349            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
3350            private String _beanIdentifier;
3351    }