Interface VariableInstanceRestService

All Known Implementing Classes:
VariableInstanceRestServiceImpl

@Produces("application/json") public interface VariableInstanceRestService
Author:
roman.smirnov
  • Field Details

  • Method Details

    • getVariableInstance

      @Path("/{id}") VariableInstanceResource getVariableInstance(@PathParam("id") String id)
    • getVariableInstances

      @GET @Produces("application/json") List<VariableInstanceDto> getVariableInstances(@Context jakarta.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") Integer maxResults, @QueryParam("deserializeValues") @DefaultValue("true") boolean deserializeObjectValues)
      Exposes the VariableInstanceQuery interface as a REST service.
      Parameters:
      uriInfo -
      firstResult -
      maxResults -
      Returns:
    • queryVariableInstances

      @POST @Consumes("application/json") @Produces("application/json") List<VariableInstanceDto> queryVariableInstances(VariableInstanceQueryDto queryDto, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") Integer maxResults, @QueryParam("deserializeValues") @DefaultValue("true") 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.
      Parameters:
      queryDto -
      firstResult -
      maxResults -
      Returns:
    • getVariableInstancesCount

      @GET @Path("/count") @Produces("application/json") CountResultDto getVariableInstancesCount(@Context jakarta.ws.rs.core.UriInfo uriInfo)
    • queryVariableInstancesCount

      @POST @Path("/count") @Consumes("application/json") @Produces("application/json") CountResultDto queryVariableInstancesCount(VariableInstanceQueryDto queryDto)