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