public class AuthorityGroupManager extends BaseTable implements IAuthorityGroupManager
| Field | Type | Description |
|---|---|---|
| groupname | VARCHAR(32) | Primary Key |
| description | VARCHAR(255) |
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AuthorityGroupManager.AuthorityGroupDescription
This is the object description for an authority group object.
|
protected static class |
AuthorityGroupManager.AuthorityGroupExecutor
This is the executor object for locating authority group objects.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
_rcsid |
protected static String |
descriptionField |
protected static String |
nameField |
dbInterface, tableName| Constructor and Description |
|---|
AuthorityGroupManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IAuthorityGroup |
create()
Create a new authority group object.
|
void |
deinstall()
Uninstall the manager.
|
void |
delete(String name)
Delete an authority group.
|
void |
exportConfiguration(OutputStream os)
Export configuration
|
IAuthorityGroup[] |
getAllGroups()
Obtain a list of the authority grouops, ordered by name.
|
protected static String |
getAuthorityGroupKey(String groupName)
Construct a key which represents an individual authority group.
|
protected void |
getAuthorityGroupsChunk(AuthorityGroup[] rval,
Map returnIndex,
ArrayList params)
Read a chunk of authority groups.
|
protected static String |
getAuthorityGroupsKey()
Construct a key which represents the general list of repository connectors.
|
protected AuthorityGroup[] |
getAuthorityGroupsMultiple(String[] groupNames)
Fetch multiple authority groups at a single time.
|
String |
getGroupDescriptionColumn()
Get the authority connection description column.
|
String |
getGroupNameColumn()
Get the authority group name column.
|
void |
importConfiguration(InputStream is)
Import configuration
|
void |
install()
Install the manager.
|
IAuthorityGroup |
load(String name)
Load an authority group by name.
|
IAuthorityGroup[] |
loadMultiple(String[] names)
Load multiple authority groups by name.
|
protected int |
maxClauseGetAuthorityGroupsChunk()
Find the maximum number of clauses for getAuthorityConnectionsChunk.
|
boolean |
save(IAuthorityGroup object)
Save an authority group object.
|
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, sleepForclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTableNamepublic static final String _rcsid
protected static final String nameField
protected static final String descriptionField
public AuthorityGroupManager(IThreadContext threadContext, IDBInterface database) throws ManifoldCFException
threadContext - is the thread context.ManifoldCFExceptionpublic void install()
throws ManifoldCFException
install in interface IAuthorityGroupManagerManifoldCFExceptionpublic void deinstall()
throws ManifoldCFException
deinstall in interface IAuthorityGroupManagerManifoldCFExceptionpublic void exportConfiguration(OutputStream os) throws IOException, ManifoldCFException
exportConfiguration in interface IAuthorityGroupManagerIOExceptionManifoldCFExceptionpublic void importConfiguration(InputStream is) throws IOException, ManifoldCFException
importConfiguration in interface IAuthorityGroupManagerIOExceptionManifoldCFExceptionpublic IAuthorityGroup[] getAllGroups() throws ManifoldCFException
getAllGroups in interface IAuthorityGroupManagerManifoldCFExceptionpublic IAuthorityGroup load(String name) throws ManifoldCFException
load in interface IAuthorityGroupManagername - is the name of the authority group.ManifoldCFExceptionpublic IAuthorityGroup[] loadMultiple(String[] names) throws ManifoldCFException
loadMultiple in interface IAuthorityGroupManagernames - are the names to load.ManifoldCFExceptionpublic IAuthorityGroup create() throws ManifoldCFException
create in interface IAuthorityGroupManagerManifoldCFExceptionpublic boolean save(IAuthorityGroup object) throws ManifoldCFException
save in interface IAuthorityGroupManagerobject - is the object to save.ManifoldCFExceptionpublic void delete(String name) throws ManifoldCFException
delete in interface IAuthorityGroupManagername - is the name of the group to delete. If the
name does not exist, no error is returned.ManifoldCFExceptionpublic String getGroupNameColumn()
getGroupNameColumn in interface IAuthorityGroupManagerpublic String getGroupDescriptionColumn()
getGroupDescriptionColumn in interface IAuthorityGroupManagerprotected static String getAuthorityGroupsKey()
protected static String getAuthorityGroupKey(String groupName)
groupName - is the name of the group.protected AuthorityGroup[] getAuthorityGroupsMultiple(String[] groupNames) throws ManifoldCFException
groupNames - are a list of group names.ManifoldCFExceptionprotected int maxClauseGetAuthorityGroupsChunk()
protected void getAuthorityGroupsChunk(AuthorityGroup[] rval, Map returnIndex, ArrayList params) throws ManifoldCFException
rval - is the place to put the read policies.returnIndex - is a map from the object id (resource id) and the rval index.params - is the set of parameters.ManifoldCFException