public interface UserAccountService
| Modifier and Type | Method and Description |
|---|---|
void |
activateUser(long userId) |
void |
deactivateUser(long userId) |
void |
deleteUser(long userId) |
Collection<org.squashtest.tm.domain.milestone.Milestone> |
findAllMilestonesForUser(long userId) |
org.squashtest.tm.domain.users.User |
findCurrentUser()
Fetches the
User which matches the current authenticated username / principal. |
void |
modifyUserEmail(long userId,
String newEmail) |
void |
modifyUserFirstName(long userId,
String newName) |
void |
modifyUserLastName(long userId,
String newName) |
void |
modifyUserLogin(long userId,
String newLogin) |
void |
setCurrentUserEmail(String newEmail) |
void |
setCurrentUserPassword(String oldPasswd,
String newPasswd) |
void |
updateUserLastConnectionDate() |
void modifyUserFirstName(long userId,
String newName)
void modifyUserLastName(long userId,
String newName)
void modifyUserLogin(long userId,
String newLogin)
void modifyUserEmail(long userId,
String newEmail)
void deactivateUser(long userId)
void activateUser(long userId)
void deleteUser(long userId)
org.squashtest.tm.domain.users.User findCurrentUser()
User which matches the current authenticated username / principal.
If one is authenticated (through a third party authentication provider) but no User is defined, this
method returns null.User or nullvoid setCurrentUserEmail(String newEmail)
Collection<org.squashtest.tm.domain.milestone.Milestone> findAllMilestonesForUser(long userId)
void updateUserLastConnectionDate()
Copyright © 2010–2017 Henix, henix.fr. All rights reserved.