Class CoreEventImpl

java.lang.Object
org.nuxeo.ecm.core.api.event.impl.CoreEventImpl
All Implemented Interfaces:
CoreEvent

public class CoreEventImpl extends Object implements CoreEvent
Nuxeo core event implementation.
Author:
Julien Anguenot, Thierry Martins
  • Field Details

  • Constructor Details

  • Method Details

    • isComposite

      public boolean isComposite()
    • getNestedEvents

      public List<CoreEvent> getNestedEvents()
    • getEventId

      public String getEventId()
      Description copied from interface: CoreEvent
      Returns the event identifier.
      Specified by:
      getEventId in interface CoreEvent
      Returns:
      the event identifier
    • getInfo

      public Map<String,?> getInfo()
      Description copied from interface: CoreEvent
      Returns the information attached to the event.
      Specified by:
      getInfo in interface CoreEvent
      Returns:
      a map holding the event information
    • getSource

      public Object getSource()
      Description copied from interface: CoreEvent
      Returns the source object that originated the event.
      Specified by:
      getSource in interface CoreEvent
      Returns:
      the object that originated the event
    • getCategory

      public String getCategory()
      Description copied from interface: CoreEvent
      Returns the event category.
      Specified by:
      getCategory in interface CoreEvent
      Returns:
      the event category
    • getComment

      public String getComment()
      Description copied from interface: CoreEvent
      Returns the associated event comment.
      Specified by:
      getComment in interface CoreEvent
      Returns:
      the associated event comment
    • getDate

      public Date getDate()
      Description copied from interface: CoreEvent
      Returns the date when the event occurred.
      Specified by:
      getDate in interface CoreEvent
      Returns:
      a java date object
    • getPrincipal

      public Principal getPrincipal()
      Description copied from interface: CoreEvent
      Returns the principal responsible for this event.
      Specified by:
      getPrincipal in interface CoreEvent
      Returns:
      the principal responsible for this event.
    • toString

      public String toString()
      Overrides:
      toString in class Object