public class ForcedParamManager extends BaseTable
| Field | Type | Description |
|---|---|---|
| ownerid | BIGINT | Reference:jobs.id |
| paramname | VARCHAR(255) | |
| paramvalue | VARCHAR(255) |
| Modifier and Type | Field and Description |
|---|---|
static String |
_rcsid |
static String |
ownerIDField |
static String |
paramNameField |
static String |
paramValueField |
dbInterface, tableName| Constructor and Description |
|---|
ForcedParamManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
compareRows(Long ownerID,
IJobDescription list)
Compare rows in database against what is in job description.
|
void |
deinstall()
Uninstall.
|
void |
deleteRows(Long ownerID)
Delete rows.
|
void |
getRows(Map<Long,JobDescription> returnValues,
String ownerIDList,
ArrayList ownerIDParams)
Fill in a set of param maps corresponding to a set of owner id's.
|
void |
install(String ownerTable,
String owningTablePrimaryKey)
Install or upgrade.
|
Map<String,Set<String>> |
readRows(Long id)
Read rows for a given owner id.
|
void |
writeRows(Long ownerID,
IJobDescription list)
Write a filter list into the database.
|
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
public static final String ownerIDField
public static final String paramNameField
public static final String paramValueField
public ForcedParamManager(IThreadContext threadContext, IDBInterface database) throws ManifoldCFException
threadContext - is the thread context.database - is the database instance.ManifoldCFExceptionpublic void install(String ownerTable, String owningTablePrimaryKey) throws ManifoldCFException
ownerTable - is the name of the table that owns this one.owningTablePrimaryKey - is the primary key of the owning table.ManifoldCFExceptionpublic void deinstall()
throws ManifoldCFException
ManifoldCFExceptionpublic Map<String,Set<String>> readRows(Long id) throws ManifoldCFException
id - is the owner id.ManifoldCFExceptionpublic void getRows(Map<Long,JobDescription> returnValues, String ownerIDList, ArrayList ownerIDParams) throws ManifoldCFException
returnValues - is a map keyed by ownerID, with value of JobDescription.ownerIDList - is the list of owner id's.ownerIDParams - is the corresponding set of owner id parameters.ManifoldCFExceptionpublic boolean compareRows(Long ownerID, IJobDescription list) throws ManifoldCFException
ownerID - is the owning identifier.list - is the job description to write hopcount filters for.ManifoldCFExceptionpublic void writeRows(Long ownerID, IJobDescription list) throws ManifoldCFException
ownerID - is the owning identifier.list - is the job description to write hopcount filters for.ManifoldCFExceptionpublic void deleteRows(Long ownerID) throws ManifoldCFException
ownerID - is the owner whose rows to delete.ManifoldCFException