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