Node Director
|
Public Member Functions | |
LDIFDir () | |
LDIFDir (String url) | |
void | setURL (String url) throws DirectorException |
String | path (DN pdn) |
String | path (DN pdn, String prefix) |
String | dirpath (String dn) |
Enumeration | search (final String expr, final Options searchopt) throws DirectorException |
DBAccessor | get (DN dn) throws DirectorException |
void | append (DBObject dbo) throws DirectorException |
void | truncate () throws DirectorException |
void | remove (DBObject dbo) throws DirectorException |
void | replace (DBObject dbo) throws DirectorException |
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 () |
DN | completeDN (DN dn) |
Enumeration | search (String expr) throws DirectorException |
abstract Enumeration | search (String expr, Options searchopt) throws DirectorException |
void | modify (DBObject dbo, Vector attrs) throws DirectorException |
void | close () throws DirectorException |
Protected Member Functions | |
DBObject | decode (String text) |
String | encode (DBObject dbo) |
Protected Attributes | |
String | root = "" |
Protected Attributes inherited from sfi.director.repository.DBConnection | |
String | url |
RemoteJob | context |
Options | options = new Options() |
Exception | error = null |
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" |
sfi.director.repository.LDIFDir.LDIFDir | ( | ) |
sfi.director.repository.LDIFDir.LDIFDir | ( | String | url | ) |
References sfi.director.repository.LDIFDir.setURL().
|
virtual |
*
DirectorException |
dbo |
Implements sfi.director.repository.DBConnection.
References sfi.director.util.Tools.debug(), sfi.director.repository.LDIFDir.encode(), and sfi.director.repository.LDIFDir.path().
Referenced by sfi.director.repository.LDIFDir.replace().
|
protected |
Reimplemented in sfi.director.repository.JSONDir.
String sfi.director.repository.LDIFDir.dirpath | ( | String | dn | ) |
References sfi.director.repository.LDIFDir.path(), and sfi.director.repository.DN.setRaw().
Referenced by sfi.director.repository.LDIFDir.search().
|
protected |
Reimplemented in sfi.director.repository.JSONDir.
References sfi.director.repository.DBObject.toLDIF().
Referenced by sfi.director.repository.LDIFDir.append().
DBAccessor sfi.director.repository.LDIFDir.get | ( | DN | dn | ) | throws DirectorException |
Reimplemented from sfi.director.repository.DBConnection.
References sfi.director.repository.LDIFDir.path(), and sfi.director.repository.LDIFDir.replace().
String sfi.director.repository.LDIFDir.path | ( | DN | pdn | ) |
String sfi.director.repository.LDIFDir.path | ( | DN | pdn, |
String | prefix | ||
) |
void sfi.director.repository.LDIFDir.remove | ( | DBObject | dbo | ) | throws DirectorException |
Reimplemented from sfi.director.repository.DBConnection.
References sfi.director.repository.LDIFDir.path().
void sfi.director.repository.LDIFDir.replace | ( | DBObject | dbo | ) | throws DirectorException |
Reimplemented from sfi.director.repository.DBConnection.
References sfi.director.repository.LDIFDir.append().
Referenced by sfi.director.repository.LDIFDir.get(), and sfi.director.repository.LDIFDir.search().
Enumeration sfi.director.repository.LDIFDir.search | ( | final String | expr, |
final Options | searchopt | ||
) | throws DirectorException |
References sfi.director.util.Tools.debug(), sfi.director.repository.LDIFDir.dirpath(), sfi.director.repository.Filter.matches(), sfi.director.repository.LDIFDir.replace(), sfi.director.repository.LDIFDir.root, sfi.director.repository.DBConnection.SEARCH_BASEDN, and sfi.director.repository.DBConnection.SEARCH_NOSUB.
void sfi.director.repository.LDIFDir.setURL | ( | String | url | ) | throws DirectorException |
Reimplemented from sfi.director.repository.DBConnection.
References sfi.director.repository.LDIFDir.root, and sfi.director.repository.DBConnection.url.
Referenced by sfi.director.repository.LDIFDir.LDIFDir().
|
virtual |
Implements sfi.director.repository.DBConnection.
References sfi.director.repository.LDIFDir.root.
|
protected |