Interface IAuthorityConnectionManager
- 
- All Known Implementing Classes:
 AuthorityConnectionManager
public interface IAuthorityConnectionManagerThis 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IAuthorityConnectioncreate()Create a new authority connection object.voiddeinstall()Uninstall the manager.voiddelete(java.lang.String name)Delete an authority connection.voidexportConfiguration(java.io.OutputStream os)Export configurationIAuthorityConnection[]getAllConnections()Obtain a list of the authority connections, ordered by name.java.lang.StringgetAuthorityNameColumn()Get the authority connection name column.IAuthorityConnection[]getDomainConnections(java.lang.String authDomain)Obtain a list of the authority connections which correspond to an auth domain.java.lang.StringgetTableName()Get the authority connection table name.voidimportConfiguration(java.io.InputStream is)Import configurationvoidinstall()Install the manager.booleanisGroupReferenced(java.lang.String authorityGroup)Return true if the specified authority group name is referenced.booleanisMappingReferenced(java.lang.String mappingName)Return true if the specified mapping name is referenced.IAuthorityConnectionload(java.lang.String name)Load a authority connection by name.IAuthorityConnection[]loadMultiple(java.lang.String[] names)Load multiple repository connections by name.booleansave(IAuthorityConnection object)Save an authority connection object. 
 - 
 
- 
- 
Method Detail
- 
install
void install() throws ManifoldCFExceptionInstall the manager.- Throws:
 ManifoldCFException
 
- 
deinstall
void deinstall() throws ManifoldCFExceptionUninstall the manager.- Throws:
 ManifoldCFException
 
- 
exportConfiguration
void exportConfiguration(java.io.OutputStream os) throws java.io.IOException, ManifoldCFExceptionExport configuration- Throws:
 java.io.IOExceptionManifoldCFException
 
- 
importConfiguration
void importConfiguration(java.io.InputStream is) throws java.io.IOException, ManifoldCFExceptionImport configuration- Throws:
 java.io.IOExceptionManifoldCFException
 
- 
isGroupReferenced
boolean isGroupReferenced(java.lang.String authorityGroup) throws ManifoldCFExceptionReturn true if the specified authority group name is referenced.- Parameters:
 authorityGroup- is the authority group name.- Returns:
 - true if referenced, false otherwise.
 - Throws:
 ManifoldCFException
 
- 
getAllConnections
IAuthorityConnection[] getAllConnections() throws ManifoldCFException
Obtain a list of the authority connections, ordered by name.- Returns:
 - an array of connection objects.
 - 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
 
- 
load
IAuthorityConnection load(java.lang.String name) throws ManifoldCFException
Load a authority connection by name.- Parameters:
 name- is the name of the authority connection.- Returns:
 - the loaded connection object, or null if not found.
 - Throws:
 ManifoldCFException
 
- 
loadMultiple
IAuthorityConnection[] loadMultiple(java.lang.String[] names) throws ManifoldCFException
Load multiple repository connections by name.- Parameters:
 names- are the names to load.- Returns:
 - the loaded connection objects.
 - Throws:
 ManifoldCFException
 
- 
create
IAuthorityConnection create() throws ManifoldCFException
Create a new authority connection object.- Returns:
 - the new object.
 - Throws:
 ManifoldCFException
 
- 
save
boolean save(IAuthorityConnection object) throws ManifoldCFException
Save an authority connection object.- Parameters:
 object- is the object to save.- Returns:
 - true if the object was created, false otherwise.
 - Throws:
 ManifoldCFException
 
- 
delete
void delete(java.lang.String name) throws ManifoldCFExceptionDelete 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 ManifoldCFExceptionReturn true if the specified mapping name is referenced.- Parameters:
 mappingName- is the mapping name.- Returns:
 - true if referenced, false otherwise.
 - Throws:
 ManifoldCFException
 
 - 
 
 -