DataAccessObject
.@DefaultImplementation(value=BridgeEventDAO.class, skipIfUnusable=true) @Deprecated public interface EventDAO
Basic interface for accessing events.
Modifier and Type | Method and Description |
---|---|
ObjectStream<Event> |
streamEvents()
Deprecated.
Stream all events.
|
<E extends Event> |
streamEvents(Class<E> type)
Deprecated.
Stream all events of a given type.
|
<E extends Event> |
streamEvents(Class<E> type,
SortOrder order)
Deprecated.
Stream all events of a given type in a specified order.
|
ObjectStream<Event> streamEvents()
Stream all events.
<E extends Event> ObjectStream<E> streamEvents(Class<E> type)
Stream all events of a given type.
type
- The event type.<E extends Event> ObjectStream<E> streamEvents(Class<E> type, SortOrder order)
Stream all events of a given type in a specified order.
type
- The event type.order
- The order.