Package org.camunda.bpm.engine.rest
Interface VariableInstanceRestService
-
- All Known Implementing Classes:
VariableInstanceRestServiceImpl
@Produces("application/json") public interface VariableInstanceRestService
- Author:
- roman.smirnov
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PATH
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VariableInstanceResource
getVariableInstance(java.lang.String id)
java.util.List<VariableInstanceDto>
getVariableInstances(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults, boolean deserializeObjectValues)
Exposes theVariableInstanceQuery
interface as a REST service.CountResultDto
getVariableInstancesCount(javax.ws.rs.core.UriInfo uriInfo)
java.util.List<VariableInstanceDto>
queryVariableInstances(VariableInstanceQueryDto queryDto, java.lang.Integer firstResult, java.lang.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.CountResultDto
queryVariableInstancesCount(VariableInstanceQueryDto queryDto)
-
-
-
Field Detail
-
PATH
static final java.lang.String PATH
- See Also:
- Constant Field Values
-
-
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 theVariableInstanceQuery
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 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 javax.ws.rs.core.UriInfo uriInfo)
-
queryVariableInstancesCount
@POST @Path("/count") @Consumes("application/json") @Produces("application/json") CountResultDto queryVariableInstancesCount(VariableInstanceQueryDto queryDto)
-
-