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