public interface Role extends TenantSpecificItem
Modifier and Type | Interface and Description |
---|---|
static class |
Role.DefaultRoleFields
Fields contained in the default database definition of a user.
|
static class |
Role.RoleRight |
Modifier and Type | Method and Description |
---|---|
void |
addRight(Role.RoleRight right) |
List<ACL> |
getAclList()
Gets the acls that restrict the access to this role.
|
String |
getDescription() |
int |
getLockoutRetryCount() |
int |
getPasswordExpirationDays() |
Set<Role.RoleRight> |
getRights() |
boolean |
hasRight(Role.RoleRight right) |
void |
removeRight(Role.RoleRight right) |
void |
setAclList(List<ACL> aclList)
Sets the acls that restrict the access to this role.
|
void |
setDescription(String description) |
void |
setLockoutRetryCount(int count) |
void |
setPasswordExpirationDays(int days) |
void |
setRights(Set<Role.RoleRight> rights) |
getTenant, setTenant
getExtensions, getId, getMetadata, getName, isFromExtension, setExtensions, setMetadata, setName
String getDescription()
int getLockoutRetryCount()
int getPasswordExpirationDays()
boolean hasRight(Role.RoleRight right)
Set<Role.RoleRight> getRights()
void setDescription(String description)
void setLockoutRetryCount(int count)
void setPasswordExpirationDays(int days)
void addRight(Role.RoleRight right)
void removeRight(Role.RoleRight right)
void setRights(Set<Role.RoleRight> rights)
void setAclList(List<ACL> aclList)
aclList
- the acls that restrict the access to this role.Copyright © 2016 SAPERION AG. All rights reserved.