|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.esi.rnd.ResponseRendererImpl
com.ptc.windchill.esi.bom.BOMHeaderRendererImpl
This class is the default implementation of the BOMHeaderRender interface.
Supported API: true
Extendable: true
Field Summary | |
protected static ESIPropertyRequest |
BOM_HEADER_MAP
|
private static String |
CLASSNAME
|
private static String |
DATE_FORMAT_PATTERN
|
private String |
groupName
|
private TaskHelper |
helper
|
private ESIMap |
map
|
private ESIMapper |
mapper
|
private WTPart |
part
|
private static String |
RESOURCE
|
private Collection |
targets
|
Fields inherited from class com.ptc.windchill.esi.rnd.ResponseRendererImpl |
XML_META_NAME |
Constructor Summary | |
BOMHeaderRendererImpl()
|
Method Summary | |
protected Element |
adjustElement(Element elem,
String group,
WTPart part,
Eff eff,
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. |
protected String |
getGroupName()
Gets the value of the attribute: groupName; The logical name of a VdbGroup. |
protected WTPart |
getPart()
Gets the value of the attribute: part; The assembly part for this BOM. |
protected Collection |
getTargets()
Gets the value of the attribute: targets; A collection ESITarget objects. |
void |
setData(String groupName,
WTPart part,
Collection tgts,
ESIEffectivityHandler effHandler)
Store the attributes and reset any variables. |
protected void |
validate()
Make sure part, groupName, and targets are correct. |
Methods inherited from class com.ptc.windchill.esi.rnd.ResponseRendererImpl |
adjustEffectivities, adjustObjectID, adjustTargets, buildUfidString, getAttsFromMapFile, getBuilder, getEffectivityHandler, getGroupInfo, getMap, getMapInfo, getTargetsFromAssns, invokeQueryTask, logException, mapElement, mapObject, render, setBuilder, setEffectivityHandler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ptc.windchill.esi.rnd.ResponseRenderer |
render |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private Collection targets
private String groupName
private WTPart part
protected static final ESIPropertyRequest BOM_HEADER_MAP
private static final String DATE_FORMAT_PATTERN
private ESIMap map
private ESIMapper mapper
private TaskHelper helper
Constructor Detail |
public BOMHeaderRendererImpl()
Method Detail |
protected Collection getTargets()
protected String getGroupName()
protected WTPart getPart()
protected Element adjustElement(Element elem, String group, WTPart part, Eff eff, Collection targets) throws ESIRendererException
elem
- The element to be updated.group
- The logical name of the group to which the element will be added.part
- The assembly part that is being processed.eff
- May be null.targets
- Collection of ESITarget objects.
ESIRendererException
protected void validate() throws ESIRendererException
validate
in class ResponseRendererImpl
ESIRendererException
protected void buildGroups() throws ESIRendererException
buildGroups
in class ResponseRendererImpl
ESIRendererException
public void setData(String groupName, WTPart part, Collection tgts, ESIEffectivityHandler effHandler)
setData
in interface BOMHeaderRenderer
groupName
- part
- tgts
- effHandler
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |