|
|||||||||
| 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.esipart.ESIWTPartRenderer
public class ESIWTPartRenderer
This class renders a single part in DataResponse (ie.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
protected com.infoengine.object.factory.Element |
adjustAlternateElement(com.infoengine.object.factory.Element element,
String group,
WTPart part,
Collection targets)
Allow subclasses to fix the contents of an element. |
protected com.infoengine.object.factory.Element |
adjustPartElement(com.infoengine.object.factory.Element element,
String group,
WTPart part,
Eff[] effs,
Collection targets)
Allows subclasses to fix the contents of an I*E element. |
protected com.infoengine.object.factory.Element |
adjustPartElement(com.infoengine.object.factory.Element element,
String group,
WTPart part,
Eff eff,
Collection targets)
Allow subclasses to fix the contents of an element. |
protected void |
buildGroups()
Output generator for the class. |
protected String |
getAuth()
Gets the value of the attribute: auth; Authentication information to pass to Windchill Adapter when executing query webjects. |
com.infoengine.object.IeCollection |
getPart(String objectID,
boolean alternates,
boolean documents,
String auth,
String wcAdapter,
String transactionID)
GetPart RPC processor. |
void |
getPart(WTPart root,
Collection children,
boolean alternates,
boolean documents,
String auth,
String wcAdapter,
VdbBuilder builder)
GetPart RPC processor when called from GetBOM or getECN RPC. |
void |
getPart(WTPart root,
Collection children,
boolean alternates,
boolean documents,
String auth,
String wcAdapter,
VdbBuilder builder,
ESIBOMRenderer bomRenderer)
Specifically included for fixing the SPR #1094958 Another overloaded GetPart RPC processor when called from GetBOM or getECN RPC. |
protected Collection |
getParts()
Gets the value of the attribute: parts; The list of parts that are to be rendered. |
protected WTPart |
getRoot()
Gets the value of the attribute: root; The base part of a tree of product structures. |
protected String |
getTransactionID()
Gets the value of the attribute: transactionID; The idNumber attribute value of an ESITransaction that is to be associated with this renderer. |
protected String |
getWcAdapter()
Gets the value of the attribute: wcAdapter; The name of the Windchill Adapter where query object webjects are to execute. |
protected boolean |
isAlternatesRequired()
Gets the value of the attribute: alternatesRequired; Should the renderer obtain the alternates to the parts that are to be rendered? Supported API: true |
protected boolean |
isDocumentsRequired()
Gets the value of the attribute: documentsRequired; Should the renderer call the document renderer? Supported API: true |
protected void |
validate()
Make sure the object is ready to process. |
| 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 Collection getParts()
protected WTPart getRoot()
protected boolean isAlternatesRequired()
protected boolean isDocumentsRequired()
protected String getAuth()
protected String getWcAdapter()
protected String getTransactionID()
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 adjustPartElement(com.infoengine.object.factory.Element element,
String group,
WTPart part,
Eff eff,
Collection targets)
throws com.ptc.windchill.esi.rnd.ESIRendererException
element - group - part - eff - May be null.targets - Collection of ESITarget objects.
com.ptc.windchill.esi.rnd.ESIRendererException
protected com.infoengine.object.factory.Element adjustPartElement(com.infoengine.object.factory.Element element,
String group,
WTPart part,
Eff[] effs,
Collection targets)
throws com.ptc.windchill.esi.rnd.ESIRendererException
element - I*E Element whose contents need to be fixed.group - Name of the group in ESI response for which to adjust the I*E element.part - WTPart instance that is relevant to the operation.effs - Array of Effs containing the latest date, serial number and lot number effectivity values associated with the passed part.targets - Collection of ESITarget objects.
com.ptc.windchill.esi.rnd.ESIRendererException
protected com.infoengine.object.factory.Element adjustAlternateElement(com.infoengine.object.factory.Element element,
String group,
WTPart part,
Collection targets)
throws com.ptc.windchill.esi.rnd.ESIRendererException
element - group - part - targets - Collection of ESITarget objects.
com.ptc.windchill.esi.rnd.ESIRendererException
public com.infoengine.object.IeCollection getPart(String objectID,
boolean alternates,
boolean documents,
String auth,
String wcAdapter,
String transactionID)
throws WTException
objectID - The UFID of the part that is desired.alternates - true or false. If true, will return alternates parts for the part in question.documents - true or false. If true, will return the documents for the part in question. If alternates is true, will return the documents for the alternate parts.auth - This parameter contains authentication information from I*E.wcAdapter - This parameter contains the name of the Windchill adapter.transactionID - The TransactionID for this ObjectID.
WTException
public void getPart(WTPart root,
Collection children,
boolean alternates,
boolean documents,
String auth,
String wcAdapter,
VdbBuilder builder)
throws WTException
root - The primary part for the BOM. Needed if target assignments are implicit.children - A collection of WTParts that are to be released. These parts are presumed to not be the root.alternates - true or false. If true, will return alternates parts for the part in question.documents - true or false. If true, will return the documents for the part in question. If alternates is true, will return the documents for the alternate parts.auth - This parameter contains authentication information from I*EwcAdapter - This parameter contains the name of the Windchill adapter.builder -
WTException
public void getPart(WTPart root,
Collection children,
boolean alternates,
boolean documents,
String auth,
String wcAdapter,
VdbBuilder builder,
ESIBOMRenderer bomRenderer)
throws WTException
root - The primary part for the BOM. Needed if target assignments are implicit.children - A collection of WTParts that are to be released. These parts are presumed to not be the root.alternates - true or false. If true, will return alternates parts for the part in question.documents - true or false. If true, will return the documents for the part in question. If alternates is true, will return the documents for the alternate parts.auth - This parameter contains authentication information from I*EwcAdapter - This parameter contains the name of the Windchill adapter.builder - bomRenderer - ESIBOMRenderer
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||