|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.windchill.esi.bom.BOMUtility
public final class BOMUtility
A convenient class to set or retrieve BOM info from Windchill back end
for ESI's need.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
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. |
Collection |
getBOMUfids(String baseUFID,
int depth)
Returns a list of multilevel BOM UFIDs. |
boolean |
isBom(WTPart part)
Returns true if the given part has any children (connected to a WTPartMaster
via a
WTPartUsageLink) or was ever released by ESI to any target
as a BOM. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Collection getBOMUfids(String baseUFID,
int depth)
throws com.ptc.windchill.esi.utl.ESIException
depth is 1,
returns the root part UFID.
baseUFID - The UFID of root object.depth - the level of BOM , default is 1 ( i.e. returns root bom itself ).
com.ptc.windchill.esi.utl.ESIException
public final 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 final 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
public final boolean isBom(WTPart part)
throws WTException
WTPartMaster
via a
WTPartUsageLink) or was ever released by ESI to any target
as a BOM. Otherwise returns false
part - The WTPart to be evaluated.
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||