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


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

Constructor & Destructor Documentation

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

Member Function Documentation

void sfi.director.repository.DirectoryDB.append ( DBObject  dbo) throws DirectorException
void sfi.director.repository.DirectoryDB.close ( ) throws DirectorException
DN sfi.director.repository.DirectoryDB.completeDN ( DN  dn)
DN sfi.director.repository.DirectoryDB.extendDN ( DN  dn)
DBObject sfi.director.repository.DirectoryDB.extendDN ( DBObject  dbo)
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
Enumeration ( final String  expr,
Options  searchopt 
) throws DirectorException
void sfi.director.repository.DirectoryDB.setURL ( String  url) throws DirectorException
void sfi.director.repository.DirectoryDB.truncate ( ) throws DirectorException

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