Node Director
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
sfi.director.cli.create Class Reference

Implements the 'create' director command raising events on directory objects. More...

Inheritance diagram for sfi.director.cli.create:
sfi.director.cli.CLICommand sfi.director.cli.delete sfi.director.cli.docu sfi.director.cli.event sfi.director.cli.init sfi.director.cli.keyinit sfi.director.cli.list sfi.director.cli.listconfig sfi.director.cli.listdirectories sfi.director.cli.listevents sfi.director.cli.modify sfi.director.cli.schema

Public Member Functions

String usage ()
 return a one-line usage string
String help ()
 return a more verbose usage string (aka.
String[] getOptDefinitions ()
 return option definitions as used by Tools.getOpt()
synchronized void run (Hashtable optvals) throws DirectorException
 run the command with the (pre-parsed) options optargs
DN getBase ()
void prettyPrint (DBObject dbo, DBConnection db)
synchronized void edit (int mode) throws DirectorException
- Public Member Functions inherited from sfi.director.cli.CLICommand
void setOptions (Hashtable opts)
 sets options from a hash as returned by Tools.getOpts().
Options getOptions ()
Hashtable getOptionsHash ()

Static Public Member Functions

static DN getBase (Vector darg)
static DN getBase (String dir)

Static Public Attributes

final static int MOD_CREATE = 0
final static int MOD_EDIT = 1
final static int MOD_EVENT = 2
final static int MOD_DELETE = 3
final static int MOD_LISTEVENT = 4
final static int MOD_LIST = 5

Detailed Description

Implements the 'create' director command raising events on directory objects.

Member Function Documentation

synchronized void sfi.director.cli.create.edit ( int  mode) throws DirectorException

References sfi.director.application.objevents.Workflow.doEvent(), sfi.director.util.Tools.exit(), sfi.director.application.objevents.EventEnvironment.findObjectEvents(), sfi.director.application.objevents.Workflow.flush(), sfi.director.repository.config.DirectoryAccess.get(), sfi.director.repository.DBObject.getAttribute(), sfi.director.cli.create.getBase(), sfi.director.util.ObjectRegistry.getByClass(), sfi.director.util.ObjectRegistry.getByDisplayname(), sfi.director.repository.config.DirectoryAccess.getConfig(), sfi.director.repository.config.DirectoryAccess.getDBConnection(), sfi.director.repository.config.Directory.getDirectory(), sfi.director.repository.DBObject.getDN(), sfi.director.repository.DBObject.getEValue(), sfi.director.application.objevents.Workflow.getId(), sfi.director.repository.DN.getRaw(), sfi.director.repository.DBObject.getValue(), sfi.director.util.Tools.log(), sfi.director.cli.create.MOD_CREATE, sfi.director.cli.create.MOD_DELETE, sfi.director.cli.create.MOD_EDIT, sfi.director.cli.create.MOD_EVENT, sfi.director.cli.create.MOD_LIST, sfi.director.cli.create.MOD_LISTEVENT, sfi.director.util.Logger.NOTICE, sfi.director.cli.create.prettyPrint(), sfi.director.util.Setup.program_cmdline, sfi.director.repository.DBConnection.remove(), sfi.director.repository.config.DirectoryAccess.search(), sfi.director.repository.DBConnection.SEARCH_BASEDN, sfi.director.util.Options.setOption(), sfi.director.cli.sfidirector.trackJob(), sfi.director.repository.DBConnection.unwrap(), sfi.director.util.Logger.WARNING, and sfi.director.application.objevents.EventEnvironment.WF_REMOVE.

Referenced by sfi.director.cli.list.run(), sfi.director.cli.listevents.run(), sfi.director.cli.delete.run(), sfi.director.cli.event.run(), sfi.director.cli.modify.run(), and sfi.director.cli.create.run().

DN sfi.director.cli.create.getBase ( )
static DN sfi.director.cli.create.getBase ( Vector  darg)
static
static DN sfi.director.cli.create.getBase ( String  dir)
static
String [] sfi.director.cli.create.getOptDefinitions ( )
virtual
String sfi.director.cli.create.help ( )
virtual
void sfi.director.cli.create.prettyPrint ( DBObject  dbo,
DBConnection  db 
)
synchronized void sfi.director.cli.create.run ( Hashtable  optargs) throws DirectorException
virtual
String sfi.director.cli.create.usage ( )
virtual

Member Data Documentation

final static int sfi.director.cli.create.MOD_CREATE = 0
static
final static int sfi.director.cli.create.MOD_DELETE = 3
static
final static int sfi.director.cli.create.MOD_EDIT = 1
static
final static int sfi.director.cli.create.MOD_EVENT = 2
static
final static int sfi.director.cli.create.MOD_LIST = 5
static
final static int sfi.director.cli.create.MOD_LISTEVENT = 4
static

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