public class VariableInstanceRestServiceImpl extends AbstractRestProcessEngineAware implements VariableInstanceRestService
objectMapper, relativeRootResourcePath
processEngine
PATH
Constructor and Description |
---|
VariableInstanceRestServiceImpl(String engineName,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
VariableInstanceResource |
getVariableInstance(String id) |
List<VariableInstanceDto> |
getVariableInstances(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults,
boolean deserializeObjectValues)
Exposes the
VariableInstanceQuery 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 as
VariableInstanceRestService#getVariableInstances(UriInfo, Integer, Integer) (as a JSON message body)
and allows for any number of variable checks. |
CountResultDto |
queryVariableInstancesCount(VariableInstanceQueryDto queryDto) |
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
public VariableInstanceRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public VariableInstanceResource getVariableInstance(String id)
getVariableInstance
in interface VariableInstanceRestService
public List<VariableInstanceDto> getVariableInstances(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults, boolean deserializeObjectValues)
VariableInstanceRestService
VariableInstanceQuery
interface as a REST service.getVariableInstances
in interface VariableInstanceRestService
public List<VariableInstanceDto> queryVariableInstances(VariableInstanceQueryDto queryDto, Integer firstResult, Integer maxResults, boolean deserializeObjectValues)
VariableInstanceRestService
VariableInstanceRestService#getVariableInstances(UriInfo, Integer, Integer)
(as a JSON message body)
and allows for any number of variable checks.queryVariableInstances
in interface VariableInstanceRestService
public CountResultDto getVariableInstancesCount(javax.ws.rs.core.UriInfo uriInfo)
getVariableInstancesCount
in interface VariableInstanceRestService
public CountResultDto queryVariableInstancesCount(VariableInstanceQueryDto queryDto)
queryVariableInstancesCount
in interface VariableInstanceRestService
Copyright © 2018. All rights reserved.