public interface GroupLookupProvider
Modifier and Type | Method and Description |
---|---|
GroupModel |
getGroupById(RealmModel realm,
String id)
Returns a group from the given realm with the corresponding id
|
default List<GroupModel> |
searchForGroupByName(RealmModel realm,
String search,
Integer firstResult,
Integer maxResults)
Deprecated.
Use
searchForGroupByNameStream instead. |
Stream<GroupModel> |
searchForGroupByNameStream(RealmModel realm,
String search,
Integer firstResult,
Integer maxResults)
Returns the group hierarchy with the given string in name for the given realm.
|
default Stream<GroupModel> |
searchGroupsByAttributes(RealmModel realm,
Map<String,String> attributes,
Integer firstResult,
Integer maxResults)
Returns the groups filtered by attribute names and attribute values for the given realm.
|
GroupModel getGroupById(RealmModel realm, String id)
realm
- Realm.id
- Id.@Deprecated default List<GroupModel> searchForGroupByName(RealmModel realm, String search, Integer firstResult, Integer maxResults)
searchForGroupByNameStream
instead.realm
- Realm.search
- Case sensitive searched string.firstResult
- First result to return. Ignored if null
.maxResults
- Maximum number of results to return. Ignored if null
.Stream<GroupModel> searchForGroupByNameStream(RealmModel realm, String search, Integer firstResult, Integer maxResults)
realm
- Realm.search
- Case sensitive searched string.firstResult
- First result to return. Ignored if negative or null
.maxResults
- Maximum number of results to return. Ignored if negative or null
.null
.default Stream<GroupModel> searchGroupsByAttributes(RealmModel realm, Map<String,String> attributes, Integer firstResult, Integer maxResults)
realm
- Realm.attributes
- name-value pairs that are compared to group attributes.firstResult
- First result to return. Ignored if negative or null
.maxResults
- Maximum number of results to return. Ignored if negative or null
.null
.Copyright © 2025 JBoss by Red Hat. All rights reserved.