|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.magnolia.cms.security.Lock
public final class Lock
This class is a utility class and does not impose any security rules Its a responsibility of the caller to set and check for lock to meet specific needs
Method Summary | |
---|---|
static boolean |
isSessionLocked(javax.servlet.http.HttpServletRequest request)
returns true if this session is locked |
static boolean |
isSystemLocked()
Return true if system is locked |
static void |
resetSessionLock(javax.servlet.http.HttpServletRequest request)
reset session lock |
static void |
resetSystemLock()
Reset system wide lock |
static void |
setSessionLock(javax.servlet.http.HttpServletRequest request)
Set session based lock |
static void |
setSystemLock()
Set system wide lock |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setSessionLock(javax.servlet.http.HttpServletRequest request)
request
- public static boolean isSessionLocked(javax.servlet.http.HttpServletRequest request)
request
-
public static void resetSessionLock(javax.servlet.http.HttpServletRequest request)
request
- public static void setSystemLock()
public static void resetSystemLock()
public static boolean isSystemLocked()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |