1
22
23 package com.liferay.portal.service;
24
25 import com.liferay.portal.PortalException;
26 import com.liferay.portal.SystemException;
27 import com.liferay.portal.kernel.annotation.Isolation;
28 import com.liferay.portal.kernel.annotation.Propagation;
29 import com.liferay.portal.kernel.annotation.Transactional;
30
31
55 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
56 PortalException.class, SystemException.class})
57 public interface UserLocalService {
58 public com.liferay.portal.model.User addUser(
59 com.liferay.portal.model.User user)
60 throws com.liferay.portal.SystemException;
61
62 public com.liferay.portal.model.User createUser(long userId);
63
64 public void deleteUser(long userId)
65 throws com.liferay.portal.PortalException,
66 com.liferay.portal.SystemException;
67
68 public void deleteUser(com.liferay.portal.model.User user)
69 throws com.liferay.portal.SystemException;
70
71 public java.util.List<Object> dynamicQuery(
72 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
73 throws com.liferay.portal.SystemException;
74
75 public java.util.List<Object> dynamicQuery(
76 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77 int end) throws com.liferay.portal.SystemException;
78
79 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
80 public com.liferay.portal.model.User getUser(long userId)
81 throws com.liferay.portal.PortalException,
82 com.liferay.portal.SystemException;
83
84 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
85 public java.util.List<com.liferay.portal.model.User> getUsers(int start,
86 int end) throws com.liferay.portal.SystemException;
87
88 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
89 public int getUsersCount() throws com.liferay.portal.SystemException;
90
91 public com.liferay.portal.model.User updateUser(
92 com.liferay.portal.model.User user)
93 throws com.liferay.portal.SystemException;
94
95 public com.liferay.portal.model.User updateUser(
96 com.liferay.portal.model.User user, boolean merge)
97 throws com.liferay.portal.SystemException;
98
99 public void addDefaultGroups(long userId)
100 throws com.liferay.portal.PortalException,
101 com.liferay.portal.SystemException;
102
103 public void addDefaultRoles(long userId)
104 throws com.liferay.portal.PortalException,
105 com.liferay.portal.SystemException;
106
107 public void addDefaultUserGroups(long userId)
108 throws com.liferay.portal.PortalException,
109 com.liferay.portal.SystemException;
110
111 public void addGroupUsers(long groupId, long[] userIds)
112 throws com.liferay.portal.PortalException,
113 com.liferay.portal.SystemException;
114
115 public void addOrganizationUsers(long organizationId, long[] userIds)
116 throws com.liferay.portal.PortalException,
117 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.PortalException,
563 com.liferay.portal.SystemException;
564
565 public com.liferay.portal.model.User updateLastLogin(long userId,
566 java.lang.String loginIP)
567 throws com.liferay.portal.PortalException,
568 com.liferay.portal.SystemException;
569
570 public com.liferay.portal.model.User updateLockout(
571 com.liferay.portal.model.User user, boolean lockout)
572 throws com.liferay.portal.PortalException,
573 com.liferay.portal.SystemException;
574
575 public com.liferay.portal.model.User updateLockoutByEmailAddress(
576 long companyId, java.lang.String emailAddress, boolean lockout)
577 throws com.liferay.portal.PortalException,
578 com.liferay.portal.SystemException;
579
580 public com.liferay.portal.model.User updateLockoutById(long userId,
581 boolean lockout)
582 throws com.liferay.portal.PortalException,
583 com.liferay.portal.SystemException;
584
585 public com.liferay.portal.model.User updateLockoutByScreenName(
586 long companyId, java.lang.String screenName, boolean lockout)
587 throws com.liferay.portal.PortalException,
588 com.liferay.portal.SystemException;
589
590 public com.liferay.portal.model.User updateModifiedDate(long userId,
591 java.util.Date modifiedDate)
592 throws com.liferay.portal.PortalException,
593 com.liferay.portal.SystemException;
594
595 public void updateOpenId(long userId, java.lang.String openId)
596 throws com.liferay.portal.PortalException,
597 com.liferay.portal.SystemException;
598
599 public void updateOrganizations(long userId, long[] newOrganizationIds)
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)
606 throws com.liferay.portal.PortalException,
607 com.liferay.portal.SystemException;
608
609 public com.liferay.portal.model.User updatePassword(long userId,
610 java.lang.String password1, java.lang.String password2,
611 boolean passwordReset, boolean silentUpdate)
612 throws com.liferay.portal.PortalException,
613 com.liferay.portal.SystemException;
614
615 public com.liferay.portal.model.User updatePasswordManually(long userId,
616 java.lang.String password, boolean passwordEncrypted,
617 boolean passwordReset, java.util.Date passwordModifiedDate)
618 throws com.liferay.portal.PortalException,
619 com.liferay.portal.SystemException;
620
621 public void updatePasswordReset(long userId, boolean passwordReset)
622 throws com.liferay.portal.PortalException,
623 com.liferay.portal.SystemException;
624
625 public void updatePortrait(long userId, byte[] bytes)
626 throws com.liferay.portal.PortalException,
627 com.liferay.portal.SystemException;
628
629 public void updateReminderQuery(long userId, java.lang.String question,
630 java.lang.String answer)
631 throws com.liferay.portal.PortalException,
632 com.liferay.portal.SystemException;
633
634 public void updateScreenName(long userId, java.lang.String screenName)
635 throws com.liferay.portal.PortalException,
636 com.liferay.portal.SystemException;
637
638 public com.liferay.portal.model.User updateUser(long userId,
639 java.lang.String oldPassword, java.lang.String newPassword1,
640 java.lang.String newPassword2, boolean passwordReset,
641 java.lang.String reminderQueryQuestion,
642 java.lang.String reminderQueryAnswer, java.lang.String screenName,
643 java.lang.String emailAddress, java.lang.String openId,
644 java.lang.String languageId, java.lang.String timeZoneId,
645 java.lang.String greeting, java.lang.String comments,
646 java.lang.String firstName, java.lang.String middleName,
647 java.lang.String lastName, int prefixId, int suffixId, boolean male,
648 int birthdayMonth, int birthdayDay, int birthdayYear,
649 java.lang.String smsSn, java.lang.String aimSn,
650 java.lang.String facebookSn, java.lang.String icqSn,
651 java.lang.String jabberSn, java.lang.String msnSn,
652 java.lang.String mySpaceSn, java.lang.String skypeSn,
653 java.lang.String twitterSn, java.lang.String ymSn,
654 java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
655 long[] roleIds,
656 java.util.List<com.liferay.portal.model.UserGroupRole> userGroupRoles,
657 long[] userGroupIds,
658 com.liferay.portal.service.ServiceContext serviceContext)
659 throws com.liferay.portal.PortalException,
660 com.liferay.portal.SystemException;
661
662 public void updateTagsAsset(long userId,
663 com.liferay.portal.model.User user, java.lang.String[] tagsEntries)
664 throws com.liferay.portal.PortalException,
665 com.liferay.portal.SystemException;
666 }