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.SystemException,
66 com.liferay.portal.PortalException;
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.SystemException,
82 com.liferay.portal.PortalException;
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.lang.String openId, java.util.Locale locale,
122 java.lang.String firstName, java.lang.String middleName,
123 java.lang.String lastName, int prefixId, int suffixId, boolean male,
124 int birthdayMonth, int birthdayDay, int birthdayYear,
125 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
126 long[] roleIds, long[] userGroupIds, boolean sendEmail,
127 com.liferay.portal.service.ServiceContext serviceContext)
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 deletePortrait(long userId)
198 throws com.liferay.portal.PortalException,
199 com.liferay.portal.SystemException;
200
201 public void deleteRoleUser(long roleId, long userId)
202 throws com.liferay.portal.SystemException;
203
204 public java.lang.String encryptUserId(java.lang.String name)
205 throws com.liferay.portal.PortalException,
206 com.liferay.portal.SystemException;
207
208 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
209 public com.liferay.portal.model.User getDefaultUser(long companyId)
210 throws com.liferay.portal.PortalException,
211 com.liferay.portal.SystemException;
212
213 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
214 public long getDefaultUserId(long companyId)
215 throws com.liferay.portal.PortalException,
216 com.liferay.portal.SystemException;
217
218 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
219 public long[] getGroupUserIds(long groupId)
220 throws com.liferay.portal.SystemException;
221
222 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
223 public java.util.List<com.liferay.portal.model.User> getGroupUsers(
224 long groupId) throws com.liferay.portal.SystemException;
225
226 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
227 public int getGroupUsersCount(long groupId)
228 throws com.liferay.portal.SystemException;
229
230 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
231 public int getGroupUsersCount(long groupId, boolean active)
232 throws com.liferay.portal.PortalException,
233 com.liferay.portal.SystemException;
234
235 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
236 public java.util.List<com.liferay.portal.model.User> getNoAnnouncementsDeliveries(
237 java.lang.String type) throws com.liferay.portal.SystemException;
238
239 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
240 public long[] getOrganizationUserIds(long organizationId)
241 throws com.liferay.portal.SystemException;
242
243 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
244 public java.util.List<com.liferay.portal.model.User> getOrganizationUsers(
245 long organizationId) throws com.liferay.portal.SystemException;
246
247 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
248 public int getOrganizationUsersCount(long organizationId)
249 throws com.liferay.portal.SystemException;
250
251 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
252 public int getOrganizationUsersCount(long organizationId, boolean active)
253 throws com.liferay.portal.PortalException,
254 com.liferay.portal.SystemException;
255
256 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
257 public java.util.List<com.liferay.portal.model.User> getPermissionUsers(
258 long companyId, long groupId, java.lang.String name,
259 java.lang.String primKey, java.lang.String actionId,
260 java.lang.String firstName, java.lang.String middleName,
261 java.lang.String lastName, java.lang.String emailAddress,
262 boolean andOperator, int start, int end)
263 throws com.liferay.portal.SystemException;
264
265 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
266 public int getPermissionUsersCount(long companyId, long groupId,
267 java.lang.String name, java.lang.String primKey,
268 java.lang.String actionId, java.lang.String firstName,
269 java.lang.String middleName, java.lang.String lastName,
270 java.lang.String emailAddress, boolean andOperator)
271 throws com.liferay.portal.SystemException;
272
273 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
274 public long[] getRoleUserIds(long roleId)
275 throws com.liferay.portal.SystemException;
276
277 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
278 public java.util.List<com.liferay.portal.model.User> getRoleUsers(
279 long roleId) throws com.liferay.portal.SystemException;
280
281 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
282 public int getRoleUsersCount(long roleId)
283 throws com.liferay.portal.SystemException;
284
285 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
286 public int getRoleUsersCount(long roleId, boolean active)
287 throws com.liferay.portal.PortalException,
288 com.liferay.portal.SystemException;
289
290 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
291 public java.util.List<com.liferay.portal.model.User> getSocialUsers(
292 long userId, int start, int end,
293 com.liferay.portal.kernel.util.OrderByComparator obc)
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 type, 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 userId1, long userId2, 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 type, 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 int getSocialUsersCount(long userId)
320 throws com.liferay.portal.PortalException,
321 com.liferay.portal.SystemException;
322
323 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
324 public int getSocialUsersCount(long userId, int type)
325 throws com.liferay.portal.PortalException,
326 com.liferay.portal.SystemException;
327
328 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
329 public int getSocialUsersCount(long userId1, long userId2)
330 throws com.liferay.portal.PortalException,
331 com.liferay.portal.SystemException;
332
333 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
334 public int getSocialUsersCount(long userId1, long userId2, int type)
335 throws com.liferay.portal.PortalException,
336 com.liferay.portal.SystemException;
337
338 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
339 public java.util.List<com.liferay.portal.model.User> getUserGroupUsers(
340 long userGroupId) throws com.liferay.portal.SystemException;
341
342 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
343 public int getUserGroupUsersCount(long userGroupId)
344 throws com.liferay.portal.SystemException;
345
346 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
347 public int getUserGroupUsersCount(long userGroupId, boolean active)
348 throws com.liferay.portal.PortalException,
349 com.liferay.portal.SystemException;
350
351 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
352 public com.liferay.portal.model.User getUserByContactId(long contactId)
353 throws com.liferay.portal.PortalException,
354 com.liferay.portal.SystemException;
355
356 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
357 public com.liferay.portal.model.User getUserByEmailAddress(long companyId,
358 java.lang.String emailAddress)
359 throws com.liferay.portal.PortalException,
360 com.liferay.portal.SystemException;
361
362 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
363 public com.liferay.portal.model.User getUserById(long userId)
364 throws com.liferay.portal.PortalException,
365 com.liferay.portal.SystemException;
366
367 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
368 public com.liferay.portal.model.User getUserById(long companyId, long userId)
369 throws com.liferay.portal.PortalException,
370 com.liferay.portal.SystemException;
371
372 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
373 public com.liferay.portal.model.User getUserByOpenId(
374 java.lang.String openId)
375 throws com.liferay.portal.PortalException,
376 com.liferay.portal.SystemException;
377
378 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
379 public com.liferay.portal.model.User getUserByPortraitId(long portraitId)
380 throws com.liferay.portal.PortalException,
381 com.liferay.portal.SystemException;
382
383 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
384 public com.liferay.portal.model.User getUserByScreenName(long companyId,
385 java.lang.String screenName)
386 throws com.liferay.portal.PortalException,
387 com.liferay.portal.SystemException;
388
389 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
390 public com.liferay.portal.model.User getUserByUuid(java.lang.String uuid)
391 throws com.liferay.portal.PortalException,
392 com.liferay.portal.SystemException;
393
394 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
395 public long getUserIdByEmailAddress(long companyId,
396 java.lang.String emailAddress)
397 throws com.liferay.portal.PortalException,
398 com.liferay.portal.SystemException;
399
400 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
401 public long getUserIdByScreenName(long companyId,
402 java.lang.String screenName)
403 throws com.liferay.portal.PortalException,
404 com.liferay.portal.SystemException;
405
406 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
407 public boolean hasGroupUser(long groupId, long userId)
408 throws com.liferay.portal.SystemException;
409
410 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
411 public boolean hasOrganizationUser(long organizationId, long userId)
412 throws com.liferay.portal.SystemException;
413
414 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
415 public boolean hasPasswordPolicyUser(long passwordPolicyId, long userId)
416 throws com.liferay.portal.SystemException;
417
418 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
419 public boolean hasRoleUser(long roleId, long userId)
420 throws com.liferay.portal.SystemException;
421
422 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
423 public boolean hasRoleUser(long companyId, java.lang.String name,
424 long userId, boolean inherited)
425 throws com.liferay.portal.PortalException,
426 com.liferay.portal.SystemException;
427
428 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
429 public boolean hasUserGroupUser(long userGroupId, long userId)
430 throws com.liferay.portal.SystemException;
431
432 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
433 public boolean isPasswordExpired(com.liferay.portal.model.User user)
434 throws com.liferay.portal.PortalException,
435 com.liferay.portal.SystemException;
436
437 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
438 public boolean isPasswordExpiringSoon(com.liferay.portal.model.User user)
439 throws com.liferay.portal.PortalException,
440 com.liferay.portal.SystemException;
441
442 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
443 public void reIndex(long userId) throws com.liferay.portal.SystemException;
444
445 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
446 public void reIndex(java.lang.String[] ids)
447 throws com.liferay.portal.SystemException;
448
449 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
450 public com.liferay.portal.kernel.search.Hits search(long companyId,
451 java.lang.String keywords, java.lang.Boolean active,
452 java.util.LinkedHashMap<String, Object> params, int start, int end,
453 com.liferay.portal.kernel.search.Sort sort)
454 throws com.liferay.portal.SystemException;
455
456 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
457 public com.liferay.portal.kernel.search.Hits search(long companyId,
458 java.lang.String firstName, java.lang.String middleName,
459 java.lang.String lastName, java.lang.String screenName,
460 java.lang.String emailAddress, java.lang.Boolean active,
461 java.util.LinkedHashMap<String, Object> params, boolean andSearch,
462 int start, int end, com.liferay.portal.kernel.search.Sort sort)
463 throws com.liferay.portal.SystemException;
464
465 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
466 public java.util.List<com.liferay.portal.model.User> search(
467 long companyId, java.lang.String keywords, java.lang.Boolean active,
468 java.util.LinkedHashMap<String, Object> params, int start, int end,
469 com.liferay.portal.kernel.util.OrderByComparator obc)
470 throws com.liferay.portal.SystemException;
471
472 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
473 public java.util.List<com.liferay.portal.model.User> search(
474 long companyId, java.lang.String firstName,
475 java.lang.String middleName, java.lang.String lastName,
476 java.lang.String screenName, java.lang.String emailAddress,
477 java.lang.Boolean active,
478 java.util.LinkedHashMap<String, Object> params, boolean andSearch,
479 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
480 throws com.liferay.portal.SystemException;
481
482 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
483 public int searchCount(long companyId, java.lang.String keywords,
484 java.lang.Boolean active, java.util.LinkedHashMap<String, Object> params)
485 throws com.liferay.portal.SystemException;
486
487 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
488 public int searchCount(long companyId, java.lang.String firstName,
489 java.lang.String middleName, java.lang.String lastName,
490 java.lang.String screenName, java.lang.String emailAddress,
491 java.lang.Boolean active,
492 java.util.LinkedHashMap<String, Object> params, boolean andSearch)
493 throws com.liferay.portal.SystemException;
494
495 public void sendPassword(long companyId, java.lang.String emailAddress,
496 java.lang.String remoteAddr, java.lang.String remoteHost,
497 java.lang.String userAgent, java.lang.String fromName,
498 java.lang.String fromAddress, java.lang.String subject,
499 java.lang.String body)
500 throws com.liferay.portal.PortalException,
501 com.liferay.portal.SystemException;
502
503 public void setRoleUsers(long roleId, long[] userIds)
504 throws com.liferay.portal.SystemException;
505
506 public void setUserGroupUsers(long userGroupId, long[] userIds)
507 throws com.liferay.portal.PortalException,
508 com.liferay.portal.SystemException;
509
510 public void unsetGroupUsers(long groupId, long[] userIds)
511 throws com.liferay.portal.SystemException;
512
513 public void unsetOrganizationUsers(long organizationId, long[] userIds)
514 throws com.liferay.portal.PortalException,
515 com.liferay.portal.SystemException;
516
517 public void unsetPasswordPolicyUsers(long passwordPolicyId, long[] userIds)
518 throws com.liferay.portal.SystemException;
519
520 public void unsetRoleUsers(long roleId, long[] userIds)
521 throws com.liferay.portal.PortalException,
522 com.liferay.portal.SystemException;
523
524 public void unsetRoleUsers(long roleId,
525 java.util.List<com.liferay.portal.model.User> users)
526 throws com.liferay.portal.PortalException,
527 com.liferay.portal.SystemException;
528
529 public void unsetUserGroupUsers(long userGroupId, long[] userIds)
530 throws com.liferay.portal.SystemException;
531
532 public com.liferay.portal.model.User updateActive(long userId,
533 boolean active)
534 throws com.liferay.portal.PortalException,
535 com.liferay.portal.SystemException;
536
537 public com.liferay.portal.model.User updateAgreedToTermsOfUse(long userId,
538 boolean agreedToTermsOfUse)
539 throws com.liferay.portal.PortalException,
540 com.liferay.portal.SystemException;
541
542 public com.liferay.portal.model.User updateCreateDate(long userId,
543 java.util.Date createDate)
544 throws com.liferay.portal.PortalException,
545 com.liferay.portal.SystemException;
546
547 public com.liferay.portal.model.User updateEmailAddress(long userId,
548 java.lang.String password, java.lang.String emailAddress1,
549 java.lang.String emailAddress2)
550 throws com.liferay.portal.PortalException,
551 com.liferay.portal.SystemException;
552
553 public void updateGroups(long userId, long[] newGroupIds)
554 throws com.liferay.portal.PortalException,
555 com.liferay.portal.SystemException;
556
557 public com.liferay.portal.model.User updateLastLogin(long userId,
558 java.lang.String loginIP)
559 throws com.liferay.portal.PortalException,
560 com.liferay.portal.SystemException;
561
562 public com.liferay.portal.model.User updateLockout(
563 com.liferay.portal.model.User user, boolean lockout)
564 throws com.liferay.portal.PortalException,
565 com.liferay.portal.SystemException;
566
567 public com.liferay.portal.model.User updateLockoutByEmailAddress(
568 long companyId, java.lang.String emailAddress, boolean lockout)
569 throws com.liferay.portal.PortalException,
570 com.liferay.portal.SystemException;
571
572 public com.liferay.portal.model.User updateLockoutById(long userId,
573 boolean lockout)
574 throws com.liferay.portal.PortalException,
575 com.liferay.portal.SystemException;
576
577 public com.liferay.portal.model.User updateLockoutByScreenName(
578 long companyId, java.lang.String screenName, boolean lockout)
579 throws com.liferay.portal.PortalException,
580 com.liferay.portal.SystemException;
581
582 public com.liferay.portal.model.User updateModifiedDate(long userId,
583 java.util.Date modifiedDate)
584 throws com.liferay.portal.PortalException,
585 com.liferay.portal.SystemException;
586
587 public void updateOpenId(long userId, java.lang.String openId)
588 throws com.liferay.portal.PortalException,
589 com.liferay.portal.SystemException;
590
591 public void updateOrganizations(long userId, long[] newOrganizationIds)
592 throws com.liferay.portal.PortalException,
593 com.liferay.portal.SystemException;
594
595 public com.liferay.portal.model.User updatePassword(long userId,
596 java.lang.String password1, java.lang.String password2,
597 boolean passwordReset)
598 throws com.liferay.portal.PortalException,
599 com.liferay.portal.SystemException;
600
601 public com.liferay.portal.model.User updatePassword(long userId,
602 java.lang.String password1, java.lang.String password2,
603 boolean passwordReset, boolean silentUpdate)
604 throws com.liferay.portal.PortalException,
605 com.liferay.portal.SystemException;
606
607 public com.liferay.portal.model.User updatePasswordManually(long userId,
608 java.lang.String password, boolean passwordEncrypted,
609 boolean passwordReset, java.util.Date passwordModifiedDate)
610 throws com.liferay.portal.PortalException,
611 com.liferay.portal.SystemException;
612
613 public void updatePasswordReset(long userId, boolean passwordReset)
614 throws com.liferay.portal.PortalException,
615 com.liferay.portal.SystemException;
616
617 public void updatePortrait(long userId, byte[] bytes)
618 throws com.liferay.portal.PortalException,
619 com.liferay.portal.SystemException;
620
621 public void updateReminderQuery(long userId, java.lang.String question,
622 java.lang.String answer)
623 throws com.liferay.portal.PortalException,
624 com.liferay.portal.SystemException;
625
626 public void updateScreenName(long userId, java.lang.String screenName)
627 throws com.liferay.portal.PortalException,
628 com.liferay.portal.SystemException;
629
630 public com.liferay.portal.model.User updateUser(long userId,
631 java.lang.String oldPassword, java.lang.String newPassword1,
632 java.lang.String newPassword2, boolean passwordReset,
633 java.lang.String reminderQueryQuestion,
634 java.lang.String reminderQueryAnswer, java.lang.String screenName,
635 java.lang.String emailAddress, java.lang.String openId,
636 java.lang.String languageId, java.lang.String timeZoneId,
637 java.lang.String greeting, java.lang.String comments,
638 java.lang.String firstName, java.lang.String middleName,
639 java.lang.String lastName, int prefixId, int suffixId, boolean male,
640 int birthdayMonth, int birthdayDay, int birthdayYear,
641 java.lang.String smsSn, java.lang.String aimSn,
642 java.lang.String facebookSn, java.lang.String icqSn,
643 java.lang.String jabberSn, java.lang.String msnSn,
644 java.lang.String mySpaceSn, java.lang.String skypeSn,
645 java.lang.String twitterSn, java.lang.String ymSn,
646 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
647 long[] roleIds,
648 java.util.List<com.liferay.portal.model.UserGroupRole> userGroupRoles,
649 long[] userGroupIds,
650 com.liferay.portal.service.ServiceContext serviceContext)
651 throws com.liferay.portal.PortalException,
652 com.liferay.portal.SystemException;
653
654 public void updateTagsAsset(long userId,
655 com.liferay.portal.model.User user, java.lang.String[] tagsEntries)
656 throws com.liferay.portal.PortalException,
657 com.liferay.portal.SystemException;
658 }