public class SimpleRole extends NDEntityBase implements Role
Role implementation.namePatternUNINITIALIZED| Constructor and Description |
|---|
SimpleRole() |
| Modifier and Type | Method and Description |
|---|---|
Set<Permission> |
getPermissions()
Gets the permissions assigned to this role.
|
Set<User> |
getSubjects()
Gets the subjects assigned to this role.
|
void |
setPermissions(Set<Permission> inPermissions)
Sets the permissions value.
|
void |
setSubjects(Set<User> inSubjects)
Sets the subjects value.
|
getDescription, getName, setDescription, setName, toString, validategetId, getLastUpdated, getUpdateCount, setId, setLastUpdated, setUpdateCountclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getNamegetId, getLastUpdated, getUpdateCountpublic Set<Permission> getPermissions()
RolegetPermissions in interface RoleSet<Permission> valuepublic Set<User> getSubjects()
RolegetSubjects in interface RoleSet<User> valuepublic void setPermissions(Set<Permission> inPermissions)
inPermissions - a Set<Permission> valueCopyright © 2020. All rights reserved.