public class InlineEventContext extends EventContextImpl
| Modifier and Type | Field and Description | 
|---|---|
protected boolean | 
boundToCoreSession  | 
principal, sessionargs, EMPTY, properties, repositoryName| Constructor and Description | 
|---|
InlineEventContext(CoreSession session,
                  NuxeoPrincipal principal,
                  Map<String,Serializable> properties)  | 
InlineEventContext(NuxeoPrincipal principal,
                  Map<String,Serializable> properties)  | 
| Modifier and Type | Method and Description | 
|---|---|
Event | 
newEvent(String name)
Creates a new event in that context given the event name. 
 | 
getCoreSession, getPrincipal, setArgs, setCoreSession, setPrincipal, updateRepositoryNamegetArguments, getProperties, getProperty, getRepositoryName, hasProperty, newEvent, setProperties, setProperty, setRepositoryNameprotected boolean boundToCoreSession
public InlineEventContext(NuxeoPrincipal principal, Map<String,Serializable> properties)
public InlineEventContext(CoreSession session, NuxeoPrincipal principal, Map<String,Serializable> properties)
public Event newEvent(String name)
EventContextnewEvent in interface EventContextnewEvent in class AbstractEventContextname - the event nameEventContext.newEvent(String, int)Copyright © 2019 Nuxeo. All rights reserved.