Interface IOutputConnectionManager

  • All Known Implementing Classes:
    OutputConnectionManager

    public interface IOutputConnectionManager
    Manager classes of this kind use the database to contain a human description of an output connection.
    • Method Detail

      • exportConfiguration

        void exportConfiguration​(java.io.OutputStream os)
                          throws java.io.IOException,
                                 ManifoldCFException
        Export configuration
        Throws:
        java.io.IOException
        ManifoldCFException
      • importConfiguration

        void importConfiguration​(java.io.InputStream is)
                          throws java.io.IOException,
                                 ManifoldCFException
        Import configuration
        Throws:
        java.io.IOException
        ManifoldCFException
      • loadMultiple

        IOutputConnection[] loadMultiple​(java.lang.String[] names)
                                  throws ManifoldCFException
        Load a set of output connections.
        Parameters:
        names - are the names of the output connections.
        Returns:
        the descriptors of the output connections, with null values for those not found.
        Throws:
        ManifoldCFException
      • delete

        void delete​(java.lang.String name)
             throws ManifoldCFException
        Delete an output connection.
        Parameters:
        name - is the name of the connection to delete. If the name does not exist, no error is returned.
        Throws:
        ManifoldCFException
      • findConnectionsForConnector

        java.lang.String[] findConnectionsForConnector​(java.lang.String className)
                                                throws ManifoldCFException
        Get a list of output connections that share the same connector.
        Parameters:
        className - is the class name of the connector.
        Returns:
        the repository connections that use that connector.
        Throws:
        ManifoldCFException
      • checkConnectorExists

        boolean checkConnectorExists​(java.lang.String name)
                              throws ManifoldCFException
        Check if underlying connector exists.
        Parameters:
        name - is the name of the connection to check.
        Returns:
        true if the underlying connector is registered.
        Throws:
        ManifoldCFException
      • getTableName

        java.lang.String getTableName()
        Return the primary table name.
        Returns:
        the table name.
      • getConnectionNameColumn

        java.lang.String getConnectionNameColumn()
        Return the name column.
        Returns:
        the name column.