DataAccessObject
.@DefaultProvider(value=BridgeUserEventDAO.DynamicProvider.class) @Deprecated public interface UserEventDAO
DAO to retrieve events by user.
Modifier and Type | Method and Description |
---|---|
UserHistory<Event> |
getEventsForUser(long user)
Deprecated.
Get the events for a specific user.
|
<E extends Event> |
getEventsForUser(long user,
Class<E> type)
Deprecated.
Get the events for a specific user, filtering by type.
|
ObjectStream<UserHistory<Event>> |
streamEventsByUser()
Deprecated.
Stream events grouped by user.
|
<E extends Event> |
streamEventsByUser(Class<E> type)
Deprecated.
Stream events grouped by user.
|
ObjectStream<UserHistory<Event>> streamEventsByUser()
Stream events grouped by user.
<E extends Event> ObjectStream<UserHistory<E>> streamEventsByUser(Class<E> type)
Stream events grouped by user.
type
- The type of item to look for.type
. If a user exists, but does not have any history, they may or may not be included depending on the DAO implementation.@Nullable UserHistory<Event> getEventsForUser(long user)
Get the events for a specific user.
user
- The user ID.null
if the user is unknown.@Nullable <E extends Event> UserHistory<E> getEventsForUser(long user, Class<E> type)
Get the events for a specific user, filtering by type.
user
- The user ID.type
- The type of events to retrieve.null
if the user is unknown.