public interface RoleResource
Modifier and Type | Method and Description |
---|---|
void |
addComposites(List<RoleRepresentation> rolesToAdd) |
void |
deleteComposites(List<RoleRepresentation> rolesToRemove) |
Set<RoleRepresentation> |
getClientRoleComposites(String appName) |
Set<RoleRepresentation> |
getRealmRoleComposites() |
Set<RoleRepresentation> |
getRoleComposites() |
Set<UserRepresentation> |
getRoleUserMembers() |
void |
remove() |
RoleRepresentation |
toRepresentation() |
void |
update(RoleRepresentation roleRepresentation) |
@GET @Produces(value="application/json") RoleRepresentation toRepresentation()
@PUT @Consumes(value="application/json") void update(RoleRepresentation roleRepresentation)
@DELETE void remove()
@GET @Path(value="composites") @Produces(value="application/json") Set<RoleRepresentation> getRoleComposites()
@GET @Path(value="composites/realm") @Produces(value="application/json") Set<RoleRepresentation> getRealmRoleComposites()
@GET @Path(value="composites/clients/{appName}") @Produces(value="application/json") Set<RoleRepresentation> getClientRoleComposites(@PathParam(value="appName") String appName)
@POST @Path(value="composites") @Consumes(value="application/json") void addComposites(List<RoleRepresentation> rolesToAdd)
@DELETE @Path(value="composites") @Consumes(value="application/json") void deleteComposites(List<RoleRepresentation> rolesToRemove)
@GET @Path(value="users") @Produces(value="application/json") Set<UserRepresentation> getRoleUserMembers()
Copyright © 2019 JBoss by Red Hat. All rights reserved.