Package org.camunda.bpm.engine.rest.impl
Class VariableInstanceRestServiceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.VariableInstanceRestServiceImpl
-
- All Implemented Interfaces:
VariableInstanceRestService
public class VariableInstanceRestServiceImpl extends AbstractRestProcessEngineAware implements VariableInstanceRestService
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePath
-
Fields inherited from class org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
processEngine
-
Fields inherited from interface org.camunda.bpm.engine.rest.VariableInstanceRestService
PATH
-
-
Constructor Summary
Constructors Constructor Description VariableInstanceRestServiceImpl(java.lang.String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete 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)
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Method Detail
-
getVariableInstance
public VariableInstanceResource getVariableInstance(java.lang.String id)
- Specified by:
getVariableInstance
in interfaceVariableInstanceRestService
-
getVariableInstances
public java.util.List<VariableInstanceDto> getVariableInstances(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults, boolean deserializeObjectValues)
Description copied from interface:VariableInstanceRestService
Exposes theVariableInstanceQuery
interface as a REST service.- Specified by:
getVariableInstances
in interfaceVariableInstanceRestService
- Returns:
-
queryVariableInstances
public java.util.List<VariableInstanceDto> queryVariableInstances(VariableInstanceQueryDto queryDto, java.lang.Integer firstResult, java.lang.Integer maxResults, boolean deserializeObjectValues)
Description copied from interface:VariableInstanceRestService
Expects the same parameters asVariableInstanceRestService#getVariableInstances(UriInfo, Integer, Integer)
(as a JSON message body) and allows for any number of variable checks.- Specified by:
queryVariableInstances
in interfaceVariableInstanceRestService
- Returns:
-
getVariableInstancesCount
public CountResultDto getVariableInstancesCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getVariableInstancesCount
in interfaceVariableInstanceRestService
-
queryVariableInstancesCount
public CountResultDto queryVariableInstancesCount(VariableInstanceQueryDto queryDto)
- Specified by:
queryVariableInstancesCount
in interfaceVariableInstanceRestService
-
-