Package | Description |
---|---|
eu.ehri.project.api |
Classes that provide data access data on the graph in a
manner that incorporate the permission and access-control
systems.
|
eu.ehri.project.api.impl | |
eu.ehri.project.models.base |
The interfaces in this package specify the required and allowable properties of
classes of entities, so that entities can be validated.
|
eu.ehri.project.models.events | |
eu.ehri.project.persistence |
Classes dealing with persistence of
relational item data in sub-tree format.
|
Modifier and Type | Method and Description |
---|---|
Iterable<List<SystemEvent>> |
EventsApi.aggregate() |
Iterable<List<SystemEvent>> |
EventsApi.aggregateActions(Actioner byUser) |
Iterable<List<SystemEvent>> |
EventsApi.aggregateAsUser(UserProfile asUser) |
Iterable<List<SystemEvent>> |
EventsApi.aggregateForItem(Accessible item) |
Iterable<SystemEvent> |
EventsApi.list() |
Iterable<SystemEvent> |
EventsApi.listAsUser(UserProfile asUser) |
Iterable<SystemEvent> |
EventsApi.listByUser(UserProfile byUser) |
Iterable<SystemEvent> |
EventsApi.listForItem(Accessible item) |
Modifier and Type | Method and Description |
---|---|
Iterable<List<SystemEvent>> |
EventsApiImpl.aggregate() |
Iterable<List<SystemEvent>> |
EventsApiImpl.aggregateActions(Actioner byUser)
Aggregate a user's actions.
|
Iterable<List<SystemEvent>> |
EventsApiImpl.aggregateAsUser(UserProfile asUser)
List events "interesting" for a user, with aggregation.
|
Iterable<List<SystemEvent>> |
EventsApiImpl.aggregateForItem(Accessible item)
Aggregate an item's events.
|
Iterable<SystemEvent> |
EventsApiImpl.list() |
Iterable<SystemEvent> |
EventsApiImpl.listAsUser(UserProfile asUser)
List items "interesting" for a user, optionally filtered by the `ShowType`
to items they watch or users they follow.
|
Iterable<SystemEvent> |
EventsApiImpl.listByUser(UserProfile byUser)
List a user's actions.
|
Iterable<SystemEvent> |
EventsApiImpl.listForItem(Accessible item)
List an item's events.
|
Modifier and Type | Method and Description |
---|---|
SystemEvent |
Accessible.getLatestEvent()
Fetch the most recent event that affected this item.
|
SystemEvent |
Accessible.Impl.getLatestEvent() |
Modifier and Type | Method and Description |
---|---|
Iterable<SystemEvent> |
Actioner.getActions()
Fetch a list of Actions for this user in newest-first order.
|
Iterable<SystemEvent> |
Actioner.Impl.getActions() |
Iterable<SystemEvent> |
Accessible.getHistory()
Fetch a list of Actions for this entity in order.
|
Iterable<SystemEvent> |
Accessible.Impl.getHistory() |
Iterable<SystemEvent> |
Actioner.getLatestAction() |
Iterable<SystemEvent> |
Actioner.Impl.getLatestAction() |
Modifier and Type | Class and Description |
---|---|
static class |
SystemEvent.Impl
Implementation of complex methods.
|
Modifier and Type | Method and Description |
---|---|
SystemEvent |
SystemEventQueue.getLatestEvent()
Fetch the latest global event.
|
SystemEvent |
SystemEvent.getPriorEvent()
Fetch the event chronologically prior to this one.
|
SystemEvent |
Version.getTriggeringEvent()
Fetch the event that triggered this version.
|
Modifier and Type | Method and Description |
---|---|
Iterable<SystemEvent> |
SystemEventQueue.getSystemEvents()
Get a stream of system events, latest first.
|
Iterable<SystemEvent> |
SystemEventQueue.Impl.getSystemEvents() |
Modifier and Type | Method and Description |
---|---|
SystemEvent |
ActionManager.EventContext.commit()
Flush this event log to the graph.
|
SystemEvent |
ActionManager.getLatestGlobalEvent()
Get the latest global event.
|
Modifier and Type | Method and Description |
---|---|
Iterable<SystemEvent> |
ActionManager.getLatestGlobalEvents()
Get an iterable of global events in most-recent-first order.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ActionManager.canAggregate(SystemEvent event1,
SystemEvent event2,
int timeDiffInSeconds)
Determine if two events are the same according to the following
definition:
|
static boolean |
ActionManager.sameAs(SystemEvent event1,
SystemEvent event2) |
static boolean |
ActionManager.sequentialWithSameAccessor(SystemEvent first,
SystemEvent second)
Test if two events are sequential with the same actioner.
|
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.