Uses of Class
org.keycloak.representations.idm.GroupRepresentation
Packages that use GroupRepresentation
Package
Description
-
Uses of GroupRepresentation in org.keycloak.admin.client.resource
Methods in org.keycloak.admin.client.resource that return GroupRepresentationModifier and TypeMethodDescriptionRealmResource.getGroupByPath
(String path) GroupResource.toRepresentation()
Does not expand hierarchy.Methods in org.keycloak.admin.client.resource that return types with arguments of type GroupRepresentationModifier and TypeMethodDescriptionRealmResource.getDefaultGroups()
RoleResource.getRoleGroupMembers()
Get role groups.RoleResource.getRoleGroupMembers
(Integer firstResult, Integer maxResults) Get role groups.GroupResource.getSubGroups
(Integer first, Integer max, Boolean briefRepresentation) Get the paginated list of subgroups belonging to this group.GroupResource.getSubGroups
(String search, Boolean exact, Integer first, Integer max, Boolean briefRepresentation) Get the paginated list of subgroups belonging to this group, filtered according to the specified parameters.GroupsResource.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) Methods in org.keycloak.admin.client.resource with parameters of type GroupRepresentationModifier 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
Methods in org.keycloak.models.utils that return GroupRepresentationModifier and TypeMethodDescriptionstatic GroupRepresentation
ModelToRepresentation.groupToBriefRepresentation
(GroupModel g) static GroupRepresentation
ModelToRepresentation.toGroupHierarchy
(GroupModel group, boolean full) Deprecated.static GroupRepresentation
ModelToRepresentation.toGroupHierarchy
(GroupModel group, boolean full, String search) Deprecated.static GroupRepresentation
ModelToRepresentation.toGroupHierarchy
(GroupModel group, boolean full, String search, Boolean exact) Deprecated.static GroupRepresentation
ModelToRepresentation.toRepresentation
(GroupModel group, boolean full) Methods in org.keycloak.models.utils that return types with arguments of type GroupRepresentationModifier and TypeMethodDescriptionstatic Stream<GroupRepresentation>
ModelToRepresentation.toGroupHierarchy
(KeycloakSession session, RealmModel realm, boolean full) Deprecated.Methods in org.keycloak.models.utils with parameters of type GroupRepresentationModifier and TypeMethodDescriptionstatic void
RepresentationToModel.importGroup
(RealmModel realm, GroupModel parent, GroupRepresentation group) -
Uses of GroupRepresentation in org.keycloak.partialimport
Methods in org.keycloak.partialimport that return types with arguments of type GroupRepresentationModifier and TypeMethodDescriptionGroupsPartialImport.getRepList
(PartialImportRepresentation partialImportRep) Methods in org.keycloak.partialimport with parameters of type GroupRepresentationModifier 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
Fields in org.keycloak.representations.idm with type parameters of type GroupRepresentationModifier and TypeFieldDescriptionprotected List<GroupRepresentation>
PartialImportRepresentation.groups
protected List<GroupRepresentation>
RealmRepresentation.groups
protected List<GroupRepresentation>
GroupRepresentation.subGroups
Methods in org.keycloak.representations.idm that return GroupRepresentationMethods in org.keycloak.representations.idm that return types with arguments of type GroupRepresentationModifier and TypeMethodDescriptionPartialImportRepresentation.getGroups()
RealmRepresentation.getGroups()
GroupRepresentation.getSubGroups()
Methods in org.keycloak.representations.idm with parameters of type GroupRepresentationMethod parameters in org.keycloak.representations.idm with type arguments of type GroupRepresentationModifier 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
Methods in org.keycloak.services.resources.account that return types with arguments of type GroupRepresentationModifier and TypeMethodDescriptionAccountRestService.groupMemberships
(boolean briefRepresentation) -
Uses of GroupRepresentation in org.keycloak.services.resources.admin
Methods in org.keycloak.services.resources.admin that return GroupRepresentationModifier and TypeMethodDescriptionGroupResource.getGroup()
RealmAdminResource.getGroupByPath
(String path) Methods in org.keycloak.services.resources.admin that return types with arguments of type GroupRepresentationModifier 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 nameGroupResource.getSubGroups
(String search, Boolean exact, Integer first, Integer max, Boolean briefRepresentation) UserResource.groupMembership
(String search, Integer firstResult, Integer maxResults, boolean briefRepresentation) Methods in org.keycloak.services.resources.admin with parameters of type GroupRepresentationModifier 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
Methods in org.keycloak.utils that return GroupRepresentationModifier and TypeMethodDescriptionstatic GroupRepresentation
GroupUtils.populateSubGroupCount
(GroupModel group, GroupRepresentation representation) This method's purpose is to look up the subgroup count of a Group and populate it on the representation.static GroupRepresentation
GroupUtils.toRepresentation
(GroupPermissionEvaluator groupsEvaluator, GroupModel groupTree, boolean full) Methods in org.keycloak.utils that return types with arguments of type GroupRepresentationModifier and TypeMethodDescriptionstatic Stream<GroupRepresentation>
GroupUtils.populateGroupHierarchyFromSubGroups
(KeycloakSession session, RealmModel realm, Stream<GroupModel> groups, boolean full, GroupPermissionEvaluator groupEvaluator) This method takes the provided groups and attempts to load their parents all the way to the root group while maintaining the hierarchy data for each GroupRepresentation object.Methods in org.keycloak.utils with parameters of type GroupRepresentationModifier and TypeMethodDescriptionstatic GroupRepresentation
GroupUtils.populateSubGroupCount
(GroupModel group, GroupRepresentation representation) This method's purpose is to look up the subgroup count of a Group and populate it on the representation.