Node Director
Public Member Functions | Protected Attributes | List of all members
sfi.director.repository.LDIFTree Class Reference
Inheritance diagram for sfi.director.repository.LDIFTree:
sfi.director.repository.DBConnection

Public Member Functions

 LDIFTree ()
 LDIFTree (String url)
void setURL (String url) throws DirectorException
String path (DN pdn)
 returns the path of the File or directory where the specified DN is supposed to be found in - the path is relative to the root.
String dirpath (String dn)
Enumeration search (final String expr, final Options searchopt) throws DirectorException
void append (DBObject dbo) throws DirectorException
void truncate ()
- 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 replace (DBObject dbo) throws DirectorException
void remove (DBObject dbo) throws DirectorException
DBAccessor get (DN dn) throws DirectorException
void modify (DBObject dbo, Vector attrs) throws DirectorException
void close () throws DirectorException

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"

Constructor & Destructor Documentation

sfi.director.repository.LDIFTree.LDIFTree ( )
sfi.director.repository.LDIFTree.LDIFTree ( String  url)

Member Function Documentation

void sfi.director.repository.LDIFTree.append ( DBObject  dbo) throws DirectorException
virtual
  * 
Exceptions
DirectorException
Parameters
dbo

Implements sfi.director.repository.DBConnection.

References sfi.director.repository.LDIFTree.root.

String sfi.director.repository.LDIFTree.dirpath ( String  dn)
String sfi.director.repository.LDIFTree.path ( DN  pdn)

returns the path of the File or directory where the specified DN is supposed to be found in - the path is relative to the root.

If path is the root itself, then an empty string is returned.

References sfi.director.repository.DN.getComparable(), sfi.director.repository.LDIFTree.root, and sfi.director.util.Tools.split().

Referenced by sfi.director.repository.LDIFTree.dirpath().

Enumeration sfi.director.repository.LDIFTree.search ( final String  expr,
final Options  searchopt 
) throws DirectorException
void sfi.director.repository.LDIFTree.setURL ( String  url) throws DirectorException
void sfi.director.repository.LDIFTree.truncate ( )
virtual

Member Data Documentation

String sfi.director.repository.LDIFTree.root = ""
protected

The documentation for this class was generated from the following file: