Package org.camunda.bpm.engine.rest.impl
Class VariableInstanceRestServiceImpl
java.lang.Object
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 interface org.camunda.bpm.engine.rest.VariableInstanceRestService
PATH
-
Constructor Summary
ConstructorDescriptionVariableInstanceRestServiceImpl
(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptiongetVariableInstances
(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults, boolean deserializeObjectValues) Exposes theVariableInstanceQuery
interface as a REST service.getVariableInstancesCount
(javax.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.Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
Constructor Details
-
VariableInstanceRestServiceImpl
public VariableInstanceRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getVariableInstance
- 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
- Specified by:
getVariableInstancesCount
in interfaceVariableInstanceRestService
-
queryVariableInstancesCount
- Specified by:
queryVariableInstancesCount
in interfaceVariableInstanceRestService
-