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 String |
_rcsid |
protected static String |
classNameField |
protected static 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 String |
getCacheKey()
Get the cache key for the connector manager table.
|
IResultSet |
getConnectors()
Get ordered list of connectors.
|
String |
getDescription(String className)
Get a description given a class name.
|
void |
install()
Install or upgrade.
|
boolean |
isInstalled(String className)
Check if a particular connector is installed or not.
|
void |
registerConnector(String description,
String className)
Register a new connector.
|
void |
removeConnector(String className)
Remove a connector.
|
void |
unregisterConnector(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 String _rcsid
protected static final String descriptionField
protected static final 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(String description, String className) throws ManifoldCFException
registerConnector in interface INotificationConnectorManagerdescription - is the description to use in the UI.className - is the class name.ManifoldCFExceptionpublic void unregisterConnector(String className) throws ManifoldCFException
unregisterConnector in interface INotificationConnectorManagerclassName - is the class of the connector to unregister.ManifoldCFExceptionpublic void removeConnector(String className) throws ManifoldCFException
removeConnector in interface INotificationConnectorManagerclassName - is the connector class to remove.ManifoldCFExceptionpublic IResultSet getConnectors() throws ManifoldCFException
getConnectors in interface INotificationConnectorManagerManifoldCFExceptionpublic String getDescription(String className) throws ManifoldCFException
getDescription in interface INotificationConnectorManagerclassName - is the class name.ManifoldCFExceptionpublic boolean isInstalled(String className) throws ManifoldCFException
isInstalled in interface INotificationConnectorManagerclassName - is the class name of the connector.ManifoldCFExceptionprotected String getCacheKey()