public class ProcessInstanceRestServiceImpl extends AbstractRestProcessEngineAware implements ProcessInstanceRestService
relativeRootResourcePath
processEngine
PATH
Constructor and Description |
---|
ProcessInstanceRestServiceImpl() |
ProcessInstanceRestServiceImpl(String engineName) |
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) |
getProcessEngine, setRelativeRootResourceUri
public ProcessInstanceRestServiceImpl()
public ProcessInstanceRestServiceImpl(String engineName)
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 © 2015. All rights reserved.