Interface RoleByIdResource
- 
 public interface RoleByIdResourceSometimes its easier to just interact with roles by their ID instead of container/role-name- Version:
- $Revision: 1 $
- Author:
- Bill Burke
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddComposites(String id, List<RoleRepresentation> roles)voiddeleteComposites(String id, List<RoleRepresentation> roles)voiddeleteRole(String id)Set<RoleRepresentation>getClientRoleComposites(String id, String clientUuid)Set<RoleRepresentation>getRealmRoleComposites(String id)RoleRepresentationgetRole(String id)Set<RoleRepresentation>getRoleComposites(String id)Set<RoleRepresentation>searchRoleComposites(String id, String search, Integer first, Integer max)voidupdateRole(String id, RoleRepresentation rep)
 
- 
- 
- 
Method Detail- 
getRole@Path("{role-id}") @GET @Produces("application/json") RoleRepresentation getRole(@PathParam("role-id") String id)
 - 
deleteRole@Path("{role-id}") @DELETE void deleteRole(@PathParam("role-id") String id)
 - 
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@Path("{role-id}/composites") @GET @Produces("application/json") Set<RoleRepresentation> searchRoleComposites(@PathParam("role-id") String id, @QueryParam("search") String search, @QueryParam("first") Integer first, @QueryParam("max") Integer max)
 - 
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)
 
- 
 
-