Interface ResourcesResource
public interface ResourcesResource
- Author:
- Pedro Igor
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
create
(ResourceRepresentation resource) find
(String name, String uri, String owner, String type, String scope, Integer firstResult, Integer maxResult) findByName
(String name) findByName
(String name, String owner)
-
Method Details
-
create
@POST @Consumes("application/json") @Produces("application/json") jakarta.ws.rs.core.Response create(ResourceRepresentation resource) -
resource
-
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
-