Package org.camunda.bpm.engine.rest
Interface VariableInstanceRestService
- All Known Implementing Classes:
VariableInstanceRestServiceImpl
@Produces("application/json")
public interface VariableInstanceRestService
- Author:
- roman.smirnov
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetVariableInstances
(jakarta.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults, boolean deserializeObjectValues) Exposes theVariableInstanceQuery
interface as a REST service.getVariableInstancesCount
(jakarta.ws.rs.core.UriInfo uriInfo) queryVariableInstances
(VariableInstanceQueryDto queryDto, Integer firstResult, Integer maxResults, boolean deserializeObjectValues) Expects the same parameters asVariableInstanceRestService#getVariableInstances(UriInfo, Integer, Integer)
(as a JSON message body) and allows for any number of variable checks.
-
Field Details
-
PATH
- See Also:
-
-
Method Details
-
getVariableInstance
-
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 theVariableInstanceQuery
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 asVariableInstanceRestService#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)
-