public interface Event
Modifier and Type | Method and Description |
---|---|
void |
afterDispatch()
callback method which will be called after the event has successfully been dispatched
|
Object |
getContext()
returns the context object
|
Object |
getField(String name)
This method return a field of the context object, useful if the context object is
a form
|
String |
getName()
returns the name of the event
|
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
|
String getName()
ActivityInstance getRaiser()
Object getContext()
Object getField(String name) throws NoSuchFieldException, IllegalAccessException
Date getRaiseDate()
void afterDispatch()
void onNotDispatched()
int getTxType()
EventManager.CURRENT_TX
,
EventManager.NEW_TX
boolean isAbort()
@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.