public class DefaultRole extends AbstractUserManagementItem implements Role
Role.DefaultRoleFields, Role.RoleRight
extensions, metaData
Constructor and Description |
---|
DefaultRole() |
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 |
getId() |
int |
getLockoutRetryCount() |
String |
getName() |
int |
getPasswordExpirationDays() |
Set<Role.RoleRight> |
getRights() |
int |
getTenant() |
boolean |
hasRight(Role.RoleRight right) |
boolean |
isFromExtension(String fieldName) |
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 |
setName(String name) |
void |
setPasswordExpirationDays(int days) |
void |
setRights(Set<Role.RoleRight> rights) |
void |
setTenant(int tenantId) |
String |
toString() |
getBooleanValue, getExtensions, getIntValue, getMetadata, getStringValue, getValue, setExtensions, setMetadata
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExtensions, getMetadata, setExtensions, setMetadata
public int getId()
getId
in interface UserManagementItem
public boolean isFromExtension(String fieldName)
isFromExtension
in interface UserManagementItem
public String getName()
getName
in interface UserManagementItem
public String getDescription()
getDescription
in interface Role
public int getLockoutRetryCount()
getLockoutRetryCount
in interface Role
public int getPasswordExpirationDays()
getPasswordExpirationDays
in interface Role
public boolean hasRight(Role.RoleRight right)
public Set<Role.RoleRight> getRights()
public int getTenant()
getTenant
in interface TenantSpecificItem
public void setTenant(int tenantId)
setTenant
in interface TenantSpecificItem
public void setName(String name)
setName
in interface UserManagementItem
public void setDescription(String description)
setDescription
in interface Role
public void setLockoutRetryCount(int count)
setLockoutRetryCount
in interface Role
public void setPasswordExpirationDays(int days)
setPasswordExpirationDays
in interface Role
public void addRight(Role.RoleRight right)
public void removeRight(Role.RoleRight right)
removeRight
in interface Role
public void setRights(Set<Role.RoleRight> rights)
public void setAclList(List<ACL> aclList)
Role
setAclList
in interface Role
aclList
- the acls that restrict the access to this role.public List<ACL> getAclList()
Role
getAclList
in interface Role
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.