public class NotificationConnectorManager extends BaseTable implements INotificationConnectorManager
| Field | Type | Description |
|---|---|---|
| description | VARCHAR(255) | |
| classname | VARCHAR(255) | Primary Key |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_rcsid |
protected static java.lang.String |
classNameField |
protected static java.lang.String |
descriptionField |
protected IThreadContext |
threadContext |
dbInterface, tableName| Constructor and Description |
|---|
NotificationConnectorManager(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.
|
IResultSet |
getConnectors()
Get ordered list of connectors.
|
java.lang.String |
getDescription(java.lang.String className)
Get a description given a class name.
|
void |
install()
Install or upgrade.
|
boolean |
isInstalled(java.lang.String className)
Check if a particular connector is installed or not.
|
void |
registerConnector(java.lang.String description,
java.lang.String className)
Register a new connector.
|
void |
removeConnector(java.lang.String className)
Remove a connector.
|
void |
unregisterConnector(java.lang.String className)
Unregister a connector.
|
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 classNameField
protected IThreadContext threadContext
public NotificationConnectorManager(IThreadContext threadContext, IDBInterface database) throws ManifoldCFException
threadContext - is the thread context.database - is the database handle.ManifoldCFExceptionpublic void install()
throws ManifoldCFException
install in interface INotificationConnectorManagerManifoldCFExceptionpublic void deinstall()
throws ManifoldCFException
deinstall in interface INotificationConnectorManagerManifoldCFExceptionpublic void registerConnector(java.lang.String description,
java.lang.String className)
throws ManifoldCFException
registerConnector in interface INotificationConnectorManagerdescription - is the description to use in the UI.className - is the class name.ManifoldCFExceptionpublic void unregisterConnector(java.lang.String className)
throws ManifoldCFException
unregisterConnector in interface INotificationConnectorManagerclassName - is the class of the connector to unregister.ManifoldCFExceptionpublic void removeConnector(java.lang.String className)
throws ManifoldCFException
removeConnector in interface INotificationConnectorManagerclassName - is the connector class to remove.ManifoldCFExceptionpublic IResultSet getConnectors() throws ManifoldCFException
getConnectors in interface INotificationConnectorManagerManifoldCFExceptionpublic java.lang.String getDescription(java.lang.String className)
throws ManifoldCFException
getDescription in interface INotificationConnectorManagerclassName - is the class name.ManifoldCFExceptionpublic boolean isInstalled(java.lang.String className)
throws ManifoldCFException
isInstalled in interface INotificationConnectorManagerclassName - is the class name of the connector.ManifoldCFExceptionprotected java.lang.String getCacheKey()