public interface ConnectedUserServiceLocal extends ConnectedUserService
ConnectedUserService| Modifier and Type | Method and Description |
|---|---|
int |
countConnectedUsers(Role role)
Counts visible connected users with the given role
|
int |
disconnectUserAndOperators(User user)
Disconnects an user and all his operators
|
boolean |
isOnline(BasicUser user)
checks if this user is online.
|
disconnect, disconnectBySessionIds, getSearchData, searchint countConnectedUsers(Role role)
int disconnectUserAndOperators(User user)
boolean isOnline(BasicUser user)
true if the user is the LoggedUser; false if the loggedUser has no permission
to
view who's online; for other users it returns true if the requested user has a session which is not yet expired.