Package org.mycore.frontend.support
Class MCRObjectIDLockTable
java.lang.Object
org.mycore.frontend.support.MCRObjectIDLockTable
- All Implemented Interfaces:
MCRSessionListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearTable
(MCRSession session) static MCRSession
getLocker
(MCRObjectID objectId) static String
getLockingUserName
(String objectId) static boolean
isLockedByCurrentSession
(String objectId) static boolean
isLockedByCurrentSession
(MCRObjectID objectId) static void
lock
(MCRObjectID objectId) void
sessionEvent
(MCRSessionEvent event) static void
unlock
(MCRObjectID objectId)
-
Method Details
-
clearTable
-
unlock
-
lock
-
isLockedByCurrentSession
-
getLocker
-
sessionEvent
- Specified by:
sessionEvent
in interfaceMCRSessionListener
-
isLockedByCurrentSession
-
getLockingUserName
-