public class DefaultGroup extends AbstractUserManagementItem implements Group
Group.DefaultGroupFields, Group.GroupFlags, Group.GroupType
extensions, metaData
OPERATION_NOT_SUPPORTED_MESSAGE
Constructor and Description |
---|
DefaultGroup() |
Modifier and Type | Method and Description |
---|---|
void |
add(Group group) |
Collection<User> |
getAllUsers(int depth)
Operation not supported.
|
Collection<Group> |
getContainedGroups()
Operation not supported.
|
String |
getDescription() |
String |
getDisplayName() |
Set<Group.GroupFlags> |
getFlags() |
Collection<Group> |
getGroups() |
Group.GroupType |
getGroupType() |
int |
getId() |
String |
getLanguage() |
String |
getMailAdress() |
String |
getName() |
Role |
getRole() |
int |
getTenant() |
Collection<User> |
getUsers()
Operation not supported.
|
boolean |
isFromExtension(String fieldName) |
void |
remove(Group group) |
void |
setDescription(String description) |
void |
setDisplayName(String displayName) |
void |
setFlags(Set<Group.GroupFlags> flags) |
void |
setLanguage(String language) |
void |
setMailAdress(String mailAdress) |
void |
setName(String name) |
void |
setRole(Role role) |
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 String getName()
getName
in interface UserManagementItem
public String getDisplayName()
getDisplayName
in interface Group
public String getDescription()
getDescription
in interface Group
public String getMailAdress()
getMailAdress
in interface Group
public Set<Group.GroupFlags> getFlags()
public void setFlags(Set<Group.GroupFlags> flags)
public Group.GroupType getGroupType()
getGroupType
in interface Group
public Collection<Group> getGroups()
public Collection<Group> getContainedGroups()
getContainedGroups
in interface Group
UnsupportedOperationException
public Collection<User> getUsers()
getUsers
in interface Group
UnsupportedOperationException
public Collection<User> getAllUsers(int depth)
getAllUsers
in interface Group
depth
- of group tree searchUnsupportedOperationException
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 setDisplayName(String displayName)
setDisplayName
in interface Group
public void setDescription(String description)
setDescription
in interface Group
public void setMailAdress(String mailAdress)
setMailAdress
in interface Group
public void setLanguage(String language)
setLanguage
in interface Group
public String getLanguage()
getLanguage
in interface Group
public boolean isFromExtension(String fieldName)
isFromExtension
in interface UserManagementItem
Copyright © 2016 SAPERION AG. All rights reserved.