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