Class MCRAccessCacheHelper

java.lang.Object
org.mycore.access.MCRAccessCacheHelper

public class MCRAccessCacheHelper extends Object
This class provides helper functions for access cache.
  • Constructor Details

    • MCRAccessCacheHelper

      public MCRAccessCacheHelper()
  • Method Details

    • clearPermissionCache

      public static void clearPermissionCache(String id)
      removes all cached permissions for the object and its derivates including descendants from local cache.
      Parameters:
      id - the object id
    • clearAllPermissionCaches

      public static void clearAllPermissionCaches(String id)
      removes all cached permission for the object and its derivates including descendants from all caches.
      Parameters:
      id - the object id