EventStore
instead@Role @Deprecated public interface EventStream
Modifier and Type | Method and Description |
---|---|
void |
addEvent(Event e)
Deprecated.
since 12.3RC1, use
EventStore.saveEvent(Event) instead |
default long |
countEvents()
Deprecated.
since 12.6.1, use
EventStore.search(EventQuery) instead |
void |
deleteEvent(Event e)
Deprecated.
since 12.3RC1, use
EventStore.deleteEvent(String) instead |
default Event |
getEvent(String eventId)
Deprecated.
since 12.3RC1, use
EventStore.getEvent(String) instead |
EventGroup |
getRelatedEvents(Event e)
Deprecated.
since 12.6, use
EventStore.search(EventQuery) instead |
List<Event> |
searchEvents(Query query)
Deprecated.
since 12.5RC1, use
EventStore.search(EventQuery) instead |
@Deprecated void addEvent(Event e)
EventStore.saveEvent(Event)
insteade
- the event to store@Deprecated List<Event> searchEvents(Query query) throws QueryException
EventStore.search(EventQuery)
insteadselect 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 executed@Deprecated EventGroup getRelatedEvents(Event e)
EventStore.search(EventQuery)
insteade
- the event to search for@Deprecated void deleteEvent(Event e)
EventStore.deleteEvent(String)
insteade
- the event to delete@Deprecated default Event getEvent(String eventId) throws QueryException
EventStore.getEvent(String)
insteadeventId
- the unique identifier of the eventQueryException
- if failing to get the event@Deprecated default long countEvents() throws QueryException
EventStore.search(EventQuery)
insteadQueryException
- when failing to query the eventsCopyright © 2004–2021 XWiki. All rights reserved.