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