Node Director
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
sfi.director.application.objevents.EventEnvironment Class Reference

Public Member Functions

String dump ()
 EventEnvironment (String serialized) throws DirectorException
 EventEnvironment ()
void setOptions (Options opts)
void resetOptions ()
Options getOptions ()
String getInputFileURL () throws DirectorException
 returns the URL of a file specified via InputFile option or null if no file was specified
String getOutputFileURL () throws DirectorException
 returns the URL of a file specified via OutputFile option or null if no file was specified
void add (DBObject dbo, DBConnection dir)
void add (DBObject dbo, Record rec)
Enumeration getDBObjects ()
DBObject getFirstDBObject ()
DBObject getDBObject (String objectclass)
DBConnection getDirectory (DBObject dbo)
Record getRecord (DBObject dbo)
DBObject getConfig (DBObject dbo) throws DirectorException
void clearCache ()
void setJobName (String name)
void setJobDescription (String descr)
Enumeration findWorkflow (String type)
JobNode createWorkflow (String type) throws DirectorException
JobNode createWorkflow (Enumeration idents) throws DirectorException

Static Public Member Functions

static void loadevents () throws DirectorException
static DBSet objevents () throws DirectorException
 Return a DBSet containing all object event definitions.
static DBSetIndex objeventsIndex () throws DirectorException
 Return an index for objevents() with sfieventtype being the indexed attribute.
static DBObject getTask (String name) throws DirectorException
 Return the task definition of the task called name, null if no such task exists.
static Enumeration findObjectEvents (Enumeration objclass, String type) throws DirectorException
 For given object classes and event type find the directorObjectEvent definitions that match.
static Enumeration findObjectEvents (DBObject dbo, String type) throws DirectorException
static Enumeration findObjectEvents (DBObject dbo) throws DirectorException
static Enumeration findObjectEvents (Enumeration obje) throws DirectorException

Static Public Attributes

static final String WF_CREATE = "create"
static final String WF_ALTER = "alter"
static final String WF_REMOVE = "remove"

Constructor & Destructor Documentation

sfi.director.application.objevents.EventEnvironment.EventEnvironment ( String  serialized) throws DirectorException
sfi.director.application.objevents.EventEnvironment.EventEnvironment ( )

Member Function Documentation

void sfi.director.application.objevents.EventEnvironment.add ( DBObject  dbo,
DBConnection  dir 
)
void sfi.director.application.objevents.EventEnvironment.add ( DBObject  dbo,
Record  rec 
)
void sfi.director.application.objevents.EventEnvironment.clearCache ( )
JobNode sfi.director.application.objevents.EventEnvironment.createWorkflow ( String  type) throws DirectorException
JobNode sfi.director.application.objevents.EventEnvironment.createWorkflow ( Enumeration  idents) throws DirectorException
String sfi.director.application.objevents.EventEnvironment.dump ( )
static Enumeration sfi.director.application.objevents.EventEnvironment.findObjectEvents ( Enumeration  objclass,
String  type 
) throws DirectorException
static
static Enumeration sfi.director.application.objevents.EventEnvironment.findObjectEvents ( DBObject  dbo,
String  type 
) throws DirectorException
static
static Enumeration sfi.director.application.objevents.EventEnvironment.findObjectEvents ( DBObject  dbo) throws DirectorException
static
static Enumeration sfi.director.application.objevents.EventEnvironment.findObjectEvents ( Enumeration  obje) throws DirectorException
static
Enumeration sfi.director.application.objevents.EventEnvironment.findWorkflow ( String  type)
DBObject sfi.director.application.objevents.EventEnvironment.getConfig ( DBObject  dbo) throws DirectorException
DBObject sfi.director.application.objevents.EventEnvironment.getDBObject ( String  objectclass)
Enumeration sfi.director.application.objevents.EventEnvironment.getDBObjects ( )
DBConnection sfi.director.application.objevents.EventEnvironment.getDirectory ( DBObject  dbo)
DBObject sfi.director.application.objevents.EventEnvironment.getFirstDBObject ( )
String sfi.director.application.objevents.EventEnvironment.getInputFileURL ( ) throws DirectorException

returns the URL of a file specified via InputFile option or null if no file was specified

Options sfi.director.application.objevents.EventEnvironment.getOptions ( )
String sfi.director.application.objevents.EventEnvironment.getOutputFileURL ( ) throws DirectorException

returns the URL of a file specified via OutputFile option or null if no file was specified

Record sfi.director.application.objevents.EventEnvironment.getRecord ( DBObject  dbo)
static DBObject sfi.director.application.objevents.EventEnvironment.getTask ( String  name) throws DirectorException
static

Return the task definition of the task called name, null if no such task exists.

References sfi.director.repository.DBSetIndex.getFirst(), and sfi.director.application.objevents.EventEnvironment.loadevents().

static void sfi.director.application.objevents.EventEnvironment.loadevents ( ) throws DirectorException
static
static DBSet sfi.director.application.objevents.EventEnvironment.objevents ( ) throws DirectorException
static
static DBSetIndex sfi.director.application.objevents.EventEnvironment.objeventsIndex ( ) throws DirectorException
static
void sfi.director.application.objevents.EventEnvironment.resetOptions ( )
void sfi.director.application.objevents.EventEnvironment.setJobDescription ( String  descr)
void sfi.director.application.objevents.EventEnvironment.setJobName ( String  name)
void sfi.director.application.objevents.EventEnvironment.setOptions ( Options  opts)

Member Data Documentation

final String sfi.director.application.objevents.EventEnvironment.WF_ALTER = "alter"
static
final String sfi.director.application.objevents.EventEnvironment.WF_CREATE = "create"
static
final String sfi.director.application.objevents.EventEnvironment.WF_REMOVE = "remove"
static

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