public class EventContextImpl extends AbstractEventContext
Constructor and Description |
---|
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.
|
getArguments, getProperties, getProperty, getRepositoryName, hasProperty, newEvent, newEvent, setProperties, setProperty, setRepositoryName
public EventContextImpl(Object... args)
public EventContextImpl(CoreSession session, Principal principal, Object... args)
public EventContextImpl(CoreSession session, Principal principal)
public void setArgs(Object[] args)
public CoreSession getCoreSession()
EventContext
public Principal getPrincipal()
EventContext
public void setCoreSession(CoreSession session)
EventContext
public void setPrincipal(Principal principal)
EventContext
Copyright © 2015 Nuxeo SA. All rights reserved.