Inheritance diagram for sfi.director.repository.config.DirectoryAccess:

The DirectoryAccess class puts some more semantics on an underlying database, e.g. it allows retrieving objects via their names rather than their DNs, search() will only return objects of special classes, etc.
Public Member Functions | |
| DirectoryAccess () | |
| void | setSuper (DirectoryAccess parent) |
| String | getName () |
| boolean | matches (DBObject dbo) |
| void | lock () throws DirectorException |
| void | unlock () throws DirectorException |
| String | getFilter (String filter) |
| String | getFilter (String filter, Options searchopt) |
| DBObject | get (String name) throws DirectorException |
| DBObject | get (DN dn) throws DirectorException |
| void | ensureOu (String ou) throws DirectorException |
| Enumeration | search (String filter, Options searchopt) throws DirectorException |
| Enumeration | search (String filter) throws DirectorException |
| void | replace (String name, DBObject newdbo) throws DirectorException |
| void | replace (DBObject dbo, DBObject newdbo) throws DirectorException |
| void | replace (DBObject dbo) throws DirectorException |
| void | remove (DBObject newdbo) throws DirectorException |
| void | remove (String name) throws DirectorException |
| void | add (DBObject newdbo) throws DirectorException |
| void | add (String name, DBObject newdbo) throws DirectorException |
| DBObject | getConfig (String name) throws DirectorException |
| DBObject | getConfig (DBObject dbo) throws DirectorException |
| expand attributes inherited from a class. | |
| void | apply (DBObject dbo) throws DirectorException |
| Enumeration | getElements () throws DirectorException |
| Enumeration | getElements (String special) throws DirectorException |
| Enumeration | getElements (String special, String customFilter) throws DirectorException |
| DBConnection | getDBConnection () |
| Enumeration | getClassMembers (String classname) throws DirectorException |
| Recursively expand classes, return the names of all the leave members of a class. | |
| Enumeration | getAssignedMembers (DBObject dbo) throws DirectorException |
| Given a DBObject expand all its sfiassigned* attributes and return the names of all the leaves. | |
Static Public Member Functions | |
| static String | escapeFilter (String text) |
| Alters text so that it can safely used in a filter. | |
Protected Member Functions | |
| void | apply (DBObject dbo, boolean expand) throws DirectorException |
Protected Attributes | |
| Cache | cache = new Cache( 5, 20 ) |
| DBConnection | mydb |
| The underlying database. | |
| String | objFilter = "(objectclass=*)" |
| The filter selecting only objects belonging to this directory. | |
| String | lockFeature |
| The name of a lock used in locking functions. | |
| String | searchAttribute = "cn" |
| The attribute where an objects name is stored. | |
| String | classAttribute |
| The name of an attribute where the classes an object belongs to are stored. | |
| String | parentClassAttribute |
| String | assignedAttribute |
| If objects may reference members of this directory assignedAttribute holds the name of the attribute where these references are stored. | |
| String | assignedClassAttribute |
| If objects may reference member classes of this directory assignedAttribute holds the name of the attribute where these class references are stored. | |
| DirectoryAccess | classAccess |
| If members of this directory are arranged in classes classAccess is the directory where these classes are defined. | |
| String | name |
| Hashtable | noExpandAttributes |
| Filter | objAppFilter |
Static Protected Attributes | |
| static Lock | lock = null |
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
Alters text so that it can safely used in a filter.
|
|
|
|
|
|
Reimplemented in sfi.director.repository.config.AppPackages. |
|
|
Given a DBObject expand all its sfiassigned* attributes and return the names of all the leaves.
|
|
|
Recursively expand classes, return the names of all the leave members of a class.
|
|
|
expand attributes inherited from a class.
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in sfi.director.repository.config.Top. |
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
If objects may reference members of this directory assignedAttribute holds the name of the attribute where these references are stored.
|
|
|
If objects may reference member classes of this directory assignedAttribute holds the name of the attribute where these class references are stored.
|
|
|
|
|
|
If members of this directory are arranged in classes classAccess is the directory where these classes are defined.
|
|
|
The name of an attribute where the classes an object belongs to are stored.
|
|
|
|
|
|
The name of a lock used in locking functions.
|
|
|
The underlying database.
|
|
|
|
|
|
|
|
|
|
|
|
The filter selecting only objects belonging to this directory.
|
|
|
|
|
|
The attribute where an objects name is stored.
|
1.4.5