public interface RoleByIdResource
| Modifier and Type | Method and Description |
|---|---|
void |
addComposites(String id,
List<RoleRepresentation> roles) |
void |
deleteComposites(String id,
List<RoleRepresentation> roles) |
void |
deleteRole(String id) |
Set<RoleRepresentation> |
getClientRoleComposites(String id,
String clientUuid) |
Set<RoleRepresentation> |
getRealmRoleComposites(String id) |
RoleRepresentation |
getRole(String id) |
Set<RoleRepresentation> |
getRoleComposites(String id) |
void |
updateRole(String id,
RoleRepresentation rep) |
@Path(value="{role-id}")
@GET
@Produces(value="application/json")
RoleRepresentation getRole(@PathParam(value="role-id")
String id)
@Path(value="{role-id}")
@DELETE
void deleteRole(@PathParam(value="role-id")
String id)
@Path(value="{role-id}")
@PUT
@Consumes(value="application/json")
void updateRole(@PathParam(value="role-id")
String id,
RoleRepresentation rep)
@Path(value="{role-id}/composites")
@POST
@Consumes(value="application/json")
void addComposites(@PathParam(value="role-id")
String id,
List<RoleRepresentation> roles)
@Path(value="{role-id}/composites")
@GET
@Produces(value="application/json")
Set<RoleRepresentation> getRoleComposites(@PathParam(value="role-id")
String id)
@Path(value="{role-id}/composites/realm")
@GET
@Produces(value="application/json")
Set<RoleRepresentation> getRealmRoleComposites(@PathParam(value="role-id")
String id)
@Path(value="{role-id}/composites/clients/{clientUuid}")
@GET
@Produces(value="application/json")
Set<RoleRepresentation> getClientRoleComposites(@PathParam(value="role-id")
String id,
@PathParam(value="clientUuid")
String clientUuid)
@Path(value="{role-id}/composites")
@DELETE
@Consumes(value="application/json")
void deleteComposites(@PathParam(value="role-id")
String id,
List<RoleRepresentation> roles)
Copyright © 2022 JBoss by Red Hat. All rights reserved.