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