Package | Description |
---|---|
info.magnolia.cms.security | |
info.magnolia.context |
Modifier and Type | Class and Description |
---|---|
class |
JCRSessionOp<R>
Operation requiring session access.
|
class |
SilentSessionOp<R>
Session operation that just logs all exceptions instead of re-throwing them.
|
Modifier and Type | Class and Description |
---|---|
static class |
MgnlContext.LockingOp
Operation that is performed only if JCR lock can be issued on the path specified by combination of parameters in constructor.
|
static class |
MgnlContext.RepositoryOp
An Op that does not return values and can only throw RepositoryExceptions.
|
static class |
MgnlContext.VoidOp
An Op that does not return values and can only throw RuntimeExceptions.
|
Modifier and Type | Method and Description |
---|---|
static <T,E extends Throwable> |
MgnlContext.doInSystemContext(MgnlContext.Op<T,E> op)
Executes the given operation in the system context and sets it back to the original once done
(also if an exception is thrown).
|
static <T,E extends Throwable> |
MgnlContext.doInSystemContext(MgnlContext.Op<T,E> op,
boolean releaseAfterExecution)
Executes the given operation in the system context and sets it back to the original once done
(also if an exception is thrown).
|
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.