Package com.ptc.windchill.esi.svc
Interface ESISvrService
- All Known Implementing Classes:
StandardESIService
public interface ESISvrService
Defines the non-client methods that are available on the ESI service.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionvoidadjustTargetAssignments(String ufids, com.infoengine.object.factory.Group targetInfo) Given a concatenated set of UFIDs (for WTParts) and a Collection of ESITarget UFIDs, make (or remove) any required assignments.getActivities(String ufid) Given the UFID of an ESITransaction, returns an array of all of the ReleaseActivities associated with that ESITransaction.com.infoengine.object.IeCollectiongetBOM(String objectID, boolean delta, boolean parts, boolean alternates, boolean substitutes, boolean referenceDesignators, boolean lineNumbers, String mulitLevel, boolean documents, String configSpec, String auth, String wcAdapter, String transactionID) getBOM RPC processor.com.infoengine.object.IeCollectiongetDocument(String objectID, ESITransaction txn, Collection<ESITarget> targets, String auth, String wcAdapter) Creates an ESIDocumentsRenderer instance from an ESIRendererFactory instance and invokes the getDocument() API on the renderer instance as appropriate.com.infoengine.object.IeCollectiongetECN(String objectID, boolean delta, boolean componentParts, boolean alternates, boolean substitutes, boolean referenceDesignators, boolean lineNumbers, String mulitLevel, boolean documents, boolean processPlanPart, boolean resource, boolean sequence, boolean standardProcedure, String suboperationDepth, boolean operatedOnPart, boolean bomPart, boolean workInstructions, String configSpec, String auth, String wcAdapter, String transactionID) getECN RPC processor.com.infoengine.object.IeCollectiongetEPMDocument(String objectID, ESITransaction txn, Collection<ESITarget> targets, Map<ESITarget, Map<String, Object>> paramMap, String auth, String wcAdapter) Processes a CAD Document structure and returns the rendered output as an Info*Engine collection to the caller.com.infoengine.object.factory.GroupgetHistory(String ufid, String groupOut) Returns a Group of mapped ReleaseActivity objects associated with the object identied by the argument.com.infoengine.object.IeCollectiongetOptionSet(String primaryObjId, ESITransaction txn, Collection<ESITarget> tgts, Map<ESITarget, Map<String, Object>> paramMap, String auth) Processes an option set and returns the rendered output as an Info*Engine collection to the caller.com.infoengine.object.IeCollectiongetPart(String objectID, boolean alternates, boolean documents, String auth, String wcAdapter, String transactionID) GetPart RPC processor.com.infoengine.object.IeCollectiongetProcessPlan(String objectID, boolean delta, boolean processPlanPart, boolean resource, boolean sequence, boolean standardProcedure, String suboperationDepth, boolean operatedOnPart, boolean bomPart, boolean componentParts, boolean alternates, boolean substitutes, boolean referenceDesignators, boolean lineNumber, String bomMultiLevel, boolean documents, boolean workInstructions, String configSpec, String auth, String wcAdapter, String transactionID) getProcessPlan RPC processor.com.infoengine.object.IeCollectiongetPromotionRequest(String primaryObjId, ESITransaction txn, Collection<ESITarget> tgts, String auth) Processes a promotion request and returns the rendered output as an Info*Engine collection to the caller.com.infoengine.object.factory.GroupgetReleaseActivities(String ufid) Returns an Info*Engine Group of mapped ESI ReleaseActivity objects given the ufid of an ESITransaction object.com.infoengine.object.factory.GroupReturn an Info*Engine Group of mapped ReleaseActivityMessage object given the ufid of a ReleaseActivity object.com.infoengine.object.factory.GroupgetTargetAssociations(String ufids, String groupName) Given a string of concatenated UFIDs, return the ESITarget objects that are associated with those objects.getTargets(WTCollection objects) Takes a WTCollection of persistables and returns a WTKeyedMap.com.infoengine.object.factory.GroupgetTargetsWithHistory(String ufid) Returns an Info*Engine Group of mapped ESITargetHistory objects.com.infoengine.object.factory.GroupgetTargetsWithHistory(Collection<Persistable> objects) Returns an Info*Engine Group of mapped ESITargetHistory objects.getTargetsWithHistory(Persistable object) Returns a Collection of ESITargetHistory objects.com.infoengine.object.factory.GroupReturns an Info*Engine Group of mapped ESITransactionMessage object given the ufid of an ESITransaction object.com.infoengine.object.factory.GroupgetTransactions(com.infoengine.object.factory.Group elements) Returns an Info*Engine Group of ESITransaction objects that are associated with the objects in the argument.com.infoengine.object.factory.GroupgetTransactions(com.infoengine.object.factory.Group elements, String searchCondition) Returns an Info*Engine Group of ESITransaction objects that are associated with the objects in the input Group and that satisfy the input search criteria.voidhideTransaction(String ufid) Hide an ESITransaction from the user interface.voidPostEvent RPC processor.voidpostResult(String objectID, String description, String txnID, boolean successful, boolean subtransaction, String targetSystem, String message, String timestamp, String action, String cls, String user) PostResult RPC processor.voidpostResult(Collection<HashMap<String, String>> results, String txnID, boolean isSubtransaction, String user) PostResult RPC processor.voidpostResultForPartiallySucceededParts(String transactionNumber, String pboid, String targetNumber, String Message) This method will set the release activity status to PARTIALLY SUCCEDDED for the given transaction and given target.voidrecordExport(String objectID, String targetSystem, String releaseClass) RecordExport RPC processor.
-
Method Details
-
postResult
void postResult(String objectID, String description, String txnID, boolean successful, boolean subtransaction, String targetSystem, String message, String timestamp, String action, String cls, String user) throws WTException PostResult RPC processor. Delegates all work to an instance of ESITransactionUtility. Note: As of 9.1, this method requires objectID parameter while providing the status for overall ESITransaction.
Supported API: true- Parameters:
objectID- The identifier of the object being tracked.description-txnID- The ID of an existing transaction.successful- Was the release a success?subtransaction- Is this a transaction line item?targetSystem- The name of the ESIOrganization where the object is being sentmessage- An optional messagetimestamp- The time when the activity was completed. Must be convertible to a java.sql.TimeStamp.action- "added", "updated",or "deleted"cls- The logical class of the object being tracked.user- The user who creates the transaction.- Throws:
WTException
-
postResult
void postResult(Collection<HashMap<String, String>> results, String txnID, boolean isSubtransaction, String user) throws WTExceptionPostResult RPC processor. Performs PostResult processing for all the objects in the input collection. Each HashMap object in the input collection holds the data corresponding to one object that is required for its PostResult processing. Delegates all work to the following API ofESITransactionUtility.postResult(Collection, String, boolean, String)
Supported API: true- Parameters:
results- - Collection of HashMaps. Each HashMap holds the data pertaining to a given object for which PostResult needs to be processed. The HashMap holds names and values of attributes such as "ObjectID", "ObjectDescription", "Class", "TargetID" etc.txnID- - The transaction number for which PostResult needs to be processed.isSubtransaction- - A true indicates that PostResult is invoked for the sub-transactions and input collection holds post result data for sub-transactions only. A false indicates that PostResult is invoked for Overall transaction.user- - The user who creates the transaction.- Throws:
WTException- Any exception that occurs during PostResult processing.
-
postResultForPartiallySucceededParts
void postResultForPartiallySucceededParts(String transactionNumber, String pboid, String targetNumber, String Message) throws WTException This method will set the release activity status to PARTIALLY SUCCEDDED for the given transaction and given target. Delegates all work to the following API of ESIReleaseUtility postResultForPartiallySucceddedParts (String transactionNumber, String pboid, String targetNumber, String message)
Supported API: true- Parameters:
transactionNumber- - Transaction numberpboid- - Primary business object id of the release objecttargetNumber- - ESITarget number for which the Partially Succeeded release activity has to be setMessage- - Message string informing the user about the reason for setting the partially succeeded status- Throws:
WTException
-
postEvent
void postEvent(String objectID, String transaction, boolean successful, String message) throws WTException PostEvent RPC processor. Delegates all work to an instance of ESITransactionUtility. Note: As of X-12/R9.1, this method uses objectID parameter to find the ESITransaction for which postEvent needed.
Supported API: true- Parameters:
objectID- The id of the object whose event is being observed by Windchill event services.transaction- the number of the transaction this event is related to.successful- Was this transaction a successmessage- a message that will be conveyed to the workflow which is waiting for this event.- Throws:
WTException
-
getPart
com.infoengine.object.IeCollection getPart(String objectID, boolean alternates, boolean documents, String auth, String wcAdapter, String transactionID) throws WTException GetPart RPC processor. Defers all work to an instance of ESIPartUtility.
Supported API: true- Parameters:
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.- Returns:
- IeCollection
- Throws:
WTException
-
getBOM
com.infoengine.object.IeCollection getBOM(String objectID, boolean delta, boolean parts, boolean alternates, boolean substitutes, boolean referenceDesignators, boolean lineNumbers, String mulitLevel, boolean documents, String configSpec, String auth, String wcAdapter, String transactionID) throws WTException getBOM RPC processor. Delegates all work to an instance of BOMUtility.
Supported API: true- Parameters:
objectID- UFID for a WTPart.delta- If "true", returns only the changes since the last successful export. Default is "true".parts- If "true", returns all related parts info regardless the type of part. Default is "false".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.- Returns:
- IeCollection
- Throws:
WTException
-
getECN
com.infoengine.object.IeCollection getECN(String objectID, boolean delta, boolean componentParts, boolean alternates, boolean substitutes, boolean referenceDesignators, boolean lineNumbers, String mulitLevel, boolean documents, boolean processPlanPart, boolean resource, boolean sequence, boolean standardProcedure, String suboperationDepth, boolean operatedOnPart, boolean bomPart, boolean workInstructions, String configSpec, String auth, String wcAdapter, String transactionID) throws WTException getECN RPC processor. Obtains a VdbBuilder from the VdbBuilder factory. Obtains a ChangeOrder2Renderer from the ChangeOrderRenderer factory. Provides the necessary data to the renderer from the arguments to this method. Invokes the render() method on the renderer. Returns the result of VdbBuilder asVDB().
Supported API: true- Parameters:
objectID- The UFID of a WTChangeOrder2.delta- If true, return only the objects that have changed since the last release of the changeables on the ECN.componentParts- if true, invoke getPart for each BOM component.alternates- If true, return the alternate parts for BOMs, parts and component parts.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".processPlanPart- If true, return the parts for ProcessPlan.resource- If true, return the resource for ProcessPlansequence- If true, return the sequences associated with the ProcessPlanstandardProcedure- Indicates whether the assocaited Standard Procedures need to be rendered.suboperationDepth- The number of levels of Operation, default is 1.operatedOnPart- If true, return the Operated On Part of OperationsbomPart- If true, return the BOM allocated parts of OperationsworkInstructions- If true, return the work instructions, default is "false".configSpec- The Config Spec. value to use when navigating BOMs. 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 for this ObjectID.- Returns:
- IeCollection
- Throws:
WTException
-
getProcessPlan
com.infoengine.object.IeCollection getProcessPlan(String objectID, boolean delta, boolean processPlanPart, boolean resource, boolean sequence, boolean standardProcedure, String suboperationDepth, boolean operatedOnPart, boolean bomPart, boolean componentParts, boolean alternates, boolean substitutes, boolean referenceDesignators, boolean lineNumber, String bomMultiLevel, boolean documents, boolean workInstructions, String configSpec, String auth, String wcAdapter, String transactionID) throws WTException getProcessPlan RPC processor. Delegates all work to ESIProcessPlanRenderer.
Supported API: true- Parameters:
objectID- UFID for a MPMProcessPlandelta- If "true", returns only the changes since the last successful export. Default is "true".processPlanPart- If true, return the parts for ProcessPlan.resource- If true, return the resource for ProcessPlansequence- If true, return the sequences associated with the ProcessPlanstandardProcedure- Indicates whether the assocaited Standard Procedures need to be rendered.suboperationDepth- The number of levels of Operation, default is 1.operatedOnPart- If true, return the Operated On Part of OperationsbomPart- If true, return the BOM allocated parts of OperationscomponentParts-alternates-substitutes-referenceDesignators-lineNumber-bomMultiLevel-documents-workInstructions- If true, return the work instructions, default is "false".configSpec-auth-wcAdapter-transactionID-- Returns:
- IeCollection
- Throws:
WTException
-
adjustTargetAssignments
void adjustTargetAssignments(String ufids, com.infoengine.object.factory.Group targetInfo) throws WTException Given a concatenated set of UFIDs (for WTParts) and a Collection of ESITarget UFIDs, make (or remove) any required assignments.- The ufids argument contains a set of UFIDs which define the parts to operate on.
- The targetInfo argument is an Group. Each element in the group has Atts that:
- define the ufid of an ESITarget
- define the operation to perfom on the parts. If the operation is add, then all parts that do not have the target assigned are given the assignment. If the operation is remove, then all existing assignments for that target to any of the existing parts are removed.
Delegates all action to ESITransactionUtility.adjustTargetAssignments(String ufids, Group targetInfo)
Supported API: true- Parameters:
ufids- A concatenated list of UFIDs of the objects to operate on.targetInfo- A collection of Info*Engine elements containing the UFIDs of the ESITargets to assign/remove and the operation to perform.- Throws:
WTException
-
getTargetAssociations
com.infoengine.object.factory.Group getTargetAssociations(String ufids, String groupName) throws WTException Given a string of concatenated UFIDs, return the ESITarget objects that are associated with those objects. If the ESITarget is assigned to all of the objects identified by a UFID, indicate that it is a full assignment. Otherwise, indicate that the value is partial.
Delegates all work to ESITargetUtility.getTargetAssociations(String ufids, String groupName).
Supported API: true- Parameters:
ufids- A concatenated list of UFIDs.groupName- The name of the Info*Engine group to return.- Returns:
- Group
- Throws:
WTException
-
getTargetsWithHistory
com.infoengine.object.factory.Group getTargetsWithHistory(Collection<Persistable> objects) throws WTException Returns an Info*Engine Group of mapped ESITargetHistory objects. The ESITargetHistory objects contain the following:- The target attribute of the will be one of the available targets.
- The persistableObject will be one of the objects in the argument to this method.
- If the persistable object has been exported to the target, the releaseAttribute will contain the appropriate ReleaseActivity.
The result is serialized by the ESI mapping routines to a group of Info*Engine Element objects.
All of the work is done by the ESITransactionUtility, which is called by this method.
Supported API: true- Parameters:
objects- The collection of objects of interest.- Returns:
- Group
- Throws:
WTException
-
getTargetsWithHistory
Returns an Info*Engine Group of mapped ESITargetHistory objects. The ESITargetHistory objects contain the following:- The target attribute of the will be one of the available targets.
- The persistableObject will be one of the objects in the argument to this method.
- If the persistable object has been exported to the target, the releaseAttribute will contain the appropriate ReleaseActivity.
The result is serialized by the ESI mapping routines to a group of Info*Engine Element objects.
All of the work is done by the ESITransactionUtility, which is called by this method.
Supported API: true- Parameters:
ufid- The universal federation ID of the part to obtain.- Returns:
- Group
- Throws:
WTException
-
getTargetsWithHistory
Returns a Collection of ESITargetHistory objects. The ESITargetHistory objects contain the following:- The target attribute of the will be one of the available targets.
- The persistableObject will be one of the objects in the argument to this method.
- If the persistable object has been exported to the target, the releaseAttribute will contain the appropriate ReleaseActivity.
The result is serialized by the ESI mapping routines to a group of Info*Engine Element objects.
All of the work is done by the ESITransactionUtility, which is called by this method.
Supported API: true- Parameters:
object- The Persistable whose target assignments are to be queried.- Returns:
- Collection
- Throws:
WTException
-
getTargets
Takes a WTCollection of persistables and returns a WTKeyedMap. The return map keyset is the input collection and the values are a WTCollection of ESITarget objects.
All of the work is done by the ESITransactionUtility, which is called by this method. Note that if no ESITarget objects are found for an input it will not be in the return map.
Supported API: true- Parameters:
objects- The Persistable whose target assignments are to be queried.- Returns:
- WTKeyedMap
- Throws:
WTException
-
getHistory
Returns a Group of mapped ReleaseActivity objects associated with the object identied by the argument. This is the functional equivalent of getTargetsWithHistory() for objects that do not have ESITargetAssignmentLinks, but that do have ReleaseActivity associations. The method does the following:- Obtains an instance of ESIObjectHistoryRenderer and an instance of ESIObjectHistoryBuilder from the ESIObjectHistoryRendererFactory
- Invokes the render() method on the renderer
- Returns the result of builder.getResult()
Supported API: true- Parameters:
ufid- The UFID of the object whose release activities are to be mapped.groupOut- The name of the Info*Engine group to create when generating output.- Returns:
- Group
- Throws:
WTException
-
getActivities
Given the UFID of an ESITransaction, returns an array of all of the ReleaseActivities associated with that ESITransaction. Delegates implementation to ESITransactionUtility.
Supported API: true- Parameters:
ufid- The UFID of the Transaction of interest.- Returns:
- ReleaseActivity[]
- Throws:
WTException
-
hideTransaction
Hide an ESITransaction from the user interface.
Supported API: true- Parameters:
ufid- The UFID of the transaction to hide.- Throws:
WTException
-
recordExport
RecordExport RPC processor. This method identifies an object as published to an ESITarget.- Obtains the persistable object from from an instance of TaskHelper using the objectID argument.
- Obtains the target from an instance of ESITargetUtility from the targetSystem.
- Passes the target, the persistable object, and the releaseClass argument to an instance of ESITransactionUtility.
Supported API: true- Parameters:
objectID- The UFID of the object to record the export for.targetSystem- The system attribute value for the ESITarget where the object was sent.releaseClass- The type of release activity.- Throws:
WTException
-
getReleaseActivities
Returns an Info*Engine Group of mapped ESI ReleaseActivity objects given the ufid of an ESITransaction object.
Supported API: true- Parameters:
ufid- The universal federation ID of the ESITransaction object.- Returns:
- Group
- Throws:
WTException
-
getTransactions
com.infoengine.object.factory.Group getTransactions(com.infoengine.object.factory.Group elements) throws WTException Returns an Info*Engine Group of ESITransaction objects that are associated with the objects in the argument. The argument is an Info*Engine Group containing Elements that have been created by (or resemble the output of) a Query-Objects webject.
Supported API: true- Parameters:
elements- An Info*Engine Group containing Elements that have been create by (or resemble the output of) a Query-Objects webject.- Returns:
- Group
- Throws:
WTException
-
getTransactions
com.infoengine.object.factory.Group getTransactions(com.infoengine.object.factory.Group elements, String searchCondition) throws WTException Returns an Info*Engine Group of ESITransaction objects that are associated with the objects in the input Group and that satisfy the input search criteria.
Supported API: true- Parameters:
elements- An Info*Engine Group containing Elements that have been created by (or resemble the output of) a Query-Objects webject.searchCondition- Input search criteria specifying the start date, completed on date etc. for the output ESITransactions.- Returns:
- Group of ESITransaction objects.
- Throws:
WTException
-
getReleaseActivitiesMessage
Return an Info*Engine Group of mapped ReleaseActivityMessage object given the ufid of a ReleaseActivity object.
Supported API: true- Parameters:
ufid- The universal federation ID of the ReleaseActivity object.- Returns:
- Group
- Throws:
WTException
-
getTransactionLogMessage
Returns an Info*Engine Group of mapped ESITransactionMessage object given the ufid of an ESITransaction object.
Supported API: true- Parameters:
ufid- The universal federation ID of the ESITransaction object.- Returns:
- Group
- Throws:
WTException
-
getEPMDocument
com.infoengine.object.IeCollection getEPMDocument(String objectID, ESITransaction txn, Collection<ESITarget> targets, Map<ESITarget, Map<String, throws WTExceptionObject>> paramMap, String auth, String wcAdapter) Processes a CAD Document structure and returns the rendered output as an Info*Engine collection to the caller.
Supported API: true- Parameters:
objectID- - UFID of the header of the CAD Document structure to be rendered.txn- - ESITransaction object that represents the delivery of data to the distribution targets in targets; can be null.targets- - Collection of distribution targets that represent a given destination, such as an ERP instance.paramMap- - Map holding ESITarget objects as keys and Maps as values; each value Map holds the names of certain parameters (that are used for navigating the CAD document structure and for generating the ESI response) and their values. If a certain parameter is not found in the value Map, its value is fetched from the corresponding target.- The value Map holds the following parameter names as keys:
- ESIEPMDocument_DeltaFlag - Specifies whether or not incremental changes to the CAD document structure need to be calculated; can take a value "true" or "false".
- ESIEPMDocument_MultiLevelFlag - The number of levels in the CAD document structure to be rendered.
- ESIEPMDocument_ContentSelection - The type of the content to be rendered. Valid values are denoted by the constants ESIConst.EPMDOC_ALLCONTENT, ESIConst.EPMDOC_CADCONTENT, ESIConst.EPMDOC_REPRESENTATIONS.
- ESIEPMDocument_RepresentationCollectionFilter - Filter to be applied on representations. Any string is a valid value.
- ESIEPMDocument_SavedFilter - Navigation criteria to be applied on the CAD structure.
- ESIEPMDocument_UseDefaultRepresentations - Specifies whether or not to fetch only default representations.
- The value Map holds the following parameter names as keys:
auth- - Authentication information required for executing certain Windchill adapter webjects as part of the rendering process.wcAdapter- - Name of the Windchill adapter instance.- Returns:
- IeCollection The Info*Engine collection that holds the ESI response.
- Throws:
WTException- if any of the invoked methods throws this exception.
-
getDocument
com.infoengine.object.IeCollection getDocument(String objectID, ESITransaction txn, Collection<ESITarget> targets, String auth, String wcAdapter) throws WTException Creates an ESIDocumentsRenderer instance from an ESIRendererFactory instance and invokes the getDocument() API on the renderer instance as appropriate. Returns the rendered output as an Info*Engine collection to the caller. The method caters to both CAD documents (associated to non-DP distribution targets), and WTDocuments.
Supported API: true- Parameters:
objectID- - UFID of the document to be rendered.txn- - ESITransaction object that represents the delivery of data to the distribution targets in targets; will be null when the method is invoked for the Preview functionality.targets- - Collection of distribution targets that represent a given destination, such as an ERP instance.auth- - Authentication information required for executing certain Windchill adapter webjects as part of the rendering process.wcAdapter- - Name of the Windchill adapter instance.- Returns:
- IeCollection The Info*Engine collection that holds the ESI response.
- Throws:
WTException- if any of the invoked methods throws this exception.
-
getPromotionRequest
com.infoengine.object.IeCollection getPromotionRequest(String primaryObjId, ESITransaction txn, Collection<ESITarget> tgts, String auth) throws WTException Processes a promotion request and returns the rendered output as an Info*Engine collection to the caller.
Supported API: true- Parameters:
primaryObjId- - UFID of the promotion request.txn- - ESITransaction object that represents the delivery of data to the distribution targets in tgts;tgts- - Collection of distribution targets that represent a given destination, such as an ERP instance.auth- - This parameter contains authentication information required for executing certain Windchill adapter webjects as part of the rendering process.- Returns:
- The Info*Engine collection that holds the ESI response.
- Throws:
WTException
-
getOptionSet
com.infoengine.object.IeCollection getOptionSet(String primaryObjId, ESITransaction txn, Collection<ESITarget> tgts, Map<ESITarget, Map<String, throws WTExceptionObject>> paramMap, String auth) Processes an option set and returns the rendered output as an Info*Engine collection to the caller.
Supported API: true- Parameters:
primaryObjId- - UFID of the option set.txn- - ESITransaction object that represents the delivery of data to the distribution targets in tgts;tgts- - Collection of distribution targets that represent a given destination, such as an ERP instance.paramMap- - Map holding ESITarget objects as keys and Maps as values; Currently this is not being used by Out-Of-box code.auth- - This parameter contains authentication information required for executing certain Windchill adapter webjects as part of the rendering process.- Returns:
- The Info*Engine collection that holds the ESI response.
- Throws:
WTException
-