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

Create documentation from repository. More...

Inheritance diagram for sfi.director.cli.init:
sfi.director.cli.create sfi.director.cli.CLICommand

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
- Public Member Functions inherited from sfi.director.cli.create
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 ()

Additional Inherited Members

- Static Public Member Functions inherited from sfi.director.cli.create
static DN getBase (Vector darg)
static DN getBase (String dir)
- Static Public Attributes inherited from sfi.director.cli.create
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

Create documentation from repository.

Member Function Documentation

String [] sfi.director.cli.init.getOptDefinitions ( )
virtual

return option definitions as used by Tools.getOpt()

Reimplemented from sfi.director.cli.create.

String sfi.director.cli.init.help ( )
virtual

return a more verbose usage string (aka.

help)

Reimplemented from sfi.director.cli.create.

synchronized void sfi.director.cli.init.run ( Hashtable  optargs) throws DirectorException
virtual

run the command with the (pre-parsed) options optargs

Reimplemented from sfi.director.cli.create.

References sfi.director.repository.config.DirectoryAccess.add(), sfi.director.repository.DBObject.addUniqueAttribute(), sfi.director.repository.config.DirectoryAccess.ensureOu(), sfi.director.util.Logger.ERR, sfi.director.util.Setup.fileSeparator, sfi.director.repository.config.DirectoryAccess.get(), sfi.director.repository.DBObject.getAttribute(), sfi.director.repository.DBManager.getConnection(), sfi.director.cli.CLILogger.getDefaultVerbose(), sfi.director.repository.config.Directory.getDirectory(), sfi.director.repository.DBObject.getDN(), sfi.director.repository.DBObject.getEValue(), sfi.director.util.Options.getOption(), sfi.director.util.MyProperties.getProperty(), sfi.director.repository.DN.getRaw(), sfi.director.repository.DBObject.getValue(), sfi.director.util.Logger.INFO, sfi.director.util.Tools.log(), sfi.director.util.Logger.NOTICE, sfi.director.repository.DN.parent(), sfi.director.util.Setup.properties, sfi.director.repository.config.DirectoryAccess.remove(), sfi.director.repository.DBObject.removeAttribute(), sfi.director.repository.config.DirectoryAccess.replace(), sfi.director.repository.DBConnection.search(), sfi.director.repository.config.DirectoryAccess.search(), sfi.director.repository.DBConnection.SEARCH_BASEDN, sfi.director.cli.CLILogger.setDefaultVerbose(), sfi.director.repository.DBObject.setDN(), sfi.director.util.Options.setOption(), sfi.director.util.Init.setup_cli(), sfi.director.util.Tools.sort(), sfi.director.repository.DN.strip(), sfi.director.repository.DBConnection.unwrap(), and sfi.director.util.Logger.WARNING.

String sfi.director.cli.init.usage ( )
virtual

return a one-line usage string

Reimplemented from sfi.director.cli.create.


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