public interface RolesResource
Modifier and Type | Method and Description |
---|---|
void |
create(RoleRepresentation roleRepresentation) |
RoleResource |
get(String roleName) |
List<RoleRepresentation> |
list() |
@GET @Produces(value="application/json") List<RoleRepresentation> list()
@POST @Consumes(value="application/json") void create(RoleRepresentation roleRepresentation)
@Path(value="{roleName}") RoleResource get(@PathParam(value="roleName") String roleName)
Copyright © 2014. All Rights Reserved.