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 String |
_rcsid |
protected static String |
descriptionField |
protected static 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 String |
getCacheKey()
Get the cache key for the connector manager table.
|
String |
getDescription(String domainName)
Get a description given a domain name.
|
IResultSet |
getDomains()
Get ordered list of domains.
|
void |
install()
Install or upgrade.
|
void |
registerDomain(String description,
String domainName)
Register a new domain.
|
void |
unregisterDomain(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 String _rcsid
protected static final String descriptionField
protected static final 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(String description, 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(String domainName) throws ManifoldCFException
unregisterDomain in interface IAuthorizationDomainManagerdomainName - is the internal domain name to unregister.ManifoldCFExceptionpublic IResultSet getDomains() throws ManifoldCFException
getDomains in interface IAuthorizationDomainManagerManifoldCFExceptionpublic String getDescription(String domainName) throws ManifoldCFException
getDescription in interface IAuthorizationDomainManagerdomainName - is the domain name.ManifoldCFExceptionprotected String getCacheKey()