com.ptc.windchill.esi.bom
Interface BOMPartRenderer

All Superinterfaces:
ResponseRenderer
All Known Subinterfaces:
BOMComponentRenderer, ReferenceDesignatorRenderer, SubstituteRenderer
All Known Implementing Classes:
BOMComponentRendererImpl, ESIWTPartRenderer, ReferenceDesignatorRendererImpl, SubstituteRendererImpl

public interface BOMPartRenderer
extends ResponseRenderer

Common methods for all BOM renderers that deal with one or more WTPart objects.

Supported API: true

Extendable: true


Method Summary
 Collection getRenderedParts()
          Returns a collection of WTPart objects which represent the parts used for rendering.
 void setData(WTPart root, WTPart part, Collection[] deltaParts, Collection tgts, boolean lineNumbers)
          Set the renderer's state so that it is ready to process.
 
Methods inherited from interface com.ptc.windchill.esi.rnd.ResponseRenderer
render
 

Method Detail

setData

public void setData(WTPart root,
                    WTPart part,
                    Collection[] deltaParts,
                    Collection tgts,
                    boolean lineNumbers)
Set the renderer's state so that it is ready to process.

Supported API: true

Parameters:
root - The root part for which the BOM is being rendered.
part - Presumed to be the assembly part for BOMs.
deltaParts - an array of enumerations
tgts - A collection of ESI targets
lineNumbers - Are line numbers to be included in the output?

getRenderedParts

public Collection getRenderedParts()
                            throws WTException
Returns a collection of WTPart objects which represent the parts used for rendering.

Supported API: false

Returns:
Collection
Throws:
WTException