public interface GroupResource
Modifier and Type | Method and Description |
---|---|
ManagementPermissionReference |
getPermissions()
Returns indicator if the fine grain permissions are enabled or not.
|
List<UserRepresentation> |
members()
Get users
Returns a list of all users in group.
|
List<UserRepresentation> |
members(Integer firstResult,
Integer maxResults)
Get users
Returns a list of users, filtered according to query parameters
|
void |
remove() |
RoleMappingResource |
roles() |
ManagementPermissionReference |
setPermissions(ManagementPermissionRepresentation status)
Enables or disables the fine grain permissions feature.
|
javax.ws.rs.core.Response |
subGroup(GroupRepresentation rep)
Set or create child.
|
GroupRepresentation |
toRepresentation()
Does not expand hierarchy.
|
void |
update(GroupRepresentation rep)
Update group
|
@PUT @Path(value="/management/permissions") @Consumes(value="application/json") @Produces(value="application/json") ManagementPermissionReference setPermissions(ManagementPermissionRepresentation status)
ManagementPermissionReference
.status
- status request to apply@GET @Path(value="/management/permissions") @Produces(value="application/json") ManagementPermissionReference getPermissions()
@GET @Produces(value="application/json") GroupRepresentation toRepresentation()
@PUT @Consumes(value="application/json") void update(GroupRepresentation rep)
rep
- @DELETE void remove()
@POST @Path(value="children") @Produces(value="application/json") @Consumes(value="application/json") javax.ws.rs.core.Response subGroup(GroupRepresentation rep)
rep
- @Path(value="role-mappings") RoleMappingResource roles()
@GET @Path(value="/members") @Produces(value="application/json") List<UserRepresentation> members()
@GET @Path(value="/members") @Produces(value="application/json") List<UserRepresentation> members(@QueryParam(value="first") Integer firstResult, @QueryParam(value="max") Integer maxResults)
firstResult
- Pagination offsetmaxResults
- Pagination sizeCopyright © 2019 JBoss by Red Hat. All rights reserved.