public class UserPermissionUtil
extends Object
Constructor and Description |
---|
UserPermissionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
check(PermissionChecker permissionChecker,
long userId,
long[] organizationIds,
String actionId) |
static void |
check(PermissionChecker permissionChecker,
long userId,
String actionId) |
static boolean |
contains(PermissionChecker permissionChecker,
long userId,
long[] organizationIds,
String actionId) |
static boolean |
contains(PermissionChecker permissionChecker,
long userId,
String actionId) |
static UserPermission |
getUserPermission() |
void |
setUserPermission(UserPermission userPermission) |
public static void check(PermissionChecker permissionChecker, long userId, long[] organizationIds, String actionId) throws PrincipalException
PrincipalException
public static void check(PermissionChecker permissionChecker, long userId, String actionId) throws PrincipalException
PrincipalException
public static boolean contains(PermissionChecker permissionChecker, long userId, long[] organizationIds, String actionId)
public static boolean contains(PermissionChecker permissionChecker, long userId, String actionId)
public static UserPermission getUserPermission()
public void setUserPermission(UserPermission userPermission)