com.ptc.windchill.esi.bom
Class ESIBOMComponentRenderer
java.lang.Object
com.ptc.windchill.esi.rnd.BasicESIRenderer
com.ptc.windchill.esi.bom.ESIBOMSubordinateRenderer
com.ptc.windchill.esi.bom.ESIBOMComponentRenderer
- All Implemented Interfaces:
- ESIRenderer, Serializable
public class ESIBOMComponentRenderer
- extends ESIBOMSubordinateRenderer
- implements Serializable
This class renders the output of components (ie.
) in ESI DataResponse.
Supported API: true
Extendable: false
- See Also:
- Serialized Form
|
Method Summary |
protected com.infoengine.object.factory.Element |
adjustElement(com.infoengine.object.factory.Element elem,
String group,
PartUsageInfo pui,
Collection targets)
Allow subclasses to fix the contents of an element before it's added
to the output group(s). |
protected void |
buildGroups()
Builds the renderer output. |
| Methods inherited from class com.ptc.windchill.esi.rnd.BasicESIRenderer |
adjustDateEffectivities, adjustEffectivities, adjustEffectivities, adjustLotNumberEffCxt, adjustLotNumberEffectivities, adjustObjectID, adjustSerialNumberEffCxt, adjustSerialNumberEffectivities, adjustTargets, buildUfidString, getBuilder, invokeQueryTask, invokeQueryTask, invokeQueryTask, mapElement, mapObject, mapObject, render, setBuilder |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buildGroups
protected void buildGroups()
throws com.ptc.windchill.esi.rnd.ESIRendererException
- Builds the renderer output. For each Collection element in the deltaParts
array, iterates the Collection and:
- Obtains the list of ESITargets associated
- If alternate item groups are required, obtains the appropriate
alternate item group from the alternate item group manager.
- Maps the PartUsageInfo object that is contained in the Collection.
- Calls adjustObjectID().
- Calls adjustTargets().
- Calls adjustElement().
- Adds the part master to the partMasters collection by calling
addRenderedPart().
Supported API: true
- Specified by:
buildGroups in class BasicESIRenderer
- Throws:
com.ptc.windchill.esi.rnd.ESIRendererException
adjustElement
protected com.infoengine.object.factory.Element adjustElement(com.infoengine.object.factory.Element elem,
String group,
PartUsageInfo pui,
Collection targets)
throws com.ptc.windchill.esi.rnd.ESIRendererException
- Allow subclasses to fix the contents of an element before it's added
to the output group(s). Default behavior is to return the argument.
Supported API: true
- Parameters:
elem - group - pui - targets - Collection of ESITarget objects.
- Returns:
- Element
- Throws:
com.ptc.windchill.esi.rnd.ESIRendererException