public class ProcessInstanceRestServiceImpl extends AbstractRestProcessEngineAware implements ProcessInstanceRestService
objectMapper, relativeRootResourcePath
processEngine
PATH
Constructor and Description |
---|
ProcessInstanceRestServiceImpl(String engineName,
org.codehaus.jackson.map.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
ProcessInstanceResource |
getProcessInstance(String processInstanceId) |
List<ProcessInstanceDto> |
getProcessInstances(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults)
Exposes the
ProcessInstanceQuery interface as a REST service. |
CountResultDto |
getProcessInstancesCount(javax.ws.rs.core.UriInfo uriInfo) |
List<ProcessInstanceDto> |
queryProcessInstances(ProcessInstanceQueryDto queryDto,
Integer firstResult,
Integer maxResults)
Expects the same parameters as
ProcessInstanceRestService.getProcessInstances(UriInfo, Integer, Integer) (as a JSON message body)
and allows for any number of variable checks. |
CountResultDto |
queryProcessInstancesCount(ProcessInstanceQueryDto queryDto) |
void |
updateSuspensionState(ProcessInstanceSuspensionStateDto dto) |
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
public ProcessInstanceRestServiceImpl(String engineName, org.codehaus.jackson.map.ObjectMapper objectMapper)
public List<ProcessInstanceDto> getProcessInstances(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
ProcessInstanceRestService
ProcessInstanceQuery
interface as a REST service.getProcessInstances
in interface ProcessInstanceRestService
public List<ProcessInstanceDto> queryProcessInstances(ProcessInstanceQueryDto queryDto, Integer firstResult, Integer maxResults)
ProcessInstanceRestService
ProcessInstanceRestService.getProcessInstances(UriInfo, Integer, Integer)
(as a JSON message body)
and allows for any number of variable checks.queryProcessInstances
in interface ProcessInstanceRestService
public CountResultDto getProcessInstancesCount(javax.ws.rs.core.UriInfo uriInfo)
getProcessInstancesCount
in interface ProcessInstanceRestService
public CountResultDto queryProcessInstancesCount(ProcessInstanceQueryDto queryDto)
queryProcessInstancesCount
in interface ProcessInstanceRestService
public ProcessInstanceResource getProcessInstance(String processInstanceId)
getProcessInstance
in interface ProcessInstanceRestService
public void updateSuspensionState(ProcessInstanceSuspensionStateDto dto)
updateSuspensionState
in interface ProcessInstanceRestService
Copyright © 2018. All rights reserved.