1
19
20 package com.liferay.portal.service;
21
22 import com.liferay.portal.PortalException;
23 import com.liferay.portal.SystemException;
24 import com.liferay.portal.kernel.annotation.Isolation;
25 import com.liferay.portal.kernel.annotation.Propagation;
26 import com.liferay.portal.kernel.annotation.Transactional;
27
28
52 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
53 PortalException.class, SystemException.class})
54 public interface UserLocalService {
55 public com.liferay.portal.model.User addUser(
56 com.liferay.portal.model.User user)
57 throws com.liferay.portal.SystemException;
58
59 public com.liferay.portal.model.User createUser(long userId);
60
61 public void deleteUser(long userId)
62 throws com.liferay.portal.SystemException,
63 com.liferay.portal.PortalException;
64
65 public void deleteUser(com.liferay.portal.model.User user)
66 throws com.liferay.portal.SystemException;
67
68 public java.util.List<Object> dynamicQuery(
69 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
70 throws com.liferay.portal.SystemException;
71
72 public java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74 int end) throws com.liferay.portal.SystemException;
75
76 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
77 public com.liferay.portal.model.User getUser(long userId)
78 throws com.liferay.portal.SystemException,
79 com.liferay.portal.PortalException;
80
81 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
82 public java.util.List<com.liferay.portal.model.User> getUsers(int start,
83 int end) throws com.liferay.portal.SystemException;
84
85 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
86 public int getUsersCount() throws com.liferay.portal.SystemException;
87
88 public com.liferay.portal.model.User updateUser(
89 com.liferay.portal.model.User user)
90 throws com.liferay.portal.SystemException;
91
92 public com.liferay.portal.model.User updateUser(
93 com.liferay.portal.model.User user, boolean merge)
94 throws com.liferay.portal.SystemException;
95
96 public void addGroupUsers(long groupId, long[] userIds)
97 throws com.liferay.portal.PortalException,
98 com.liferay.portal.SystemException;
99
100 public void addOrganizationUsers(long organizationId, long[] userIds)
101 throws com.liferay.portal.PortalException,
102 com.liferay.portal.SystemException;
103
104 public void addPasswordPolicyUsers(long passwordPolicyId, long[] userIds)
105 throws com.liferay.portal.SystemException;
106
107 public void addRoleUsers(long roleId, long[] userIds)
108 throws com.liferay.portal.SystemException;
109
110 public void addUserGroupUsers(long userGroupId, long[] userIds)
111 throws com.liferay.portal.PortalException,
112 com.liferay.portal.SystemException;
113
114 public com.liferay.portal.model.User addUser(long creatorUserId,
115 long companyId, boolean autoPassword, java.lang.String password1,
116 java.lang.String password2, boolean autoScreenName,
117 java.lang.String screenName, java.lang.String emailAddress,
118 java.lang.String openId, java.util.Locale locale,
119 java.lang.String firstName, java.lang.String middleName,
120 java.lang.String lastName, int prefixId, int suffixId, boolean male,
121 int birthdayMonth, int birthdayDay, int birthdayYear,
122 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
123 long[] roleIds, long[] userGroupIds, boolean sendEmail,
124 com.liferay.portal.service.ServiceContext serviceContext)
125 throws com.liferay.portal.PortalException,
126 com.liferay.portal.SystemException;
127
128 public int authenticateByEmailAddress(long companyId,
129 java.lang.String emailAddress, java.lang.String password,
130 java.util.Map<String, String[]> headerMap,
131 java.util.Map<String, String[]> parameterMap)
132 throws com.liferay.portal.PortalException,
133 com.liferay.portal.SystemException;
134
135 public int authenticateByScreenName(long companyId,
136 java.lang.String screenName, java.lang.String password,
137 java.util.Map<String, String[]> headerMap,
138 java.util.Map<String, String[]> parameterMap)
139 throws com.liferay.portal.PortalException,
140 com.liferay.portal.SystemException;
141
142 public int authenticateByUserId(long companyId, long userId,
143 java.lang.String password, java.util.Map<String, String[]> headerMap,
144 java.util.Map<String, String[]> parameterMap)
145 throws com.liferay.portal.PortalException,
146 com.liferay.portal.SystemException;
147
148 public long authenticateForBasic(long companyId, java.lang.String authType,
149 java.lang.String login, java.lang.String password)
150 throws com.liferay.portal.PortalException,
151 com.liferay.portal.SystemException;
152
153 public boolean authenticateForJAAS(long userId, java.lang.String encPassword);
154
155 public void checkLockout(com.liferay.portal.model.User user)
156 throws com.liferay.portal.PortalException,
157 com.liferay.portal.SystemException;
158
159 public void checkLoginFailure(com.liferay.portal.model.User user)
160 throws com.liferay.portal.SystemException;
161
162 public void checkLoginFailureByEmailAddress(long companyId,
163 java.lang.String emailAddress)
164 throws com.liferay.portal.PortalException,
165 com.liferay.portal.SystemException;
166
167 public void checkLoginFailureById(long userId)
168 throws com.liferay.portal.PortalException,
169 com.liferay.portal.SystemException;
170
171 public void checkLoginFailureByScreenName(long companyId,
172 java.lang.String screenName)
173 throws com.liferay.portal.PortalException,
174 com.liferay.portal.SystemException;
175
176 public void checkPasswordExpired(com.liferay.portal.model.User user)
177 throws com.liferay.portal.PortalException,
178 com.liferay.portal.SystemException;
179
180 public void clearOrganizationUsers(long organizationId)
181 throws com.liferay.portal.SystemException;
182
183 public void clearUserGroupUsers(long userGroupId)
184 throws com.liferay.portal.SystemException;
185
186 public com.liferay.portal.kernel.util.KeyValuePair decryptUserId(
187 long companyId, java.lang.String name, java.lang.String password)
188 throws com.liferay.portal.PortalException,
189 com.liferay.portal.SystemException;
190
191 public void deletePasswordPolicyUser(long passwordPolicyId, long userId)
192 throws com.liferay.portal.SystemException;
193
194 public void deletePortrait(long userId)
195 throws com.liferay.portal.PortalException,
196 com.liferay.portal.SystemException;
197
198 public void deleteRoleUser(long roleId, long userId)
199 throws com.liferay.portal.SystemException;
200
201 public java.lang.String encryptUserId(java.lang.String name)
202 throws com.liferay.portal.PortalException,
203 com.liferay.portal.SystemException;
204
205 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
206 public com.liferay.portal.model.User getDefaultUser(long companyId)
207 throws com.liferay.portal.PortalException,
208 com.liferay.portal.SystemException;
209
210 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
211 public long getDefaultUserId(long companyId)
212 throws com.liferay.portal.PortalException,
213 com.liferay.portal.SystemException;
214
215 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
216 public long[] getGroupUserIds(long groupId)
217 throws com.liferay.portal.SystemException;
218
219 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
220 public java.util.List<com.liferay.portal.model.User> getGroupUsers(
221 long groupId) throws com.liferay.portal.SystemException;
222
223 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
224 public int getGroupUsersCount(long groupId)
225 throws com.liferay.portal.SystemException;
226
227 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
228 public int getGroupUsersCount(long groupId, boolean active)
229 throws com.liferay.portal.PortalException,
230 com.liferay.portal.SystemException;
231
232 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
233 public java.util.List<com.liferay.portal.model.User> getNoAnnouncementsDeliveries(
234 java.lang.String type) throws com.liferay.portal.SystemException;
235
236 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
237 public long[] getOrganizationUserIds(long organizationId)
238 throws com.liferay.portal.SystemException;
239
240 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
241 public java.util.List<com.liferay.portal.model.User> getOrganizationUsers(
242 long organizationId) throws com.liferay.portal.SystemException;
243
244 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
245 public int getOrganizationUsersCount(long organizationId)
246 throws com.liferay.portal.SystemException;
247
248 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
249 public int getOrganizationUsersCount(long organizationId, boolean active)
250 throws com.liferay.portal.PortalException,
251 com.liferay.portal.SystemException;
252
253 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
254 public java.util.List<com.liferay.portal.model.User> getPermissionUsers(
255 long companyId, long groupId, java.lang.String name,
256 java.lang.String primKey, java.lang.String actionId,
257 java.lang.String firstName, java.lang.String middleName,
258 java.lang.String lastName, java.lang.String emailAddress,
259 boolean andOperator, int start, int end)
260 throws com.liferay.portal.SystemException;
261
262 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
263 public int getPermissionUsersCount(long companyId, long groupId,
264 java.lang.String name, java.lang.String primKey,
265 java.lang.String actionId, java.lang.String firstName,
266 java.lang.String middleName, java.lang.String lastName,
267 java.lang.String emailAddress, boolean andOperator)
268 throws com.liferay.portal.SystemException;
269
270 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
271 public long[] getRoleUserIds(long roleId)
272 throws com.liferay.portal.SystemException;
273
274 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
275 public java.util.List<com.liferay.portal.model.User> getRoleUsers(
276 long roleId) throws com.liferay.portal.SystemException;
277
278 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
279 public java.util.List<com.liferay.portal.model.User> getRoleUsers(
280 long roleId, int start, int end)
281 throws com.liferay.portal.SystemException;
282
283 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
284 public int getRoleUsersCount(long roleId)
285 throws com.liferay.portal.SystemException;
286
287 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
288 public int getRoleUsersCount(long roleId, boolean active)
289 throws com.liferay.portal.PortalException,
290 com.liferay.portal.SystemException;
291
292 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
293 public java.util.List<com.liferay.portal.model.User> getSocialUsers(
294 long userId, int start, int end,
295 com.liferay.portal.kernel.util.OrderByComparator obc)
296 throws com.liferay.portal.PortalException,
297 com.liferay.portal.SystemException;
298
299 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
300 public java.util.List<com.liferay.portal.model.User> getSocialUsers(
301 long userId, int type, int start, int end,
302 com.liferay.portal.kernel.util.OrderByComparator obc)
303 throws com.liferay.portal.PortalException,
304 com.liferay.portal.SystemException;
305
306 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
307 public java.util.List<com.liferay.portal.model.User> getSocialUsers(
308 long userId1, long userId2, int start, int end,
309 com.liferay.portal.kernel.util.OrderByComparator obc)
310 throws com.liferay.portal.PortalException,
311 com.liferay.portal.SystemException;
312
313 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
314 public java.util.List<com.liferay.portal.model.User> getSocialUsers(
315 long userId1, long userId2, int type, int start, int end,
316 com.liferay.portal.kernel.util.OrderByComparator obc)
317 throws com.liferay.portal.PortalException,
318 com.liferay.portal.SystemException;
319
320 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
321 public int getSocialUsersCount(long userId)
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, int type)
327 throws com.liferay.portal.PortalException,
328 com.liferay.portal.SystemException;
329
330 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
331 public int getSocialUsersCount(long userId1, long userId2)
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, int type)
337 throws com.liferay.portal.PortalException,
338 com.liferay.portal.SystemException;
339
340 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
341 public java.util.List<com.liferay.portal.model.User> getUserGroupUsers(
342 long userGroupId) throws com.liferay.portal.SystemException;
343
344 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
345 public int getUserGroupUsersCount(long userGroupId)
346 throws com.liferay.portal.SystemException;
347
348 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
349 public int getUserGroupUsersCount(long userGroupId, boolean active)
350 throws com.liferay.portal.PortalException,
351 com.liferay.portal.SystemException;
352
353 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
354 public com.liferay.portal.model.User getUserByContactId(long contactId)
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 getUserByEmailAddress(long companyId,
360 java.lang.String emailAddress)
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 getUserById(long userId)
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 companyId, 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 getUserByOpenId(
376 java.lang.String openId)
377 throws com.liferay.portal.PortalException,
378 com.liferay.portal.SystemException;
379
380 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
381 public com.liferay.portal.model.User getUserByPortraitId(long portraitId)
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 getUserByScreenName(long companyId,
387 java.lang.String screenName)
388 throws com.liferay.portal.PortalException,
389 com.liferay.portal.SystemException;
390
391 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
392 public com.liferay.portal.model.User getUserByUuid(java.lang.String uuid)
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 void reIndex(long userId) throws com.liferay.portal.SystemException;
446
447 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
448 public void reIndex(java.lang.String[] ids)
449 throws com.liferay.portal.SystemException;
450
451 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
452 public com.liferay.portal.kernel.search.Hits search(long companyId,
453 java.lang.String keywords, java.lang.Boolean active,
454 java.util.LinkedHashMap<String, Object> params, int start, int end,
455 com.liferay.portal.kernel.search.Sort sort)
456 throws com.liferay.portal.SystemException;
457
458 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
459 public com.liferay.portal.kernel.search.Hits search(long companyId,
460 java.lang.String firstName, java.lang.String middleName,
461 java.lang.String lastName, java.lang.String screenName,
462 java.lang.String emailAddress, java.lang.Boolean active,
463 java.util.LinkedHashMap<String, Object> params, boolean andSearch,
464 int start, int end, com.liferay.portal.kernel.search.Sort sort)
465 throws com.liferay.portal.SystemException;
466
467 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
468 public java.util.List<com.liferay.portal.model.User> search(
469 long companyId, java.lang.String keywords, java.lang.Boolean active,
470 java.util.LinkedHashMap<String, Object> params, int start, int end,
471 com.liferay.portal.kernel.util.OrderByComparator obc)
472 throws com.liferay.portal.SystemException;
473
474 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
475 public java.util.List<com.liferay.portal.model.User> search(
476 long companyId, java.lang.String firstName,
477 java.lang.String middleName, java.lang.String lastName,
478 java.lang.String screenName, java.lang.String emailAddress,
479 java.lang.Boolean active,
480 java.util.LinkedHashMap<String, Object> params, boolean andSearch,
481 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
482 throws com.liferay.portal.SystemException;
483
484 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
485 public int searchCount(long companyId, java.lang.String keywords,
486 java.lang.Boolean active, java.util.LinkedHashMap<String, Object> params)
487 throws com.liferay.portal.SystemException;
488
489 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
490 public int searchCount(long companyId, java.lang.String firstName,
491 java.lang.String middleName, java.lang.String lastName,
492 java.lang.String screenName, java.lang.String emailAddress,
493 java.lang.Boolean active,
494 java.util.LinkedHashMap<String, Object> params, boolean andSearch)
495 throws com.liferay.portal.SystemException;
496
497 public void sendPassword(long companyId, java.lang.String emailAddress,
498 java.lang.String remoteAddr, java.lang.String remoteHost,
499 java.lang.String userAgent, java.lang.String fromName,
500 java.lang.String fromAddress, java.lang.String subject,
501 java.lang.String body)
502 throws com.liferay.portal.PortalException,
503 com.liferay.portal.SystemException;
504
505 public void setRoleUsers(long roleId, long[] userIds)
506 throws com.liferay.portal.SystemException;
507
508 public void setUserGroupUsers(long userGroupId, long[] userIds)
509 throws com.liferay.portal.PortalException,
510 com.liferay.portal.SystemException;
511
512 public void unsetGroupUsers(long groupId, long[] userIds)
513 throws com.liferay.portal.SystemException;
514
515 public void unsetOrganizationUsers(long organizationId, long[] userIds)
516 throws com.liferay.portal.PortalException,
517 com.liferay.portal.SystemException;
518
519 public void unsetPasswordPolicyUsers(long passwordPolicyId, long[] userIds)
520 throws com.liferay.portal.SystemException;
521
522 public void unsetRoleUsers(long roleId, long[] userIds)
523 throws com.liferay.portal.PortalException,
524 com.liferay.portal.SystemException;
525
526 public void unsetRoleUsers(long roleId,
527 java.util.List<com.liferay.portal.model.User> users)
528 throws com.liferay.portal.PortalException,
529 com.liferay.portal.SystemException;
530
531 public void unsetUserGroupUsers(long userGroupId, long[] userIds)
532 throws com.liferay.portal.SystemException;
533
534 public com.liferay.portal.model.User updateActive(long userId,
535 boolean active)
536 throws com.liferay.portal.PortalException,
537 com.liferay.portal.SystemException;
538
539 public com.liferay.portal.model.User updateAgreedToTermsOfUse(long userId,
540 boolean agreedToTermsOfUse)
541 throws com.liferay.portal.PortalException,
542 com.liferay.portal.SystemException;
543
544 public com.liferay.portal.model.User updateCreateDate(long userId,
545 java.util.Date createDate)
546 throws com.liferay.portal.PortalException,
547 com.liferay.portal.SystemException;
548
549 public com.liferay.portal.model.User updateEmailAddress(long userId,
550 java.lang.String password, java.lang.String emailAddress1,
551 java.lang.String emailAddress2)
552 throws com.liferay.portal.PortalException,
553 com.liferay.portal.SystemException;
554
555 public void updateGroups(long userId, long[] newGroupIds)
556 throws com.liferay.portal.PortalException,
557 com.liferay.portal.SystemException;
558
559 public com.liferay.portal.model.User updateLastLogin(long userId,
560 java.lang.String loginIP)
561 throws com.liferay.portal.PortalException,
562 com.liferay.portal.SystemException;
563
564 public com.liferay.portal.model.User updateLockout(
565 com.liferay.portal.model.User user, boolean lockout)
566 throws com.liferay.portal.PortalException,
567 com.liferay.portal.SystemException;
568
569 public com.liferay.portal.model.User updateLockoutByEmailAddress(
570 long companyId, java.lang.String emailAddress, boolean lockout)
571 throws com.liferay.portal.PortalException,
572 com.liferay.portal.SystemException;
573
574 public com.liferay.portal.model.User updateLockoutById(long userId,
575 boolean lockout)
576 throws com.liferay.portal.PortalException,
577 com.liferay.portal.SystemException;
578
579 public com.liferay.portal.model.User updateLockoutByScreenName(
580 long companyId, java.lang.String screenName, boolean lockout)
581 throws com.liferay.portal.PortalException,
582 com.liferay.portal.SystemException;
583
584 public com.liferay.portal.model.User updateModifiedDate(long userId,
585 java.util.Date modifiedDate)
586 throws com.liferay.portal.PortalException,
587 com.liferay.portal.SystemException;
588
589 public void updateOpenId(long userId, java.lang.String openId)
590 throws com.liferay.portal.PortalException,
591 com.liferay.portal.SystemException;
592
593 public void updateOrganizations(long userId, long[] newOrganizationIds)
594 throws com.liferay.portal.PortalException,
595 com.liferay.portal.SystemException;
596
597 public com.liferay.portal.model.User updatePassword(long userId,
598 java.lang.String password1, java.lang.String password2,
599 boolean passwordReset)
600 throws com.liferay.portal.PortalException,
601 com.liferay.portal.SystemException;
602
603 public com.liferay.portal.model.User updatePassword(long userId,
604 java.lang.String password1, java.lang.String password2,
605 boolean passwordReset, boolean silentUpdate)
606 throws com.liferay.portal.PortalException,
607 com.liferay.portal.SystemException;
608
609 public com.liferay.portal.model.User updatePasswordManually(long userId,
610 java.lang.String password, boolean passwordEncrypted,
611 boolean passwordReset, java.util.Date passwordModifiedDate)
612 throws com.liferay.portal.PortalException,
613 com.liferay.portal.SystemException;
614
615 public void updatePasswordReset(long userId, boolean passwordReset)
616 throws com.liferay.portal.PortalException,
617 com.liferay.portal.SystemException;
618
619 public void updatePortrait(long userId, byte[] bytes)
620 throws com.liferay.portal.PortalException,
621 com.liferay.portal.SystemException;
622
623 public void updateReminderQuery(long userId, java.lang.String question,
624 java.lang.String answer)
625 throws com.liferay.portal.PortalException,
626 com.liferay.portal.SystemException;
627
628 public void updateScreenName(long userId, java.lang.String screenName)
629 throws com.liferay.portal.PortalException,
630 com.liferay.portal.SystemException;
631
632 public com.liferay.portal.model.User updateUser(long userId,
633 java.lang.String oldPassword, java.lang.String newPassword1,
634 java.lang.String newPassword2, boolean passwordReset,
635 java.lang.String reminderQueryQuestion,
636 java.lang.String reminderQueryAnswer, java.lang.String screenName,
637 java.lang.String emailAddress, java.lang.String openId,
638 java.lang.String languageId, java.lang.String timeZoneId,
639 java.lang.String greeting, java.lang.String comments,
640 java.lang.String firstName, java.lang.String middleName,
641 java.lang.String lastName, int prefixId, int suffixId, boolean male,
642 int birthdayMonth, int birthdayDay, int birthdayYear,
643 java.lang.String smsSn, java.lang.String aimSn,
644 java.lang.String facebookSn, java.lang.String icqSn,
645 java.lang.String jabberSn, java.lang.String msnSn,
646 java.lang.String mySpaceSn, java.lang.String skypeSn,
647 java.lang.String twitterSn, java.lang.String ymSn,
648 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
649 long[] roleIds,
650 java.util.List<com.liferay.portal.model.UserGroupRole> userGroupRoles,
651 long[] userGroupIds,
652 com.liferay.portal.service.ServiceContext serviceContext)
653 throws com.liferay.portal.PortalException,
654 com.liferay.portal.SystemException;
655
656 public void updateTagsAsset(long userId,
657 com.liferay.portal.model.User user, java.lang.String[] tagsEntries)
658 throws com.liferay.portal.PortalException,
659 com.liferay.portal.SystemException;
660 }