Class WebConnectionsSessionController

    • Constructor Detail

      • WebConnectionsSessionController

        public WebConnectionsSessionController​(MainSessionController mainSessionCtrl,
                                               ComponentContext componentContext)
        Standard Session Controller Constructeur
        Parameters:
        mainSessionCtrl - The user's profile
        componentContext - The component's profile
    • Method Detail

      • getConnection

        public ConnectionDetail getConnection​(String componentId)
        get the connection for the componentId
        Parameters:
        componentId - : String
        Returns:
        connection : ConnectionDetail
      • getConnectionById

        public ConnectionDetail getConnectionById​(String connectionId)
        get the connection corresponding to connectionId
        Parameters:
        connectionId - : String
        Returns:
        the connection : ConnectionDetail
      • updateConnection

        public void updateConnection​(String connectionId,
                                     String login,
                                     String password)
        update the connection (corresponding to connectionId) with the login and the password
        Parameters:
        connectionId - : String
        login - : String
        password - : String
      • deleteConnection

        public void deleteConnection​(String connectionId)
        delete the connection corresponding to connectionId
        Parameters:
        connectionId - : String
      • createConnection

        public void createConnection​(ConnectionDetail connection)
        create a new connection
        Parameters:
        connection - : ConnectionDetail