|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.windchill.esi.bom.BOMTreeNavigatorImpl
public class BOMTreeNavigatorImpl
Default ESI implementation of the BOMTreeNavigator.
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
protected String |
getAdapter()
Gets the value of the attribute: adapter; The name of the Windchill adapter to pass to the Query-Tree webject. |
protected String |
getAuth()
Gets the value of the attribute: auth; The authentication information to pass to the Query-Tree webject. |
Collection |
getBomLeafUfids()
Gets the value of the attribute: bomLeafUfids; A collection WTPart UFIDs that point to component parts. |
Collection |
getBomNodeUfids()
Gets the value of the attribute: bomNodeUfids; A collection WTPart UFIDs that point to assembly parts. |
protected String |
getConfigspec()
Gets the value of the attribute: configspec; The Config Spec. |
protected int |
getDepth()
Gets the value of the attribute: depth; the number of levels to navigate. |
Collection |
getLeafNodeUfids()
Returns a collection part UFIDs for all of the nodes in the tree that are not BOMs. |
protected WTPart |
getRoot()
Gets the value of the attribute: root; The top-level assembly part. |
protected void |
processTree()
If the bomNodeUfids attribute is null: calls validate() to insure that the attibute state contains all required information call the Windchill Adapter Query-Tree webject Parse the webject result and obtain all parts that have a child. |
protected void |
setBomLeafUfids(Collection a_BomLeafUfids)
Sets the value of the attribute: bomLeafUfids; A collection WTPart UFIDs that point to component parts. |
protected void |
setBomNodeUfids(Collection a_BomNodeUfids)
Sets the value of the attribute: bomNodeUfids; A collection WTPart UFIDs that point to assembly parts. |
void |
setData(WTPart root,
int depth,
String configSpec,
String auth,
String adapter)
Sets the attributes on the object. |
protected void |
validate()
Makes sure all attributes are in the correct state.Throws a WTException if: the root attribute is nullthe depth attribute is < 1the auth attribute is null or blank or spacesthe adapter attribute is null or blank or spaces Supported API: true |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Collection getBomNodeUfids()
getBomNodeUfids in interface BOMTreeNavigatorprotected void setBomNodeUfids(Collection a_BomNodeUfids)
a_BomNodeUfids - public Collection getBomLeafUfids()
protected void setBomLeafUfids(Collection a_BomLeafUfids)
a_BomLeafUfids - protected WTPart getRoot()
protected String getConfigspec()
protected int getDepth()
protected String getAdapter()
protected String getAuth()
protected void processTree()
throws WTException
WTException
public void setData(WTPart root,
int depth,
String configSpec,
String auth,
String adapter)
throws WTException
setData in interface BOMTreeNavigatorroot - The assembly part for the top-level BOM.depth - The number of levels of BOM.configSpec - The Config Spec. value to use when navigating the BOM. See the Query-Tree Webject documentation for acceptable and default values.auth - This parameter contains authentication information from I*E.adapter - This parameter contains the name of the Windchill adapter.
WTException
protected void validate()
throws WTException
WTException
public Collection getLeafNodeUfids()
throws WTException
getLeafNodeUfids in interface BOMTreeNavigatorWTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||