|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Event
Interface for creating event classes.
Method Summary | |
---|---|
void |
afterDispatch()
callback method which will be called after the event has successfully been dispatched |
java.lang.Object |
getContext()
returns the context object |
java.lang.Object |
getField(java.lang.String name)
This method return a field of the context object, useful if the context object is a form |
java.lang.String |
getName()
returns the name of the event |
java.util.Date |
getRaiseDate()
The date and time when the event has been raised. |
ActivityInstance |
getRaiser()
return the raiser of the event |
int |
getTxType()
get the transaction-type. |
boolean |
isAbort()
can be used to notify the event-handler of an illegal state |
void |
onNotDispatched()
callback method which will be called if the event couldn't be dispatched |
Method Detail |
---|
java.lang.String getName()
ActivityInstance getRaiser()
java.lang.Object getContext()
java.lang.Object getField(java.lang.String name) throws java.lang.NoSuchFieldException, java.lang.IllegalAccessException
java.lang.NoSuchFieldException
java.lang.IllegalAccessException
java.util.Date getRaiseDate()
void afterDispatch()
void onNotDispatched()
int getTxType()
EventManager.CURRENT_TX
,
EventManager.NEW_TX
boolean isAbort()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |