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,
Principal principal,
Map<String,Serializable> properties) |
UnboundEventContext(Principal 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(Principal principal, Map<String,Serializable> properties)
public UnboundEventContext(CoreSession session, Principal principal, Map<String,Serializable> properties)
public Event newEvent(String name)
EventContextnewEvent in interface EventContextnewEvent in class AbstractEventContextname - the event nameEventContext.newEvent(String, int)Copyright © 2015 Nuxeo SA. All rights reserved.