|
|||||||||||
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.ecn.ESIChangeOrder2Renderer
Manages the generation of an ECN. This is the default implementation
of ChangeOrder2Renderer.
Supported API: true
Extendable: true
Field Summary | |
private boolean |
alternates
|
private String |
auth
|
private BOMUtility |
bomUtility
|
private static String |
CLASSNAME
|
private boolean |
componentParts
|
private String |
configSpec
|
private boolean |
delta
|
private boolean |
documents
|
private boolean |
lineNumbers
|
private String |
multiLevel
|
private String |
objectID
|
private ESIChangeOrgFinder |
orgFinder
|
private ESIPartUtility |
partUtility
|
private boolean |
referenceDesignators
|
private static String |
RESOURCE
|
private boolean |
substitutes
|
private String |
transactionID
|
private ESITransactionUtility |
txnUtility
|
private String |
wcAdapter
|
Fields inherited from class com.ptc.windchill.esi.rnd.ResponseRendererImpl |
XML_META_NAME |
Constructor Summary | |
ESIChangeOrder2Renderer()
|
Method Summary | |
protected void |
buildDetail(Collection parts)
|
protected void |
buildGroups()
Calls ESIChangeHeaderRenderer to create the ECN header group. |
protected void |
buildHeader(WTChangeOrder2 changeOrder,
Collection targets)
|
protected String |
getAuth()
Gets the value of the attribute: auth; Authentication information for Info*Engine tasks. |
protected static Collection |
getChangeableParts(WTChangeOrder2 changeOrder)
|
protected static WTChangeOrder2 |
getChangeOrderByUfid(String ufid)
|
protected String |
getConfigSpec()
Gets the value of the attribute: configSpec; The Config Spec. |
protected String |
getMultiLevel()
Gets the value of the attribute: multiLevel; The number of levels of BOM. |
protected String |
getObjectID()
Gets the value of the attribute: objectID; The UFID of a WTChangeOrder 2. |
protected String |
getTransactionID()
Gets the value of the attribute: transactionID; The number of the transaction to associate with the output from renderer. |
protected String |
getWcAdapter()
Gets the value of the attribute: wcAdapter; The name of the Windchill adapter. |
protected boolean |
isAlternates()
Gets the value of the attribute: alternates; When parts are exported, should the alternates of the parts (if any are defined) be exported? Supported API: true |
protected boolean |
isComponentParts()
Gets the value of the attribute: componentParts; When BOMs are exported, should parts be created for BOM components? Supported API: true |
protected boolean |
isDelta()
Gets the value of the attribute: delta; Should RPC responses contain only information that has changed since the last time objects were released? Supported API: true |
protected boolean |
isDocuments()
Gets the value of the attribute: documents; If "true", returns associated documents info, default is "false". |
protected boolean |
isLineNumbers()
Gets the value of the attribute: lineNumbers; If "true", returns line numbers info, otherwise no line numbers info is returned. |
protected static boolean |
isNullString(String s)
|
protected boolean |
isReferenceDesignators()
Gets the value of the attribute: referenceDesignators; If "true", returns Reference Designator data. |
protected boolean |
isSubstitutes()
Gets the value of the attribute: substitutes; If "true", returns substitute data. |
void |
setData(String objectID,
boolean delta,
boolean componentParts,
boolean alternates,
boolean substitutes,
boolean referenceDesignators,
boolean lineNumbers,
String mulitLevel,
boolean documents,
String configSpec,
String auth,
String wcAdapter,
String transactionID)
Provide the data required for the renderer to operate properly. |
protected void |
validate()
Makes sure that WTChangeOrder2 is in proper state for release to ERP. |
Methods inherited from class com.ptc.windchill.esi.rnd.ResponseRendererImpl |
adjustEffectivities, adjustObjectID, adjustTargets, buildUfidString, getAttsFromMapFile, getBuilder, getEffectivityHandler, getGroupInfo, getMap, getMapInfo, getTargetsFromAssns, invokeQueryTask, logException, mapElement, mapObject, render, setBuilder, setEffectivityHandler |
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 |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private String objectID
private boolean delta
private boolean componentParts
private boolean alternates
private boolean substitutes
private boolean referenceDesignators
private boolean lineNumbers
private String multiLevel
private boolean documents
private String configSpec
private String auth
private String wcAdapter
private String transactionID
private ESIChangeOrgFinder orgFinder
private ESITransactionUtility txnUtility
private ESIPartUtility partUtility
private BOMUtility bomUtility
Constructor Detail |
public ESIChangeOrder2Renderer()
Method Detail |
protected String getObjectID()
protected boolean isDelta()
protected boolean isComponentParts()
protected boolean isAlternates()
protected boolean isSubstitutes()
protected boolean isReferenceDesignators()
protected boolean isLineNumbers()
protected String getMultiLevel()
protected boolean isDocuments()
protected String getConfigSpec()
protected String getAuth()
protected String getWcAdapter()
protected String getTransactionID()
protected void validate() throws ESIRendererException
validate
in class ResponseRendererImpl
ESIRendererException
protected void buildGroups() throws ESIRendererException
buildGroups
in class ResponseRendererImpl
ESIRendererException
public void setData(String objectID, boolean delta, boolean componentParts, boolean alternates, boolean substitutes, boolean referenceDesignators, boolean lineNumbers, String mulitLevel, boolean documents, String configSpec, String auth, String wcAdapter, String transactionID) throws ESIRendererException
setData
in interface ChangeOrder2Renderer
objectID
- The UFID of a WTChangeOrder 2.delta
- Should RPC responses contain only information that has changed since the last time objects were released?componentParts
- When BOMs are exported, should parts be created for BOM components?alternates
- When parts are exported, should the alternates of the parts (if any are defined) be exported?substitutes
- If "true", returns substitute data.referenceDesignators
- If "true", returns Reference Designator data.lineNumbers
- If "true", returns line numbers info, otherwise no line numbers info is returned.mulitLevel
- The number of levels of BOM.documents
- If "true", returns associated documents info, default is "false". Only operative if "Parts" = "true".configSpec
- The Config Spec. value to use when navigating BOMs. See the Query-Tree Webject documentation for acceptable and default values.auth
- Authentication information for Info*Engine tasks.wcAdapter
- The name of the Windchill adapter.transactionID
- The number of the transaction to associate with the output from renderer.
ESIRendererException
protected void buildHeader(WTChangeOrder2 changeOrder, Collection targets) throws WTException
WTException
protected void buildDetail(Collection parts) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
protected static boolean isNullString(String s)
protected static WTChangeOrder2 getChangeOrderByUfid(String ufid) throws WTException
WTException
protected static Collection getChangeableParts(WTChangeOrder2 changeOrder) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |