com.ptc.windchill.esi.bom
Class BOMTreeNavigatorFactory

java.lang.Object
  extended by com.ptc.windchill.esi.bom.BOMTreeNavigatorFactory
All Implemented Interfaces:
Externalizable, Serializable

public final class BOMTreeNavigatorFactory
extends Object
implements Externalizable

Creates the appropriate BOMTreeNavigator and sets data for it.

Supported API: true

Extendable: false

See Also:
Serialized Form

Method Summary
static BOMTreeNavigator newBOMTreeNavigator(WTPart root, Integer depth, String configSpec, String auth, String adapter)
          Creates the appropriate BOMTreeNavigator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newBOMTreeNavigator

public static BOMTreeNavigator newBOMTreeNavigator(WTPart root,
                                                   Integer depth,
                                                   String configSpec,
                                                   String auth,
                                                   String adapter)
                                            throws WTException
Creates the appropriate BOMTreeNavigator. Reads ESIProperties to obtain the name of the class to instantiate. If the class is BOMTreeNavigatorImpl (or a subclass of BOMTreeNavigatorImpl), the method calls setData() on the object before returning it.

Supported API: true

Parameters:
root - The assembly part for the top-level BOM.
depth - The number of levels of BOM.
configSpec - The name of the WTPartConfigSpec to use. Default is wt.part.WTPartStandardConfigSpec.
auth - This parameter contains authentication information from I*E.
adapter - This parameter contains the name of the Windchill adapter.
Returns:
BOMTreeNavigator
Throws:
WTException