Interface IAuthorityGroupManager
-
- All Known Implementing Classes:
AuthorityGroupManager
public interface IAuthorityGroupManagerThis interface describes the functionality in the authority group manager. The authority group manager manages the definitions of individual groups, and allows them to be defined, edited, and removed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IAuthorityGroupcreate()Create a new authority group object.voiddeinstall()Uninstall the manager.voiddelete(java.lang.String name)Delete an authority group.voidexportConfiguration(java.io.OutputStream os)Export configurationIAuthorityGroup[]getAllGroups()Obtain a list of the authority groups, ordered by name.java.lang.StringgetGroupDescriptionColumn()Get the authority connection description column.java.lang.StringgetGroupNameColumn()Get the authority connection name column.java.lang.StringgetTableName()Get the authority connection table name.voidimportConfiguration(java.io.InputStream is)Import configurationvoidinstall()Install the manager.IAuthorityGroupload(java.lang.String name)Load a authority group by name.IAuthorityGroup[]loadMultiple(java.lang.String[] names)Load multiple authority groups by name.booleansave(IAuthorityGroup object)Save an authority group object.
-
-
-
Method Detail
-
install
void install() throws ManifoldCFExceptionInstall the manager.- Throws:
ManifoldCFException
-
deinstall
void deinstall() throws ManifoldCFExceptionUninstall the manager.- Throws:
ManifoldCFException
-
exportConfiguration
void exportConfiguration(java.io.OutputStream os) throws java.io.IOException, ManifoldCFExceptionExport configuration- Throws:
java.io.IOExceptionManifoldCFException
-
importConfiguration
void importConfiguration(java.io.InputStream is) throws java.io.IOException, ManifoldCFExceptionImport configuration- Throws:
java.io.IOExceptionManifoldCFException
-
getAllGroups
IAuthorityGroup[] getAllGroups() throws ManifoldCFException
Obtain a list of the authority groups, ordered by name.- Returns:
- an array of group objects.
- Throws:
ManifoldCFException
-
load
IAuthorityGroup load(java.lang.String name) throws ManifoldCFException
Load a authority group by name.- Parameters:
name- is the name of the authority group.- Returns:
- the loaded group object, or null if not found.
- Throws:
ManifoldCFException
-
loadMultiple
IAuthorityGroup[] loadMultiple(java.lang.String[] names) throws ManifoldCFException
Load multiple authority groups by name.- Parameters:
names- are the names to load.- Returns:
- the loaded group objects.
- Throws:
ManifoldCFException
-
create
IAuthorityGroup create() throws ManifoldCFException
Create a new authority group object.- Returns:
- the new object.
- Throws:
ManifoldCFException
-
save
boolean save(IAuthorityGroup object) throws ManifoldCFException
Save an authority group object.- Parameters:
object- is the object to save.- Returns:
- true if the object was created, false otherwise.
- Throws:
ManifoldCFException
-
delete
void delete(java.lang.String name) throws ManifoldCFExceptionDelete an authority group.- Parameters:
name- is the name of the group to delete. If the name does not exist, no error is returned.- Throws:
ManifoldCFException
-
getTableName
java.lang.String getTableName()
Get the authority connection table name.- Returns:
- the table name.
-
getGroupNameColumn
java.lang.String getGroupNameColumn()
Get the authority connection name column.- Returns:
- the name column.
-
getGroupDescriptionColumn
java.lang.String getGroupDescriptionColumn()
Get the authority connection description column.- Returns:
- the description column.
-
-