|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Role public interface EventStream
The stream of events, allowing to store and retrieve events.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 stub
QueryException
- if the query is malformed or cannot be executedEventGroup getRelatedEvents(Event e)
e
- the event to search for
void deleteEvent(Event e)
e
- the event to delete
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |