Modifier and Type | Method and Description |
---|---|
GroupRepresentation |
RealmResource.getGroupByPath(String path) |
GroupRepresentation |
GroupResource.toRepresentation()
Does not expand hierarchy.
|
Modifier and Type | Method and Description |
---|---|
List<GroupRepresentation> |
RealmResource.getDefaultGroups() |
Set<GroupRepresentation> |
RoleResource.getRoleGroupMembers()
Get role groups
Returns groups that have the given role
|
Set<GroupRepresentation> |
RoleResource.getRoleGroupMembers(Integer firstResult,
Integer maxResults)
Get role groups
Returns groups that have the given role, paginated according to the query parameters
|
List<GroupRepresentation> |
UserResource.groups() |
List<GroupRepresentation> |
GroupsResource.groups()
Get all groups.
|
List<GroupRepresentation> |
UserResource.groups(Integer firstResult,
Integer maxResults) |
List<GroupRepresentation> |
GroupsResource.groups(Integer first,
Integer max)
Get groups by pagination params.
|
List<GroupRepresentation> |
UserResource.groups(Integer firstResult,
Integer maxResults,
boolean briefRepresentation) |
List<GroupRepresentation> |
UserResource.groups(String search,
Integer firstResult,
Integer maxResults) |
List<GroupRepresentation> |
GroupsResource.groups(String search,
Integer first,
Integer max)
Get groups by pagination params.
|
List<GroupRepresentation> |
UserResource.groups(String search,
Integer firstResult,
Integer maxResults,
boolean briefRepresentation) |
List<GroupRepresentation> |
GroupsResource.groups(String search,
Integer first,
Integer max,
boolean briefRepresentation)
Get groups by pagination params.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
GroupsResource.add(GroupRepresentation rep)
create or add a top level realm groupSet or create child.
|
javax.ws.rs.core.Response |
GroupResource.subGroup(GroupRepresentation rep)
Set or create child.
|
void |
GroupResource.update(GroupRepresentation rep)
Update group
|
Modifier and Type | Method and Description |
---|---|
static GroupRepresentation |
ModelToRepresentation.toGroupHierarchy(GroupModel group,
boolean full) |
static GroupRepresentation |
ModelToRepresentation.toRepresentation(GroupModel group,
boolean full) |
Modifier and Type | Method and Description |
---|---|
static Stream<GroupRepresentation> |
ModelToRepresentation.searchForGroupByName(RealmModel realm,
boolean full,
String search,
Integer first,
Integer max) |
static Stream<GroupRepresentation> |
ModelToRepresentation.searchForGroupByName(UserModel user,
boolean full,
String search,
Integer first,
Integer max) |
static Stream<GroupRepresentation> |
ModelToRepresentation.toGroupHierarchy(RealmModel realm,
boolean full) |
static Stream<GroupRepresentation> |
ModelToRepresentation.toGroupHierarchy(RealmModel realm,
boolean full,
Integer first,
Integer max) |
static Stream<GroupRepresentation> |
ModelToRepresentation.toGroupHierarchy(UserModel user,
boolean full) |
static Stream<GroupRepresentation> |
ModelToRepresentation.toGroupHierarchy(UserModel user,
boolean full,
Integer first,
Integer max) |
Modifier and Type | Method and Description |
---|---|
static void |
RepresentationToModel.importGroup(RealmModel realm,
GroupModel parent,
GroupRepresentation group) |
Modifier and Type | Method and Description |
---|---|
List<GroupRepresentation> |
GroupsPartialImport.getRepList(PartialImportRepresentation partialImportRep) |
Modifier and Type | Method and Description |
---|---|
void |
GroupsPartialImport.create(RealmModel realm,
KeycloakSession session,
GroupRepresentation groupRep) |
boolean |
GroupsPartialImport.exists(RealmModel realm,
KeycloakSession session,
GroupRepresentation groupRep) |
String |
GroupsPartialImport.existsMessage(RealmModel realm,
GroupRepresentation groupRep) |
String |
GroupsPartialImport.getModelId(RealmModel realm,
KeycloakSession session,
GroupRepresentation groupRep) |
String |
GroupsPartialImport.getName(GroupRepresentation group) |
void |
GroupsPartialImport.remove(RealmModel realm,
KeycloakSession session,
GroupRepresentation groupRep) |
Modifier and Type | Field and Description |
---|---|
protected List<GroupRepresentation> |
RealmRepresentation.groups |
protected List<GroupRepresentation> |
PartialImportRepresentation.groups |
protected List<GroupRepresentation> |
GroupRepresentation.subGroups |
Modifier and Type | Method and Description |
---|---|
GroupRepresentation |
GroupRepresentation.singleAttribute(String name,
String value) |
Modifier and Type | Method and Description |
---|---|
List<GroupRepresentation> |
RealmRepresentation.getGroups() |
List<GroupRepresentation> |
PartialImportRepresentation.getGroups() |
List<GroupRepresentation> |
GroupRepresentation.getSubGroups() |
Modifier and Type | Method and Description |
---|---|
void |
RealmRepresentation.setGroups(List<GroupRepresentation> groups) |
void |
PartialImportRepresentation.setGroups(List<GroupRepresentation> groups) |
void |
GroupRepresentation.setSubGroups(List<GroupRepresentation> subGroups) |
Modifier and Type | Method and Description |
---|---|
GroupRepresentation |
GroupResource.getGroup() |
GroupRepresentation |
RealmAdminResource.getGroupByPath(String path) |
Modifier and Type | Method and Description |
---|---|
Stream<GroupRepresentation> |
RealmAdminResource.getDefaultGroups()
Get group hierarchy.
|
Stream<GroupRepresentation> |
GroupsResource.getGroups(String search,
Integer firstResult,
Integer maxResults,
boolean briefRepresentation)
Get group hierarchy.
|
Stream<GroupRepresentation> |
RoleContainerResource.getGroupsInRole(String roleName,
Integer firstResult,
Integer maxResults,
boolean briefRepresentation)
Returns a stream of groups that have the specified role name
|
Stream<GroupRepresentation> |
UserResource.groupMembership(String search,
Integer firstResult,
Integer maxResults,
boolean briefRepresentation) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
GroupResource.addChild(GroupRepresentation rep)
Set or create child.
|
javax.ws.rs.core.Response |
GroupsResource.addTopLevelGroup(GroupRepresentation rep)
create or add a top level realm groupSet or create child.
|
javax.ws.rs.core.Response |
GroupResource.updateGroup(GroupRepresentation rep)
Update group, ignores subgroups.
|
static void |
GroupResource.updateGroup(GroupRepresentation rep,
GroupModel model) |
Modifier and Type | Method and Description |
---|---|
static GroupRepresentation |
ServicesUtils.groupToBriefRepresentation(GroupModel g) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.