public class PermissionThreadLocal
extends Object
Constructor and Description |
---|
PermissionThreadLocal() |
Modifier and Type | Method and Description |
---|---|
static PermissionChecker |
getPermissionChecker() |
static boolean |
isAddResource() |
static boolean |
isFlushResourceBlockEnabled(long companyId,
long groupId,
String name)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
static boolean |
isFlushResourcePermissionEnabled(String resourceName,
String primKey) |
static void |
setAddResource(boolean addResource) |
static void |
setFlushResourceBlockEnabled(long companyId,
long groupId,
String name,
boolean enabled)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
static void |
setFlushResourcePermissionEnabled(String resourceName,
String primKey,
boolean enabled) |
static void |
setPermissionChecker(PermissionChecker permissionChecker) |
public static PermissionChecker getPermissionChecker()
public static boolean isAddResource()
@Deprecated public static boolean isFlushResourceBlockEnabled(long companyId, long groupId, String name)
public static boolean isFlushResourcePermissionEnabled(String resourceName, String primKey)
public static void setAddResource(boolean addResource)
@Deprecated public static void setFlushResourceBlockEnabled(long companyId, long groupId, String name, boolean enabled)
public static void setFlushResourcePermissionEnabled(String resourceName, String primKey, boolean enabled)
public static void setPermissionChecker(PermissionChecker permissionChecker)