1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service;
16  
17  
18  /**
19   * <a href="UserLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link UserLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       UserLocalService
32   * @generated
33   */
34  public class UserLocalServiceWrapper implements UserLocalService {
35      public UserLocalServiceWrapper(UserLocalService userLocalService) {
36          _userLocalService = userLocalService;
37      }
38  
39      public com.liferay.portal.model.User addUser(
40          com.liferay.portal.model.User user)
41          throws com.liferay.portal.kernel.exception.SystemException {
42          return _userLocalService.addUser(user);
43      }
44  
45      public com.liferay.portal.model.User createUser(long userId) {
46          return _userLocalService.createUser(userId);
47      }
48  
49      public void deleteUser(long userId)
50          throws com.liferay.portal.kernel.exception.PortalException,
51              com.liferay.portal.kernel.exception.SystemException {
52          _userLocalService.deleteUser(userId);
53      }
54  
55      public void deleteUser(com.liferay.portal.model.User user)
56          throws com.liferay.portal.kernel.exception.SystemException {
57          _userLocalService.deleteUser(user);
58      }
59  
60      public java.util.List<Object> dynamicQuery(
61          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
62          throws com.liferay.portal.kernel.exception.SystemException {
63          return _userLocalService.dynamicQuery(dynamicQuery);
64      }
65  
66      public java.util.List<Object> dynamicQuery(
67          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
68          int end) throws com.liferay.portal.kernel.exception.SystemException {
69          return _userLocalService.dynamicQuery(dynamicQuery, start, end);
70      }
71  
72      public java.util.List<Object> dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74          int end,
75          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
76          throws com.liferay.portal.kernel.exception.SystemException {
77          return _userLocalService.dynamicQuery(dynamicQuery, start, end,
78              orderByComparator);
79      }
80  
81      public int dynamicQueryCount(
82          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
83          throws com.liferay.portal.kernel.exception.SystemException {
84          return _userLocalService.dynamicQueryCount(dynamicQuery);
85      }
86  
87      public com.liferay.portal.model.User getUser(long userId)
88          throws com.liferay.portal.kernel.exception.PortalException,
89              com.liferay.portal.kernel.exception.SystemException {
90          return _userLocalService.getUser(userId);
91      }
92  
93      public java.util.List<com.liferay.portal.model.User> getUsers(int start,
94          int end) throws com.liferay.portal.kernel.exception.SystemException {
95          return _userLocalService.getUsers(start, end);
96      }
97  
98      public int getUsersCount()
99          throws com.liferay.portal.kernel.exception.SystemException {
100         return _userLocalService.getUsersCount();
101     }
102 
103     public com.liferay.portal.model.User updateUser(
104         com.liferay.portal.model.User user)
105         throws com.liferay.portal.kernel.exception.SystemException {
106         return _userLocalService.updateUser(user);
107     }
108 
109     public com.liferay.portal.model.User updateUser(
110         com.liferay.portal.model.User user, boolean merge)
111         throws com.liferay.portal.kernel.exception.SystemException {
112         return _userLocalService.updateUser(user, merge);
113     }
114 
115     public void addDefaultGroups(long userId)
116         throws com.liferay.portal.kernel.exception.PortalException,
117             com.liferay.portal.kernel.exception.SystemException {
118         _userLocalService.addDefaultGroups(userId);
119     }
120 
121     public void addDefaultRoles(long userId)
122         throws com.liferay.portal.kernel.exception.PortalException,
123             com.liferay.portal.kernel.exception.SystemException {
124         _userLocalService.addDefaultRoles(userId);
125     }
126 
127     public void addDefaultUserGroups(long userId)
128         throws com.liferay.portal.kernel.exception.PortalException,
129             com.liferay.portal.kernel.exception.SystemException {
130         _userLocalService.addDefaultUserGroups(userId);
131     }
132 
133     public void addGroupUsers(long groupId, long[] userIds)
134         throws com.liferay.portal.kernel.exception.PortalException,
135             com.liferay.portal.kernel.exception.SystemException {
136         _userLocalService.addGroupUsers(groupId, userIds);
137     }
138 
139     public void addOrganizationUsers(long organizationId, long[] userIds)
140         throws com.liferay.portal.kernel.exception.PortalException,
141             com.liferay.portal.kernel.exception.SystemException {
142         _userLocalService.addOrganizationUsers(organizationId, userIds);
143     }
144 
145     public void addPasswordPolicyUsers(long passwordPolicyId, long[] userIds)
146         throws com.liferay.portal.kernel.exception.SystemException {
147         _userLocalService.addPasswordPolicyUsers(passwordPolicyId, userIds);
148     }
149 
150     public void addRoleUsers(long roleId, long[] userIds)
151         throws com.liferay.portal.kernel.exception.PortalException,
152             com.liferay.portal.kernel.exception.SystemException {
153         _userLocalService.addRoleUsers(roleId, userIds);
154     }
155 
156     public void addTeamUsers(long teamId, long[] userIds)
157         throws com.liferay.portal.kernel.exception.PortalException,
158             com.liferay.portal.kernel.exception.SystemException {
159         _userLocalService.addTeamUsers(teamId, userIds);
160     }
161 
162     public com.liferay.portal.model.User addUser(long creatorUserId,
163         long companyId, boolean autoPassword, java.lang.String password1,
164         java.lang.String password2, boolean autoScreenName,
165         java.lang.String screenName, java.lang.String emailAddress,
166         java.lang.String openId, java.util.Locale locale,
167         java.lang.String firstName, java.lang.String middleName,
168         java.lang.String lastName, int prefixId, int suffixId, boolean male,
169         int birthdayMonth, int birthdayDay, int birthdayYear,
170         java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
171         long[] roleIds, long[] userGroupIds, boolean sendEmail,
172         com.liferay.portal.service.ServiceContext serviceContext)
173         throws com.liferay.portal.kernel.exception.PortalException,
174             com.liferay.portal.kernel.exception.SystemException {
175         return _userLocalService.addUser(creatorUserId, companyId,
176             autoPassword, password1, password2, autoScreenName, screenName,
177             emailAddress, openId, locale, firstName, middleName, lastName,
178             prefixId, suffixId, male, birthdayMonth, birthdayDay, birthdayYear,
179             jobTitle, groupIds, organizationIds, roleIds, userGroupIds,
180             sendEmail, serviceContext);
181     }
182 
183     public void addUserGroupUsers(long userGroupId, long[] userIds)
184         throws com.liferay.portal.kernel.exception.PortalException,
185             com.liferay.portal.kernel.exception.SystemException {
186         _userLocalService.addUserGroupUsers(userGroupId, userIds);
187     }
188 
189     public int authenticateByEmailAddress(long companyId,
190         java.lang.String emailAddress, java.lang.String password,
191         java.util.Map<String, String[]> headerMap,
192         java.util.Map<String, String[]> parameterMap)
193         throws com.liferay.portal.kernel.exception.PortalException,
194             com.liferay.portal.kernel.exception.SystemException {
195         return _userLocalService.authenticateByEmailAddress(companyId,
196             emailAddress, password, headerMap, parameterMap);
197     }
198 
199     public int authenticateByScreenName(long companyId,
200         java.lang.String screenName, java.lang.String password,
201         java.util.Map<String, String[]> headerMap,
202         java.util.Map<String, String[]> parameterMap)
203         throws com.liferay.portal.kernel.exception.PortalException,
204             com.liferay.portal.kernel.exception.SystemException {
205         return _userLocalService.authenticateByScreenName(companyId,
206             screenName, password, headerMap, parameterMap);
207     }
208 
209     public int authenticateByUserId(long companyId, long userId,
210         java.lang.String password, java.util.Map<String, String[]> headerMap,
211         java.util.Map<String, String[]> parameterMap)
212         throws com.liferay.portal.kernel.exception.PortalException,
213             com.liferay.portal.kernel.exception.SystemException {
214         return _userLocalService.authenticateByUserId(companyId, userId,
215             password, headerMap, parameterMap);
216     }
217 
218     public long authenticateForBasic(long companyId, java.lang.String authType,
219         java.lang.String login, java.lang.String password)
220         throws com.liferay.portal.kernel.exception.PortalException,
221             com.liferay.portal.kernel.exception.SystemException {
222         return _userLocalService.authenticateForBasic(companyId, authType,
223             login, password);
224     }
225 
226     public boolean authenticateForJAAS(long userId, java.lang.String encPassword) {
227         return _userLocalService.authenticateForJAAS(userId, encPassword);
228     }
229 
230     public void checkLockout(com.liferay.portal.model.User user)
231         throws com.liferay.portal.kernel.exception.PortalException,
232             com.liferay.portal.kernel.exception.SystemException {
233         _userLocalService.checkLockout(user);
234     }
235 
236     public void checkLoginFailure(com.liferay.portal.model.User user)
237         throws com.liferay.portal.kernel.exception.SystemException {
238         _userLocalService.checkLoginFailure(user);
239     }
240 
241     public void checkLoginFailureByEmailAddress(long companyId,
242         java.lang.String emailAddress)
243         throws com.liferay.portal.kernel.exception.PortalException,
244             com.liferay.portal.kernel.exception.SystemException {
245         _userLocalService.checkLoginFailureByEmailAddress(companyId,
246             emailAddress);
247     }
248 
249     public void checkLoginFailureById(long userId)
250         throws com.liferay.portal.kernel.exception.PortalException,
251             com.liferay.portal.kernel.exception.SystemException {
252         _userLocalService.checkLoginFailureById(userId);
253     }
254 
255     public void checkLoginFailureByScreenName(long companyId,
256         java.lang.String screenName)
257         throws com.liferay.portal.kernel.exception.PortalException,
258             com.liferay.portal.kernel.exception.SystemException {
259         _userLocalService.checkLoginFailureByScreenName(companyId, screenName);
260     }
261 
262     public void checkPasswordExpired(com.liferay.portal.model.User user)
263         throws com.liferay.portal.kernel.exception.PortalException,
264             com.liferay.portal.kernel.exception.SystemException {
265         _userLocalService.checkPasswordExpired(user);
266     }
267 
268     public com.liferay.portal.kernel.util.KeyValuePair decryptUserId(
269         long companyId, java.lang.String name, java.lang.String password)
270         throws com.liferay.portal.kernel.exception.PortalException,
271             com.liferay.portal.kernel.exception.SystemException {
272         return _userLocalService.decryptUserId(companyId, name, password);
273     }
274 
275     public void deletePortrait(long userId)
276         throws com.liferay.portal.kernel.exception.PortalException,
277             com.liferay.portal.kernel.exception.SystemException {
278         _userLocalService.deletePortrait(userId);
279     }
280 
281     public void deleteRoleUser(long roleId, long userId)
282         throws com.liferay.portal.kernel.exception.PortalException,
283             com.liferay.portal.kernel.exception.SystemException {
284         _userLocalService.deleteRoleUser(roleId, userId);
285     }
286 
287     public java.lang.String encryptUserId(java.lang.String name)
288         throws com.liferay.portal.kernel.exception.PortalException,
289             com.liferay.portal.kernel.exception.SystemException {
290         return _userLocalService.encryptUserId(name);
291     }
292 
293     public java.util.List<com.liferay.portal.model.User> getCompanyUsers(
294         long companyId, int start, int end)
295         throws com.liferay.portal.kernel.exception.SystemException {
296         return _userLocalService.getCompanyUsers(companyId, start, end);
297     }
298 
299     public int getCompanyUsersCount(long companyId)
300         throws com.liferay.portal.kernel.exception.SystemException {
301         return _userLocalService.getCompanyUsersCount(companyId);
302     }
303 
304     public com.liferay.portal.model.User getDefaultUser(long companyId)
305         throws com.liferay.portal.kernel.exception.PortalException,
306             com.liferay.portal.kernel.exception.SystemException {
307         return _userLocalService.getDefaultUser(companyId);
308     }
309 
310     public long getDefaultUserId(long companyId)
311         throws com.liferay.portal.kernel.exception.PortalException,
312             com.liferay.portal.kernel.exception.SystemException {
313         return _userLocalService.getDefaultUserId(companyId);
314     }
315 
316     public long[] getGroupUserIds(long groupId)
317         throws com.liferay.portal.kernel.exception.SystemException {
318         return _userLocalService.getGroupUserIds(groupId);
319     }
320 
321     public java.util.List<com.liferay.portal.model.User> getGroupUsers(
322         long groupId)
323         throws com.liferay.portal.kernel.exception.SystemException {
324         return _userLocalService.getGroupUsers(groupId);
325     }
326 
327     public int getGroupUsersCount(long groupId)
328         throws com.liferay.portal.kernel.exception.SystemException {
329         return _userLocalService.getGroupUsersCount(groupId);
330     }
331 
332     public int getGroupUsersCount(long groupId, boolean active)
333         throws com.liferay.portal.kernel.exception.PortalException,
334             com.liferay.portal.kernel.exception.SystemException {
335         return _userLocalService.getGroupUsersCount(groupId, active);
336     }
337 
338     public java.util.List<com.liferay.portal.model.User> getNoAnnouncementsDeliveries(
339         java.lang.String type)
340         throws com.liferay.portal.kernel.exception.SystemException {
341         return _userLocalService.getNoAnnouncementsDeliveries(type);
342     }
343 
344     public java.util.List<com.liferay.portal.model.User> getNoContacts()
345         throws com.liferay.portal.kernel.exception.SystemException {
346         return _userLocalService.getNoContacts();
347     }
348 
349     public java.util.List<com.liferay.portal.model.User> getNoGroups()
350         throws com.liferay.portal.kernel.exception.SystemException {
351         return _userLocalService.getNoGroups();
352     }
353 
354     public long[] getOrganizationUserIds(long organizationId)
355         throws com.liferay.portal.kernel.exception.SystemException {
356         return _userLocalService.getOrganizationUserIds(organizationId);
357     }
358 
359     public java.util.List<com.liferay.portal.model.User> getOrganizationUsers(
360         long organizationId)
361         throws com.liferay.portal.kernel.exception.SystemException {
362         return _userLocalService.getOrganizationUsers(organizationId);
363     }
364 
365     public int getOrganizationUsersCount(long organizationId)
366         throws com.liferay.portal.kernel.exception.SystemException {
367         return _userLocalService.getOrganizationUsersCount(organizationId);
368     }
369 
370     public int getOrganizationUsersCount(long organizationId, boolean active)
371         throws com.liferay.portal.kernel.exception.PortalException,
372             com.liferay.portal.kernel.exception.SystemException {
373         return _userLocalService.getOrganizationUsersCount(organizationId,
374             active);
375     }
376 
377     public long[] getRoleUserIds(long roleId)
378         throws com.liferay.portal.kernel.exception.SystemException {
379         return _userLocalService.getRoleUserIds(roleId);
380     }
381 
382     public java.util.List<com.liferay.portal.model.User> getRoleUsers(
383         long roleId) throws com.liferay.portal.kernel.exception.SystemException {
384         return _userLocalService.getRoleUsers(roleId);
385     }
386 
387     public java.util.List<com.liferay.portal.model.User> getRoleUsers(
388         long roleId, int start, int end)
389         throws com.liferay.portal.kernel.exception.SystemException {
390         return _userLocalService.getRoleUsers(roleId, start, end);
391     }
392 
393     public int getRoleUsersCount(long roleId)
394         throws com.liferay.portal.kernel.exception.SystemException {
395         return _userLocalService.getRoleUsersCount(roleId);
396     }
397 
398     public int getRoleUsersCount(long roleId, boolean active)
399         throws com.liferay.portal.kernel.exception.PortalException,
400             com.liferay.portal.kernel.exception.SystemException {
401         return _userLocalService.getRoleUsersCount(roleId, active);
402     }
403 
404     public java.util.List<com.liferay.portal.model.User> getSocialUsers(
405         long userId, int type, int start, int end,
406         com.liferay.portal.kernel.util.OrderByComparator obc)
407         throws com.liferay.portal.kernel.exception.PortalException,
408             com.liferay.portal.kernel.exception.SystemException {
409         return _userLocalService.getSocialUsers(userId, type, start, end, obc);
410     }
411 
412     public java.util.List<com.liferay.portal.model.User> getSocialUsers(
413         long userId, int start, int end,
414         com.liferay.portal.kernel.util.OrderByComparator obc)
415         throws com.liferay.portal.kernel.exception.PortalException,
416             com.liferay.portal.kernel.exception.SystemException {
417         return _userLocalService.getSocialUsers(userId, start, end, obc);
418     }
419 
420     public java.util.List<com.liferay.portal.model.User> getSocialUsers(
421         long userId1, long userId2, int type, int start, int end,
422         com.liferay.portal.kernel.util.OrderByComparator obc)
423         throws com.liferay.portal.kernel.exception.PortalException,
424             com.liferay.portal.kernel.exception.SystemException {
425         return _userLocalService.getSocialUsers(userId1, userId2, type, start,
426             end, obc);
427     }
428 
429     public java.util.List<com.liferay.portal.model.User> getSocialUsers(
430         long userId1, long userId2, int start, int end,
431         com.liferay.portal.kernel.util.OrderByComparator obc)
432         throws com.liferay.portal.kernel.exception.PortalException,
433             com.liferay.portal.kernel.exception.SystemException {
434         return _userLocalService.getSocialUsers(userId1, userId2, start, end,
435             obc);
436     }
437 
438     public int getSocialUsersCount(long userId)
439         throws com.liferay.portal.kernel.exception.PortalException,
440             com.liferay.portal.kernel.exception.SystemException {
441         return _userLocalService.getSocialUsersCount(userId);
442     }
443 
444     public int getSocialUsersCount(long userId, int type)
445         throws com.liferay.portal.kernel.exception.PortalException,
446             com.liferay.portal.kernel.exception.SystemException {
447         return _userLocalService.getSocialUsersCount(userId, type);
448     }
449 
450     public int getSocialUsersCount(long userId1, long userId2)
451         throws com.liferay.portal.kernel.exception.PortalException,
452             com.liferay.portal.kernel.exception.SystemException {
453         return _userLocalService.getSocialUsersCount(userId1, userId2);
454     }
455 
456     public int getSocialUsersCount(long userId1, long userId2, int type)
457         throws com.liferay.portal.kernel.exception.PortalException,
458             com.liferay.portal.kernel.exception.SystemException {
459         return _userLocalService.getSocialUsersCount(userId1, userId2, type);
460     }
461 
462     public com.liferay.portal.model.User getUserByContactId(long contactId)
463         throws com.liferay.portal.kernel.exception.PortalException,
464             com.liferay.portal.kernel.exception.SystemException {
465         return _userLocalService.getUserByContactId(contactId);
466     }
467 
468     public com.liferay.portal.model.User getUserByEmailAddress(long companyId,
469         java.lang.String emailAddress)
470         throws com.liferay.portal.kernel.exception.PortalException,
471             com.liferay.portal.kernel.exception.SystemException {
472         return _userLocalService.getUserByEmailAddress(companyId, emailAddress);
473     }
474 
475     public com.liferay.portal.model.User getUserById(long userId)
476         throws com.liferay.portal.kernel.exception.PortalException,
477             com.liferay.portal.kernel.exception.SystemException {
478         return _userLocalService.getUserById(userId);
479     }
480 
481     public com.liferay.portal.model.User getUserById(long companyId, long userId)
482         throws com.liferay.portal.kernel.exception.PortalException,
483             com.liferay.portal.kernel.exception.SystemException {
484         return _userLocalService.getUserById(companyId, userId);
485     }
486 
487     public com.liferay.portal.model.User getUserByOpenId(
488         java.lang.String openId)
489         throws com.liferay.portal.kernel.exception.PortalException,
490             com.liferay.portal.kernel.exception.SystemException {
491         return _userLocalService.getUserByOpenId(openId);
492     }
493 
494     public com.liferay.portal.model.User getUserByPortraitId(long portraitId)
495         throws com.liferay.portal.kernel.exception.PortalException,
496             com.liferay.portal.kernel.exception.SystemException {
497         return _userLocalService.getUserByPortraitId(portraitId);
498     }
499 
500     public com.liferay.portal.model.User getUserByScreenName(long companyId,
501         java.lang.String screenName)
502         throws com.liferay.portal.kernel.exception.PortalException,
503             com.liferay.portal.kernel.exception.SystemException {
504         return _userLocalService.getUserByScreenName(companyId, screenName);
505     }
506 
507     public com.liferay.portal.model.User getUserByUuid(java.lang.String uuid)
508         throws com.liferay.portal.kernel.exception.PortalException,
509             com.liferay.portal.kernel.exception.SystemException {
510         return _userLocalService.getUserByUuid(uuid);
511     }
512 
513     public java.util.List<com.liferay.portal.model.User> getUserGroupUsers(
514         long userGroupId)
515         throws com.liferay.portal.kernel.exception.SystemException {
516         return _userLocalService.getUserGroupUsers(userGroupId);
517     }
518 
519     public int getUserGroupUsersCount(long userGroupId)
520         throws com.liferay.portal.kernel.exception.SystemException {
521         return _userLocalService.getUserGroupUsersCount(userGroupId);
522     }
523 
524     public int getUserGroupUsersCount(long userGroupId, boolean active)
525         throws com.liferay.portal.kernel.exception.PortalException,
526             com.liferay.portal.kernel.exception.SystemException {
527         return _userLocalService.getUserGroupUsersCount(userGroupId, active);
528     }
529 
530     public long getUserIdByEmailAddress(long companyId,
531         java.lang.String emailAddress)
532         throws com.liferay.portal.kernel.exception.PortalException,
533             com.liferay.portal.kernel.exception.SystemException {
534         return _userLocalService.getUserIdByEmailAddress(companyId, emailAddress);
535     }
536 
537     public long getUserIdByScreenName(long companyId,
538         java.lang.String screenName)
539         throws com.liferay.portal.kernel.exception.PortalException,
540             com.liferay.portal.kernel.exception.SystemException {
541         return _userLocalService.getUserIdByScreenName(companyId, screenName);
542     }
543 
544     public boolean hasGroupUser(long groupId, long userId)
545         throws com.liferay.portal.kernel.exception.SystemException {
546         return _userLocalService.hasGroupUser(groupId, userId);
547     }
548 
549     public boolean hasOrganizationUser(long organizationId, long userId)
550         throws com.liferay.portal.kernel.exception.SystemException {
551         return _userLocalService.hasOrganizationUser(organizationId, userId);
552     }
553 
554     public boolean hasPasswordPolicyUser(long passwordPolicyId, long userId)
555         throws com.liferay.portal.kernel.exception.SystemException {
556         return _userLocalService.hasPasswordPolicyUser(passwordPolicyId, userId);
557     }
558 
559     public boolean hasRoleUser(long roleId, long userId)
560         throws com.liferay.portal.kernel.exception.SystemException {
561         return _userLocalService.hasRoleUser(roleId, userId);
562     }
563 
564     public boolean hasRoleUser(long companyId, java.lang.String name,
565         long userId, boolean inherited)
566         throws com.liferay.portal.kernel.exception.PortalException,
567             com.liferay.portal.kernel.exception.SystemException {
568         return _userLocalService.hasRoleUser(companyId, name, userId, inherited);
569     }
570 
571     public boolean hasTeamUser(long teamId, long userId)
572         throws com.liferay.portal.kernel.exception.SystemException {
573         return _userLocalService.hasTeamUser(teamId, userId);
574     }
575 
576     public boolean hasUserGroupUser(long userGroupId, long userId)
577         throws com.liferay.portal.kernel.exception.SystemException {
578         return _userLocalService.hasUserGroupUser(userGroupId, userId);
579     }
580 
581     public boolean isPasswordExpired(com.liferay.portal.model.User user)
582         throws com.liferay.portal.kernel.exception.PortalException,
583             com.liferay.portal.kernel.exception.SystemException {
584         return _userLocalService.isPasswordExpired(user);
585     }
586 
587     public boolean isPasswordExpiringSoon(com.liferay.portal.model.User user)
588         throws com.liferay.portal.kernel.exception.PortalException,
589             com.liferay.portal.kernel.exception.SystemException {
590         return _userLocalService.isPasswordExpiringSoon(user);
591     }
592 
593     public java.util.List<com.liferay.portal.model.User> search(
594         long companyId, java.lang.String keywords, java.lang.Boolean active,
595         java.util.LinkedHashMap<String, Object> params, int start, int end,
596         com.liferay.portal.kernel.util.OrderByComparator obc)
597         throws com.liferay.portal.kernel.exception.SystemException {
598         return _userLocalService.search(companyId, keywords, active, params,
599             start, end, obc);
600     }
601 
602     public com.liferay.portal.kernel.search.Hits search(long companyId,
603         java.lang.String keywords, java.lang.Boolean active,
604         java.util.LinkedHashMap<String, Object> params, int start, int end,
605         com.liferay.portal.kernel.search.Sort sort)
606         throws com.liferay.portal.kernel.exception.SystemException {
607         return _userLocalService.search(companyId, keywords, active, params,
608             start, end, sort);
609     }
610 
611     public java.util.List<com.liferay.portal.model.User> search(
612         long companyId, java.lang.String firstName,
613         java.lang.String middleName, java.lang.String lastName,
614         java.lang.String screenName, java.lang.String emailAddress,
615         java.lang.Boolean active,
616         java.util.LinkedHashMap<String, Object> params, boolean andSearch,
617         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
618         throws com.liferay.portal.kernel.exception.SystemException {
619         return _userLocalService.search(companyId, firstName, middleName,
620             lastName, screenName, emailAddress, active, params, andSearch,
621             start, end, obc);
622     }
623 
624     public com.liferay.portal.kernel.search.Hits search(long companyId,
625         java.lang.String firstName, java.lang.String middleName,
626         java.lang.String lastName, java.lang.String screenName,
627         java.lang.String emailAddress, java.lang.Boolean active,
628         java.util.LinkedHashMap<String, Object> params, boolean andSearch,
629         int start, int end, com.liferay.portal.kernel.search.Sort sort)
630         throws com.liferay.portal.kernel.exception.SystemException {
631         return _userLocalService.search(companyId, firstName, middleName,
632             lastName, screenName, emailAddress, active, params, andSearch,
633             start, end, sort);
634     }
635 
636     public int searchCount(long companyId, java.lang.String keywords,
637         java.lang.Boolean active, java.util.LinkedHashMap<String, Object> params)
638         throws com.liferay.portal.kernel.exception.SystemException {
639         return _userLocalService.searchCount(companyId, keywords, active, params);
640     }
641 
642     public int searchCount(long companyId, java.lang.String firstName,
643         java.lang.String middleName, java.lang.String lastName,
644         java.lang.String screenName, java.lang.String emailAddress,
645         java.lang.Boolean active,
646         java.util.LinkedHashMap<String, Object> params, boolean andSearch)
647         throws com.liferay.portal.kernel.exception.SystemException {
648         return _userLocalService.searchCount(companyId, firstName, middleName,
649             lastName, screenName, emailAddress, active, params, andSearch);
650     }
651 
652     public void sendPassword(long companyId, java.lang.String emailAddress,
653         java.lang.String remoteAddr, java.lang.String remoteHost,
654         java.lang.String userAgent, java.lang.String fromName,
655         java.lang.String fromAddress, java.lang.String subject,
656         java.lang.String body)
657         throws com.liferay.portal.kernel.exception.PortalException,
658             com.liferay.portal.kernel.exception.SystemException {
659         _userLocalService.sendPassword(companyId, emailAddress, remoteAddr,
660             remoteHost, userAgent, fromName, fromAddress, subject, body);
661     }
662 
663     public void setRoleUsers(long roleId, long[] userIds)
664         throws com.liferay.portal.kernel.exception.PortalException,
665             com.liferay.portal.kernel.exception.SystemException {
666         _userLocalService.setRoleUsers(roleId, userIds);
667     }
668 
669     public void setUserGroupUsers(long userGroupId, long[] userIds)
670         throws com.liferay.portal.kernel.exception.PortalException,
671             com.liferay.portal.kernel.exception.SystemException {
672         _userLocalService.setUserGroupUsers(userGroupId, userIds);
673     }
674 
675     public void unsetGroupUsers(long groupId, long[] userIds)
676         throws com.liferay.portal.kernel.exception.PortalException,
677             com.liferay.portal.kernel.exception.SystemException {
678         _userLocalService.unsetGroupUsers(groupId, userIds);
679     }
680 
681     public void unsetOrganizationUsers(long organizationId, long[] userIds)
682         throws com.liferay.portal.kernel.exception.PortalException,
683             com.liferay.portal.kernel.exception.SystemException {
684         _userLocalService.unsetOrganizationUsers(organizationId, userIds);
685     }
686 
687     public void unsetPasswordPolicyUsers(long passwordPolicyId, long[] userIds)
688         throws com.liferay.portal.kernel.exception.SystemException {
689         _userLocalService.unsetPasswordPolicyUsers(passwordPolicyId, userIds);
690     }
691 
692     public void unsetRoleUsers(long roleId,
693         java.util.List<com.liferay.portal.model.User> users)
694         throws com.liferay.portal.kernel.exception.PortalException,
695             com.liferay.portal.kernel.exception.SystemException {
696         _userLocalService.unsetRoleUsers(roleId, users);
697     }
698 
699     public void unsetRoleUsers(long roleId, long[] userIds)
700         throws com.liferay.portal.kernel.exception.PortalException,
701             com.liferay.portal.kernel.exception.SystemException {
702         _userLocalService.unsetRoleUsers(roleId, userIds);
703     }
704 
705     public void unsetTeamUsers(long teamId, long[] userIds)
706         throws com.liferay.portal.kernel.exception.PortalException,
707             com.liferay.portal.kernel.exception.SystemException {
708         _userLocalService.unsetTeamUsers(teamId, userIds);
709     }
710 
711     public void unsetUserGroupUsers(long userGroupId, long[] userIds)
712         throws com.liferay.portal.kernel.exception.PortalException,
713             com.liferay.portal.kernel.exception.SystemException {
714         _userLocalService.unsetUserGroupUsers(userGroupId, userIds);
715     }
716 
717     public com.liferay.portal.model.User updateActive(long userId,
718         boolean active)
719         throws com.liferay.portal.kernel.exception.PortalException,
720             com.liferay.portal.kernel.exception.SystemException {
721         return _userLocalService.updateActive(userId, active);
722     }
723 
724     public com.liferay.portal.model.User updateAgreedToTermsOfUse(long userId,
725         boolean agreedToTermsOfUse)
726         throws com.liferay.portal.kernel.exception.PortalException,
727             com.liferay.portal.kernel.exception.SystemException {
728         return _userLocalService.updateAgreedToTermsOfUse(userId,
729             agreedToTermsOfUse);
730     }
731 
732     public void updateAsset(long userId, com.liferay.portal.model.User user,
733         long[] assetCategoryIds, java.lang.String[] assetTagNames)
734         throws com.liferay.portal.kernel.exception.PortalException,
735             com.liferay.portal.kernel.exception.SystemException {
736         _userLocalService.updateAsset(userId, user, assetCategoryIds,
737             assetTagNames);
738     }
739 
740     public com.liferay.portal.model.User updateCreateDate(long userId,
741         java.util.Date createDate)
742         throws com.liferay.portal.kernel.exception.PortalException,
743             com.liferay.portal.kernel.exception.SystemException {
744         return _userLocalService.updateCreateDate(userId, createDate);
745     }
746 
747     public com.liferay.portal.model.User updateEmailAddress(long userId,
748         java.lang.String password, java.lang.String emailAddress1,
749         java.lang.String emailAddress2)
750         throws com.liferay.portal.kernel.exception.PortalException,
751             com.liferay.portal.kernel.exception.SystemException {
752         return _userLocalService.updateEmailAddress(userId, password,
753             emailAddress1, emailAddress2);
754     }
755 
756     public void updateGroups(long userId, long[] newGroupIds)
757         throws com.liferay.portal.kernel.exception.PortalException,
758             com.liferay.portal.kernel.exception.SystemException {
759         _userLocalService.updateGroups(userId, newGroupIds);
760     }
761 
762     public com.liferay.portal.model.User updateLastLogin(long userId,
763         java.lang.String loginIP)
764         throws com.liferay.portal.kernel.exception.PortalException,
765             com.liferay.portal.kernel.exception.SystemException {
766         return _userLocalService.updateLastLogin(userId, loginIP);
767     }
768 
769     public com.liferay.portal.model.User updateLockout(
770         com.liferay.portal.model.User user, boolean lockout)
771         throws com.liferay.portal.kernel.exception.PortalException,
772             com.liferay.portal.kernel.exception.SystemException {
773         return _userLocalService.updateLockout(user, lockout);
774     }
775 
776     public com.liferay.portal.model.User updateLockoutByEmailAddress(
777         long companyId, java.lang.String emailAddress, boolean lockout)
778         throws com.liferay.portal.kernel.exception.PortalException,
779             com.liferay.portal.kernel.exception.SystemException {
780         return _userLocalService.updateLockoutByEmailAddress(companyId,
781             emailAddress, lockout);
782     }
783 
784     public com.liferay.portal.model.User updateLockoutById(long userId,
785         boolean lockout)
786         throws com.liferay.portal.kernel.exception.PortalException,
787             com.liferay.portal.kernel.exception.SystemException {
788         return _userLocalService.updateLockoutById(userId, lockout);
789     }
790 
791     public com.liferay.portal.model.User updateLockoutByScreenName(
792         long companyId, java.lang.String screenName, boolean lockout)
793         throws com.liferay.portal.kernel.exception.PortalException,
794             com.liferay.portal.kernel.exception.SystemException {
795         return _userLocalService.updateLockoutByScreenName(companyId,
796             screenName, lockout);
797     }
798 
799     public com.liferay.portal.model.User updateModifiedDate(long userId,
800         java.util.Date modifiedDate)
801         throws com.liferay.portal.kernel.exception.PortalException,
802             com.liferay.portal.kernel.exception.SystemException {
803         return _userLocalService.updateModifiedDate(userId, modifiedDate);
804     }
805 
806     public void updateOpenId(long userId, java.lang.String openId)
807         throws com.liferay.portal.kernel.exception.PortalException,
808             com.liferay.portal.kernel.exception.SystemException {
809         _userLocalService.updateOpenId(userId, openId);
810     }
811 
812     public void updateOrganizations(long userId, long[] newOrganizationIds)
813         throws com.liferay.portal.kernel.exception.PortalException,
814             com.liferay.portal.kernel.exception.SystemException {
815         _userLocalService.updateOrganizations(userId, newOrganizationIds);
816     }
817 
818     public com.liferay.portal.model.User updatePassword(long userId,
819         java.lang.String password1, java.lang.String password2,
820         boolean passwordReset)
821         throws com.liferay.portal.kernel.exception.PortalException,
822             com.liferay.portal.kernel.exception.SystemException {
823         return _userLocalService.updatePassword(userId, password1, password2,
824             passwordReset);
825     }
826 
827     public com.liferay.portal.model.User updatePassword(long userId,
828         java.lang.String password1, java.lang.String password2,
829         boolean passwordReset, boolean silentUpdate)
830         throws com.liferay.portal.kernel.exception.PortalException,
831             com.liferay.portal.kernel.exception.SystemException {
832         return _userLocalService.updatePassword(userId, password1, password2,
833             passwordReset, silentUpdate);
834     }
835 
836     public com.liferay.portal.model.User updatePasswordManually(long userId,
837         java.lang.String password, boolean passwordEncrypted,
838         boolean passwordReset, java.util.Date passwordModifiedDate)
839         throws com.liferay.portal.kernel.exception.PortalException,
840             com.liferay.portal.kernel.exception.SystemException {
841         return _userLocalService.updatePasswordManually(userId, password,
842             passwordEncrypted, passwordReset, passwordModifiedDate);
843     }
844 
845     public void updatePasswordReset(long userId, boolean passwordReset)
846         throws com.liferay.portal.kernel.exception.PortalException,
847             com.liferay.portal.kernel.exception.SystemException {
848         _userLocalService.updatePasswordReset(userId, passwordReset);
849     }
850 
851     public void updatePortrait(long userId, byte[] bytes)
852         throws com.liferay.portal.kernel.exception.PortalException,
853             com.liferay.portal.kernel.exception.SystemException {
854         _userLocalService.updatePortrait(userId, bytes);
855     }
856 
857     public void updateReminderQuery(long userId, java.lang.String question,
858         java.lang.String answer)
859         throws com.liferay.portal.kernel.exception.PortalException,
860             com.liferay.portal.kernel.exception.SystemException {
861         _userLocalService.updateReminderQuery(userId, question, answer);
862     }
863 
864     public void updateScreenName(long userId, java.lang.String screenName)
865         throws com.liferay.portal.kernel.exception.PortalException,
866             com.liferay.portal.kernel.exception.SystemException {
867         _userLocalService.updateScreenName(userId, screenName);
868     }
869 
870     public com.liferay.portal.model.User updateUser(long userId,
871         java.lang.String oldPassword, java.lang.String newPassword1,
872         java.lang.String newPassword2, boolean passwordReset,
873         java.lang.String reminderQueryQuestion,
874         java.lang.String reminderQueryAnswer, java.lang.String screenName,
875         java.lang.String emailAddress, java.lang.String openId,
876         java.lang.String languageId, java.lang.String timeZoneId,
877         java.lang.String greeting, java.lang.String comments,
878         java.lang.String firstName, java.lang.String middleName,
879         java.lang.String lastName, int prefixId, int suffixId, boolean male,
880         int birthdayMonth, int birthdayDay, int birthdayYear,
881         java.lang.String smsSn, java.lang.String aimSn,
882         java.lang.String facebookSn, java.lang.String icqSn,
883         java.lang.String jabberSn, java.lang.String msnSn,
884         java.lang.String mySpaceSn, java.lang.String skypeSn,
885         java.lang.String twitterSn, java.lang.String ymSn,
886         java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
887         long[] roleIds,
888         java.util.List<com.liferay.portal.model.UserGroupRole> userGroupRoles,
889         long[] userGroupIds,
890         com.liferay.portal.service.ServiceContext serviceContext)
891         throws com.liferay.portal.kernel.exception.PortalException,
892             com.liferay.portal.kernel.exception.SystemException {
893         return _userLocalService.updateUser(userId, oldPassword, newPassword1,
894             newPassword2, passwordReset, reminderQueryQuestion,
895             reminderQueryAnswer, screenName, emailAddress, openId, languageId,
896             timeZoneId, greeting, comments, firstName, middleName, lastName,
897             prefixId, suffixId, male, birthdayMonth, birthdayDay, birthdayYear,
898             smsSn, aimSn, facebookSn, icqSn, jabberSn, msnSn, mySpaceSn,
899             skypeSn, twitterSn, ymSn, jobTitle, groupIds, organizationIds,
900             roleIds, userGroupRoles, userGroupIds, serviceContext);
901     }
902 
903     public UserLocalService getWrappedUserLocalService() {
904         return _userLocalService;
905     }
906 
907     private UserLocalService _userLocalService;
908 }