Interface RoleByIdResource
public interface RoleByIdResource
Sometimes its easier to just interact with roles by their ID instead of container/role-name
- Version:
 - $Revision: 1 $
 - Author:
 - Bill Burke
 
- 
Method Summary
Modifier and TypeMethodDescriptionvoidaddComposites(String id, List<RoleRepresentation> roles) voiddeleteComposites(String id, List<RoleRepresentation> roles) voiddeleteRole(String id) getClientRoleComposites(String id, String clientUuid) searchRoleComposites(String id, String search, Integer first, Integer max) voidupdateRole(String id, RoleRepresentation rep)  
- 
Method Details
- 
getRole
@Path("{role-id}") @GET @Produces("application/json") RoleRepresentation getRole(@PathParam("role-id") String id)  - 
deleteRole
 - 
updateRole
@Path("{role-id}") @PUT @Consumes("application/json") void updateRole(@PathParam("role-id") String id, RoleRepresentation rep)  - 
addComposites
@Path("{role-id}/composites") @POST @Consumes("application/json") void addComposites(@PathParam("role-id") String id, List<RoleRepresentation> roles)  - 
getRoleComposites
@Path("{role-id}/composites") @GET @Produces("application/json") Set<RoleRepresentation> getRoleComposites(@PathParam("role-id") String id)  - 
searchRoleComposites
 - 
getRealmRoleComposites
@Path("{role-id}/composites/realm") @GET @Produces("application/json") Set<RoleRepresentation> getRealmRoleComposites(@PathParam("role-id") String id)  - 
getClientRoleComposites
@Path("{role-id}/composites/clients/{clientUuid}") @GET @Produces("application/json") Set<RoleRepresentation> getClientRoleComposites(@PathParam("role-id") String id, @PathParam("clientUuid") String clientUuid)  - 
deleteComposites
@Path("{role-id}/composites") @DELETE @Consumes("application/json") void deleteComposites(@PathParam("role-id") String id, List<RoleRepresentation> roles)  
 -