public interface GroupModel extends RoleMapperModel
Modifier and Type | Interface and Description |
---|---|
static interface |
GroupModel.GroupRemovedEvent |
Modifier and Type | Method and Description |
---|---|
void |
addChild(GroupModel subGroup)
Automatically calls setParent() on the subGroup
|
List<String> |
getAttribute(String name) |
Map<String,List<String>> |
getAttributes() |
String |
getFirstAttribute(String name) |
String |
getId() |
String |
getName() |
GroupModel |
getParent() |
String |
getParentId() |
Set<GroupModel> |
getSubGroups() |
void |
removeAttribute(String name) |
void |
removeChild(GroupModel subGroup)
Automatically calls setParent() on the subGroup
|
void |
setAttribute(String name,
List<String> values) |
void |
setName(String name) |
void |
setParent(GroupModel group)
You must also call addChild on the parent group, addChild on RealmModel if there is no parent group
|
void |
setSingleAttribute(String name,
String value)
Set single value of specified attribute.
|
deleteRoleMapping, getClientRoleMappings, getRealmRoleMappings, getRoleMappings, grantRole, hasRole
String getId()
String getName()
void setName(String name)
void setSingleAttribute(String name, String value)
name
- value
- void removeAttribute(String name)
String getFirstAttribute(String name)
name
- List<String> getAttribute(String name)
name
- GroupModel getParent()
String getParentId()
Set<GroupModel> getSubGroups()
void setParent(GroupModel group)
group
- void addChild(GroupModel subGroup)
subGroup
- void removeChild(GroupModel subGroup)
subGroup
- Copyright © 2019 JBoss by Red Hat. All rights reserved.