public class TurbineRoleImpl extends AbstractTurbineSecurityEntityImpl implements TurbineRole
| Constructor and Description |
|---|
TurbineRoleImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPermission(Permission permission)
This method should only be used by a RoleManager.
|
PermissionSet |
getPermissions()
Get the permission that are part of this role
|
<T extends Permission> |
getPermissionsAsSet()
Get the permission that are part of this role as Set
|
void |
removePermission(Permission permission)
This method should only be used by a RoleManager.
|
void |
setPermissions(PermissionSet permissionSet)
Set the permission that are part of this role
|
<T extends Permission> |
setPermissionsAsSet(Set<T> permissions)
Set the permission that are part of this role as Set
|
addUserGroupRole, getUserGroupRoleSet, removeUserGroupRole, setUserGroupRoleSetequals, getId, getName, hashCode, setId, setName, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetId, getName, setId, setNameaddUserGroupRole, getUserGroupRoleSet, removeUserGroupRole, setUserGroupRoleSetpublic PermissionSet getPermissions()
getPermissions in interface TurbineRolepublic <T extends Permission> Set<T> getPermissionsAsSet()
getPermissionsAsSet in interface TurbineRolepublic void setPermissions(PermissionSet permissionSet)
setPermissions in interface TurbineRolepermissionSet - a set of permissionspublic <T extends Permission> void setPermissionsAsSet(Set<T> permissions)
setPermissionsAsSet in interface TurbineRoleT - Permissionpermissions - a set of permissionspublic void addPermission(Permission permission)
addPermission in interface TurbineRolepermission - the permission to addpublic void removePermission(Permission permission)
removePermission in interface TurbineRolepermission - the permission to removeCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.