public class DefaultRole extends AbstractUserManagementItem implements Role
Role.DefaultRoleFields, Role.RoleRightextensions, 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, setMetadataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtensions, getMetadata, setExtensions, setMetadatapublic int getId()
getId in interface UserManagementItempublic boolean isFromExtension(String fieldName)
isFromExtension in interface UserManagementItempublic String getName()
getName in interface UserManagementItempublic String getDescription()
getDescription in interface Rolepublic int getLockoutRetryCount()
getLockoutRetryCount in interface Rolepublic int getPasswordExpirationDays()
getPasswordExpirationDays in interface Rolepublic boolean hasRight(Role.RoleRight right)
public Set<Role.RoleRight> getRights()
public int getTenant()
getTenant in interface TenantSpecificItempublic void setTenant(int tenantId)
setTenant in interface TenantSpecificItempublic void setName(String name)
setName in interface UserManagementItempublic void setDescription(String description)
setDescription in interface Rolepublic void setLockoutRetryCount(int count)
setLockoutRetryCount in interface Rolepublic void setPasswordExpirationDays(int days)
setPasswordExpirationDays in interface Rolepublic void addRight(Role.RoleRight right)
public void removeRight(Role.RoleRight right)
removeRight in interface Rolepublic void setRights(Set<Role.RoleRight> rights)
Copyright © 2016 SAPERION AG. All rights reserved.