public class EventContextImpl extends AbstractEventContext
Modifier and Type | Field and Description |
---|---|
protected Principal |
principal |
protected CoreSession |
session |
args, EMPTY, properties, repositoryName
Modifier | Constructor and Description |
---|---|
protected |
EventContextImpl()
Constructor to be used by derived classes
|
|
EventContextImpl(CoreSession session,
Principal principal) |
|
EventContextImpl(CoreSession session,
Principal principal,
Object... args) |
|
EventContextImpl(Object... args) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
getCoreSession()
Gets the current core session if any.
|
Principal |
getPrincipal()
Gets the current principal.
|
void |
setArgs(Object[] args) |
void |
setCoreSession(CoreSession session)
Sets the core session.
|
void |
setPrincipal(Principal principal)
Sets the principal.
|
protected void |
updateRepositoryName() |
getArguments, getProperties, getProperty, getRepositoryName, hasProperty, newEvent, newEvent, setProperties, setProperty, setRepositoryName
protected transient CoreSession session
protected EventContextImpl()
public EventContextImpl(Object... args)
public EventContextImpl(CoreSession session, Principal principal, Object... args)
public EventContextImpl(CoreSession session, Principal principal)
public CoreSession getCoreSession()
EventContext
public Principal getPrincipal()
EventContext
public void setCoreSession(CoreSession session)
EventContext
protected void updateRepositoryName()
public void setPrincipal(Principal principal)
EventContext
Copyright © 2016 Nuxeo SA. All rights reserved.