public interface RolePoliciesResource
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
create(RolePolicyRepresentation representation) |
RolePolicyResource |
findById(String id) |
RolePolicyRepresentation |
findByName(String name) |
@POST @Consumes(value="application/json") @Produces(value="application/json") javax.ws.rs.core.Response create(RolePolicyRepresentation representation)
@Path(value="{id}") RolePolicyResource findById(@PathParam(value="id") String id)
@Path(value="/search") @GET @Produces(value="application/json") RolePolicyRepresentation findByName(@QueryParam(value="name") String name)
Copyright © 2020 JBoss by Red Hat. All rights reserved.