sfi.director.application.autodoc.DocInfo Class Reference

List of all members.

Detailed Description

Access to documentation records.

Allows retrieval of the various documentation information stored either within a given DBObject, in its documentation sub-objects, or even in the respective Host/PeopleClass.


Public Member Functions

 DocInfo (DBObject record) throws DirectorException
 DocInfo (DBObject record, DirectoryAccess dir) throws DirectorException
 DocInfo (DBObject record, DirectoryAccess dir, String nameAttr) throws DirectorException
DocChapter addIntroChapter (DocBuilder builder, String title[], DocCategory category) throws DirectorException
DocChapter addIntroChapter (DocBuilder builder, String title[], DocCategory category, boolean onlyIfNotEmpty) throws DirectorException
String templateText ()
void locationDocu (DocBuilder builder, DocChapter parent, DocCategory category) throws DirectorException
int detaillevel (DBObject adjObject, int defaultLevel)
Vector getImages ()
 get a Vector of image URLs.
Vector getImages (DBObject obj)
Vector getImageOpts ()
 get a Vector of image Options, each option object is a pendant to the respective entry in getImages().
Vector getImageOpts (DBObject obj)
Vector getDocs ()
 get a Vector of doc URLs.
Vector getDocs (DBObject doc)
Vector getDocOpts ()
 get a Vector of doc Options, each option object is a pendant to the respective entry in getDocs().
Vector getDocOpts (DBObject doc)
Vector getDocOpts (String attribute)
 get a Vector of Options out of the named attribute
Vector getDocOpts (DBObject doc, String attribute)
DBObject docObject ()
 Accessor for attribute docObject.
DBObject docObject (DBObject docObject)
 Mutator for attribute docObject.
DBObject docObject (DBObject docObject, String nameAttr)
 Set docObject and compute the name from the attribute with the given name.
Vector adjDocObjs ()
 Accessor for attribute adjDocObjs.
Vector adjDocObjs (Vector adjDocObjs)
 Mutator for attribute adjDocObjs.
void addAdjuncts (DirectoryAccess directory, DBObject dbo) throws DirectorException
 add adjunct document objs for the given object
String name ()
 Accessor for attribute name.
String name (String name)
 Mutator for attribute name.
String title ()
 Accessor for attribute title.
String title (String title)
 Mutator for attribute title.
DirectoryAccess directory ()
 Accessor for attribute directory.
DirectoryAccess directory (DirectoryAccess directory)
 Mutator for attribute directory.
String label ()
 Accessor for attribute label.
String label (String label)
 Mutator for attribute label.
void genLabel ()
 Generate a label for this object that can later be used to create references to it.
Vector aliases ()
 Accessor for attribute aliases.
Vector aliases (Vector aliases)
 Mutator for attribute aliases.
Vector aliasLabels ()
 Accessor for attribute aliasLabels.
Vector aliasLabels (Vector aliasLabels)
 Mutator for attribute aliasLabels.
void addAliasLabel (String label)
 adds a label.
DBObject templateParams ()
 Accessor for attribute templateParams.
DBObject templateParams (DBObject templateParams)
 Mutator for attribute templateParams.
void addClassInfo () throws DirectorException
 Slurp in documentation records from super classes.
DBObject searchFirst (String objectclass)
DBObject location ()
Vector searchAndRevise (String objectclass)
 Searches for information of the given type and applies rules for auto-scan objects.
Vector configFileSpecs () throws DirectorException
 Looking at the documentation objects build a list of config file specs found in the various objects.

Protected Attributes

DBObject docObject = null
 The (raw) DBObject we base our info on.
Vector adjDocObjs = new Vector()
String name = null
 The name/ID of the object. Initially set to reflect the appropriate docObject attr.
String title = null
 The title of the object. This is often the same as the name(), but not always.
DirectoryAccess directory = null
 The DirectoryAccess where the docObject is stored.
String label = null
Vector aliases = new Vector()
 aliases for this object. Alternative name().
Vector aliasLabels = new Vector()
 additional labels
DBObject templateParams = null
 the parameter/values to be filled in templates
Cache infoCache = new Cache( 120, 120 )


Constructor & Destructor Documentation

sfi.director.application.autodoc.DocInfo.DocInfo DBObject  record  )  throws DirectorException
 

sfi.director.application.autodoc.DocInfo.DocInfo DBObject  record,
DirectoryAccess  dir
throws DirectorException
 

sfi.director.application.autodoc.DocInfo.DocInfo DBObject  record,
DirectoryAccess  dir,
String  nameAttr
throws DirectorException
 


Member Function Documentation

void sfi.director.application.autodoc.DocInfo.addAdjuncts DirectoryAccess  directory,
DBObject  dbo
throws DirectorException
 

add adjunct document objs for the given object

void sfi.director.application.autodoc.DocInfo.addAliasLabel String  label  ) 
 

adds a label.

additional labels

void sfi.director.application.autodoc.DocInfo.addClassInfo  )  throws DirectorException
 

Slurp in documentation records from super classes.

DocChapter sfi.director.application.autodoc.DocInfo.addIntroChapter DocBuilder  builder,
String  title[],
DocCategory  category,
boolean  onlyIfNotEmpty
throws DirectorException
 

DocChapter sfi.director.application.autodoc.DocInfo.addIntroChapter DocBuilder  builder,
String  title[],
DocCategory  category
throws DirectorException
 

Vector sfi.director.application.autodoc.DocInfo.adjDocObjs Vector  adjDocObjs  ) 
 

Mutator for attribute adjDocObjs.

Vector sfi.director.application.autodoc.DocInfo.adjDocObjs  ) 
 

Accessor for attribute adjDocObjs.

Vector sfi.director.application.autodoc.DocInfo.aliases Vector  aliases  ) 
 

Mutator for attribute aliases.

aliases for this object. Alternative name().

Vector sfi.director.application.autodoc.DocInfo.aliases  ) 
 

Accessor for attribute aliases.

aliases for this object. Alternative name().

Vector sfi.director.application.autodoc.DocInfo.aliasLabels Vector  aliasLabels  ) 
 

Mutator for attribute aliasLabels.

additional labels

Vector sfi.director.application.autodoc.DocInfo.aliasLabels  ) 
 

Accessor for attribute aliasLabels.

additional labels

Vector sfi.director.application.autodoc.DocInfo.configFileSpecs  )  throws DirectorException
 

Looking at the documentation objects build a list of config file specs found in the various objects.

The list entries are compatible with ConfigFile.addAlternativeSpec(). Computation is on a best-effort basis, no guarantee that the list is complete.

int sfi.director.application.autodoc.DocInfo.detaillevel DBObject  adjObject,
int  defaultLevel
 

DirectoryAccess sfi.director.application.autodoc.DocInfo.directory DirectoryAccess  directory  ) 
 

Mutator for attribute directory.

The DirectoryAccess where the docObject is stored.

DirectoryAccess sfi.director.application.autodoc.DocInfo.directory  ) 
 

Accessor for attribute directory.

The DirectoryAccess where the docObject is stored.

DBObject sfi.director.application.autodoc.DocInfo.docObject DBObject  docObject,
String  nameAttr
 

Set docObject and compute the name from the attribute with the given name.

@copydoc docObject

DBObject sfi.director.application.autodoc.DocInfo.docObject DBObject  docObject  ) 
 

Mutator for attribute docObject.

This also "computes" the name/title of the object by trying to find out which attribute is to be considered as the name. The (raw) DBObject we base our info on.

DBObject sfi.director.application.autodoc.DocInfo.docObject  ) 
 

Accessor for attribute docObject.

The (raw) DBObject we base our info on.

void sfi.director.application.autodoc.DocInfo.genLabel  ) 
 

Generate a label for this object that can later be used to create references to it.

The label is composed of the name of the object type as registered via the ObjectRegistry and the name() of the object.

Vector sfi.director.application.autodoc.DocInfo.getDocOpts DBObject  doc,
String  attribute
 

Vector sfi.director.application.autodoc.DocInfo.getDocOpts String  attribute  ) 
 

get a Vector of Options out of the named attribute

Vector sfi.director.application.autodoc.DocInfo.getDocOpts DBObject  doc  ) 
 

Vector sfi.director.application.autodoc.DocInfo.getDocOpts  ) 
 

get a Vector of doc Options, each option object is a pendant to the respective entry in getDocs().

Vector sfi.director.application.autodoc.DocInfo.getDocs DBObject  doc  ) 
 

Vector sfi.director.application.autodoc.DocInfo.getDocs  ) 
 

get a Vector of doc URLs.

Vector sfi.director.application.autodoc.DocInfo.getImageOpts DBObject  obj  ) 
 

Vector sfi.director.application.autodoc.DocInfo.getImageOpts  ) 
 

get a Vector of image Options, each option object is a pendant to the respective entry in getImages().

Vector sfi.director.application.autodoc.DocInfo.getImages DBObject  obj  ) 
 

Vector sfi.director.application.autodoc.DocInfo.getImages  ) 
 

get a Vector of image URLs.

String sfi.director.application.autodoc.DocInfo.label String  label  ) 
 

Mutator for attribute label.

String sfi.director.application.autodoc.DocInfo.label  ) 
 

Accessor for attribute label.

DBObject sfi.director.application.autodoc.DocInfo.location  ) 
 

void sfi.director.application.autodoc.DocInfo.locationDocu DocBuilder  builder,
DocChapter  parent,
DocCategory  category
throws DirectorException
 

String sfi.director.application.autodoc.DocInfo.name String  name  ) 
 

Mutator for attribute name.

The name/ID of the object. Initially set to reflect the appropriate docObject attr.

String sfi.director.application.autodoc.DocInfo.name  ) 
 

Accessor for attribute name.

The name/ID of the object. Initially set to reflect the appropriate docObject attr.

Vector sfi.director.application.autodoc.DocInfo.searchAndRevise String  objectclass  ) 
 

Searches for information of the given type and applies rules for auto-scan objects.

Returns:
list of resulting DBObject objects

DBObject sfi.director.application.autodoc.DocInfo.searchFirst String  objectclass  ) 
 

DBObject sfi.director.application.autodoc.DocInfo.templateParams DBObject  templateParams  ) 
 

Mutator for attribute templateParams.

the parameter/values to be filled in templates

DBObject sfi.director.application.autodoc.DocInfo.templateParams  ) 
 

Accessor for attribute templateParams.

the parameter/values to be filled in templates

String sfi.director.application.autodoc.DocInfo.templateText  ) 
 

String sfi.director.application.autodoc.DocInfo.title String  title  ) 
 

Mutator for attribute title.

The title of the object. This is often the same as the name(), but not always.

String sfi.director.application.autodoc.DocInfo.title  ) 
 

Accessor for attribute title.

The title of the object. This is often the same as the name(), but not always.


Member Data Documentation

Vector sfi.director.application.autodoc.DocInfo.adjDocObjs = new Vector() [protected]
 

Vector sfi.director.application.autodoc.DocInfo.aliases = new Vector() [protected]
 

aliases for this object. Alternative name().

Vector sfi.director.application.autodoc.DocInfo.aliasLabels = new Vector() [protected]
 

additional labels

DirectoryAccess sfi.director.application.autodoc.DocInfo.directory = null [protected]
 

The DirectoryAccess where the docObject is stored.

DBObject sfi.director.application.autodoc.DocInfo.docObject = null [protected]
 

The (raw) DBObject we base our info on.

Cache sfi.director.application.autodoc.DocInfo.infoCache = new Cache( 120, 120 ) [protected]
 

String sfi.director.application.autodoc.DocInfo.label = null [protected]
 

String sfi.director.application.autodoc.DocInfo.name = null [protected]
 

The name/ID of the object. Initially set to reflect the appropriate docObject attr.

DBObject sfi.director.application.autodoc.DocInfo.templateParams = null [protected]
 

the parameter/values to be filled in templates

String sfi.director.application.autodoc.DocInfo.title = null [protected]
 

The title of the object. This is often the same as the name(), but not always.


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