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(Integer first, Integer max, Boolean briefRepresentation, Boolean subGroupsCount) 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.GroupResource.getSubGroups(String search, Boolean exact, Integer first, Integer max, Boolean briefRepresentation, Boolean subGroupsCount) 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.GroupsResource.groups(String search, Boolean exact, Integer first, Integer max, boolean briefRepresentation, Boolean subGroupsCount) 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.ResponseGroupsResource.add(GroupRepresentation rep) create or add a top level realm groupSet or create child.jakarta.ws.rs.core.ResponseGroupResource.subGroup(GroupRepresentation rep) Set or create child.voidGroupResource.update(GroupRepresentation rep) Update group -
Uses of GroupRepresentation in org.keycloak.models.utils
Methods in org.keycloak.models.utils that return GroupRepresentationModifier and TypeMethodDescriptionstatic GroupRepresentationModelToRepresentation.groupToBriefRepresentation(GroupModel g) static GroupRepresentationModelToRepresentation.toGroupHierarchy(GroupModel group, boolean full) Deprecated.static GroupRepresentationModelToRepresentation.toGroupHierarchy(GroupModel group, boolean full, String search) Deprecated.static GroupRepresentationModelToRepresentation.toGroupHierarchy(GroupModel group, boolean full, String search, Boolean exact) Deprecated.static GroupRepresentationModelToRepresentation.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 voidRepresentationToModel.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 TypeMethodDescriptionvoidGroupsPartialImport.create(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep) booleanGroupsPartialImport.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) voidGroupsPartialImport.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.groupsprotected List<GroupRepresentation>RealmRepresentation.groupsprotected List<GroupRepresentation>GroupRepresentation.subGroupsMethods 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 TypeMethodDescriptionvoidPartialImportRepresentation.setGroups(List<GroupRepresentation> groups) voidRealmRepresentation.setGroups(List<GroupRepresentation> groups) voidGroupRepresentation.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, Boolean subGroupsCount) 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, Boolean subGroupsCount) 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.ResponseGroupResource.addChild(GroupRepresentation rep) Set or create child.jakarta.ws.rs.core.ResponseGroupsResource.addTopLevelGroup(GroupRepresentation rep) create or add a top level realm groupSet or create child.jakarta.ws.rs.core.ResponseGroupResource.updateGroup(GroupRepresentation rep) Update group, ignores subgroups.static voidGroupResource.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 GroupRepresentationGroupUtils.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 GroupRepresentationGroupUtils.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, boolean subGroupsCount) 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 GroupRepresentationGroupUtils.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.