@Produces(value="application/json")
public interface VariableInstanceRestService
Modifier and Type | Method and Description |
---|---|
VariableInstanceResource |
getVariableInstance(String id) |
List<VariableInstanceDto> |
getVariableInstances(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults,
boolean deserializeObjectValues)
Exposes the
VariableInstanceQuery interface as a REST service. |
CountResultDto |
getVariableInstancesCount(javax.ws.rs.core.UriInfo uriInfo) |
List<VariableInstanceDto> |
queryVariableInstances(VariableInstanceQueryDto queryDto,
Integer firstResult,
Integer maxResults,
boolean deserializeObjectValues)
Expects the same parameters as
VariableInstanceRestService#getVariableInstances(UriInfo, Integer, Integer) (as a JSON message body)
and allows for any number of variable checks. |
CountResultDto |
queryVariableInstancesCount(VariableInstanceQueryDto queryDto) |
static final String PATH
@Path(value="/{id}") VariableInstanceResource getVariableInstance(@PathParam(value="id") String id)
@GET @Produces(value="application/json") List<VariableInstanceDto> getVariableInstances(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults, @QueryParam(value="deserializeValues") @DefaultValue(value="true") boolean deserializeObjectValues)
VariableInstanceQuery
interface as a REST service.uriInfo
- firstResult
- maxResults
- @POST @Consumes(value="application/json") @Produces(value="application/json") List<VariableInstanceDto> queryVariableInstances(VariableInstanceQueryDto queryDto, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults, @QueryParam(value="deserializeValues") @DefaultValue(value="true") boolean deserializeObjectValues)
VariableInstanceRestService#getVariableInstances(UriInfo, Integer, Integer)
(as a JSON message body)
and allows for any number of variable checks.queryDto
- firstResult
- maxResults
- @GET @Path(value="/count") @Produces(value="application/json") CountResultDto getVariableInstancesCount(@Context javax.ws.rs.core.UriInfo uriInfo)
@POST @Path(value="/count") @Consumes(value="application/json") @Produces(value="application/json") CountResultDto queryVariableInstancesCount(VariableInstanceQueryDto queryDto)
Copyright © 2022. All rights reserved.