public interface Group extends TenantSpecificItem
Modifier and Type | Interface and Description |
---|---|
static class |
Group.DefaultGroupFields
Fields contained in the default database definition of a group.
|
static class |
Group.GroupFlags |
static class |
Group.GroupType |
Modifier and Type | Field and Description |
---|---|
static String |
OPERATION_NOT_SUPPORTED_MESSAGE |
Modifier and Type | Method and Description |
---|---|
void |
add(Group group) |
Collection<User> |
getAllUsers(int depth)
Gets all users associated with this group.
|
Collection<Group> |
getContainedGroups()
Gets the groups containing this group.
|
String |
getDescription() |
String |
getDisplayName() |
Set<Group.GroupFlags> |
getFlags() |
Collection<Group> |
getGroups() |
Group.GroupType |
getGroupType() |
String |
getLanguage() |
String |
getMailAdress() |
Role |
getRole() |
Collection<User> |
getUsers()
Gets the users which are directly associated with this group.
|
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 |
setRole(Role role) |
getTenant, setTenant
getExtensions, getId, getMetadata, getName, isFromExtension, setExtensions, setMetadata, setName
static final String OPERATION_NOT_SUPPORTED_MESSAGE
String getDisplayName()
String getDescription()
String getMailAdress()
Role getRole()
void setDisplayName(String displayName)
void setDescription(String description)
void setMailAdress(String mailAdress)
void setRole(Role role)
Set<Group.GroupFlags> getFlags()
void setFlags(Set<Group.GroupFlags> flags)
Group.GroupType getGroupType()
Collection<Group> getGroups()
Collection<Group> getContainedGroups()
void add(Group group)
void remove(Group group)
Collection<User> getUsers()
Collection<User> getAllUsers(int depth)
Walks through the group of group tree upto the given depth and returns all users found in this tree without duplicates.
depth
- of group tree searchvoid setLanguage(String language)
String getLanguage()
Copyright © 2016 SAPERION AG. All rights reserved.