public class EventProviderInMemory extends java.lang.Object implements EventProvider, ReadOnlyStatus.IsAware
Event
objects which is responsible for persisting and
populating such entities in-memory.SecuritySystem
Constructor and Description |
---|
EventProviderInMemory() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadOnly(ReadOnlyStatus readOnly) |
ome.model.meta.Event |
updateEvent(ome.model.meta.Event event)
Persists a given
Event . |
public ome.model.meta.Event updateEvent(ome.model.meta.Event event)
Event
.updateEvent
in interface EventProvider
event
- the event to persistpublic boolean isReadOnly(ReadOnlyStatus readOnly)
isReadOnly
in interface ReadOnlyStatus.IsAware
readOnly
- a read-only status, typically the current one