| Package | Description |
|---|---|
| org.xwiki.eventstream |
| Modifier and Type | Method and Description |
|---|---|
Event |
RecordableEventConverter.convert(RecordableEvent recordableEvent,
String source,
Object data)
Convert a notification event to a stream event.
|
Event |
EventFactory.createEvent()
Create a new event with some fields already filled in.
|
Event |
EventFactory.createRawEvent()
Create a new event without any of the fields filled in.
|
Event |
EventStatus.getEvent() |
Event |
EventGroup.getMainEvent()
Get the most important event in this group.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Event> |
EventGroup.getEvents()
List the events that are part of this group.
|
List<Event> |
EventStream.searchEvents(Query query)
Search stored events.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EventStream.addEvent(Event e)
Add a new event to the storage.
|
void |
EventGroup.addEvents(Event... events)
Add more events to this group.
|
void |
EventStream.deleteEvent(Event e)
Delete an event from the storage.
|
EventGroup |
EventStream.getRelatedEvents(Event e)
Retrieve the group that a given event is part of.
|
| Modifier and Type | Method and Description |
|---|---|
List<EventStatus> |
EventStatusManager.getEventStatus(List<Event> events,
List<String> entityIds)
Get the list of statuses concerning the given events and the given entities.
|
| Constructor and Description |
|---|
EventGroup(Event... events)
Constructor that creates a group containing the passed events.
|
| Constructor and Description |
|---|
EventGroup(List<Event> events)
Constructor that creates a group containing the passed events.
|
EventGroup(Set<Event> events)
Constructor that creates a group containing the passed events.
|
Copyright © 2004–2017 XWiki. All rights reserved.