public class ProcessInstanceRestServiceImpl extends AbstractRestProcessEngineAware implements ProcessInstanceRestService
objectMapper, relativeRootResourcePath
processEngine
PATH
Constructor and Description |
---|
ProcessInstanceRestServiceImpl(String engineName,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
public ProcessInstanceRestServiceImpl(String engineName, com.fasterxml.jackson.databind.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
public BatchDto updateSuspensionStateAsync(ProcessInstanceSuspensionStateAsyncDto dto)
updateSuspensionStateAsync
in interface ProcessInstanceRestService
public BatchDto deleteAsync(DeleteProcessInstancesDto dto)
deleteAsync
in interface ProcessInstanceRestService
public BatchDto deleteAsyncHistoricQueryBased(DeleteProcessInstancesDto deleteProcessInstancesDto)
deleteAsyncHistoricQueryBased
in interface ProcessInstanceRestService
public BatchDto setRetriesByProcess(SetJobRetriesByProcessDto setJobRetriesDto)
setRetriesByProcess
in interface ProcessInstanceRestService
public BatchDto setRetriesByProcessHistoricQueryBased(SetJobRetriesByProcessDto setJobRetriesDto)
setRetriesByProcessHistoricQueryBased
in interface ProcessInstanceRestService
Copyright © 2021. All rights reserved.