Interface ComponentsResource
-
public interface ComponentsResource
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.ws.rs.core.Response
add(ComponentRepresentation rep)
ComponentResource
component(String id)
List<ComponentRepresentation>
query()
List<ComponentRepresentation>
query(String parent)
List<ComponentRepresentation>
query(String parent, String type)
List<ComponentRepresentation>
query(String parent, String type, String name)
ComponentResource
removeComponent(String id)
-
-
-
Method Detail
-
query
@GET @Produces("application/json") List<ComponentRepresentation> query()
-
query
@GET @Produces("application/json") List<ComponentRepresentation> query(@QueryParam("parent") String parent)
-
query
@GET @Produces("application/json") List<ComponentRepresentation> query(@QueryParam("parent") String parent, @QueryParam("type") String type)
-
query
@GET @Produces("application/json") List<ComponentRepresentation> query(@QueryParam("parent") String parent, @QueryParam("type") String type, @QueryParam("name") String name)
-
add
@POST @Consumes("application/json") javax.ws.rs.core.Response add(ComponentRepresentation rep)
-
component
@Path("{id}") ComponentResource component(@PathParam("id") String id)
-
removeComponent
@Path("{id}") @DELETE ComponentResource removeComponent(@PathParam("id") String id)
-
-