Package org.camunda.bpm.engine.rest.impl
Class ProcessInstanceRestServiceImpl
java.lang.Object
org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
org.camunda.bpm.engine.rest.impl.ProcessInstanceRestServiceImpl
- All Implemented Interfaces:
 ProcessInstanceRestService
public class ProcessInstanceRestServiceImpl
extends AbstractRestProcessEngineAware
implements ProcessInstanceRestService
- 
Field Summary
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePathFields inherited from interface org.camunda.bpm.engine.rest.ProcessInstanceRestService
PATH - 
Constructor Summary
ConstructorsConstructorDescriptionProcessInstanceRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)  - 
Method Summary
Modifier and TypeMethodDescriptioncorrelateMessageAsync(CorrelationMessageAsyncDto correlationMessageAsyncDto) deleteAsyncHistoricQueryBased(DeleteProcessInstancesDto deleteProcessInstancesDto) getProcessInstance(String processInstanceId) getProcessInstances(jakarta.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) Exposes theProcessInstanceQueryinterface as a REST service.getProcessInstancesCount(jakarta.ws.rs.core.UriInfo uriInfo) queryProcessInstances(ProcessInstanceQueryDto queryDto, Integer firstResult, Integer maxResults) Expects the same parameters asProcessInstanceRestService.getProcessInstances(UriInfo, Integer, Integer)(as a JSON message body) and allows for any number of variable checks.setRetriesByProcess(SetJobRetriesByProcessDto setJobRetriesDto) setRetriesByProcessHistoricQueryBased(SetJobRetriesByProcessDto setJobRetriesDto) setVariablesAsync(SetVariablesAsyncDto setVariablesAsyncDto) protected <T extends Query<?,?>, R extends AbstractQueryDto<T>> 
TtoQuery(R query) voidMethods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri 
- 
Constructor Details
- 
ProcessInstanceRestServiceImpl
public ProcessInstanceRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)  
 - 
 - 
Method Details
- 
getProcessInstances
public List<ProcessInstanceDto> getProcessInstances(jakarta.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) Description copied from interface:ProcessInstanceRestServiceExposes theProcessInstanceQueryinterface as a REST service.- Specified by:
 getProcessInstancesin interfaceProcessInstanceRestService- Returns:
 
 - 
queryProcessInstances
public List<ProcessInstanceDto> queryProcessInstances(ProcessInstanceQueryDto queryDto, Integer firstResult, Integer maxResults) Description copied from interface:ProcessInstanceRestServiceExpects the same parameters asProcessInstanceRestService.getProcessInstances(UriInfo, Integer, Integer)(as a JSON message body) and allows for any number of variable checks.- Specified by:
 queryProcessInstancesin interfaceProcessInstanceRestService- Returns:
 
 - 
getProcessInstancesCount
- Specified by:
 getProcessInstancesCountin interfaceProcessInstanceRestService
 - 
queryProcessInstancesCount
- Specified by:
 queryProcessInstancesCountin interfaceProcessInstanceRestService
 - 
getProcessInstance
- Specified by:
 getProcessInstancein interfaceProcessInstanceRestService
 - 
updateSuspensionState
- Specified by:
 updateSuspensionStatein interfaceProcessInstanceRestService
 - 
updateSuspensionStateAsync
- Specified by:
 updateSuspensionStateAsyncin interfaceProcessInstanceRestService
 - 
deleteAsync
- Specified by:
 deleteAsyncin interfaceProcessInstanceRestService
 - 
deleteAsyncHistoricQueryBased
- Specified by:
 deleteAsyncHistoricQueryBasedin interfaceProcessInstanceRestService
 - 
setRetriesByProcess
- Specified by:
 setRetriesByProcessin interfaceProcessInstanceRestService
 - 
setRetriesByProcessHistoricQueryBased
- Specified by:
 setRetriesByProcessHistoricQueryBasedin interfaceProcessInstanceRestService
 - 
setVariablesAsync
- Specified by:
 setVariablesAsyncin interfaceProcessInstanceRestService
 - 
correlateMessageAsync
- Specified by:
 correlateMessageAsyncin interfaceProcessInstanceRestService
 - 
toQuery
 
 -