public interface UserService extends AgrosystService
| Modifier and Type | Method and Description |
|---|---|
UserDto |
acceptCharter() |
boolean |
askForPasswordReminder(String email)
Generate a password reminder token and sends the reminder email
|
UserDto |
createUser(UserDto user,
String password) |
ResultList<UserDto> |
getFilteredUsers(UserFilter userFilter,
boolean includeRoles) |
List<UserDto> |
getNameFilteredActiveUsers(String research,
Integer nbResult)
Return all Users with there first name or last name as there name contains the research term.
|
UserDto |
getUser(String topiaId) |
long |
getUsersCount(Boolean active)
return the number of users
|
ImportResult |
importUsers(InputStream userFileStream)
Import user file from string.
|
boolean |
isEmailInUse(String email,
String currentUserId) |
UserDto |
preparePasswordChange(String token,
String userId) |
UserDto |
readInfoMessages(Date lastMessageReadDate) |
void |
sendFeedback(String env,
String location,
String locationTitle,
String category,
String feedback,
String requested,
String referer,
byte[] screenshotData) |
void |
unactivateUsers(Set<String> topiaIds,
boolean activate) |
boolean |
updatePassword(String token,
String userId,
String password) |
UserDto |
updateUser(UserDto user,
String password) |
ResultList<UserDto> getFilteredUsers(UserFilter userFilter, boolean includeRoles)
List<UserDto> getNameFilteredActiveUsers(String research, Integer nbResult)
research - The researched term.nbResult - The maximum number if return resultlong getUsersCount(Boolean active)
active - optional active filter (may be null)boolean askForPasswordReminder(String email)
email - true if email was found and email sentvoid sendFeedback(String env, String location, String locationTitle, String category, String feedback, String requested, String referer, byte[] screenshotData)
ImportResult importUsers(InputStream userFileStream)
userFileStream - user file streamUserDto acceptCharter()
Copyright © 2013–2015 Inra. All rights reserved.