|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.events.KeyedEvent
com.ptc.windchill.esi.wf.ESIResultEvent
ESI workflows may suspend until external processes are complete. When
they do, the ESIResultEvent is the trigger that tells the workflow to
resume. Objects of this class convey to a workflow whether or not an
ESI external request succeeded.
Supported API: true
Extendable: true
Field Summary | |
private static String |
CLASSNAME
|
private String |
errorMessage
|
static String |
ESI_RELEASE_COMPLETE
|
private static String |
RESOURCE
|
private boolean |
successful
|
private String |
targetUfid
|
private String |
txUfid
|
Fields inherited from class wt.events.KeyedEvent |
|
Constructor Summary | |
ESIResultEvent(Persistable eventTarget)
Constuctor for this class. |
|
ESIResultEvent(String eventType,
Object target)
This constructor has been added for internal use by event dispatcher. |
|
ESIResultEvent(WTCollection eventTargets)
Constuctor for this class. |
Method Summary | |
private void |
errorMessageValidate(String a_ErrorMessage)
|
String |
getErrorMessage()
Gets the value of the attribute: errorMessage; An optional message to provide to the workflow. |
Persistable |
getTarget()
Returns the event target associated with this event. |
WTCollection |
getTargets()
Return a WTCollection of event targets. |
String |
getTargetUfid()
Gets the value of the attribute: targetUfid; The UFID to the ESITarget associated with this result. |
String |
getTxUfid()
Gets the value of the attribute: txUfid; The UFID to the ESITtransaction associated with this result. |
boolean |
isSuccessful()
Gets the value of the attribute: successful; Defines whether or not the external process succeeded. |
void |
setErrorMessage(String a_ErrorMessage)
Sets the value of the attribute: errorMessage; An optional message to provide to the workflow. |
void |
setSuccessful(boolean a_Successful)
Sets the value of the attribute: successful; Defines whether or not the external process succeeded. |
void |
setTargetUfid(String a_TargetUfid)
Sets the value of the attribute: targetUfid; The UFID to the ESITarget associated with this result. |
void |
setTxUfid(String a_TxUfid)
Sets the value of the attribute: txUfid; The UFID to the ESITtransaction associated with this result. |
private void |
targetUfidValidate(String a_TargetUfid)
|
private void |
txUfidValidate(String a_TxUfid)
|
Methods inherited from class wt.events.KeyedEvent |
generateEventKey, generateEventKey, getConceptualClassname, getEventKey, getEventTarget, getEventType, toMultiObjectEvent, toSingleObjectEvents, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private boolean successful
private String errorMessage
private String targetUfid
private String txUfid
public static final String ESI_RELEASE_COMPLETE
Constructor Detail |
public ESIResultEvent(Persistable eventTarget)
eventTarget
- public ESIResultEvent(WTCollection eventTargets)
eventTargets
- public ESIResultEvent(String eventType, Object target)
eventType
- target
- Method Detail |
public boolean isSuccessful()
public void setSuccessful(boolean a_Successful) throws WTPropertyVetoException
a_Successful
-
WTPropertyVetoException
public String getErrorMessage()
public void setErrorMessage(String a_ErrorMessage) throws WTPropertyVetoException
a_ErrorMessage
-
WTPropertyVetoException
private void errorMessageValidate(String a_ErrorMessage) throws WTPropertyVetoException
a_ErrorMessage
-
WTPropertyVetoException
public String getTargetUfid()
public void setTargetUfid(String a_TargetUfid) throws WTPropertyVetoException
a_TargetUfid
-
WTPropertyVetoException
private void targetUfidValidate(String a_TargetUfid) throws WTPropertyVetoException
a_TargetUfid
-
WTPropertyVetoException
public String getTxUfid()
public void setTxUfid(String a_TxUfid) throws WTPropertyVetoException
a_TxUfid
-
WTPropertyVetoException
private void txUfidValidate(String a_TxUfid) throws WTPropertyVetoException
a_TxUfid
-
WTPropertyVetoException
public Persistable getTarget()
public WTCollection getTargets()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |