@Role
public interface EventStream
| Modifier and Type | Method and Description |
|---|---|
void |
addEvent(Event e)
Add a new event to the storage.
|
void |
deleteEvent(Event e)
Delete an event from the storage.
|
EventGroup |
getRelatedEvents(Event e)
Retrieve the group that a given event is part of.
|
List<Event> |
searchEvents(Query query)
Search stored events.
|
void addEvent(Event e)
e - the event to storeList<Event> searchEvents(Query query) throws QueryException
select event from Event as event or
equivalent stub which selects actual events from the storage, so it must start with further from or
where statements.query - a query stubQueryException - if the query is malformed or cannot be executedEventGroup getRelatedEvents(Event e)
e - the event to search forvoid deleteEvent(Event e)
e - the event to deleteCopyright © 2004–2017 XWiki. All rights reserved.