Interface ResourcesResource
-
public interface ResourcesResource
- Author:
- Pedro Igor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.ws.rs.core.Response
create(ResourceRepresentation resource)
List<ResourceRepresentation>
find(String name, String uri, String owner, String type, String scope, Integer firstResult, Integer maxResult)
List<ResourceRepresentation>
findByName(String name)
List<ResourceRepresentation>
findByName(String name, String owner)
ResourceResource
resource(String id)
List<ResourceRepresentation>
resources()
-
-
-
Method Detail
-
create
@POST @Consumes("application/json") @Produces("application/json") javax.ws.rs.core.Response create(ResourceRepresentation resource)
-
resource
@Path("{id}") ResourceResource resource(@PathParam("id") String id)
-
find
@GET @Produces("application/json") List<ResourceRepresentation> find(@QueryParam("name") String name, @QueryParam("uri") String uri, @QueryParam("owner") String owner, @QueryParam("type") String type, @QueryParam("scope") String scope, @QueryParam("first") Integer firstResult, @QueryParam("max") Integer maxResult)
-
findByName
@GET @Produces("application/json") List<ResourceRepresentation> findByName(@QueryParam("name") String name)
-
findByName
@GET @Produces("application/json") List<ResourceRepresentation> findByName(@QueryParam("name") String name, @QueryParam("owner") String owner)
-
resources
@GET @Produces("application/json") List<ResourceRepresentation> resources()
-
-