public interface RoleResource
| Modifier and Type | Method and Description |
|---|---|
void |
addChildren(List<RoleRepresentation> rolesToAdd) |
Set<RoleRepresentation> |
getApplicationLevelChildren(String appName) |
Set<RoleRepresentation> |
getChildren() |
Set<RoleRepresentation> |
getRealmLevelChildren() |
void |
remove() |
void |
removeChildren(List<RoleRepresentation> rolesToRemove) |
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> getChildren()
@GET @Path(value="composites/realm") @Produces(value="application/json") Set<RoleRepresentation> getRealmLevelChildren()
@GET
@Path(value="composites/application/{appName}")
@Produces(value="application/json")
Set<RoleRepresentation> getApplicationLevelChildren(@PathParam(value="appName")
String appName)
@POST @Path(value="composites") @Consumes(value="application/json") void addChildren(List<RoleRepresentation> rolesToAdd)
@DELETE @Path(value="composites") @Consumes(value="application/json") void removeChildren(List<RoleRepresentation> rolesToRemove)
Copyright © 2014. All Rights Reserved.