Class EventLogMessage

  • All Implemented Interfaces:
    java.io.Serializable

    public class EventLogMessage
    extends ome.util.messages.InternalMessage
    Published only when an event log should be saved at the end of a transaction. Most EventLog instances are created directly in the database and so a listener cannot expect to know the full state of the system just from these.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String action  
      java.util.List<java.lang.Long> entityIds  
      java.lang.Class<? extends ome.model.IObject> entityType  
      • Fields inherited from class ome.util.messages.InternalMessage

        threadSafe
      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      EventLogMessage​(java.lang.Object source, java.lang.String action, java.lang.Class<? extends ome.model.IObject> entityType, java.util.List<java.lang.Long> entityIds)  
    • Method Summary

      • Methods inherited from class ome.util.messages.InternalMessage

        isThreadSafe
      • Methods inherited from class org.springframework.context.ApplicationEvent

        getTimestamp
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • action

        public final java.lang.String action
      • entityType

        public final java.lang.Class<? extends ome.model.IObject> entityType
      • entityIds

        public final java.util.List<java.lang.Long> entityIds
    • Constructor Detail

      • EventLogMessage

        public EventLogMessage​(java.lang.Object source,
                               java.lang.String action,
                               java.lang.Class<? extends ome.model.IObject> entityType,
                               java.util.List<java.lang.Long> entityIds)