wt.visitor
Class EPMDocConfigSpecNodeExpander

java.lang.Object
  extended bywt.visitor.ConfigSpecNodeExpander
      extended bywt.visitor.EPMDocConfigSpecNodeExpander
All Implemented Interfaces:
NodeExpander

public class EPMDocConfigSpecNodeExpander
extends ConfigSpecNodeExpander

The EPMDocConfigSpecNodeExpander class uses the EPMStruct Service and a ConfigSpec to implement the expand operation. The node is assumed to be an Iteration and the "uses" link is navigated.

Supported API: true

Extendable: true

See Also:
ConfigSpec, wt.strucure.EPMStructureService

Field Summary
private static String CLASSNAME
           
private  EPMWorkspace currentWorkspace
           
private static String RESOURCE
           
 
Fields inherited from class wt.visitor.ConfigSpecNodeExpander
 
Constructor Summary
EPMDocConfigSpecNodeExpander()
           
EPMDocConfigSpecNodeExpander(ConfigSpec a_ConfigSpec)
          Constructs an instance

Supported API: true
EPMDocConfigSpecNodeExpander(EPMWorkspace ws, ConfigSpec a_ConfigSpec)
           
 
Method Summary
private  Persistable checkForOriginal(Persistable doc)
           
 void expandNode(Persistable parentNode, Vector links, Vector nodes)
          Expands the node returning all of the links and nodes associated with the parent node

Supported API: true
 
Methods inherited from class wt.visitor.ConfigSpecNodeExpander
getConfigSpec, setConfigSpec
 
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

currentWorkspace

private EPMWorkspace currentWorkspace
Constructor Detail

EPMDocConfigSpecNodeExpander

public EPMDocConfigSpecNodeExpander(ConfigSpec a_ConfigSpec)
                             throws WTPropertyVetoException
Constructs an instance

Supported API: true

Parameters:
a_ConfigSpec -
Throws:
WTPropertyVetoException

EPMDocConfigSpecNodeExpander

public EPMDocConfigSpecNodeExpander()

EPMDocConfigSpecNodeExpander

public EPMDocConfigSpecNodeExpander(EPMWorkspace ws,
                                    ConfigSpec a_ConfigSpec)
                             throws WTPropertyVetoException
Method Detail

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: true

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

checkForOriginal

private Persistable checkForOriginal(Persistable doc)
                              throws WTException
Throws:
WTException