Package org.nuxeo.ecm.core.event.impl
Class DocumentDomainEventContext
java.lang.Object
org.nuxeo.ecm.core.event.impl.AbstractEventContext
org.nuxeo.ecm.core.event.impl.EventContextImpl
org.nuxeo.ecm.core.event.impl.DocumentDomainEventContext
- All Implemented Interfaces:
Serializable
,EventContext
Event Context used for Document Domain Event. Different from DocumentEventContext because lighter and targeted only
for domain event.
- Since:
- 2021.44
- See Also:
-
Field Summary
Fields inherited from class org.nuxeo.ecm.core.event.impl.EventContextImpl
session
Fields inherited from class org.nuxeo.ecm.core.event.impl.AbstractEventContext
args, EMPTY, properties, repositoryName
-
Constructor Summary
-
Method Summary
Methods inherited from class org.nuxeo.ecm.core.event.impl.EventContextImpl
getCoreSession, getPrincipal, setArgs, setCoreSession, setPrincipal, updateRepositoryName
Methods inherited from class org.nuxeo.ecm.core.event.impl.AbstractEventContext
getArguments, getProperties, getProperty, getRepositoryName, hasProperty, newEvent, setProperties, setProperty, setRepositoryName
-
Field Details
-
doc
-
principal
-
-
Constructor Details
-
DocumentDomainEventContext
-
-
Method Details
-
getDoc
-
setDoc
-
newEvent
Description copied from interface:EventContext
Creates a new event in that context given the event name. The default flags for the event will be used.- Specified by:
newEvent
in interfaceEventContext
- Overrides:
newEvent
in classAbstractEventContext
- Parameters:
name
- the event name- Returns:
- the event
- See Also:
-