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