Package org.nuxeo.ecm.core.api.event
Interface CoreEvent
-
- All Known Implementing Classes:
CoreEventImpl
public interface CoreEvent
Nuxeo core event.- Author:
- Julien Anguenot, Bogdan Stefanescu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCategory()
Returns the event category.String
getComment()
Returns the associated event comment.Date
getDate()
Returns the date when the event occurred.String
getEventId()
Returns the event identifier.Map<String,?>
getInfo()
Returns the information attached to the event.Principal
getPrincipal()
Returns the principal responsible for this event.Object
getSource()
Returns the source object that originated the event.
-
-
-
Method Detail
-
getDate
Date getDate()
Returns the date when the event occurred.- Returns:
- a java date object
-
getEventId
String getEventId()
Returns the event identifier.- Returns:
- the event identifier
-
getInfo
Map<String,?> getInfo()
Returns the information attached to the event.- Returns:
- a map holding the event information
-
getSource
Object getSource()
Returns the source object that originated the event.- Returns:
- the object that originated the event
-
getPrincipal
Principal getPrincipal()
Returns the principal responsible for this event.- Returns:
- the principal responsible for this event.
-
getCategory
String getCategory()
Returns the event category.- Returns:
- the event category
-
getComment
String getComment()
Returns the associated event comment.- Returns:
- the associated event comment
-
-