|
|||||||||
| 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.bom.ESIBOMRenderer
public class ESIBOMRenderer
This class renders the output of BOM which includes header, components,
substitutes and reference designators.
Supported API: true
Extendable: false
| Nested Class Summary | |
|---|---|
protected class |
com.ptc.windchill.esi.bom.ESIBOMRenderer.BomDiffResult
|
protected class |
com.ptc.windchill.esi.bom.ESIBOMRenderer.PreviousExportedIterationKey
|
| Method Summary | |
|---|---|
protected void |
buildGroups()
Builds the renderer output. |
protected String |
getAdapterName()
Gets the value of the attribute: adapterName; The name of the Windchill Adapter to use when obtaining information from Windchill. |
protected String |
getAuthentication()
Gets the value of the attribute: authentication; Authentication information to use when using the Windchill Adapter for obtaining information. |
com.infoengine.object.IeCollection |
getBOM(String objectID,
boolean delta,
boolean bomPart,
boolean componentParts,
boolean alternates,
boolean substitutes,
boolean referenceDesignators,
boolean lineNumbers,
String mulitLevel,
boolean documents,
String configSpec,
String auth,
String wcAdapter,
String transactionID)
getBOM RPC processor. |
void |
getBOM(WTPart part,
boolean delta,
boolean bomPart,
boolean componentParts,
boolean alternates,
boolean substitutes,
boolean referenceDesignators,
boolean lineNumbers,
String mulitLevel,
boolean documents,
String configSpec,
String auth,
String wcAdapter,
VdbBuilder builder)
RPC processor when called from getECN RPC. |
protected String |
getConfigspec()
Gets the value of the attribute: configspec; The Config Spec. |
protected int |
getMultilevel()
Gets the value of the attribute: multilevel; How many levels are we to traverse when extracting multi-level BOMs? Supported API: true |
protected String |
getObid()
Gets the value of the attribute: obid; The UFID of the Windchill assembly part to be rendered. |
protected Integer |
getTransactionID()
Gets the value of the attribute: transactionID; The number of an ESI transaction. |
protected boolean |
isAlternates()
Gets the value of the attribute: alternates; If parts = true, should the output also include the alternates of the parts? Supported API: true |
protected boolean |
isBomPart()
Gets the value of the attribute: bomPart; Should a part be created for the BOM? Supported API: true |
protected boolean |
isComponentParts()
Gets the value of the attribute: componentParts; Should parts be created for the BOM's components? Supported API: true |
protected boolean |
isDelta()
Gets the value of the attribute: delta; Should the output contain only items that have changed since the last time an object was released? Supported API: true |
protected boolean |
isDocuments()
Gets the value of the attribute: documents; Are documents to be included in the output? Supported API: true |
protected boolean |
isLineNumbers()
Gets the value of the attribute: lineNumbers; Are line numbers to be included in the output? Supported API: true |
protected boolean |
isReferenceDesignators()
Gets the value of the attribute: referenceDesignators; Are reference designators to be included in the output? Supported API: true |
protected boolean |
isSubstitutes()
Gets the value of the attribute: substitutes; Are substitutes to be included in the output? Supported API: true |
void |
setConfigspec(String a_Configspec)
Sets the value of the attribute: configspec; The Config Spec. |
void |
setData(String obid,
boolean provideDelta,
boolean buildBOMPart,
boolean buildComponentParts,
boolean buildAlternates,
boolean buildSubs,
boolean buildRefDes,
boolean useLineNumbers,
String multiLevel,
boolean buildDocs,
String configSpec,
String auth,
String wcAdapter,
String transactionID)
Provide the data required to render a BOM. |
void |
setDocuments(boolean a_Documents)
Sets the value of the attribute: documents; Are documents to be included in the output? Supported API: true |
protected void |
validate()
Make sure that obid is not 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 String getObid()
protected boolean isDelta()
protected boolean isBomPart()
protected boolean isComponentParts()
protected boolean isAlternates()
protected boolean isSubstitutes()
protected boolean isReferenceDesignators()
protected boolean isLineNumbers()
protected int getMultilevel()
protected boolean isDocuments()
public void setDocuments(boolean a_Documents)
throws WTPropertyVetoException
a_Documents -
WTPropertyVetoExceptionprotected String getConfigspec()
public void setConfigspec(String a_Configspec)
throws WTPropertyVetoException
a_Configspec -
WTPropertyVetoExceptionprotected String getAuthentication()
protected String getAdapterName()
protected Integer getTransactionID()
public void setData(String obid,
boolean provideDelta,
boolean buildBOMPart,
boolean buildComponentParts,
boolean buildAlternates,
boolean buildSubs,
boolean buildRefDes,
boolean useLineNumbers,
String multiLevel,
boolean buildDocs,
String configSpec,
String auth,
String wcAdapter,
String transactionID)
throws WTException
obid - The UFID of the Windchill assembly part to be rendered.provideDelta - Should the output contain only items that have changed since the last time an object was released?buildBOMPart - Should a part be created for the BOM?buildComponentParts - Should parts be created for the BOM's components?buildAlternates - If buildParts = true, should the output also include the alternates of the parts?buildSubs - Are substitutes to be included in the output?buildRefDes - Are reference designators to be included in the output?useLineNumbers - Are line numbers to be included in the output?multiLevel - How many levels are we to traverse when extracting multi-level BOMs?buildDocs - Are documents to be included in the output?configSpec - The Config Spec. value to use when navigating the BOM. See the Query-Tree Webject documentation for acceptable and default values.auth - Authentication information to use when using the Windchill Adapter for obtaining information.wcAdapter - The name of the Windchill Adapter to use when obtaining information from Windchill.transactionID - The number of an ESI transaction.
WTException
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
public com.infoengine.object.IeCollection getBOM(String objectID,
boolean delta,
boolean bomPart,
boolean componentParts,
boolean alternates,
boolean substitutes,
boolean referenceDesignators,
boolean lineNumbers,
String mulitLevel,
boolean documents,
String configSpec,
String auth,
String wcAdapter,
String transactionID)
throws WTException
objectID - UFID for a WTPart.delta - If "true", returns only the changes since the last successful export. Default is "true".bomPart - Should a part be created for the BOM?componentParts - Should parts be created for the BOM's components?alternates - If "true", returns alternate part info, default is "false". Only operative if "Parts" = "true".substitutes - If "true", returns substitute datareferenceDesignators - If "true", returns Reference Designator data.lineNumbers - If "true", returns line numbers info, no line numbers info otherwise.mulitLevel - The number of levels of BOM, default is 1.documents - If "true", returns associated documents info, default is "false".Only operative if "Parts" = "true".configSpec - The Config Spec. value to use when navigating the BOM. See the Query-Tree Webject documentation for acceptable and default values.auth - This parameter contains authentication information from I*E.wcAdapter - This parameter contains the name of the Windchill adapter.transactionID - The TransactionID of the ESITransaction that is related to this RPC request.
WTException
public void getBOM(WTPart part,
boolean delta,
boolean bomPart,
boolean componentParts,
boolean alternates,
boolean substitutes,
boolean referenceDesignators,
boolean lineNumbers,
String mulitLevel,
boolean documents,
String configSpec,
String auth,
String wcAdapter,
VdbBuilder builder)
throws WTException
part - The assembly part for the top-level BOM.delta - If "true", returns only the changes since the last successful export. Default is "true".bomPart - Should a part be created for the BOM?componentParts - Should parts be created for the BOM's components?alternates - If "true", returns alternate part info, default is "false". Only operative if "Parts" = "true".substitutes - If "true", returns substitute datareferenceDesignators - If "true", returns Reference Designator data.lineNumbers - If "true", returns line numbers info, no line numbers info otherwise.mulitLevel - The number of levels of BOM, default is 1.documents - If "true", returns associated documents info, default is "false".Only operative if "Parts" = "true".configSpec - The Config Spec. value to use when navigating the BOM. See the Query-Tree Webject documentation for acceptable and default values.auth - This parameter contains authentication information from I*E.wcAdapter - This parameter contains the name of the Windchill adapter.builder - The VdbBuilder to use when creating output.
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||