|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventBundle
An ordered set of events raised during an user operation.
The bundle is used collects any events that is raised during an user
operation. The bundle will be send after the operation commit to any
registered PostCommitEventListener
.
The bundle implementation is free to ignore some events. This is the case for events marked as inline or for duplicate events.
Method Summary | |
---|---|
boolean |
containsEventName(java.lang.String eventName)
Check is bundle contains the specified event. |
java.lang.String |
getName()
Gets the bundle name. |
java.rmi.dgc.VMID |
getSourceVMID()
Returns the VMID of the JVM where the bundle was created. |
boolean |
hasRemoteSource()
Tests whether or not this event bundle was created on a remote machine. |
boolean |
isEmpty()
Tests whether or not this bundle is empty. |
Event |
peek()
Gets the first event in that bundle. |
void |
push(Event event)
Adds an event in that bundle at the end of the list. |
int |
size()
Gets the size of that bundle. |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
java.lang.String getName()
This is usually the first event name in the bundle but the implementation may decide to change this behavior.
void push(Event event)
The bundle implementation must ignore redundant events and events marked as inline.
event
- the event to append.Event peek()
boolean isEmpty()
int size()
boolean hasRemoteSource()
java.rmi.dgc.VMID getSourceVMID()
boolean containsEventName(java.lang.String eventName)
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |