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