Package org.keycloak.models.map.group
Class MapGroupAdapter
java.lang.Object
org.keycloak.models.map.group.AbstractGroupModel<MapGroupEntity>
org.keycloak.models.map.group.MapGroupAdapter
- All Implemented Interfaces:
GroupModel,RoleMapperModel
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.GroupModel
GroupModel.GroupPathChangeEvent, GroupModel.GroupRemovedEvent, GroupModel.SearchableFields -
Field Summary
Fields inherited from class org.keycloak.models.map.group.AbstractGroupModel
entity, realm, sessionFields inherited from interface org.keycloak.models.GroupModel
COMPARE_BY_NAME -
Constructor Summary
ConstructorsConstructorDescriptionMapGroupAdapter(KeycloakSession session, RealmModel realm, MapGroupEntity entity) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChild(GroupModel subGroup) voiddeleteRoleMapping(RoleModel role) getAttributeStream(String name) getFirstAttribute(String name) getId()getName()voidbooleanhasDirectRole(RoleModel role) booleanvoidremoveAttribute(String name) voidremoveChild(GroupModel subGroup) voidsetAttribute(String name, List<String> values) voidvoidsetParent(GroupModel group) voidsetSingleAttribute(String name, String value) Methods inherited from class org.keycloak.models.map.group.AbstractGroupModel
equals, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.models.GroupModel
getSubGroupsStream
-
Constructor Details
-
MapGroupAdapter
-
-
Method Details
-
getId
-
getName
-
setName
-
setSingleAttribute
-
setAttribute
-
removeAttribute
-
getFirstAttribute
-
getAttributeStream
-
getAttributes
-
getParent
-
getParentId
-
setParent
-
addChild
-
removeChild
-
getRealmRoleMappingsStream
-
getClientRoleMappingsStream
-
hasDirectRole
-
hasRole
-
grantRole
-
getRoleMappingsStream
-
deleteRoleMapping
-