public class EventProviderInDb extends java.lang.Object implements EventProvider, ReadOnlyStatus.IsAware
Event
objects which is responsible for persisting and
populating such entities using Hibernate in accordance with the currently
available IUpdate
implementation.SecuritySystem
Constructor and Description |
---|
EventProviderInDb(ome.system.ServiceFactory sf)
Main public constructor for this
EventProvider implementation. |
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 EventProviderInDb(ome.system.ServiceFactory sf)
EventProvider
implementation.sf
- the service factorypublic 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