Package ome.security.basic
Class EventProviderInMemory
- java.lang.Object
-
- ome.security.basic.EventProviderInMemory
-
- All Implemented Interfaces:
EventProvider
,ReadOnlyStatus.IsAware
public class EventProviderInMemory extends java.lang.Object implements EventProvider, ReadOnlyStatus.IsAware
Provider forEvent
objects which is responsible for persisting and populating such entities in-memory.- Since:
- 5.3.0
- See Also:
SecuritySystem
-
-
Constructor Summary
Constructors Constructor Description EventProviderInMemory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isReadOnly(ReadOnlyStatus readOnly)
ome.model.meta.Event
updateEvent(ome.model.meta.Event event)
Persists a givenEvent
.
-
-
-
Method Detail
-
updateEvent
public ome.model.meta.Event updateEvent(ome.model.meta.Event event)
Persists a givenEvent
.- Specified by:
updateEvent
in interfaceEventProvider
- Parameters:
event
- the event to persist- Returns:
- updated event
-
isReadOnly
public boolean isReadOnly(ReadOnlyStatus readOnly)
- Specified by:
isReadOnly
in interfaceReadOnlyStatus.IsAware
- Parameters:
readOnly
- a read-only status, typically the current one- Returns:
- if that status puts this class into read-only mode
-
-