Interface JSPoliciesResource
-
public interface JSPoliciesResource
- Author:
- Pedro Igor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.ws.rs.core.Response
create(JSPolicyRepresentation representation)
JSPolicyResource
findById(String id)
JSPolicyRepresentation
findByName(String name)
-
-
-
Method Detail
-
create
@POST @Consumes("application/json") @Produces("application/json") javax.ws.rs.core.Response create(JSPolicyRepresentation representation)
-
findById
@Path("{id}") JSPolicyResource findById(@PathParam("id") String id)
-
findByName
@Path("/search") @GET @Produces("application/json") JSPolicyRepresentation findByName(@QueryParam("name") String name)
-
-