Package org.nuxeo.ecm.core.api.event
Interface CoreEvent
-
- All Known Implementing Classes:
CoreEventImpl
public interface CoreEventNuxeo core event.- Author:
- Julien Anguenot, Bogdan Stefanescu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCategory()Returns the event category.StringgetComment()Returns the associated event comment.DategetDate()Returns the date when the event occurred.StringgetEventId()Returns the event identifier.Map<String,?>getInfo()Returns the information attached to the event.PrincipalgetPrincipal()Returns the principal responsible for this event.ObjectgetSource()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
-
-