public class UnboundEventContext extends EventContextImpl
| Modifier and Type | Field and Description | 
|---|---|
protected boolean | 
boundToCoreSession  | 
principal, sessionargs, EMPTY, properties, repositoryName| Constructor and Description | 
|---|
UnboundEventContext(CoreSession session,
                   NuxeoPrincipal principal,
                   Map<String,Serializable> properties)  | 
UnboundEventContext(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 UnboundEventContext(NuxeoPrincipal principal, Map<String,Serializable> properties)
public UnboundEventContext(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.