Uses of Class
org.keycloak.representations.idm.GroupRepresentation
Package
Description
-
Uses of GroupRepresentation in org.keycloak.admin.client.resource
Modifier and TypeMethodDescriptionRealmResource.getGroupByPath
(String path) GroupResource.toRepresentation()
Does not expand hierarchy.Modifier and TypeMethodDescriptionRealmResource.getDefaultGroups()
RoleResource.getRoleGroupMembers()
Get role groupsRoleResource.getRoleGroupMembers
(Integer firstResult, Integer maxResults) Get role groupsGroupsResource.groups()
Get all groups.Get groups by pagination params.GroupsResource.groups
(String search, Boolean exact, Integer first, Integer max, boolean briefRepresentation) Get groups by pagination params.Get groups by pagination params.Get groups by pagination params.UserResource.groups()
UserResource.groups
(String search, Integer firstResult, Integer maxResults, boolean briefRepresentation) GroupsResource.query
(String searchQuery, boolean populateHierarchy, Integer first, Integer max, boolean briefRepresentation) Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
GroupsResource.add
(GroupRepresentation rep) create or add a top level realm groupSet or create child.jakarta.ws.rs.core.Response
GroupResource.subGroup
(GroupRepresentation rep) Set or create child.void
GroupResource.update
(GroupRepresentation rep) Update group -
Uses of GroupRepresentation in org.keycloak.models.utils
Modifier and TypeMethodDescriptionstatic GroupRepresentation
ModelToRepresentation.groupToBriefRepresentation
(GroupModel g) static GroupRepresentation
ModelToRepresentation.toGroupHierarchy
(GroupModel group, boolean full) static GroupRepresentation
ModelToRepresentation.toGroupHierarchy
(GroupModel group, boolean full, String search) Deprecated.static GroupRepresentation
ModelToRepresentation.toGroupHierarchy
(GroupModel group, boolean full, String search, Boolean exact) static GroupRepresentation
ModelToRepresentation.toGroupHierarchy
(GroupModel group, boolean full, Map<String, String> attributes) static GroupRepresentation
ModelToRepresentation.toRepresentation
(GroupModel group, boolean full) Modifier and TypeMethodDescriptionstatic Stream<GroupRepresentation>
ModelToRepresentation.searchForGroupByName
(KeycloakSession session, RealmModel realm, boolean full, String search, Boolean exact, Integer first, Integer max) static Stream<GroupRepresentation>
ModelToRepresentation.searchForGroupByName
(UserModel user, boolean full, String search, Integer first, Integer max) static Stream<GroupRepresentation>
ModelToRepresentation.searchGroupsByAttributes
(KeycloakSession session, RealmModel realm, boolean full, boolean populateHierarchy, Map<String, String> attributes, 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 TypeMethodDescriptionstatic void
RepresentationToModel.importGroup
(RealmModel realm, GroupModel parent, GroupRepresentation group) -
Uses of GroupRepresentation in org.keycloak.partialimport
Modifier and TypeMethodDescriptionGroupsPartialImport.getRepList
(PartialImportRepresentation partialImportRep) Modifier and TypeMethodDescriptionvoid
GroupsPartialImport.create
(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep) boolean
GroupsPartialImport.exists
(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep) GroupsPartialImport.existsMessage
(RealmModel realm, GroupRepresentation groupRep) GroupsPartialImport.getModelId
(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep) GroupsPartialImport.getName
(GroupRepresentation group) void
GroupsPartialImport.remove
(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep) -
Uses of GroupRepresentation in org.keycloak.representations.idm
Modifier and TypeFieldDescriptionprotected List<GroupRepresentation>
PartialImportRepresentation.groups
protected List<GroupRepresentation>
RealmRepresentation.groups
protected List<GroupRepresentation>
GroupRepresentation.subGroups
Modifier and TypeMethodDescriptionPartialImportRepresentation.getGroups()
RealmRepresentation.getGroups()
GroupRepresentation.getSubGroups()
Modifier and TypeMethodDescriptionvoid
PartialImportRepresentation.setGroups
(List<GroupRepresentation> groups) void
RealmRepresentation.setGroups
(List<GroupRepresentation> groups) void
GroupRepresentation.setSubGroups
(List<GroupRepresentation> subGroups) -
Uses of GroupRepresentation in org.keycloak.services.resources.account
Modifier and TypeMethodDescriptionAccountRestService.groupMemberships
(boolean briefRepresentation) -
Uses of GroupRepresentation in org.keycloak.services.resources.admin
Modifier and TypeMethodDescriptionGroupResource.getGroup()
RealmAdminResource.getGroupByPath
(String path) Modifier and TypeMethodDescriptionRealmAdminResource.getDefaultGroups()
Get group hierarchy.GroupsResource.getGroups
(String search, String searchQuery, Boolean exact, Integer firstResult, Integer maxResults, boolean briefRepresentation, boolean populateHierarchy) Get group hierarchy.RoleContainerResource.getGroupsInRole
(String roleName, Integer firstResult, Integer maxResults, boolean briefRepresentation) Returns a stream of groups that have the specified role nameUserResource.groupMembership
(String search, Integer firstResult, Integer maxResults, boolean briefRepresentation) Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
GroupResource.addChild
(GroupRepresentation rep) Set or create child.jakarta.ws.rs.core.Response
GroupsResource.addTopLevelGroup
(GroupRepresentation rep) create or add a top level realm groupSet or create child.jakarta.ws.rs.core.Response
GroupResource.updateGroup
(GroupRepresentation rep) Update group, ignores subgroups.static void
GroupResource.updateGroup
(GroupRepresentation rep, GroupModel model, RealmModel realm, KeycloakSession session) -
Uses of GroupRepresentation in org.keycloak.utils
Modifier and TypeMethodDescriptionstatic GroupRepresentation
GroupUtils.toGroupHierarchy
(GroupPermissionEvaluator groupsEvaluator, GroupModel group, String search, boolean exact, boolean lazy) static GroupRepresentation
GroupUtils.toGroupHierarchy
(GroupPermissionEvaluator groupsEvaluator, GroupModel group, String search, boolean exact, boolean full, boolean lazy)