|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserService
The Interface UserService.
Modifier and Type | Method and Description |
---|---|
void |
endActiveUserSessions()
End active user sessions. |
java.util.List<Portal> |
getPortals()
Gets the portals. |
User |
getUser(java.lang.Long userId)
Gets the user. |
java.util.List<User> |
getUsers()
Gets the users. |
User |
login(java.lang.String username,
java.lang.String password,
java.lang.String sessionId)
Login. |
void |
logout(User user)
Logout. |
User |
register(RegisterCommand command,
java.lang.String sessionId)
Register. |
Method Detail |
---|
User register(RegisterCommand command, java.lang.String sessionId) throws UserAlreadyExistException
command
- the commandsessionId
- the session idUserAlreadyExistException
- the user already exist exceptionvoid logout(User user)
user
- the userUser login(java.lang.String username, java.lang.String password, java.lang.String sessionId)
username
- the usernamepassword
- the passwordsessionId
- the session idjava.util.List<User> getUsers()
User getUser(java.lang.Long userId)
userId
- the user idjava.util.List<Portal> getPortals()
void endActiveUserSessions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |