@Path(value="implementations") public interface ImplementationService extends JAXRSService
PARAM_ANYTYPE_KIND, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_RESOURCE, PARAM_SIZE| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
create(ImplementationTO implementationTO)
Creates a new implementation.
|
javax.ws.rs.core.Response |
delete(ImplementationType type,
String key)
Deletes the implementation matching the given key and type.
|
List<ImplementationTO> |
list(ImplementationType type)
Returns a list of all implementations of the given type.
|
ImplementationTO |
read(ImplementationType type,
String key)
Returns implementation with matching type and key.
|
javax.ws.rs.core.Response |
update(ImplementationTO implementationTO)
Updates an existing implementation.
|
@GET
@Path(value="{type}")
@Produces(value={"application/json","application/yaml","application/xml"})
List<ImplementationTO> list(@NotNull @PathParam(value="type")
ImplementationType type)
type - implementation type@GET
@Path(value="{type}/{key}")
@Produces(value={"application/json","application/yaml","application/xml"})
ImplementationTO read(@NotNull @PathParam(value="type")
ImplementationType type,
@NotNull @PathParam(value="key")
String key)
type - implementation typekey - key of implementation to be read@POST
@Path(value="{type}/{key}")
@Consumes(value={"application/json","application/yaml","application/xml"})
@Produces(value={"application/json","application/yaml","application/xml"})
javax.ws.rs.core.Response create(@NotNull
ImplementationTO implementationTO)
implementationTO - implementation.@PUT
@Path(value="{type}/{key}")
@Consumes(value={"application/json","application/yaml","application/xml"})
@Produces(value={"application/json","application/yaml","application/xml"})
javax.ws.rs.core.Response update(@NotNull
ImplementationTO implementationTO)
implementationTO - implementation.@DELETE
@Path(value="{type}/{key}")
@Produces(value={"application/json","application/yaml","application/xml"})
javax.ws.rs.core.Response delete(@NotNull @PathParam(value="type")
ImplementationType type,
@NotNull @PathParam(value="key")
String key)
type - implementation typekey - key for implementation to be deletedCopyright © 2010–2018 The Apache Software Foundation. All rights reserved.