Class EventProviderInDb

    • Constructor Summary

      Constructors 
      Constructor Description
      EventProviderInDb​(ome.system.ServiceFactory sf)
      Main public constructor for this EventProvider implementation.
    • 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 given Event.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EventProviderInDb

        public EventProviderInDb​(ome.system.ServiceFactory sf)
        Main public constructor for this EventProvider implementation.
        Parameters:
        sf - the service factory
    • Method Detail

      • updateEvent

        public ome.model.meta.Event updateEvent​(ome.model.meta.Event event)
        Persists a given Event.
        Specified by:
        updateEvent in interface EventProvider
        Parameters:
        event - the event to persist
        Returns:
        updated event
      • isReadOnly

        public boolean isReadOnly​(ReadOnlyStatus readOnly)
        Specified by:
        isReadOnly in interface ReadOnlyStatus.IsAware
        Parameters:
        readOnly - a read-only status, typically the current one
        Returns:
        if that status puts this class into read-only mode