Interface IAuthorityConnectionManager

  • All Known Implementing Classes:
    AuthorityConnectionManager

    public interface IAuthorityConnectionManager
    This interface describes the functionality in the authority connection manager. The authority connection manager manages the definitions of individual connections, and allows them to be defined, edited, and removed.
    • 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
      • isGroupReferenced

        boolean isGroupReferenced​(java.lang.String authorityGroup)
                           throws ManifoldCFException
        Return true if the specified authority group name is referenced.
        Parameters:
        authorityGroup - is the authority group name.
        Returns:
        true if referenced, false otherwise.
        Throws:
        ManifoldCFException
      • getDomainConnections

        IAuthorityConnection[] getDomainConnections​(java.lang.String authDomain)
                                             throws ManifoldCFException
        Obtain a list of the authority connections which correspond to an auth domain.
        Parameters:
        authDomain - is the domain to get connections for.
        Returns:
        an array of connection objects.
        Throws:
        ManifoldCFException
      • delete

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

        java.lang.String getTableName()
        Get the authority connection table name.
        Returns:
        the table name.
      • getAuthorityNameColumn

        java.lang.String getAuthorityNameColumn()
        Get the authority connection name column.
        Returns:
        the name column.
      • isMappingReferenced

        boolean isMappingReferenced​(java.lang.String mappingName)
                             throws ManifoldCFException
        Return true if the specified mapping name is referenced.
        Parameters:
        mappingName - is the mapping name.
        Returns:
        true if referenced, false otherwise.
        Throws:
        ManifoldCFException