|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.esi.rnd.BasicESIRenderer
com.ptc.windchill.esi.ecn.ESIECNHeaderRenderer
This class renders the output of ECN header (ie.
Supported API: true
Extendable: false
Field Summary | |
private String |
auth
|
private WTChangeOrder2 |
changeOrder
|
private static String |
CLASSNAME
|
protected static String |
MAP_FILE_PATH
|
protected static String |
QUERY_TASK
|
private static String |
RESOURCE
|
private Collection |
targets
|
private TaskHelper |
taskHelper
|
private ESITransactionUtility |
txnUtility
|
private String |
wcAdapter
|
protected static String |
wcAttList
|
Fields inherited from class com.ptc.windchill.esi.rnd.BasicESIRenderer |
adapterName, PART_CLASS_NAME, TASK_URI, XML_META_NAME |
Constructor Summary | |
ESIECNHeaderRenderer()
|
Method Summary | |
protected Element |
adjustElement(Element element,
String group,
WTChangeOrder2 changeOrder,
Collection targets)
Allow subclasses to fix the contents of an element. |
protected void |
buildGroups()
Map the input and save the resulting group in the VDB Supported API: false |
private void |
changeOrderValidate(WTChangeOrder2 a_ChangeOrder)
|
protected String |
getAuth()
Gets the value of the attribute: auth; The authentication to use when invoking a query task. |
WTChangeOrder2 |
getChangeOrder()
Gets the object for the association that plays role: changeOrder. |
protected Element |
getQueryObjectElement(WTChangeOrder2 changeOrder)
|
protected Collection |
getTargets()
Gets the value of the attribute: targets; A collection of ESITarget objects that are of interest to the renderer. |
protected String |
getWcAdapter()
Gets the value of the attribute: wcAdapter; The name of the Windchill adapter where query tasks will execute. |
private boolean |
hasReleased(ESITarget target)
check if the object has been released successfully. |
protected Element |
mapElement(String groupName,
Element element,
WTChangeOrder2 changeOrder,
Collection targets)
|
void |
setChangeOrder(WTChangeOrder2 a_ChangeOrder)
Sets the object for the association that plays role: changeOrder. |
void |
setData(WTChangeOrder2 chgOrder,
Collection targets,
String auth,
String wcAdapter)
Provide the data required for the renderer to operate properly. |
protected void |
validate()
Make sure targets and changeOrder attribute are OK. |
Methods inherited from class com.ptc.windchill.esi.rnd.BasicESIRenderer |
adjustEffectivities, adjustObjectID, adjustTargets, buildUfidString, getAdapterName, getAttsFromMapFile, getBuilder, getEffectivityHandler, getGroupInfo, getMap, getMapInfo, getTargetsFromAssns, getWCAttributeList, invokeQueryTask, invokeQueryTask, invokeQueryTask, mapElement, mapObject, render, setBuilder, setEffectivityHandler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private Collection targets
private String auth
private String wcAdapter
private WTChangeOrder2 changeOrder
protected static final String QUERY_TASK
protected static final String MAP_FILE_PATH
private TaskHelper taskHelper
private ESITransactionUtility txnUtility
protected static String wcAttList
Constructor Detail |
public ESIECNHeaderRenderer()
Method Detail |
protected Collection getTargets()
protected String getAuth()
protected String getWcAdapter()
public WTChangeOrder2 getChangeOrder()
public void setChangeOrder(WTChangeOrder2 a_ChangeOrder) throws WTPropertyVetoException
a_ChangeOrder
-
WTPropertyVetoException
private void changeOrderValidate(WTChangeOrder2 a_ChangeOrder) throws WTPropertyVetoException
a_ChangeOrder
-
WTPropertyVetoException
public void setData(WTChangeOrder2 chgOrder, Collection targets, String auth, String wcAdapter) throws ESIRendererException
chgOrder
- The change order to be rendered.targets
- A collection of ESITarget objects that are of interest to the renderer.auth
- The authentication to use when invoking a query task.wcAdapter
- The name of the Windchill adapter where query tasks will execute.
ESIRendererException
protected void validate() throws ESIRendererException
validate
in class BasicESIRenderer
ESIRendererException
protected void buildGroups() throws ESIRendererException
buildGroups
in class BasicESIRenderer
ESIRendererException
protected Element adjustElement(Element element, String group, WTChangeOrder2 changeOrder, Collection targets) throws ESIRendererException
element
- group
- changeOrder
- targets
- Collection of ESITarget objects.
ESIRendererException
protected Element mapElement(String groupName, Element element, WTChangeOrder2 changeOrder, Collection targets) throws ESIRendererException
ESIRendererException
protected Element getQueryObjectElement(WTChangeOrder2 changeOrder) throws WTException
WTException
private boolean hasReleased(ESITarget target) throws ESIRendererException
ESIRendererException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |