public class RolePermissionUtil
extends Object
Constructor and Description |
---|
RolePermissionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
check(PermissionChecker permissionChecker,
long roleId,
String actionId) |
static boolean |
contains(PermissionChecker permissionChecker,
long groupId,
long roleId,
String actionId) |
static boolean |
contains(PermissionChecker permissionChecker,
long roleId,
String actionId) |
static RolePermission |
getRolePermission() |
void |
setRolePermission(RolePermission rolePermission) |
public static void check(PermissionChecker permissionChecker, long roleId, String actionId) throws PrincipalException
PrincipalException
public static boolean contains(PermissionChecker permissionChecker, long groupId, long roleId, String actionId)
public static boolean contains(PermissionChecker permissionChecker, long roleId, String actionId)
public static RolePermission getRolePermission()
public void setRolePermission(RolePermission rolePermission)