sfi.director.repository.DivertDB Class Reference

Inheritance diagram for sfi.director.repository.DivertDB:

sfi.director.repository.DBConnection sfi.director.repository.HostDivertDB sfi.director.repository.UserDivertDB List of all members.

Detailed Description

implements a write-only database expecting one or multiple <objectclass> objects each followed by a number of associated objects.

Each time an <objectclass> object is detected, a new DBConnection is opened. The local part of the DivertDB database is a template expanded with the head object.


Public Member Functions

 DivertDB ()
 DivertDB (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
 *
Exceptions:
DirectorException 

void append (DBObject dbo) throws DirectorException
 *
Exceptions:
DirectorException 

void truncate () throws DirectorException
 remember truncate() calls.
void close () throws DirectorException

Protected Member Functions

void finalize ()
boolean isHead (DBObject dbo)

Protected Attributes

Filter filter
boolean truncate = false
Object lastWarned = new Object()

Package Attributes

String templateURL


Constructor & Destructor Documentation

sfi.director.repository.DivertDB.DivertDB  ) 
 

sfi.director.repository.DivertDB.DivertDB String  url  ) 
 

*

Parameters:
url 


Member Function Documentation

void sfi.director.repository.DivertDB.append DBObject  dbo  )  throws DirectorException [virtual]
 

*

Exceptions:
DirectorException 

Parameters:
dbo 

Implements sfi.director.repository.DBConnection.

void sfi.director.repository.DivertDB.close  )  throws DirectorException
 

Reimplemented from sfi.director.repository.DBConnection.

void sfi.director.repository.DivertDB.finalize  )  [protected]
 

boolean sfi.director.repository.DivertDB.isHead DBObject  dbo  )  [protected]
 

Enumeration sfi.director.repository.DivertDB.search final String  expr,
Options  searchopt
throws DirectorException
 

*

Exceptions:
DirectorException 

Parameters:
expr 
searchopt 

void sfi.director.repository.DivertDB.setURL String  url  )  throws DirectorException
 

set URL of the RemoteFile used for input/output

Exceptions:
DirectorException 
Parameters:
url 

Reimplemented from sfi.director.repository.DBConnection.

void sfi.director.repository.DivertDB.truncate  )  throws DirectorException [virtual]
 

remember truncate() calls.

If truncate was ever invoked new connections opened after a truncate() call will also be truncated when opened.

Implements sfi.director.repository.DBConnection.


Member Data Documentation

Filter sfi.director.repository.DivertDB.filter [protected]
 

Object sfi.director.repository.DivertDB.lastWarned = new Object() [protected]
 

String sfi.director.repository.DivertDB.templateURL [package]
 

boolean sfi.director.repository.DivertDB.truncate = false [protected]
 


The documentation for this class was generated from the following file:
Generated on Sat Feb 11 01:20:22 2012 for Node Director by  doxygen 1.4.5