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(ServiceFactory sf)
Main public constructor for this
EventProvider implementation. |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadOnly(ReadOnlyStatus readOnly) |
Event |
updateEvent(Event event)
Persists a given
Event . |
public EventProviderInDb(ServiceFactory sf)
EventProvider
implementation.sf
- the service factorypublic Event updateEvent(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
Version: 5.4.6-ice35-b87
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.