Interface VariableInstanceRestService

  • All Known Implementing Classes:
    VariableInstanceRestServiceImpl

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

      • getVariableInstance

        @Path("/{id}")
        VariableInstanceResource getVariableInstance​(@PathParam("id")
                                                     java.lang.String id)
      • getVariableInstances

        @GET
        @Produces("application/json")
        java.util.List<VariableInstanceDto> getVariableInstances​(@Context
                                                                 javax.ws.rs.core.UriInfo uriInfo,
                                                                 @QueryParam("firstResult")
                                                                 java.lang.Integer firstResult,
                                                                 @QueryParam("maxResults")
                                                                 java.lang.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")
        java.util.List<VariableInstanceDto> queryVariableInstances​(VariableInstanceQueryDto queryDto,
                                                                   @QueryParam("firstResult")
                                                                   java.lang.Integer firstResult,
                                                                   @QueryParam("maxResults")
                                                                   java.lang.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
                                                 javax.ws.rs.core.UriInfo uriInfo)
      • queryVariableInstancesCount

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