Interface ConnectedUserServiceLocal

    • Method Detail

      • countConnectedUsers

        int countConnectedUsers​(Role role)
        Counts visible connected users with the given role
      • disconnectUserAndOperators

        int disconnectUserAndOperators​(User user)
        Disconnects a user and all his operators
      • isOnline

        boolean isOnline​(BasicUser user)
        checks if this user is online.
        Returns:
        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.
      • notifySessionsOfPermissionChange

        void notifySessionsOfPermissionChange​(ProductOwner productOwner)
        Notify each session belonging to the given user or group that the permissions have changed