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) |
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 |
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)
Copyright © 2016 SAPERION AG. All rights reserved.