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 groups with the given string in name 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
.Copyright © 2021 JBoss by Red Hat. All rights reserved.