Interface SMProfileModel

    • Method Detail

      • setProfileServerName

        void setProfileServerName​(String serverName)
        Sets server name.
        Parameters:
        serverName - sever name.
      • invalidateSessions

        List<String> invalidateSessions​(List<String> list,
                                        String pattern)
                                 throws AMConsoleException
        Invalidates list of session.
        Parameters:
        list - of session IDs.
        pattern - Search pattern.
        Returns:
        a list of session IDs that cannot be validated.
        Throws:
        AMConsoleException - If an error occurred while invalidating the sessions.
      • isSessionValid

        boolean isSessionValid()
        Returns true if current user session state is valid.
        Returns:
        true is the session is valid.
      • setSmSessionCache

        void setSmSessionCache​(SMSessionCache cache)
        Sets session cache.
        Parameters:
        cache - Session cache.
      • getServerNames

        Map getServerNames()
        Returns map of server names.
        Returns:
        map of server names.