org.squashtest.tm.service.user
Interface UserAccountService
- All Known Implementing Classes:
- UserAccountServiceImpl
public interface UserAccountService
modifyUserFirstName
void modifyUserFirstName(long userId,
String newName)
modifyUserLastName
void modifyUserLastName(long userId,
String newName)
modifyUserLogin
void modifyUserLogin(long userId,
String newLogin)
modifyUserEmail
void modifyUserEmail(long userId,
String newEmail)
deactivateUser
void deactivateUser(long userId)
activateUser
void activateUser(long userId)
deleteUser
void deleteUser(long userId)
findCurrentUser
org.squashtest.tm.domain.users.User findCurrentUser()
- Fetches the
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.
- Returns:
- the current
User or null
setCurrentUserEmail
void setCurrentUserEmail(String newEmail)
setCurrentUserPassword
void setCurrentUserPassword(String oldPasswd,
String newPasswd)
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.