|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the non-client methods that are available on the ESI service.
Supported API: true
Extendable: false
Method Summary | |
void |
adjustTargetAssignments(String ufids,
Group targetInfo)
Given a concatenated set of UFIDs (for WTParts) and a Collection of ESITarget UFIDs, make (or remove) any required assignments. |
ReleaseActivity[] |
getActivities(String ufid)
Given the UFID of an ESITransaction, returns an array of all of the ReleaseActivities associated with that ESITransaction. |
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)
getBOM RPC processor. |
IeCollection |
getECN(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)
getECN RPC processor. |
Group |
getHistory(String ufid,
String groupOut)
Returns a Group of mapped ReleaseActivity objects associated with the object identied by the argument. |
IeCollection |
getPart(String objectID,
boolean alternates,
boolean documents,
String auth,
String wcAdapter,
String transactionID)
GetPart RPC processor. |
Group |
getReleaseActivities(String ufid)
Returns an Info*Engine Group of mapped ESI ReleaseActivity objects given the ufid of an ESITransaction object. |
Group |
getReleaseActivitiesMessage(String ufid)
Return an Info*Engine Group of mapped ReleaseActivityMessage object given the ufid of a ReleaseActivity object. |
Group |
getTargetAssociations(String ufids,
String groupName)
Given a string of concatenated UFIDs, return the ESITarget objects that are associated with those objects. |
WTKeyedMap |
getTargets(WTCollection objects)
Takes a WTCollection of persistables and returns a WTKeyedMap. |
Group |
getTargetsWithHistory(Collection objects)
Returns an Info*Engine Group of mapped ESITargetHistory objects. |
Collection |
getTargetsWithHistory(Persistable object)
Returns a Collection of ESITargetHistory objects. |
Group |
getTargetsWithHistory(String ufid)
Returns an Info*Engine Group of mapped ESITargetHistory objects. |
Group |
getTransactionLogMessage(String ufid)
Returns an Info*Engine Group of mapped ESITransactionMessage object given the ufid of an ESITransaction object. |
Group |
getTransactions(Group elements)
Returns an Info*Engine Group of ESITransaction objects that are associated with the objects in the argument. |
void |
hideTransaction(String ufid)
Hide an ESITransaction from the user interface. |
ESITargetAssociation |
latestExport(Persistable object,
ESITarget target)
Find the highest revision of an object that has been exported to an ESI target. |
void |
postEvent(String objectID,
String transaction,
boolean successful,
String message)
PostEvent RPC processor. |
void |
postResult(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. |
void |
recordExport(String objectID,
String targetSystem,
String releaseClass)
RecordExport RPC processor. |
Method Detail |
public 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
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.
WTException
public ESITargetAssociation latestExport(Persistable object, ESITarget target) throws WTException
object
- The persistable whose release history is being interrogated.target
- The ESITarget of interest.
WTException
public void postEvent(String objectID, String transaction, boolean successful, String message) throws WTException
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.
WTException
public 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 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
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.
WTException
public IeCollection getECN(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 WTException
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".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.
WTException
public void adjustTargetAssignments(String ufids, Group targetInfo) throws WTException
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.
WTException
public Group getTargetAssociations(String ufids, String groupName) throws WTException
ufids
- A concatenated list of UFIDs.groupName
- The name of the Info*Engine group to return.
WTException
public Group getTargetsWithHistory(Collection objects) throws WTException
objects
- The collection of objects of interest.
WTException
public Group getTargetsWithHistory(String ufid) throws WTException
ufid
- The universal federation ID of the part to obtain.
WTException
public Collection getTargetsWithHistory(Persistable object) throws WTException
object
- The Persistable whose target assignments are to be queried.
WTException
public WTKeyedMap getTargets(WTCollection objects) throws WTException
objects
- The Persistable whose target assignments are to be queried.
WTException
public Group getHistory(String ufid, String groupOut) throws WTException
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.
WTException
public ReleaseActivity[] getActivities(String ufid) throws WTException
ufid
- The UFID of the Transaction of interest.
WTException
public void hideTransaction(String ufid) throws WTException
ufid
- The UFID of the transaction to hide.
WTException
public void recordExport(String objectID, String targetSystem, String releaseClass) throws WTException
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.
WTException
public Group getReleaseActivities(String ufid) throws WTException
ufid
- The universal federation ID of the ESITransaction object.
WTException
public Group getTransactions(Group elements) throws WTException
elements
- An Info*Engine Group containing Elements that have been create by (or resemble the output of) a Query-Objects webject.
WTException
public Group getReleaseActivitiesMessage(String ufid) throws WTException
ufid
- The universal federation ID of the ReleaseActivity object.
WTException
public Group getTransactionLogMessage(String ufid) throws WTException
ufid
- The universal federation ID of the ESITransaction object.
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |