|
|||||||||
| 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.esidoc.ESIDocumentRenderer
public class ESIDocumentRenderer
This is the ESI default implementation of DocumentRenderer.
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
protected com.infoengine.object.factory.Element |
adjustDocLinkElement(com.infoengine.object.factory.Element element,
String group,
ObjectToObjectLink documentLink,
Collection targets)
Allow subclasses to fix the contents of an element. |
protected com.infoengine.object.factory.Element |
adjustDocumentElement(com.infoengine.object.factory.Element element,
String group,
Document document,
Collection targets)
Allow subclasses to fix the contents of an element. |
protected void |
buildGroups()
Creates the Document output. |
protected String |
getAuth()
Gets the value of the attribute: auth; The authentication information to pass to the Windchill Adapter when executing a query-objects task. |
protected WTPart |
getCurrentPartIteration()
Gets the value of the attribute: currentPartIteration; The current iteration of the part associated with this document. |
protected ESIDocUtility |
getDocUtility()
Gets the value of the attribute: docUtility; Reference to a ESIDocUtility. |
protected WTPart |
getPreviousPartIteration()
Gets the value of the attribute: previousPartIteration; The last release iteration of the part associated with this document. |
protected Collection |
getTargets()
Gets the value of the attribute: targets; A collection ESITarget objects. |
protected TaskHelper |
getTaskHelper()
Gets the value of the attribute: taskHelper; Reference to a TaskHelper. |
protected ESITransactionUtility |
getTransactionUtility()
Gets the value of the attribute: transactionUtility; Reference to a ESITransactionUtility. |
protected String |
getWcAdapter()
Gets the value of the attribute: wcAdapter; The name of the Windchill Adapter where query-object tasks are to be executed. |
void |
setData(WTPart currentPart,
WTPart previousPart,
Collection targetOrgs,
String wcAdapter,
String authorization)
Provide all necessary data to a DocumentRenderer. |
protected void |
validate()
Throws an exception if currentPart or targets attributes are null. |
| Methods inherited from class com.ptc.windchill.esi.rnd.ResponseRendererImpl |
|---|
adjustEffectivities, adjustObjectID, adjustTargets, buildUfidString, getBuilder, invokeQueryTask, mapElement, mapObject, render, setBuilder |
| 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 |
| Method Detail |
|---|
protected WTPart getCurrentPartIteration()
protected WTPart getPreviousPartIteration()
protected Collection getTargets()
protected String getWcAdapter()
protected String getAuth()
protected TaskHelper getTaskHelper()
protected ESIDocUtility getDocUtility()
protected ESITransactionUtility getTransactionUtility()
protected void validate()
throws com.ptc.windchill.esi.rnd.ESIRendererException
com.ptc.windchill.esi.rnd.ESIRendererException
protected void buildGroups()
throws com.ptc.windchill.esi.rnd.ESIRendererException
buildGroups in class ResponseRendererImplcom.ptc.windchill.esi.rnd.ESIRendererException
protected com.infoengine.object.factory.Element adjustDocumentElement(com.infoengine.object.factory.Element element,
String group,
Document document,
Collection targets)
throws com.ptc.windchill.esi.rnd.ESIRendererException
element - The element to be adjusted.group - the logical group name of the VdbGroup that will contain the element.document - The document object that is being processsedtargets - Collection of ESITarget objects.
com.ptc.windchill.esi.rnd.ESIRendererException
protected com.infoengine.object.factory.Element adjustDocLinkElement(com.infoengine.object.factory.Element element,
String group,
ObjectToObjectLink documentLink,
Collection targets)
throws com.ptc.windchill.esi.rnd.ESIRendererException
element - The element to be updated.group - The logical group name. Used by the VdbBuilder to identify a VdbGroup.documentLink - The object being mapped for output.targets - Collection of ESITarget objects.
com.ptc.windchill.esi.rnd.ESIRendererException
public void setData(WTPart currentPart,
WTPart previousPart,
Collection targetOrgs,
String wcAdapter,
String authorization)
setData in interface DocumentRenderercurrentPart - Current part iterationpreviousPart - previous part iteration.targetOrgs - Contains the ESITargets that this document is being exported to.wcAdapter - The name of the Windchill adapter where the query-object task will be executed.authorization - The authorization for executing the query-object task.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||