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(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VariableInstanceResource
getVariableInstance(String id)
List<VariableInstanceDto>
getVariableInstances(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults, boolean deserializeObjectValues)
Exposes theVariableInstanceQuery
interface as a REST service.CountResultDto
getVariableInstancesCount(javax.ws.rs.core.UriInfo uriInfo)
List<VariableInstanceDto>
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.CountResultDto
queryVariableInstancesCount(VariableInstanceQueryDto queryDto)
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Constructor Detail
-
VariableInstanceRestServiceImpl
public VariableInstanceRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
getVariableInstance
public VariableInstanceResource getVariableInstance(String id)
- Specified by:
getVariableInstance
in interfaceVariableInstanceRestService
-
getVariableInstances
public List<VariableInstanceDto> getVariableInstances(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults, boolean deserializeObjectValues)
Description copied from interface:VariableInstanceRestService
Exposes theVariableInstanceQuery
interface as a REST service.- Specified by:
getVariableInstances
in interfaceVariableInstanceRestService
- Returns:
-
queryVariableInstances
public List<VariableInstanceDto> queryVariableInstances(VariableInstanceQueryDto queryDto, Integer firstResult, 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
-
-