Package org.nuxeo.ecm.core.event.impl
Class BlobEventContext
java.lang.Object
org.nuxeo.ecm.core.event.impl.AbstractEventContext
org.nuxeo.ecm.core.event.impl.EventContextImpl
org.nuxeo.ecm.core.event.impl.BlobEventContext
- All Implemented Interfaces:
Serializable
,EventContext
- Since:
- 2023
- See Also:
-
Field Summary
Fields inherited from class org.nuxeo.ecm.core.event.impl.EventContextImpl
principal, session
Fields inherited from class org.nuxeo.ecm.core.event.impl.AbstractEventContext
args, EMPTY, properties, repositoryName
-
Constructor Summary
ConstructorDescriptionBlobEventContext
(String repositoryName, ManagedBlob managedBlob) BlobEventContext
(NuxeoPrincipal principal, String repositoryName, String docId, String xpath, ManagedBlob blob) -
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
-
docId
-
xpath
-
blob
-
-
Constructor Details
-
BlobEventContext
public BlobEventContext(NuxeoPrincipal principal, String repositoryName, String docId, String xpath, ManagedBlob blob) -
BlobEventContext
-
-
Method Details
-
getBlob
-
getDocId
-
getXpath
-
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:
-
setDocId
-