|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.esi.evt.ESIEvent
A container for information necessary for ESI event notifications.
This class is intentionally not thread-safe.
Supported API: true
Extendable: true
Field Summary | |
private String |
action
|
private static String |
CLASSNAME
|
protected static String |
HTML_SPACE
|
protected static String |
NULL_STRING
|
private Releasable |
object
|
private static String |
RESOURCE
|
private ESITargetUtility |
targetUtility
|
private ESITransaction |
txn
|
private String |
userName
|
private WTObject |
waiter
|
Constructor Summary | |
ESIEvent()
|
Method Summary | |
private void |
actionValidate(String a_Action)
|
private ESITransaction |
createTransaction()
|
String |
getAction()
Gets the value of the attribute: action; Describes the action to be passed to the JMS task. |
Releasable |
getObject()
Gets the object for the association that plays role: object. |
String |
getObjectID()
Returns the obid from the contained object Supported API: false |
Collection |
getTargets()
Returns a collection of ESITargetAssociation objects related to the WTObject in the object attribute. |
String |
getTransactionNumber()
Returns the number from the ESITransaction in the txn attribute. |
protected ESITransaction |
getTxn()
Gets the value of the attribute: txn; The ESI transaction that is created when this event is generated. |
String |
getUserName()
Gets the value of the attribute: userName; The ID of the user responsible for the event. |
WTObject |
getWaiter()
Gets the object for the association that plays role: waiter. |
String |
getWaitingObjectID()
If the waiter attribute is not null, returns the id of that object. |
private void |
objectValidate(Releasable a_Object)
|
void |
setAction(String a_Action)
Sets the value of the attribute: action; Describes the action to be passed to the JMS task. |
void |
setObject(Releasable a_Object)
Sets the object for the association that plays role: object. |
void |
setUserName(String a_UserName)
Sets the value of the attribute: userName; The ID of the user responsible for the event. |
void |
setWaiter(WTObject a_Waiter)
Sets the object for the association that plays role: waiter. |
private void |
userNameValidate(String a_UserName)
|
void |
validate()
Insures that the ESIEvent object has the correct state and is ready to be published. |
private void |
waiterValidate(WTObject a_Waiter)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private String action
private String userName
private ESITransaction txn
private WTObject waiter
private Releasable object
protected static final String NULL_STRING
protected static final String HTML_SPACE
private ESITargetUtility targetUtility
Constructor Detail |
public ESIEvent()
Method Detail |
public String getAction()
public void setAction(String a_Action) throws WTPropertyVetoException
a_Action
-
WTPropertyVetoException
private void actionValidate(String a_Action) throws WTPropertyVetoException
a_Action
-
WTPropertyVetoException
public String getUserName()
public void setUserName(String a_UserName) throws WTPropertyVetoException
a_UserName
-
WTPropertyVetoException
private void userNameValidate(String a_UserName) throws WTPropertyVetoException
a_UserName
-
WTPropertyVetoException
protected ESITransaction getTxn()
public WTObject getWaiter()
public void setWaiter(WTObject a_Waiter) throws WTPropertyVetoException
a_Waiter
-
WTPropertyVetoException
private void waiterValidate(WTObject a_Waiter) throws WTPropertyVetoException
a_Waiter
-
WTPropertyVetoException
public Releasable getObject()
public void setObject(Releasable a_Object) throws WTPropertyVetoException
a_Object
-
WTPropertyVetoException
private void objectValidate(Releasable a_Object) throws WTPropertyVetoException
a_Object
-
WTPropertyVetoException
public Collection getTargets() throws ESIEventException
ESIEventException
public void validate() throws ESIEventException
ESIEventException
public String getObjectID()
public String getWaitingObjectID()
public String getTransactionNumber() throws WTException
WTException
private ESITransaction createTransaction() throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |