wt.doc
Class DocumentConfigSpecNodeExpander

java.lang.Object
  extended bywt.doc.DocumentConfigSpecNodeExpander
All Implemented Interfaces:
NodeExpander, Serializable

public class DocumentConfigSpecNodeExpander
extends Object
implements NodeExpander, Serializable

The ConfigSpecNodeExpander class uses the DocumentService and a WTDocumentConfigSpec to implement the expand operation. The node is assumed to be a Document and the "uses" link is navigated.

Supported API: false

Extendable: false

See Also:
WTDocumentConfigSpec, wt.doc.DocumentService, Serialized Form

Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
private  WTDocumentConfigSpec theWTDocumentConfigSpec
           
 
Constructor Summary
DocumentConfigSpecNodeExpander(WTDocumentConfigSpec a_docConfigSpec)
          Constructs an instance.
 
Method Summary
 void expandNode(Persistable parentNode, Vector links, Vector nodes)
          Expands the node returning all of the links and nodes associated with the parent node.
 WTDocumentConfigSpec getWTDocumentConfigSpec()
          Gets the object for the association that plays role: theWTDocumentConfigSpec.
 void setWTDocumentConfigSpec(WTDocumentConfigSpec a_WTDocumentConfigSpec)
          Sets the object for the association that plays role: theWTDocumentConfigSpec.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

theWTDocumentConfigSpec

private WTDocumentConfigSpec theWTDocumentConfigSpec
Constructor Detail

DocumentConfigSpecNodeExpander

public DocumentConfigSpecNodeExpander(WTDocumentConfigSpec a_docConfigSpec)
                               throws WTPropertyVetoException
Constructs an instance.

Supported API: false

Parameters:
a_docConfigSpec -
Throws:
WTPropertyVetoException
Method Detail

getWTDocumentConfigSpec

public WTDocumentConfigSpec getWTDocumentConfigSpec()
Gets the object for the association that plays role: theWTDocumentConfigSpec.

Supported API: false

Returns:
WTDocumentConfigSpec

setWTDocumentConfigSpec

public void setWTDocumentConfigSpec(WTDocumentConfigSpec a_WTDocumentConfigSpec)
                             throws WTPropertyVetoException
Sets the object for the association that plays role: theWTDocumentConfigSpec.

Supported API: false

Parameters:
a_WTDocumentConfigSpec -
Throws:
WTPropertyVetoException

expandNode

public void expandNode(Persistable parentNode,
                       Vector links,
                       Vector nodes)
                throws WTException
Expands the node returning all of the links and nodes associated with the parent node.

Supported API: false

Specified by:
expandNode in interface NodeExpander
Parameters:
parentNode -
links -
nodes -
Throws:
WTException