|
|||||||||
| 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.esidoc.ESIDocumentsRenderer
public class ESIDocumentsRenderer
Supported API: true
Extendable: false
| 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. |
void |
getESIDoc(Collection previousParts,
Collection currentParts,
Collection targetOrgs,
String wcAdapter,
String authorization,
VdbBuilder builder)
match the previous parts with the current parts and call the document renderer once for each match. |
com.infoengine.object.IeCollection |
getESIDoc(WTPart previousPart,
WTPart currentPart,
Collection targetOrgs,
String wcAdapter,
String authorization,
String transactionID)
Given the current and previous iteration of a part this method will call the DocumentRenderer and create the elements in VdbBuilder Supported API: true |
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.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 |
| 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()
public void setData(WTPart currentPart,
WTPart previousPart,
Collection targetOrgs,
String wcAdapter,
String authorization)
currentPart - 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.
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 BasicESIRenderercom.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 com.infoengine.object.IeCollection getESIDoc(WTPart previousPart,
WTPart currentPart,
Collection targetOrgs,
String wcAdapter,
String authorization,
String transactionID)
throws WTException
previousPart - currentPart - targetOrgs - wcAdapter - authorization - transactionID - The id of a transaction to be associated with the VDB builder created by this method.
WTException
public void getESIDoc(Collection previousParts,
Collection currentParts,
Collection targetOrgs,
String wcAdapter,
String authorization,
VdbBuilder builder)
throws WTException
previousParts - currentParts - targetOrgs - wcAdapter - authorization - builder -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||