Node Director
|
Classes | |
class | WrapAccessor |
Public Member Functions | |
DirectoryDB () | |
DirectoryDB (String url) | |
void | setURL (String url) throws DirectorException |
set URL of the RemoteFile used for input/output | |
Enumeration | search (final String expr, Options searchopt) throws DirectorException |
DirectoryAccess | getDirectory () |
void | append (DBObject dbo) throws DirectorException |
void | truncate () throws DirectorException |
DBAccessor | get (DN dn) throws DirectorException |
void | replace (DBObject dbo) throws DirectorException |
void | remove (DBObject dbo) throws DirectorException |
void | modify (DBObject dbo, Vector attrs) throws DirectorException |
void | close () throws DirectorException |
DN | completeDN (DN dn) |
Public Member Functions inherited from sfi.director.repository.DBConnection | |
void | setCredentials (Credentials cred) |
String | getURL () |
void | setContext (RemoteJob context) |
void | setOption (String option) |
void | setOption (String option, String val) |
void | setOption (Options opt) |
void | setOption (SURL url) |
String | getOption (String option) |
void | setError (Exception e) |
Exception | getError () |
Enumeration | search (String expr) throws DirectorException |
abstract Enumeration | search (String expr, Options searchopt) throws DirectorException |
Protected Member Functions | |
DN | extendDN (DN dn) |
DBObject | extendDN (DBObject dbo) |
Additional Inherited Members | |
Static Public Member Functions inherited from sfi.director.repository.DBConnection | |
static Enumeration | unwrap (final Enumeration wrapped) |
Given an Enumeration of DBAccessor objects as returned by the search() method, returns an Enumeration of DBObject objects. | |
static String | escapeSearchval (String val) |
Static Public Attributes inherited from sfi.director.repository.DBConnection | |
static final String | SEARCH_BASEDN = "BaseDN" |
used in conjunction with the search() method to set the base DN of the subtree we are about to search (option) | |
static final String | SEARCH_NOSUB = "Sub" |
static final String | SEARCH_WITHSTRUCT = "WithStruct" |
static final String | SEARCH_SORT = "Sort" |
static final String | SEARCH_SCHEMA = "Schema" |
Protected Attributes inherited from sfi.director.repository.DBConnection | |
String | url |
RemoteJob | context |
Options | options = new Options() |
Exception | error = null |
sfi.director.repository.DirectoryDB.DirectoryDB | ( | ) |
sfi.director.repository.DirectoryDB.DirectoryDB | ( | String | url | ) |
url |
References sfi.director.repository.DirectoryDB.setURL().
|
virtual |
*
DirectorException |
dbo |
Implements sfi.director.repository.DBConnection.
References sfi.director.repository.DBConnection.append(), sfi.director.repository.DirectoryDB.extendDN(), and sfi.director.repository.config.DirectoryAccess.getDBConnection().
void sfi.director.repository.DirectoryDB.close | ( | ) | throws DirectorException |
Reimplemented from sfi.director.repository.DBConnection.
References sfi.director.repository.DBConnection.close(), and sfi.director.repository.config.DirectoryAccess.getDBConnection().
Reimplemented from sfi.director.repository.DBConnection.
References sfi.director.repository.DBConnection.completeDN(), and sfi.director.repository.config.DirectoryAccess.getDBConnection().
DBAccessor sfi.director.repository.DirectoryDB.get | ( | DN | dn | ) | throws DirectorException |
DirectoryAccess sfi.director.repository.DirectoryDB.getDirectory | ( | ) |
void sfi.director.repository.DirectoryDB.modify | ( | DBObject | dbo, |
Vector | attrs | ||
) | throws DirectorException |
void sfi.director.repository.DirectoryDB.remove | ( | DBObject | dbo | ) | throws DirectorException |
void sfi.director.repository.DirectoryDB.replace | ( | DBObject | dbo | ) | throws DirectorException |
Reimplemented from sfi.director.repository.DBConnection.
References sfi.director.repository.DBObject.equals(), sfi.director.repository.DirectoryDB.extendDN(), sfi.director.repository.config.DirectoryAccess.getDBConnection(), sfi.director.repository.DBObject.getDN(), sfi.director.repository.DN.getRaw(), sfi.director.repository.DBConnection.replace(), and sfi.director.repository.DN.strip().
Enumeration sfi.director.repository.DirectoryDB.search | ( | final String | expr, |
Options | searchopt | ||
) | throws DirectorException |
DirectorException |
expr | |
searchopt |
References sfi.director.repository.DN.getRaw(), sfi.director.repository.config.DirectoryAccess.search(), sfi.director.repository.DBConnection.SEARCH_BASEDN, and sfi.director.repository.DN.setRaw().
void sfi.director.repository.DirectoryDB.setURL | ( | String | url | ) | throws DirectorException |
set URL of the RemoteFile used for input/output
DirectorException |
url |
Reimplemented from sfi.director.repository.DBConnection.
References sfi.director.repository.config.DirectoryAccess.getDBConnection(), sfi.director.repository.config.Directory.getDirectory(), and sfi.director.repository.DBConnection.url.
Referenced by sfi.director.repository.DirectoryDB.DirectoryDB().
|
virtual |