001    /**
002     * Copyright (c) 2000-2010 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;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link UserLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       UserLocalService
025     * @generated
026     */
027    public class UserLocalServiceWrapper implements UserLocalService {
028            public UserLocalServiceWrapper(UserLocalService userLocalService) {
029                    _userLocalService = userLocalService;
030            }
031    
032            public com.liferay.portal.model.User addUser(
033                    com.liferay.portal.model.User user)
034                    throws com.liferay.portal.kernel.exception.SystemException {
035                    return _userLocalService.addUser(user);
036            }
037    
038            public com.liferay.portal.model.User createUser(long userId) {
039                    return _userLocalService.createUser(userId);
040            }
041    
042            public void deleteUser(long userId)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _userLocalService.deleteUser(userId);
046            }
047    
048            public void deleteUser(com.liferay.portal.model.User user)
049                    throws com.liferay.portal.kernel.exception.SystemException {
050                    _userLocalService.deleteUser(user);
051            }
052    
053            @SuppressWarnings("unchecked")
054            public java.util.List dynamicQuery(
055                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
056                    throws com.liferay.portal.kernel.exception.SystemException {
057                    return _userLocalService.dynamicQuery(dynamicQuery);
058            }
059    
060            @SuppressWarnings("unchecked")
061            public java.util.List dynamicQuery(
062                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
063                    int end) throws com.liferay.portal.kernel.exception.SystemException {
064                    return _userLocalService.dynamicQuery(dynamicQuery, start, end);
065            }
066    
067            @SuppressWarnings("unchecked")
068            public java.util.List dynamicQuery(
069                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
070                    int end,
071                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072                    throws com.liferay.portal.kernel.exception.SystemException {
073                    return _userLocalService.dynamicQuery(dynamicQuery, start, end,
074                            orderByComparator);
075            }
076    
077            public long dynamicQueryCount(
078                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
079                    throws com.liferay.portal.kernel.exception.SystemException {
080                    return _userLocalService.dynamicQueryCount(dynamicQuery);
081            }
082    
083            public com.liferay.portal.model.User getUser(long userId)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _userLocalService.getUser(userId);
087            }
088    
089            public java.util.List<com.liferay.portal.model.User> getUsers(int start,
090                    int end) throws com.liferay.portal.kernel.exception.SystemException {
091                    return _userLocalService.getUsers(start, end);
092            }
093    
094            public int getUsersCount()
095                    throws com.liferay.portal.kernel.exception.SystemException {
096                    return _userLocalService.getUsersCount();
097            }
098    
099            public com.liferay.portal.model.User updateUser(
100                    com.liferay.portal.model.User user)
101                    throws com.liferay.portal.kernel.exception.SystemException {
102                    return _userLocalService.updateUser(user);
103            }
104    
105            public com.liferay.portal.model.User updateUser(
106                    com.liferay.portal.model.User user, boolean merge)
107                    throws com.liferay.portal.kernel.exception.SystemException {
108                    return _userLocalService.updateUser(user, merge);
109            }
110    
111            public void addDefaultGroups(long userId)
112                    throws com.liferay.portal.kernel.exception.PortalException,
113                            com.liferay.portal.kernel.exception.SystemException {
114                    _userLocalService.addDefaultGroups(userId);
115            }
116    
117            public void addDefaultRoles(long userId)
118                    throws com.liferay.portal.kernel.exception.PortalException,
119                            com.liferay.portal.kernel.exception.SystemException {
120                    _userLocalService.addDefaultRoles(userId);
121            }
122    
123            public void addDefaultUserGroups(long userId)
124                    throws com.liferay.portal.kernel.exception.PortalException,
125                            com.liferay.portal.kernel.exception.SystemException {
126                    _userLocalService.addDefaultUserGroups(userId);
127            }
128    
129            public void addGroupUsers(long groupId, long[] userIds)
130                    throws com.liferay.portal.kernel.exception.PortalException,
131                            com.liferay.portal.kernel.exception.SystemException {
132                    _userLocalService.addGroupUsers(groupId, userIds);
133            }
134    
135            public void addOrganizationUsers(long organizationId, long[] userIds)
136                    throws com.liferay.portal.kernel.exception.PortalException,
137                            com.liferay.portal.kernel.exception.SystemException {
138                    _userLocalService.addOrganizationUsers(organizationId, userIds);
139            }
140    
141            public void addPasswordPolicyUsers(long passwordPolicyId, long[] userIds)
142                    throws com.liferay.portal.kernel.exception.SystemException {
143                    _userLocalService.addPasswordPolicyUsers(passwordPolicyId, userIds);
144            }
145    
146            public void addRoleUsers(long roleId, long[] userIds)
147                    throws com.liferay.portal.kernel.exception.PortalException,
148                            com.liferay.portal.kernel.exception.SystemException {
149                    _userLocalService.addRoleUsers(roleId, userIds);
150            }
151    
152            public void addTeamUsers(long teamId, long[] userIds)
153                    throws com.liferay.portal.kernel.exception.PortalException,
154                            com.liferay.portal.kernel.exception.SystemException {
155                    _userLocalService.addTeamUsers(teamId, userIds);
156            }
157    
158            public com.liferay.portal.model.User addUser(long creatorUserId,
159                    long companyId, boolean autoPassword, java.lang.String password1,
160                    java.lang.String password2, boolean autoScreenName,
161                    java.lang.String screenName, java.lang.String emailAddress,
162                    long facebookId, java.lang.String openId, java.util.Locale locale,
163                    java.lang.String firstName, java.lang.String middleName,
164                    java.lang.String lastName, int prefixId, int suffixId, boolean male,
165                    int birthdayMonth, int birthdayDay, int birthdayYear,
166                    java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
167                    long[] roleIds, long[] userGroupIds, boolean sendEmail,
168                    com.liferay.portal.service.ServiceContext serviceContext)
169                    throws com.liferay.portal.kernel.exception.PortalException,
170                            com.liferay.portal.kernel.exception.SystemException {
171                    return _userLocalService.addUser(creatorUserId, companyId,
172                            autoPassword, password1, password2, autoScreenName, screenName,
173                            emailAddress, facebookId, openId, locale, firstName, middleName,
174                            lastName, prefixId, suffixId, male, birthdayMonth, birthdayDay,
175                            birthdayYear, jobTitle, groupIds, organizationIds, roleIds,
176                            userGroupIds, sendEmail, serviceContext);
177            }
178    
179            public void addUserGroupUsers(long userGroupId, long[] userIds)
180                    throws com.liferay.portal.kernel.exception.PortalException,
181                            com.liferay.portal.kernel.exception.SystemException {
182                    _userLocalService.addUserGroupUsers(userGroupId, userIds);
183            }
184    
185            public int authenticateByEmailAddress(long companyId,
186                    java.lang.String emailAddress, java.lang.String password,
187                    java.util.Map<java.lang.String, java.lang.String[]> headerMap,
188                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
189                    throws com.liferay.portal.kernel.exception.PortalException,
190                            com.liferay.portal.kernel.exception.SystemException {
191                    return _userLocalService.authenticateByEmailAddress(companyId,
192                            emailAddress, password, headerMap, parameterMap);
193            }
194    
195            public int authenticateByScreenName(long companyId,
196                    java.lang.String screenName, java.lang.String password,
197                    java.util.Map<java.lang.String, java.lang.String[]> headerMap,
198                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
199                    throws com.liferay.portal.kernel.exception.PortalException,
200                            com.liferay.portal.kernel.exception.SystemException {
201                    return _userLocalService.authenticateByScreenName(companyId,
202                            screenName, password, headerMap, parameterMap);
203            }
204    
205            public int authenticateByUserId(long companyId, long userId,
206                    java.lang.String password,
207                    java.util.Map<java.lang.String, java.lang.String[]> headerMap,
208                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
209                    throws com.liferay.portal.kernel.exception.PortalException,
210                            com.liferay.portal.kernel.exception.SystemException {
211                    return _userLocalService.authenticateByUserId(companyId, userId,
212                            password, headerMap, parameterMap);
213            }
214    
215            public long authenticateForBasic(long companyId, java.lang.String authType,
216                    java.lang.String login, java.lang.String password)
217                    throws com.liferay.portal.kernel.exception.PortalException,
218                            com.liferay.portal.kernel.exception.SystemException {
219                    return _userLocalService.authenticateForBasic(companyId, authType,
220                            login, password);
221            }
222    
223            public boolean authenticateForJAAS(long userId, java.lang.String encPassword) {
224                    return _userLocalService.authenticateForJAAS(userId, encPassword);
225            }
226    
227            public void checkLockout(com.liferay.portal.model.User user)
228                    throws com.liferay.portal.kernel.exception.PortalException,
229                            com.liferay.portal.kernel.exception.SystemException {
230                    _userLocalService.checkLockout(user);
231            }
232    
233            public void checkLoginFailure(com.liferay.portal.model.User user)
234                    throws com.liferay.portal.kernel.exception.SystemException {
235                    _userLocalService.checkLoginFailure(user);
236            }
237    
238            public void checkLoginFailureByEmailAddress(long companyId,
239                    java.lang.String emailAddress)
240                    throws com.liferay.portal.kernel.exception.PortalException,
241                            com.liferay.portal.kernel.exception.SystemException {
242                    _userLocalService.checkLoginFailureByEmailAddress(companyId,
243                            emailAddress);
244            }
245    
246            public void checkLoginFailureById(long userId)
247                    throws com.liferay.portal.kernel.exception.PortalException,
248                            com.liferay.portal.kernel.exception.SystemException {
249                    _userLocalService.checkLoginFailureById(userId);
250            }
251    
252            public void checkLoginFailureByScreenName(long companyId,
253                    java.lang.String screenName)
254                    throws com.liferay.portal.kernel.exception.PortalException,
255                            com.liferay.portal.kernel.exception.SystemException {
256                    _userLocalService.checkLoginFailureByScreenName(companyId, screenName);
257            }
258    
259            public void checkPasswordExpired(com.liferay.portal.model.User user)
260                    throws com.liferay.portal.kernel.exception.PortalException,
261                            com.liferay.portal.kernel.exception.SystemException {
262                    _userLocalService.checkPasswordExpired(user);
263            }
264    
265            public com.liferay.portal.kernel.util.KeyValuePair decryptUserId(
266                    long companyId, java.lang.String name, java.lang.String password)
267                    throws com.liferay.portal.kernel.exception.PortalException,
268                            com.liferay.portal.kernel.exception.SystemException {
269                    return _userLocalService.decryptUserId(companyId, name, password);
270            }
271    
272            public void deletePortrait(long userId)
273                    throws com.liferay.portal.kernel.exception.PortalException,
274                            com.liferay.portal.kernel.exception.SystemException {
275                    _userLocalService.deletePortrait(userId);
276            }
277    
278            public void deleteRoleUser(long roleId, long userId)
279                    throws com.liferay.portal.kernel.exception.PortalException,
280                            com.liferay.portal.kernel.exception.SystemException {
281                    _userLocalService.deleteRoleUser(roleId, userId);
282            }
283    
284            public java.lang.String encryptUserId(java.lang.String name)
285                    throws com.liferay.portal.kernel.exception.PortalException,
286                            com.liferay.portal.kernel.exception.SystemException {
287                    return _userLocalService.encryptUserId(name);
288            }
289    
290            public java.util.List<com.liferay.portal.model.User> getCompanyUsers(
291                    long companyId, int start, int end)
292                    throws com.liferay.portal.kernel.exception.SystemException {
293                    return _userLocalService.getCompanyUsers(companyId, start, end);
294            }
295    
296            public int getCompanyUsersCount(long companyId)
297                    throws com.liferay.portal.kernel.exception.SystemException {
298                    return _userLocalService.getCompanyUsersCount(companyId);
299            }
300    
301            public com.liferay.portal.model.User getDefaultUser(long companyId)
302                    throws com.liferay.portal.kernel.exception.PortalException,
303                            com.liferay.portal.kernel.exception.SystemException {
304                    return _userLocalService.getDefaultUser(companyId);
305            }
306    
307            public long getDefaultUserId(long companyId)
308                    throws com.liferay.portal.kernel.exception.PortalException,
309                            com.liferay.portal.kernel.exception.SystemException {
310                    return _userLocalService.getDefaultUserId(companyId);
311            }
312    
313            public long[] getGroupUserIds(long groupId)
314                    throws com.liferay.portal.kernel.exception.SystemException {
315                    return _userLocalService.getGroupUserIds(groupId);
316            }
317    
318            public java.util.List<com.liferay.portal.model.User> getGroupUsers(
319                    long groupId)
320                    throws com.liferay.portal.kernel.exception.SystemException {
321                    return _userLocalService.getGroupUsers(groupId);
322            }
323    
324            public int getGroupUsersCount(long groupId)
325                    throws com.liferay.portal.kernel.exception.SystemException {
326                    return _userLocalService.getGroupUsersCount(groupId);
327            }
328    
329            public int getGroupUsersCount(long groupId, boolean active)
330                    throws com.liferay.portal.kernel.exception.PortalException,
331                            com.liferay.portal.kernel.exception.SystemException {
332                    return _userLocalService.getGroupUsersCount(groupId, active);
333            }
334    
335            public java.util.List<com.liferay.portal.model.User> getNoAnnouncementsDeliveries(
336                    java.lang.String type)
337                    throws com.liferay.portal.kernel.exception.SystemException {
338                    return _userLocalService.getNoAnnouncementsDeliveries(type);
339            }
340    
341            public java.util.List<com.liferay.portal.model.User> getNoContacts()
342                    throws com.liferay.portal.kernel.exception.SystemException {
343                    return _userLocalService.getNoContacts();
344            }
345    
346            public java.util.List<com.liferay.portal.model.User> getNoGroups()
347                    throws com.liferay.portal.kernel.exception.SystemException {
348                    return _userLocalService.getNoGroups();
349            }
350    
351            public long[] getOrganizationUserIds(long organizationId)
352                    throws com.liferay.portal.kernel.exception.SystemException {
353                    return _userLocalService.getOrganizationUserIds(organizationId);
354            }
355    
356            public java.util.List<com.liferay.portal.model.User> getOrganizationUsers(
357                    long organizationId)
358                    throws com.liferay.portal.kernel.exception.SystemException {
359                    return _userLocalService.getOrganizationUsers(organizationId);
360            }
361    
362            public int getOrganizationUsersCount(long organizationId)
363                    throws com.liferay.portal.kernel.exception.SystemException {
364                    return _userLocalService.getOrganizationUsersCount(organizationId);
365            }
366    
367            public int getOrganizationUsersCount(long organizationId, boolean active)
368                    throws com.liferay.portal.kernel.exception.PortalException,
369                            com.liferay.portal.kernel.exception.SystemException {
370                    return _userLocalService.getOrganizationUsersCount(organizationId,
371                            active);
372            }
373    
374            public long[] getRoleUserIds(long roleId)
375                    throws com.liferay.portal.kernel.exception.SystemException {
376                    return _userLocalService.getRoleUserIds(roleId);
377            }
378    
379            public java.util.List<com.liferay.portal.model.User> getRoleUsers(
380                    long roleId) throws com.liferay.portal.kernel.exception.SystemException {
381                    return _userLocalService.getRoleUsers(roleId);
382            }
383    
384            public java.util.List<com.liferay.portal.model.User> getRoleUsers(
385                    long roleId, int start, int end)
386                    throws com.liferay.portal.kernel.exception.SystemException {
387                    return _userLocalService.getRoleUsers(roleId, start, end);
388            }
389    
390            public int getRoleUsersCount(long roleId)
391                    throws com.liferay.portal.kernel.exception.SystemException {
392                    return _userLocalService.getRoleUsersCount(roleId);
393            }
394    
395            public int getRoleUsersCount(long roleId, boolean active)
396                    throws com.liferay.portal.kernel.exception.PortalException,
397                            com.liferay.portal.kernel.exception.SystemException {
398                    return _userLocalService.getRoleUsersCount(roleId, active);
399            }
400    
401            public java.util.List<com.liferay.portal.model.User> getSocialUsers(
402                    long userId, int type, int start, int end,
403                    com.liferay.portal.kernel.util.OrderByComparator obc)
404                    throws com.liferay.portal.kernel.exception.PortalException,
405                            com.liferay.portal.kernel.exception.SystemException {
406                    return _userLocalService.getSocialUsers(userId, type, start, end, obc);
407            }
408    
409            public java.util.List<com.liferay.portal.model.User> getSocialUsers(
410                    long userId, int start, int end,
411                    com.liferay.portal.kernel.util.OrderByComparator obc)
412                    throws com.liferay.portal.kernel.exception.PortalException,
413                            com.liferay.portal.kernel.exception.SystemException {
414                    return _userLocalService.getSocialUsers(userId, start, end, obc);
415            }
416    
417            public java.util.List<com.liferay.portal.model.User> getSocialUsers(
418                    long userId1, long userId2, int type, int start, int end,
419                    com.liferay.portal.kernel.util.OrderByComparator obc)
420                    throws com.liferay.portal.kernel.exception.PortalException,
421                            com.liferay.portal.kernel.exception.SystemException {
422                    return _userLocalService.getSocialUsers(userId1, userId2, type, start,
423                            end, obc);
424            }
425    
426            public java.util.List<com.liferay.portal.model.User> getSocialUsers(
427                    long userId1, long userId2, int start, int end,
428                    com.liferay.portal.kernel.util.OrderByComparator obc)
429                    throws com.liferay.portal.kernel.exception.PortalException,
430                            com.liferay.portal.kernel.exception.SystemException {
431                    return _userLocalService.getSocialUsers(userId1, userId2, start, end,
432                            obc);
433            }
434    
435            public int getSocialUsersCount(long userId)
436                    throws com.liferay.portal.kernel.exception.PortalException,
437                            com.liferay.portal.kernel.exception.SystemException {
438                    return _userLocalService.getSocialUsersCount(userId);
439            }
440    
441            public int getSocialUsersCount(long userId, int type)
442                    throws com.liferay.portal.kernel.exception.PortalException,
443                            com.liferay.portal.kernel.exception.SystemException {
444                    return _userLocalService.getSocialUsersCount(userId, type);
445            }
446    
447            public int getSocialUsersCount(long userId1, long userId2)
448                    throws com.liferay.portal.kernel.exception.PortalException,
449                            com.liferay.portal.kernel.exception.SystemException {
450                    return _userLocalService.getSocialUsersCount(userId1, userId2);
451            }
452    
453            public int getSocialUsersCount(long userId1, long userId2, int type)
454                    throws com.liferay.portal.kernel.exception.PortalException,
455                            com.liferay.portal.kernel.exception.SystemException {
456                    return _userLocalService.getSocialUsersCount(userId1, userId2, type);
457            }
458    
459            public com.liferay.portal.model.User getUserByContactId(long contactId)
460                    throws com.liferay.portal.kernel.exception.PortalException,
461                            com.liferay.portal.kernel.exception.SystemException {
462                    return _userLocalService.getUserByContactId(contactId);
463            }
464    
465            public com.liferay.portal.model.User getUserByEmailAddress(long companyId,
466                    java.lang.String emailAddress)
467                    throws com.liferay.portal.kernel.exception.PortalException,
468                            com.liferay.portal.kernel.exception.SystemException {
469                    return _userLocalService.getUserByEmailAddress(companyId, emailAddress);
470            }
471    
472            public com.liferay.portal.model.User getUserByFacebookId(long companyId,
473                    long facebookId)
474                    throws com.liferay.portal.kernel.exception.PortalException,
475                            com.liferay.portal.kernel.exception.SystemException {
476                    return _userLocalService.getUserByFacebookId(companyId, facebookId);
477            }
478    
479            public com.liferay.portal.model.User getUserById(long userId)
480                    throws com.liferay.portal.kernel.exception.PortalException,
481                            com.liferay.portal.kernel.exception.SystemException {
482                    return _userLocalService.getUserById(userId);
483            }
484    
485            public com.liferay.portal.model.User getUserById(long companyId, long userId)
486                    throws com.liferay.portal.kernel.exception.PortalException,
487                            com.liferay.portal.kernel.exception.SystemException {
488                    return _userLocalService.getUserById(companyId, userId);
489            }
490    
491            public com.liferay.portal.model.User getUserByOpenId(long companyId,
492                    java.lang.String openId)
493                    throws com.liferay.portal.kernel.exception.PortalException,
494                            com.liferay.portal.kernel.exception.SystemException {
495                    return _userLocalService.getUserByOpenId(companyId, openId);
496            }
497    
498            public com.liferay.portal.model.User getUserByPortraitId(long portraitId)
499                    throws com.liferay.portal.kernel.exception.PortalException,
500                            com.liferay.portal.kernel.exception.SystemException {
501                    return _userLocalService.getUserByPortraitId(portraitId);
502            }
503    
504            public com.liferay.portal.model.User getUserByScreenName(long companyId,
505                    java.lang.String screenName)
506                    throws com.liferay.portal.kernel.exception.PortalException,
507                            com.liferay.portal.kernel.exception.SystemException {
508                    return _userLocalService.getUserByScreenName(companyId, screenName);
509            }
510    
511            public com.liferay.portal.model.User getUserByUuid(java.lang.String uuid)
512                    throws com.liferay.portal.kernel.exception.PortalException,
513                            com.liferay.portal.kernel.exception.SystemException {
514                    return _userLocalService.getUserByUuid(uuid);
515            }
516    
517            public java.util.List<com.liferay.portal.model.User> getUserGroupUsers(
518                    long userGroupId)
519                    throws com.liferay.portal.kernel.exception.SystemException {
520                    return _userLocalService.getUserGroupUsers(userGroupId);
521            }
522    
523            public int getUserGroupUsersCount(long userGroupId)
524                    throws com.liferay.portal.kernel.exception.SystemException {
525                    return _userLocalService.getUserGroupUsersCount(userGroupId);
526            }
527    
528            public int getUserGroupUsersCount(long userGroupId, boolean active)
529                    throws com.liferay.portal.kernel.exception.PortalException,
530                            com.liferay.portal.kernel.exception.SystemException {
531                    return _userLocalService.getUserGroupUsersCount(userGroupId, active);
532            }
533    
534            public long getUserIdByEmailAddress(long companyId,
535                    java.lang.String emailAddress)
536                    throws com.liferay.portal.kernel.exception.PortalException,
537                            com.liferay.portal.kernel.exception.SystemException {
538                    return _userLocalService.getUserIdByEmailAddress(companyId, emailAddress);
539            }
540    
541            public long getUserIdByScreenName(long companyId,
542                    java.lang.String screenName)
543                    throws com.liferay.portal.kernel.exception.PortalException,
544                            com.liferay.portal.kernel.exception.SystemException {
545                    return _userLocalService.getUserIdByScreenName(companyId, screenName);
546            }
547    
548            public boolean hasGroupUser(long groupId, long userId)
549                    throws com.liferay.portal.kernel.exception.SystemException {
550                    return _userLocalService.hasGroupUser(groupId, userId);
551            }
552    
553            public boolean hasOrganizationUser(long organizationId, long userId)
554                    throws com.liferay.portal.kernel.exception.SystemException {
555                    return _userLocalService.hasOrganizationUser(organizationId, userId);
556            }
557    
558            public boolean hasPasswordPolicyUser(long passwordPolicyId, long userId)
559                    throws com.liferay.portal.kernel.exception.SystemException {
560                    return _userLocalService.hasPasswordPolicyUser(passwordPolicyId, userId);
561            }
562    
563            public boolean hasRoleUser(long roleId, long userId)
564                    throws com.liferay.portal.kernel.exception.SystemException {
565                    return _userLocalService.hasRoleUser(roleId, userId);
566            }
567    
568            /**
569            * Returns <code>true</code> if the user has the role.
570            *
571            * @return <code>true</code> if the user has the role
572            */
573            public boolean hasRoleUser(long companyId, java.lang.String name,
574                    long userId, boolean inherited)
575                    throws com.liferay.portal.kernel.exception.PortalException,
576                            com.liferay.portal.kernel.exception.SystemException {
577                    return _userLocalService.hasRoleUser(companyId, name, userId, inherited);
578            }
579    
580            public boolean hasTeamUser(long teamId, long userId)
581                    throws com.liferay.portal.kernel.exception.SystemException {
582                    return _userLocalService.hasTeamUser(teamId, userId);
583            }
584    
585            public boolean hasUserGroupUser(long userGroupId, long userId)
586                    throws com.liferay.portal.kernel.exception.SystemException {
587                    return _userLocalService.hasUserGroupUser(userGroupId, userId);
588            }
589    
590            public boolean isPasswordExpired(com.liferay.portal.model.User user)
591                    throws com.liferay.portal.kernel.exception.PortalException,
592                            com.liferay.portal.kernel.exception.SystemException {
593                    return _userLocalService.isPasswordExpired(user);
594            }
595    
596            public boolean isPasswordExpiringSoon(com.liferay.portal.model.User user)
597                    throws com.liferay.portal.kernel.exception.PortalException,
598                            com.liferay.portal.kernel.exception.SystemException {
599                    return _userLocalService.isPasswordExpiringSoon(user);
600            }
601    
602            public java.util.List<com.liferay.portal.model.User> search(
603                    long companyId, java.lang.String keywords, java.lang.Boolean active,
604                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
605                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
606                    throws com.liferay.portal.kernel.exception.SystemException {
607                    return _userLocalService.search(companyId, keywords, active, params,
608                            start, end, obc);
609            }
610    
611            public com.liferay.portal.kernel.search.Hits search(long companyId,
612                    java.lang.String keywords, java.lang.Boolean active,
613                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
614                    int start, int end, com.liferay.portal.kernel.search.Sort sort)
615                    throws com.liferay.portal.kernel.exception.SystemException {
616                    return _userLocalService.search(companyId, keywords, active, params,
617                            start, end, sort);
618            }
619    
620            public java.util.List<com.liferay.portal.model.User> search(
621                    long companyId, java.lang.String firstName,
622                    java.lang.String middleName, java.lang.String lastName,
623                    java.lang.String screenName, java.lang.String emailAddress,
624                    java.lang.Boolean active,
625                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
626                    boolean andSearch, int start, int end,
627                    com.liferay.portal.kernel.util.OrderByComparator obc)
628                    throws com.liferay.portal.kernel.exception.SystemException {
629                    return _userLocalService.search(companyId, firstName, middleName,
630                            lastName, screenName, emailAddress, active, params, andSearch,
631                            start, end, obc);
632            }
633    
634            public com.liferay.portal.kernel.search.Hits search(long companyId,
635                    java.lang.String firstName, java.lang.String middleName,
636                    java.lang.String lastName, java.lang.String screenName,
637                    java.lang.String emailAddress, java.lang.Boolean active,
638                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
639                    boolean andSearch, int start, int end,
640                    com.liferay.portal.kernel.search.Sort sort)
641                    throws com.liferay.portal.kernel.exception.SystemException {
642                    return _userLocalService.search(companyId, firstName, middleName,
643                            lastName, screenName, emailAddress, active, params, andSearch,
644                            start, end, sort);
645            }
646    
647            public int searchCount(long companyId, java.lang.String keywords,
648                    java.lang.Boolean active,
649                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
650                    throws com.liferay.portal.kernel.exception.SystemException {
651                    return _userLocalService.searchCount(companyId, keywords, active, params);
652            }
653    
654            public int searchCount(long companyId, java.lang.String firstName,
655                    java.lang.String middleName, java.lang.String lastName,
656                    java.lang.String screenName, java.lang.String emailAddress,
657                    java.lang.Boolean active,
658                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
659                    boolean andSearch)
660                    throws com.liferay.portal.kernel.exception.SystemException {
661                    return _userLocalService.searchCount(companyId, firstName, middleName,
662                            lastName, screenName, emailAddress, active, params, andSearch);
663            }
664    
665            public void sendPassword(long companyId, java.lang.String emailAddress,
666                    java.lang.String remoteAddr, java.lang.String remoteHost,
667                    java.lang.String userAgent, java.lang.String fromName,
668                    java.lang.String fromAddress, java.lang.String subject,
669                    java.lang.String body,
670                    com.liferay.portal.service.ServiceContext serviceContext)
671                    throws com.liferay.portal.kernel.exception.PortalException,
672                            com.liferay.portal.kernel.exception.SystemException {
673                    _userLocalService.sendPassword(companyId, emailAddress, remoteAddr,
674                            remoteHost, userAgent, fromName, fromAddress, subject, body,
675                            serviceContext);
676            }
677    
678            public void setRoleUsers(long roleId, long[] userIds)
679                    throws com.liferay.portal.kernel.exception.PortalException,
680                            com.liferay.portal.kernel.exception.SystemException {
681                    _userLocalService.setRoleUsers(roleId, userIds);
682            }
683    
684            public void setUserGroupUsers(long userGroupId, long[] userIds)
685                    throws com.liferay.portal.kernel.exception.PortalException,
686                            com.liferay.portal.kernel.exception.SystemException {
687                    _userLocalService.setUserGroupUsers(userGroupId, userIds);
688            }
689    
690            public void unsetGroupUsers(long groupId, long[] userIds)
691                    throws com.liferay.portal.kernel.exception.PortalException,
692                            com.liferay.portal.kernel.exception.SystemException {
693                    _userLocalService.unsetGroupUsers(groupId, userIds);
694            }
695    
696            public void unsetOrganizationUsers(long organizationId, long[] userIds)
697                    throws com.liferay.portal.kernel.exception.PortalException,
698                            com.liferay.portal.kernel.exception.SystemException {
699                    _userLocalService.unsetOrganizationUsers(organizationId, userIds);
700            }
701    
702            public void unsetPasswordPolicyUsers(long passwordPolicyId, long[] userIds)
703                    throws com.liferay.portal.kernel.exception.SystemException {
704                    _userLocalService.unsetPasswordPolicyUsers(passwordPolicyId, userIds);
705            }
706    
707            public void unsetRoleUsers(long roleId,
708                    java.util.List<com.liferay.portal.model.User> users)
709                    throws com.liferay.portal.kernel.exception.PortalException,
710                            com.liferay.portal.kernel.exception.SystemException {
711                    _userLocalService.unsetRoleUsers(roleId, users);
712            }
713    
714            public void unsetRoleUsers(long roleId, long[] userIds)
715                    throws com.liferay.portal.kernel.exception.PortalException,
716                            com.liferay.portal.kernel.exception.SystemException {
717                    _userLocalService.unsetRoleUsers(roleId, userIds);
718            }
719    
720            public void unsetTeamUsers(long teamId, long[] userIds)
721                    throws com.liferay.portal.kernel.exception.PortalException,
722                            com.liferay.portal.kernel.exception.SystemException {
723                    _userLocalService.unsetTeamUsers(teamId, userIds);
724            }
725    
726            public void unsetUserGroupUsers(long userGroupId, long[] userIds)
727                    throws com.liferay.portal.kernel.exception.PortalException,
728                            com.liferay.portal.kernel.exception.SystemException {
729                    _userLocalService.unsetUserGroupUsers(userGroupId, userIds);
730            }
731    
732            public com.liferay.portal.model.User updateActive(long userId,
733                    boolean active)
734                    throws com.liferay.portal.kernel.exception.PortalException,
735                            com.liferay.portal.kernel.exception.SystemException {
736                    return _userLocalService.updateActive(userId, active);
737            }
738    
739            public com.liferay.portal.model.User updateAgreedToTermsOfUse(long userId,
740                    boolean agreedToTermsOfUse)
741                    throws com.liferay.portal.kernel.exception.PortalException,
742                            com.liferay.portal.kernel.exception.SystemException {
743                    return _userLocalService.updateAgreedToTermsOfUse(userId,
744                            agreedToTermsOfUse);
745            }
746    
747            public void updateAsset(long userId, com.liferay.portal.model.User user,
748                    long[] assetCategoryIds, java.lang.String[] assetTagNames)
749                    throws com.liferay.portal.kernel.exception.PortalException,
750                            com.liferay.portal.kernel.exception.SystemException {
751                    _userLocalService.updateAsset(userId, user, assetCategoryIds,
752                            assetTagNames);
753            }
754    
755            public com.liferay.portal.model.User updateCreateDate(long userId,
756                    java.util.Date createDate)
757                    throws com.liferay.portal.kernel.exception.PortalException,
758                            com.liferay.portal.kernel.exception.SystemException {
759                    return _userLocalService.updateCreateDate(userId, createDate);
760            }
761    
762            public com.liferay.portal.model.User updateEmailAddress(long userId,
763                    java.lang.String password, java.lang.String emailAddress1,
764                    java.lang.String emailAddress2)
765                    throws com.liferay.portal.kernel.exception.PortalException,
766                            com.liferay.portal.kernel.exception.SystemException {
767                    return _userLocalService.updateEmailAddress(userId, password,
768                            emailAddress1, emailAddress2);
769            }
770    
771            public void updateGroups(long userId, long[] newGroupIds)
772                    throws com.liferay.portal.kernel.exception.PortalException,
773                            com.liferay.portal.kernel.exception.SystemException {
774                    _userLocalService.updateGroups(userId, newGroupIds);
775            }
776    
777            public com.liferay.portal.model.User updateLastLogin(long userId,
778                    java.lang.String loginIP)
779                    throws com.liferay.portal.kernel.exception.PortalException,
780                            com.liferay.portal.kernel.exception.SystemException {
781                    return _userLocalService.updateLastLogin(userId, loginIP);
782            }
783    
784            public com.liferay.portal.model.User updateLockout(
785                    com.liferay.portal.model.User user, boolean lockout)
786                    throws com.liferay.portal.kernel.exception.PortalException,
787                            com.liferay.portal.kernel.exception.SystemException {
788                    return _userLocalService.updateLockout(user, lockout);
789            }
790    
791            public com.liferay.portal.model.User updateLockoutByEmailAddress(
792                    long companyId, java.lang.String emailAddress, boolean lockout)
793                    throws com.liferay.portal.kernel.exception.PortalException,
794                            com.liferay.portal.kernel.exception.SystemException {
795                    return _userLocalService.updateLockoutByEmailAddress(companyId,
796                            emailAddress, lockout);
797            }
798    
799            public com.liferay.portal.model.User updateLockoutById(long userId,
800                    boolean lockout)
801                    throws com.liferay.portal.kernel.exception.PortalException,
802                            com.liferay.portal.kernel.exception.SystemException {
803                    return _userLocalService.updateLockoutById(userId, lockout);
804            }
805    
806            public com.liferay.portal.model.User updateLockoutByScreenName(
807                    long companyId, java.lang.String screenName, boolean lockout)
808                    throws com.liferay.portal.kernel.exception.PortalException,
809                            com.liferay.portal.kernel.exception.SystemException {
810                    return _userLocalService.updateLockoutByScreenName(companyId,
811                            screenName, lockout);
812            }
813    
814            public com.liferay.portal.model.User updateModifiedDate(long userId,
815                    java.util.Date modifiedDate)
816                    throws com.liferay.portal.kernel.exception.PortalException,
817                            com.liferay.portal.kernel.exception.SystemException {
818                    return _userLocalService.updateModifiedDate(userId, modifiedDate);
819            }
820    
821            public void updateOpenId(long userId, java.lang.String openId)
822                    throws com.liferay.portal.kernel.exception.PortalException,
823                            com.liferay.portal.kernel.exception.SystemException {
824                    _userLocalService.updateOpenId(userId, openId);
825            }
826    
827            public void updateOrganizations(long userId, long[] newOrganizationIds)
828                    throws com.liferay.portal.kernel.exception.PortalException,
829                            com.liferay.portal.kernel.exception.SystemException {
830                    _userLocalService.updateOrganizations(userId, newOrganizationIds);
831            }
832    
833            public com.liferay.portal.model.User updatePassword(long userId,
834                    java.lang.String password1, java.lang.String password2,
835                    boolean passwordReset)
836                    throws com.liferay.portal.kernel.exception.PortalException,
837                            com.liferay.portal.kernel.exception.SystemException {
838                    return _userLocalService.updatePassword(userId, password1, password2,
839                            passwordReset);
840            }
841    
842            public com.liferay.portal.model.User updatePassword(long userId,
843                    java.lang.String password1, java.lang.String password2,
844                    boolean passwordReset, boolean silentUpdate)
845                    throws com.liferay.portal.kernel.exception.PortalException,
846                            com.liferay.portal.kernel.exception.SystemException {
847                    return _userLocalService.updatePassword(userId, password1, password2,
848                            passwordReset, silentUpdate);
849            }
850    
851            public com.liferay.portal.model.User updatePasswordManually(long userId,
852                    java.lang.String password, boolean passwordEncrypted,
853                    boolean passwordReset, java.util.Date passwordModifiedDate)
854                    throws com.liferay.portal.kernel.exception.PortalException,
855                            com.liferay.portal.kernel.exception.SystemException {
856                    return _userLocalService.updatePasswordManually(userId, password,
857                            passwordEncrypted, passwordReset, passwordModifiedDate);
858            }
859    
860            public void updatePasswordReset(long userId, boolean passwordReset)
861                    throws com.liferay.portal.kernel.exception.PortalException,
862                            com.liferay.portal.kernel.exception.SystemException {
863                    _userLocalService.updatePasswordReset(userId, passwordReset);
864            }
865    
866            public void updatePortrait(long userId, byte[] bytes)
867                    throws com.liferay.portal.kernel.exception.PortalException,
868                            com.liferay.portal.kernel.exception.SystemException {
869                    _userLocalService.updatePortrait(userId, bytes);
870            }
871    
872            public void updateReminderQuery(long userId, java.lang.String question,
873                    java.lang.String answer)
874                    throws com.liferay.portal.kernel.exception.PortalException,
875                            com.liferay.portal.kernel.exception.SystemException {
876                    _userLocalService.updateReminderQuery(userId, question, answer);
877            }
878    
879            public void updateScreenName(long userId, java.lang.String screenName)
880                    throws com.liferay.portal.kernel.exception.PortalException,
881                            com.liferay.portal.kernel.exception.SystemException {
882                    _userLocalService.updateScreenName(userId, screenName);
883            }
884    
885            public com.liferay.portal.model.User updateUser(long userId,
886                    java.lang.String oldPassword, java.lang.String newPassword1,
887                    java.lang.String newPassword2, boolean passwordReset,
888                    java.lang.String reminderQueryQuestion,
889                    java.lang.String reminderQueryAnswer, java.lang.String screenName,
890                    java.lang.String emailAddress, long facebookId,
891                    java.lang.String openId, java.lang.String languageId,
892                    java.lang.String timeZoneId, java.lang.String greeting,
893                    java.lang.String comments, java.lang.String firstName,
894                    java.lang.String middleName, java.lang.String lastName, int prefixId,
895                    int suffixId, boolean male, int birthdayMonth, int birthdayDay,
896                    int birthdayYear, java.lang.String smsSn, java.lang.String aimSn,
897                    java.lang.String facebookSn, java.lang.String icqSn,
898                    java.lang.String jabberSn, java.lang.String msnSn,
899                    java.lang.String mySpaceSn, java.lang.String skypeSn,
900                    java.lang.String twitterSn, java.lang.String ymSn,
901                    java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
902                    long[] roleIds,
903                    java.util.List<com.liferay.portal.model.UserGroupRole> userGroupRoles,
904                    long[] userGroupIds,
905                    com.liferay.portal.service.ServiceContext serviceContext)
906                    throws com.liferay.portal.kernel.exception.PortalException,
907                            com.liferay.portal.kernel.exception.SystemException {
908                    return _userLocalService.updateUser(userId, oldPassword, newPassword1,
909                            newPassword2, passwordReset, reminderQueryQuestion,
910                            reminderQueryAnswer, screenName, emailAddress, facebookId, openId,
911                            languageId, timeZoneId, greeting, comments, firstName, middleName,
912                            lastName, prefixId, suffixId, male, birthdayMonth, birthdayDay,
913                            birthdayYear, smsSn, aimSn, facebookSn, icqSn, jabberSn, msnSn,
914                            mySpaceSn, skypeSn, twitterSn, ymSn, jobTitle, groupIds,
915                            organizationIds, roleIds, userGroupRoles, userGroupIds,
916                            serviceContext);
917            }
918    
919            public UserLocalService getWrappedUserLocalService() {
920                    return _userLocalService;
921            }
922    
923            private UserLocalService _userLocalService;
924    }