com.ptc.windchill.esi.evt
Class ESIEvent

java.lang.Object
  extended by com.ptc.windchill.esi.evt.ESIEvent

public class ESIEvent
extends Object

A container for information necessary for ESI event notifications. This class is intentionally not thread-safe.

Supported API: true

Extendable: true


Method Summary
protected  ESITransaction getTxn()
          Gets the value of the attribute: txn; The ESI transaction that is created when this event is generated.
 void validate()
          Insures that the ESIEvent object has the correct state and is ready to be published.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTxn

protected ESITransaction getTxn()
Gets the value of the attribute: txn; The ESI transaction that is created when this event is generated. The getter does lazy initialization, creating and saving the ESITransaction object if necessary.

Supported API: true

Returns:
ESITransaction

validate

public void validate()
              throws ESIEventException
Insures that the ESIEvent object has the correct state and is ready to be published. Obtains an ESIEventValidator implementation from the ESIEventValidatorFactory. Calls the validate() method on the ESIEventValidator. Then calls the private methods objectValidate() and actionValidate().

Supported API: true

Throws:
ESIEventException