1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   * 
13   */
14  
15  package com.liferay.portal.service;
16  
17  import com.liferay.portal.PortalException;
18  import com.liferay.portal.SystemException;
19  import com.liferay.portal.kernel.annotation.Isolation;
20  import com.liferay.portal.kernel.annotation.Propagation;
21  import com.liferay.portal.kernel.annotation.Transactional;
22  
23  /**
24   * <a href="UserLocalService.java.html"><b><i>View Source</i></b></a>
25   *
26   * <p>
27   * ServiceBuilder generated this class. Modifications in this class will be
28   * overwritten the next time is generated.
29   * </p>
30   *
31   * <p>
32   * This interface defines the service. The default implementation is
33   * {@link
34   * com.liferay.portal.service.impl.UserLocalServiceImpl}}.
35   * Modify methods in that class and rerun ServiceBuilder to populate this class
36   * and all other generated classes.
37   * </p>
38   *
39   * <p>
40   * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
41   * </p>
42   *
43   * @author    Brian Wing Shun Chan
44   * @see       UserLocalServiceUtil
45   * @generated
46   */
47  @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
48      PortalException.class, SystemException.class})
49  public interface UserLocalService {
50      public com.liferay.portal.model.User addUser(
51          com.liferay.portal.model.User user)
52          throws com.liferay.portal.SystemException;
53  
54      public com.liferay.portal.model.User createUser(long userId);
55  
56      public void deleteUser(long userId)
57          throws com.liferay.portal.PortalException,
58              com.liferay.portal.SystemException;
59  
60      public void deleteUser(com.liferay.portal.model.User user)
61          throws com.liferay.portal.SystemException;
62  
63      public java.util.List<Object> dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.SystemException;
66  
67      public java.util.List<Object> dynamicQuery(
68          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
69          int end) throws com.liferay.portal.SystemException;
70  
71      @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
72      public com.liferay.portal.model.User getUser(long userId)
73          throws com.liferay.portal.PortalException,
74              com.liferay.portal.SystemException;
75  
76      @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
77      public java.util.List<com.liferay.portal.model.User> getUsers(int start,
78          int end) throws com.liferay.portal.SystemException;
79  
80      @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
81      public int getUsersCount() throws com.liferay.portal.SystemException;
82  
83      public com.liferay.portal.model.User updateUser(
84          com.liferay.portal.model.User user)
85          throws com.liferay.portal.SystemException;
86  
87      public com.liferay.portal.model.User updateUser(
88          com.liferay.portal.model.User user, boolean merge)
89          throws com.liferay.portal.SystemException;
90  
91      public void addDefaultGroups(long userId)
92          throws com.liferay.portal.PortalException,
93              com.liferay.portal.SystemException;
94  
95      public void addDefaultRoles(long userId)
96          throws com.liferay.portal.PortalException,
97              com.liferay.portal.SystemException;
98  
99      public void addDefaultUserGroups(long userId)
100         throws com.liferay.portal.PortalException,
101             com.liferay.portal.SystemException;
102 
103     public void addGroupUsers(long groupId, long[] userIds)
104         throws com.liferay.portal.SystemException;
105 
106     public void addOrganizationUsers(long organizationId, long[] userIds)
107         throws com.liferay.portal.SystemException;
108 
109     public void addPasswordPolicyUsers(long passwordPolicyId, long[] userIds)
110         throws com.liferay.portal.SystemException;
111 
112     public void addRoleUsers(long roleId, long[] userIds)
113         throws com.liferay.portal.SystemException;
114 
115     public void addUserGroupUsers(long userGroupId, long[] userIds)
116         throws com.liferay.portal.PortalException,
117             com.liferay.portal.SystemException;
118 
119     public com.liferay.portal.model.User addUser(long creatorUserId,
120         long companyId, boolean autoPassword, java.lang.String password1,
121         java.lang.String password2, boolean autoScreenName,
122         java.lang.String screenName, java.lang.String emailAddress,
123         java.util.Locale locale, java.lang.String firstName,
124         java.lang.String middleName, java.lang.String lastName, int prefixId,
125         int suffixId, boolean male, int birthdayMonth, int birthdayDay,
126         int birthdayYear, java.lang.String jobTitle, long[] organizationIds,
127         boolean sendEmail)
128         throws com.liferay.portal.PortalException,
129             com.liferay.portal.SystemException;
130 
131     public int authenticateByEmailAddress(long companyId,
132         java.lang.String emailAddress, java.lang.String password,
133         java.util.Map<String, String[]> headerMap,
134         java.util.Map<String, String[]> parameterMap)
135         throws com.liferay.portal.PortalException,
136             com.liferay.portal.SystemException;
137 
138     public int authenticateByScreenName(long companyId,
139         java.lang.String screenName, java.lang.String password,
140         java.util.Map<String, String[]> headerMap,
141         java.util.Map<String, String[]> parameterMap)
142         throws com.liferay.portal.PortalException,
143             com.liferay.portal.SystemException;
144 
145     public int authenticateByUserId(long companyId, long userId,
146         java.lang.String password, java.util.Map<String, String[]> headerMap,
147         java.util.Map<String, String[]> parameterMap)
148         throws com.liferay.portal.PortalException,
149             com.liferay.portal.SystemException;
150 
151     public long authenticateForBasic(long companyId, java.lang.String authType,
152         java.lang.String login, java.lang.String password)
153         throws com.liferay.portal.PortalException,
154             com.liferay.portal.SystemException;
155 
156     public boolean authenticateForJAAS(long userId, java.lang.String encPassword);
157 
158     public void checkLockout(com.liferay.portal.model.User user)
159         throws com.liferay.portal.PortalException,
160             com.liferay.portal.SystemException;
161 
162     public void checkLoginFailure(com.liferay.portal.model.User user)
163         throws com.liferay.portal.SystemException;
164 
165     public void checkLoginFailureByEmailAddress(long companyId,
166         java.lang.String emailAddress)
167         throws com.liferay.portal.PortalException,
168             com.liferay.portal.SystemException;
169 
170     public void checkLoginFailureById(long userId)
171         throws com.liferay.portal.PortalException,
172             com.liferay.portal.SystemException;
173 
174     public void checkLoginFailureByScreenName(long companyId,
175         java.lang.String screenName)
176         throws com.liferay.portal.PortalException,
177             com.liferay.portal.SystemException;
178 
179     public void checkPasswordExpired(com.liferay.portal.model.User user)
180         throws com.liferay.portal.PortalException,
181             com.liferay.portal.SystemException;
182 
183     public void clearOrganizationUsers(long organizationId)
184         throws com.liferay.portal.SystemException;
185 
186     public void clearUserGroupUsers(long userGroupId)
187         throws com.liferay.portal.SystemException;
188 
189     public com.liferay.portal.kernel.util.KeyValuePair decryptUserId(
190         long companyId, java.lang.String name, java.lang.String password)
191         throws com.liferay.portal.PortalException,
192             com.liferay.portal.SystemException;
193 
194     public void deletePasswordPolicyUser(long passwordPolicyId, long userId)
195         throws com.liferay.portal.SystemException;
196 
197     public void deleteRoleUser(long roleId, long userId)
198         throws com.liferay.portal.SystemException;
199 
200     public java.lang.String encryptUserId(java.lang.String name)
201         throws com.liferay.portal.PortalException,
202             com.liferay.portal.SystemException;
203 
204     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
205     public com.liferay.portal.model.User getDefaultUser(long companyId)
206         throws com.liferay.portal.PortalException,
207             com.liferay.portal.SystemException;
208 
209     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
210     public long getDefaultUserId(long companyId)
211         throws com.liferay.portal.PortalException,
212             com.liferay.portal.SystemException;
213 
214     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
215     public long[] getGroupUserIds(long groupId)
216         throws com.liferay.portal.SystemException;
217 
218     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
219     public java.util.List<com.liferay.portal.model.User> getGroupUsers(
220         long groupId) throws com.liferay.portal.SystemException;
221 
222     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
223     public int getGroupUsersCount(long groupId)
224         throws com.liferay.portal.SystemException;
225 
226     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
227     public int getGroupUsersCount(long groupId, boolean active)
228         throws com.liferay.portal.PortalException,
229             com.liferay.portal.SystemException;
230 
231     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
232     public java.util.List<com.liferay.portal.model.User> getNoAnnouncementsDeliveries(
233         java.lang.String type) throws com.liferay.portal.SystemException;
234 
235     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
236     public java.util.List<com.liferay.portal.model.User> getNoContacts()
237         throws com.liferay.portal.SystemException;
238 
239     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
240     public java.util.List<com.liferay.portal.model.User> getNoGroups()
241         throws com.liferay.portal.SystemException;
242 
243     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
244     public long[] getOrganizationUserIds(long organizationId)
245         throws com.liferay.portal.SystemException;
246 
247     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
248     public java.util.List<com.liferay.portal.model.User> getOrganizationUsers(
249         long organizationId) throws com.liferay.portal.SystemException;
250 
251     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
252     public int getOrganizationUsersCount(long organizationId)
253         throws com.liferay.portal.SystemException;
254 
255     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
256     public int getOrganizationUsersCount(long organizationId, boolean active)
257         throws com.liferay.portal.PortalException,
258             com.liferay.portal.SystemException;
259 
260     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
261     public long[] getRoleUserIds(long roleId)
262         throws com.liferay.portal.SystemException;
263 
264     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
265     public java.util.List<com.liferay.portal.model.User> getRoleUsers(
266         long roleId) throws com.liferay.portal.SystemException;
267 
268     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
269     public java.util.List<com.liferay.portal.model.User> getRoleUsers(
270         long roleId, int start, int end)
271         throws com.liferay.portal.SystemException;
272 
273     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
274     public int getRoleUsersCount(long roleId)
275         throws com.liferay.portal.SystemException;
276 
277     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
278     public int getRoleUsersCount(long roleId, boolean active)
279         throws com.liferay.portal.PortalException,
280             com.liferay.portal.SystemException;
281 
282     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
283     public java.util.List<com.liferay.portal.model.User> getSocialUsers(
284         long userId, int start, int end,
285         com.liferay.portal.kernel.util.OrderByComparator obc)
286         throws com.liferay.portal.PortalException,
287             com.liferay.portal.SystemException;
288 
289     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
290     public java.util.List<com.liferay.portal.model.User> getSocialUsers(
291         long userId, int type, int start, int end,
292         com.liferay.portal.kernel.util.OrderByComparator obc)
293         throws com.liferay.portal.PortalException,
294             com.liferay.portal.SystemException;
295 
296     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
297     public java.util.List<com.liferay.portal.model.User> getSocialUsers(
298         long userId1, long userId2, int start, int end,
299         com.liferay.portal.kernel.util.OrderByComparator obc)
300         throws com.liferay.portal.PortalException,
301             com.liferay.portal.SystemException;
302 
303     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
304     public java.util.List<com.liferay.portal.model.User> getSocialUsers(
305         long userId1, long userId2, int type, int start, int end,
306         com.liferay.portal.kernel.util.OrderByComparator obc)
307         throws com.liferay.portal.PortalException,
308             com.liferay.portal.SystemException;
309 
310     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
311     public int getSocialUsersCount(long userId)
312         throws com.liferay.portal.PortalException,
313             com.liferay.portal.SystemException;
314 
315     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
316     public int getSocialUsersCount(long userId, int type)
317         throws com.liferay.portal.PortalException,
318             com.liferay.portal.SystemException;
319 
320     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
321     public int getSocialUsersCount(long userId1, long userId2)
322         throws com.liferay.portal.PortalException,
323             com.liferay.portal.SystemException;
324 
325     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
326     public int getSocialUsersCount(long userId1, long userId2, int type)
327         throws com.liferay.portal.PortalException,
328             com.liferay.portal.SystemException;
329 
330     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
331     public java.util.List<com.liferay.portal.model.User> getUserGroupUsers(
332         long userGroupId) throws com.liferay.portal.SystemException;
333 
334     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
335     public int getUserGroupUsersCount(long userGroupId)
336         throws com.liferay.portal.SystemException;
337 
338     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
339     public int getUserGroupUsersCount(long userGroupId, boolean active)
340         throws com.liferay.portal.PortalException,
341             com.liferay.portal.SystemException;
342 
343     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
344     public com.liferay.portal.model.User getUserByContactId(long contactId)
345         throws com.liferay.portal.PortalException,
346             com.liferay.portal.SystemException;
347 
348     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
349     public com.liferay.portal.model.User getUserByEmailAddress(long companyId,
350         java.lang.String emailAddress)
351         throws com.liferay.portal.PortalException,
352             com.liferay.portal.SystemException;
353 
354     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
355     public com.liferay.portal.model.User getUserById(long userId)
356         throws com.liferay.portal.PortalException,
357             com.liferay.portal.SystemException;
358 
359     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
360     public com.liferay.portal.model.User getUserById(long companyId, long userId)
361         throws com.liferay.portal.PortalException,
362             com.liferay.portal.SystemException;
363 
364     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
365     public com.liferay.portal.model.User getUserByOpenId(
366         java.lang.String openId)
367         throws com.liferay.portal.PortalException,
368             com.liferay.portal.SystemException;
369 
370     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
371     public com.liferay.portal.model.User getUserByPortraitId(long portraitId)
372         throws com.liferay.portal.PortalException,
373             com.liferay.portal.SystemException;
374 
375     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
376     public com.liferay.portal.model.User getUserByScreenName(long companyId,
377         java.lang.String screenName)
378         throws com.liferay.portal.PortalException,
379             com.liferay.portal.SystemException;
380 
381     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
382     public long getUserIdByEmailAddress(long companyId,
383         java.lang.String emailAddress)
384         throws com.liferay.portal.PortalException,
385             com.liferay.portal.SystemException;
386 
387     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
388     public long getUserIdByScreenName(long companyId,
389         java.lang.String screenName)
390         throws com.liferay.portal.PortalException,
391             com.liferay.portal.SystemException;
392 
393     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
394     public boolean hasGroupUser(long groupId, long userId)
395         throws com.liferay.portal.SystemException;
396 
397     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
398     public boolean hasOrganizationUser(long organizationId, long userId)
399         throws com.liferay.portal.SystemException;
400 
401     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
402     public boolean hasPasswordPolicyUser(long passwordPolicyId, long userId)
403         throws com.liferay.portal.SystemException;
404 
405     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
406     public boolean hasRoleUser(long roleId, long userId)
407         throws com.liferay.portal.SystemException;
408 
409     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
410     public boolean hasRoleUser(long companyId, java.lang.String name,
411         long userId, boolean inherited)
412         throws com.liferay.portal.PortalException,
413             com.liferay.portal.SystemException;
414 
415     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
416     public boolean hasUserGroupUser(long userGroupId, long userId)
417         throws com.liferay.portal.SystemException;
418 
419     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
420     public boolean isPasswordExpired(com.liferay.portal.model.User user)
421         throws com.liferay.portal.PortalException,
422             com.liferay.portal.SystemException;
423 
424     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
425     public boolean isPasswordExpiringSoon(com.liferay.portal.model.User user)
426         throws com.liferay.portal.PortalException,
427             com.liferay.portal.SystemException;
428 
429     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
430     public java.util.List<com.liferay.portal.model.User> search(
431         long companyId, java.lang.String keywords, java.lang.Boolean active,
432         java.util.LinkedHashMap<String, Object> params, int start, int end,
433         com.liferay.portal.kernel.util.OrderByComparator obc)
434         throws com.liferay.portal.SystemException;
435 
436     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
437     public java.util.List<com.liferay.portal.model.User> search(
438         long companyId, java.lang.String firstName,
439         java.lang.String middleName, java.lang.String lastName,
440         java.lang.String screenName, java.lang.String emailAddress,
441         java.lang.Boolean active,
442         java.util.LinkedHashMap<String, Object> params, boolean andSearch,
443         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
444         throws com.liferay.portal.SystemException;
445 
446     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
447     public int searchCount(long companyId, java.lang.String keywords,
448         java.lang.Boolean active, java.util.LinkedHashMap<String, Object> params)
449         throws com.liferay.portal.SystemException;
450 
451     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
452     public int searchCount(long companyId, java.lang.String firstName,
453         java.lang.String middleName, java.lang.String lastName,
454         java.lang.String screenName, java.lang.String emailAddress,
455         java.lang.Boolean active,
456         java.util.LinkedHashMap<String, Object> params, boolean andSearch)
457         throws com.liferay.portal.SystemException;
458 
459     public void sendPassword(long companyId, java.lang.String emailAddress,
460         java.lang.String remoteAddr, java.lang.String remoteHost,
461         java.lang.String userAgent)
462         throws com.liferay.portal.PortalException,
463             com.liferay.portal.SystemException;
464 
465     public void setRoleUsers(long roleId, long[] userIds)
466         throws com.liferay.portal.SystemException;
467 
468     public void setUserGroupUsers(long userGroupId, long[] userIds)
469         throws com.liferay.portal.PortalException,
470             com.liferay.portal.SystemException;
471 
472     public void unsetGroupUsers(long groupId, long[] userIds)
473         throws com.liferay.portal.SystemException;
474 
475     public void unsetOrganizationUsers(long organizationId, long[] userIds)
476         throws com.liferay.portal.PortalException,
477             com.liferay.portal.SystemException;
478 
479     public void unsetPasswordPolicyUsers(long passwordPolicyId, long[] userIds)
480         throws com.liferay.portal.SystemException;
481 
482     public void unsetRoleUsers(long roleId, long[] userIds)
483         throws com.liferay.portal.SystemException;
484 
485     public void unsetRoleUsers(long roleId,
486         java.util.List<com.liferay.portal.model.User> users)
487         throws com.liferay.portal.SystemException;
488 
489     public void unsetUserGroupUsers(long userGroupId, long[] userIds)
490         throws com.liferay.portal.SystemException;
491 
492     public com.liferay.portal.model.User updateActive(long userId,
493         boolean active)
494         throws com.liferay.portal.PortalException,
495             com.liferay.portal.SystemException;
496 
497     public com.liferay.portal.model.User updateAgreedToTermsOfUse(long userId,
498         boolean agreedToTermsOfUse)
499         throws com.liferay.portal.PortalException,
500             com.liferay.portal.SystemException;
501 
502     public com.liferay.portal.model.User updateCreateDate(long userId,
503         java.util.Date createDate)
504         throws com.liferay.portal.PortalException,
505             com.liferay.portal.SystemException;
506 
507     public com.liferay.portal.model.User updateLastLogin(long userId,
508         java.lang.String loginIP)
509         throws com.liferay.portal.PortalException,
510             com.liferay.portal.SystemException;
511 
512     public com.liferay.portal.model.User updateLockout(
513         com.liferay.portal.model.User user, boolean lockout)
514         throws com.liferay.portal.PortalException,
515             com.liferay.portal.SystemException;
516 
517     public com.liferay.portal.model.User updateLockoutByEmailAddress(
518         long companyId, java.lang.String emailAddress, boolean lockout)
519         throws com.liferay.portal.PortalException,
520             com.liferay.portal.SystemException;
521 
522     public com.liferay.portal.model.User updateLockoutById(long userId,
523         boolean lockout)
524         throws com.liferay.portal.PortalException,
525             com.liferay.portal.SystemException;
526 
527     public com.liferay.portal.model.User updateLockoutByScreenName(
528         long companyId, java.lang.String screenName, boolean lockout)
529         throws com.liferay.portal.PortalException,
530             com.liferay.portal.SystemException;
531 
532     public com.liferay.portal.model.User updateModifiedDate(long userId,
533         java.util.Date modifiedDate)
534         throws com.liferay.portal.PortalException,
535             com.liferay.portal.SystemException;
536 
537     public void updateOpenId(long userId, java.lang.String openId)
538         throws com.liferay.portal.PortalException,
539             com.liferay.portal.SystemException;
540 
541     public void updateOrganizations(long userId, long[] newOrganizationIds)
542         throws com.liferay.portal.PortalException,
543             com.liferay.portal.SystemException;
544 
545     public com.liferay.portal.model.User updatePassword(long userId,
546         java.lang.String password1, java.lang.String password2,
547         boolean passwordReset)
548         throws com.liferay.portal.PortalException,
549             com.liferay.portal.SystemException;
550 
551     public com.liferay.portal.model.User updatePassword(long userId,
552         java.lang.String password1, java.lang.String password2,
553         boolean passwordReset, boolean silentUpdate)
554         throws com.liferay.portal.PortalException,
555             com.liferay.portal.SystemException;
556 
557     public com.liferay.portal.model.User updatePasswordManually(long userId,
558         java.lang.String password, boolean passwordEncrypted,
559         boolean passwordReset, java.util.Date passwordModifiedDate)
560         throws com.liferay.portal.PortalException,
561             com.liferay.portal.SystemException;
562 
563     public void updatePasswordReset(long userId, boolean passwordReset)
564         throws com.liferay.portal.PortalException,
565             com.liferay.portal.SystemException;
566 
567     public void updatePortrait(long userId, byte[] bytes)
568         throws com.liferay.portal.PortalException,
569             com.liferay.portal.SystemException;
570 
571     public void updateScreenName(long userId, java.lang.String screenName)
572         throws com.liferay.portal.PortalException,
573             com.liferay.portal.SystemException;
574 
575     public com.liferay.portal.model.User updateUser(long userId,
576         java.lang.String oldPassword, boolean passwordReset,
577         java.lang.String screenName, java.lang.String emailAddress,
578         java.lang.String languageId, java.lang.String timeZoneId,
579         java.lang.String greeting, java.lang.String comments,
580         java.lang.String firstName, java.lang.String middleName,
581         java.lang.String lastName, int prefixId, int suffixId, boolean male,
582         int birthdayMonth, int birthdayDay, int birthdayYear,
583         java.lang.String smsSn, java.lang.String aimSn,
584         java.lang.String facebookSn, java.lang.String icqSn,
585         java.lang.String jabberSn, java.lang.String msnSn,
586         java.lang.String mySpaceSn, java.lang.String skypeSn,
587         java.lang.String twitterSn, java.lang.String ymSn,
588         java.lang.String jobTitle, long[] organizationIds)
589         throws com.liferay.portal.PortalException,
590             com.liferay.portal.SystemException;
591 
592     public com.liferay.portal.model.User updateUser(long userId,
593         java.lang.String oldPassword, java.lang.String newPassword1,
594         java.lang.String newPassword2, boolean passwordReset,
595         java.lang.String screenName, java.lang.String emailAddress,
596         java.lang.String languageId, java.lang.String timeZoneId,
597         java.lang.String greeting, java.lang.String comments,
598         java.lang.String firstName, java.lang.String middleName,
599         java.lang.String lastName, int prefixId, int suffixId, boolean male,
600         int birthdayMonth, int birthdayDay, int birthdayYear,
601         java.lang.String smsSn, java.lang.String aimSn,
602         java.lang.String facebookSn, java.lang.String icqSn,
603         java.lang.String jabberSn, java.lang.String msnSn,
604         java.lang.String mySpaceSn, java.lang.String skypeSn,
605         java.lang.String twitterSn, java.lang.String ymSn,
606         java.lang.String jobTitle, long[] organizationIds)
607         throws com.liferay.portal.PortalException,
608             com.liferay.portal.SystemException;
609 }