|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.visitor.PartConfigSpecNodeExpander
The ConfigSpecNodeExpander class uses the PartService and a WTPartConfigSpec
to implement the expand operation. The node is assumed to be a Part
and the "uses" link is navigated.
Supported API: false
Extendable: false
WTPartConfigSpec
,
wt.part.PartService
,
Serialized FormField Summary | |
private int |
cacheCount
|
private static String |
CLASSNAME
|
private static QueryResult |
emptyResult
|
private Cache |
leafCache
|
private int |
queryCount
|
private ReferenceFactory |
referenceFactory
|
private static String |
RESOURCE
|
private WTPartConfigSpec |
theWTPartConfigSpec
|
Constructor Summary | |
PartConfigSpecNodeExpander()
|
|
PartConfigSpecNodeExpander(WTPartConfigSpec a_partConfigSpec)
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. |
private String |
getReferenceString(WTObject obj)
|
private QueryResult |
getUsesWTParts(WTPart part)
|
WTPartConfigSpec |
getWTPartConfigSpec()
Gets the object for the association that plays role: theWTPartConfigSpec. |
void |
setWTPartConfigSpec(WTPartConfigSpec a_WTPartConfigSpec)
Sets the object for the association that plays role: theWTPartConfigSpec. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private WTPartConfigSpec theWTPartConfigSpec
private Cache leafCache
private static final QueryResult emptyResult
private ReferenceFactory referenceFactory
private int queryCount
private int cacheCount
Constructor Detail |
public PartConfigSpecNodeExpander(WTPartConfigSpec a_partConfigSpec) throws WTPropertyVetoException
a_partConfigSpec
-
WTPropertyVetoException
public PartConfigSpecNodeExpander()
Method Detail |
public WTPartConfigSpec getWTPartConfigSpec()
public void setWTPartConfigSpec(WTPartConfigSpec a_WTPartConfigSpec) throws WTPropertyVetoException
a_WTPartConfigSpec
-
WTPropertyVetoException
public void expandNode(Persistable parentNode, Vector links, Vector nodes) throws WTException
expandNode
in interface NodeExpander
parentNode
- links
- nodes
-
WTException
private QueryResult getUsesWTParts(WTPart part) throws WTException
WTException
private String getReferenceString(WTObject obj) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |