public class UnboundEventContext extends EventContextImpl
Modifier and Type | Field and Description |
---|---|
protected boolean |
boundToCoreSession |
principal, session
args, 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, updateRepositoryName
getArguments, getProperties, getProperty, getRepositoryName, hasProperty, newEvent, setProperties, setProperty, setRepositoryName
protected 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)
EventContext
newEvent
in interface EventContext
newEvent
in class AbstractEventContext
name
- the event nameEventContext.newEvent(String, int)
Copyright © 2018 Nuxeo. All rights reserved.