public class DisplayByRolePermission extends Permission
| Modifier and Type | Field and Description |
|---|---|
static String |
NAMESPACE |
uri| Constructor and Description |
|---|
DisplayByRolePermission(String roleName,
BaseResourceBean.RoleLevel roleLevel) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAuthorized(RequestedAction whatToAuth)
Is a user with this Permission authorized to perform this
RequestedAction?
|
String |
toString() |
compareTo, equals, getUri, hashCodepublic static final String NAMESPACE
public DisplayByRolePermission(String roleName, BaseResourceBean.RoleLevel roleLevel)
public boolean isAuthorized(RequestedAction whatToAuth)
PermissionisAuthorized in class Permissionpublic String toString()
toString in class PermissionCopyright © 2021. All rights reserved.