public interface GroupsResource
Modifier and Type | Method and Description |
---|---|
Response |
add(GroupRepresentation rep)
create or add a top level realm groupSet or create child.
|
Map<String,Long> |
count()
Counts all groups.
|
Map<String,Long> |
count(boolean onlyTopGroups)
Counts groups by name search.
|
Map<String,Long> |
count(String search)
Counts groups by name search.
|
GroupResource |
group(String id) |
List<GroupRepresentation> |
groups()
Get all groups.
|
List<GroupRepresentation> |
groups(Integer first,
Integer max)
Get groups by pagination params.
|
List<GroupRepresentation> |
groups(String search,
Integer first,
Integer max)
Get groups by pagination params.
|
List<GroupRepresentation> groups()
List<GroupRepresentation> groups(Integer first, Integer max)
first
- index of the first elementmax
- max number of occurrencesList<GroupRepresentation> groups(String search, Integer first, Integer max)
search
- max number of occurrencesfirst
- index of the first elementmax
- max number of occurrencesMap<String,Long> count()
Map<String,Long> count(String search)
search
- max number of occurrencesMap<String,Long> count(boolean onlyTopGroups)
onlyTopGroups
- true
or false
for filter only top level groups countResponse add(GroupRepresentation rep)
rep
- GroupResource group(String id)
Copyright © 2019 JBoss by Red Hat. All rights reserved.