Package org.mycore.access
Class MCRAccessCacheHelper
java.lang.Object
org.mycore.access.MCRAccessCacheHelper
This class provides helper functions for access cache.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
removes all cached permission for the object and its derivates including descendants from all caches.static void
removes all cached permissions for the object and its derivates including descendants from local cache.
-
Constructor Details
-
MCRAccessCacheHelper
public MCRAccessCacheHelper()
-
-
Method Details
-
clearPermissionCache
removes all cached permissions for the object and its derivates including descendants from local cache.- Parameters:
id
- the object id
-
clearAllPermissionCaches
removes all cached permission for the object and its derivates including descendants from all caches.- Parameters:
id
- the object id
-