Modifier and Type | Method and Description |
---|---|
protected Context |
CommandBasedMVCServletHandler.getCommandContext(String commandName)
Deprecated.
The default implementation returns the current context.
|
Modifier and Type | Method and Description |
---|---|
protected String |
CommandBasedMVCServletHandler.getViewNameAfterExecution(String commandName,
Context ctx)
Deprecated.
Default implementation returns the commandName itself.
|
Modifier and Type | Method and Description |
---|---|
static Exception |
AlertUtil.getException(Context ctx) |
static String |
AlertUtil.getMessage(Context ctx) |
static boolean |
AlertUtil.isExceptionSet(Context ctx) |
static boolean |
AlertUtil.isMessageSet(Context ctx) |
static void |
AlertUtil.setException(Exception e,
Context ctx) |
static void |
AlertUtil.setException(String msg,
Exception e,
Context ctx) |
static void |
AlertUtil.setMessage(String msg,
Context ctx) |
static void |
AlertUtil.setMessage(String msg,
Exception e,
Context ctx) |
Modifier and Type | Method and Description |
---|---|
boolean |
ExportJcrNodeToYamlCommand.execute(Context context) |
abstract boolean |
MgnlCommand.execute(Context context)
This is the actual method to be overridden in descendant classes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
VersionCommand.execute(Context ctx) |
boolean |
RestorePreviousVersionCommand.execute(Context context) |
boolean |
MessageCommand.execute(Context context) |
boolean |
MarkNodeAsDeletedCommand.execute(Context context) |
boolean |
LogCommand.execute(Context ctx) |
boolean |
ImportCommand.execute(Context context)
Deprecated.
|
boolean |
ExtractCommentCommand.execute(Context context) |
boolean |
ExportCommand.execute(Context context)
Deprecated.
|
boolean |
DeleteCommand.execute(Context ctx) |
protected javax.jcr.Node |
BaseRepositoryCommand.getJCRNode(Context ctx)
Retrieve the Node.
|
protected Content |
BaseRepositoryCommand.getNode(Context ctx)
Deprecated.
since 4.5.7 use
BaseRepositoryCommand.getJCRNode(Context) instead |
protected void |
MarkNodeAsDeletedCommand.preDeleteNode(javax.jcr.Node node,
Context context)
Deprecated.
Since 5.5, Please use
MarkNodeAsDeletedCommand.preDeleteNode(Node, Context, Lock) instead |
protected void |
MarkNodeAsDeletedCommand.preDeleteNode(javax.jcr.Node node,
Context context,
javax.jcr.lock.Lock lock) |
protected void |
MarkNodeAsDeletedCommand.storeDeletionInfo(javax.jcr.Node node,
Context context) |
protected void |
MarkNodeAsDeletedCommand.version(javax.jcr.Node node,
Context context) |
Modifier and Type | Interface and Description |
---|---|
interface |
SystemContext
This context is a system wide context with full access.
|
interface |
ThreadDependentSystemContext
Some implementations of the system context release resources when a thread is not used anymore.
|
interface |
UserContext
User aware context.
|
interface |
WebContext
Context interface specialized for servlet requests; knows about HttpServletRequest/HttpServletResponse.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSystemContext
This is the system context using the not secured HierarchyManagers.
|
class |
HTMLEscapingWebContextWrapper
A wrapper around
WebContext which will return an escaped AggregationState . |
class |
JCRSessionPerThreadSystemContext
A system context which creates JCR sessions per thread (request).
|
class |
SingleJCRSessionSystemContext
All Threads share the same jcr sessions.
|
class |
UserContextImpl
User aware context implementation able to release and discard all kept info upon user logout.
|
class |
WebContextImpl
Context implementation keeping track of the current request, response, servletContext and pageContext.
|
Modifier and Type | Field and Description |
---|---|
protected Context |
ContextDecorator.ctx |
Modifier and Type | Field and Description |
---|---|
protected static ThreadLocal<WeakReference<Context>> |
AbstractSystemContext.originalContextThreadLocal |
Modifier and Type | Method and Description |
---|---|
static Context |
MgnlContext.getInstance()
Get the current context of this thread.
|
Context |
SystemContext.getOriginalContext()
Return context set at the moment of invocation of system context operation.
|
Context |
AbstractSystemContext.getOriginalContext() |
Context |
ContextDecorator.getWrappedContext()
Returns the context wrapped by this decorator.
|
Modifier and Type | Method and Description |
---|---|
static void |
MgnlContext.setInstance(Context context)
Set context implementation instance.
|
void |
AbstractSystemContext.setOriginalContext(Context ctx) |
Constructor and Description |
---|
ContextDecorator(Context ctx) |
Constructor and Description |
---|
ContextLocaleProvider(Context context) |
Modifier and Type | Method and Description |
---|---|
boolean |
JcrImportCommand.execute(Context context) |
boolean |
JcrExportCommand.execute(Context context) |
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.