public static interface GroupModel.Streams extends GroupModel, RoleMapperModel.Streams
GroupModel.Streams interface makes all collection-based methods in GroupModel default by providing
implementations that delegate to the Stream-based variants instead of the other way around.
It allows for implementations to focus on the Stream-based approach for processing sets of data and benefit
from the potential memory and performance optimizations of that approach.GroupModel.GroupRemovedEvent, GroupModel.StreamsCOMPARE_BY_NAME| Modifier and Type | Method and Description |
|---|---|
default List<String> |
getAttribute(String name) |
Stream<String> |
getAttributeStream(String name) |
default Set<GroupModel> |
getSubGroups() |
Stream<GroupModel> |
getSubGroupsStream() |
addChild, getAttributes, getFirstAttribute, getId, getName, getParent, getParentId, removeAttribute, removeChild, setAttribute, setName, setParent, setSingleAttributegetClientRoleMappings, getClientRoleMappingsStream, getRealmRoleMappings, getRealmRoleMappingsStream, getRoleMappings, getRoleMappingsStreamdeleteRoleMapping, grantRole, hasRoledefault List<String> getAttribute(String name)
getAttribute in interface GroupModelStream<String> getAttributeStream(String name)
getAttributeStream in interface GroupModeldefault Set<GroupModel> getSubGroups()
getSubGroups in interface GroupModelStream<GroupModel> getSubGroupsStream()
getSubGroupsStream in interface GroupModelCopyright © 2021 JBoss by Red Hat. All rights reserved.