public class AuthorizationDomainManager extends BaseTable implements IAuthorizationDomainManager
| Field | Type | Description |
|---|---|---|
| description | VARCHAR(255) | |
| domainname | VARCHAR(255) | Primary Key |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_rcsid |
protected static java.lang.String |
descriptionField |
protected static java.lang.String |
domainNameField |
protected IThreadContext |
threadContext |
dbInterface, tableName| Constructor and Description |
|---|
AuthorizationDomainManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deinstall()
Uninstall.
|
protected java.lang.String |
getCacheKey()
Get the cache key for the connector manager table.
|
java.lang.String |
getDescription(java.lang.String domainName)
Get a description given a domain name.
|
IResultSet |
getDomains()
Get ordered list of domains.
|
void |
install()
Install or upgrade.
|
void |
registerDomain(java.lang.String description,
java.lang.String domainName)
Register a new domain.
|
void |
unregisterDomain(java.lang.String domainName)
Unregister a domain.
|
addTableIndex, analyzeTable, beginTransaction, buildConjunctionClause, constructCountClause, constructDistinctOnClause, constructDoubleCastClause, constructOffsetLimitClause, constructRegexpClause, constructSubstringClause, endTransaction, findConjunctionClauseMax, getDatabaseCacheKey, getDBInterface, getMaxInClause, getMaxOrClause, getSleepAmt, getTableIndexes, getTableName, getTableSchema, getTransactionID, getWindowedReportMaxRows, makeTableKey, noteModifications, performAddIndex, performAlter, performCommit, performCreate, performDelete, performDrop, performInsert, performModification, performQuery, performQuery, performRemoveIndex, performUpdate, prepareRowForSave, readRow, reindexTable, signalRollback, sleepForpublic static final java.lang.String _rcsid
protected static final java.lang.String descriptionField
protected static final java.lang.String domainNameField
protected final IThreadContext threadContext
public AuthorizationDomainManager(IThreadContext threadContext, IDBInterface database) throws ManifoldCFException
threadContext - is the thread context.database - is the database handle.ManifoldCFExceptionpublic void install()
throws ManifoldCFException
install in interface IAuthorizationDomainManagerManifoldCFExceptionpublic void deinstall()
throws ManifoldCFException
deinstall in interface IAuthorizationDomainManagerManifoldCFExceptionpublic void registerDomain(java.lang.String description,
java.lang.String domainName)
throws ManifoldCFException
registerDomain in interface IAuthorizationDomainManagerdescription - is the description to use in the UI.domainName - is the internal domain name used by the authority service.ManifoldCFExceptionpublic void unregisterDomain(java.lang.String domainName)
throws ManifoldCFException
unregisterDomain in interface IAuthorizationDomainManagerdomainName - is the internal domain name to unregister.ManifoldCFExceptionpublic IResultSet getDomains() throws ManifoldCFException
getDomains in interface IAuthorizationDomainManagerManifoldCFExceptionpublic java.lang.String getDescription(java.lang.String domainName)
throws ManifoldCFException
getDescription in interface IAuthorizationDomainManagerdomainName - is the domain name.ManifoldCFExceptionprotected java.lang.String getCacheKey()