sfi.director.repository.NISTable Class Reference

Inheritance diagram for sfi.director.repository.NISTable:

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

Detailed Description

implements access to NIS tables.

Currently this is write only access.


Public Member Functions

 NISTable ()
 NISTable (String url)
 *
void setURL (String urlStr) throws DirectorException
 set URL of the NIS Table used for I/O.
Enumeration search (final String expr, Options searchopt) throws DirectorException
 *
Exceptions:
DirectorException 

void append (DBObject dbo) throws DirectorException
 append a NIS entry to a table.
void truncate () throws DirectorException
void close () throws DirectorException

Protected Member Functions

void finalize ()

Package Attributes

SURL url = null
String domain = null
String table = null
Vector contents = null


Constructor & Destructor Documentation

sfi.director.repository.NISTable.NISTable  ) 
 

sfi.director.repository.NISTable.NISTable String  url  ) 
 

*

Parameters:
url 


Member Function Documentation

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

append a NIS entry to a table.

This will only work if the table was truncated first as the NISTable driver cannot append to an existing table. Append will queue up entries in memory. They will not be written to the NIS table until a close() is invoked. This prevents us of getting corrupted NIS maps if processing of entries fails before the whole map was written.

Implements sfi.director.repository.DBConnection.

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

Reimplemented from sfi.director.repository.DBConnection.

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

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

*

Exceptions:
DirectorException 

Parameters:
expr 
searchopt 

void sfi.director.repository.NISTable.setURL String  urlStr  )  throws DirectorException
 

set URL of the NIS Table used for I/O.

Exceptions:
DirectorException 
Parameters:
url 

Reimplemented from sfi.director.repository.DBConnection.

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

Implements sfi.director.repository.DBConnection.


Member Data Documentation

Vector sfi.director.repository.NISTable.contents = null [package]
 

String sfi.director.repository.NISTable.domain = null [package]
 

String sfi.director.repository.NISTable.table = null [package]
 

SURL sfi.director.repository.NISTable.url = null [package]
 

Reimplemented from sfi.director.repository.DBConnection.


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