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, relativeRootResourcePath
Fields inherited from interface org.camunda.bpm.engine.rest.ProcessInstanceRestService
PATH
-
Constructor Summary
ConstructorDescriptionProcessInstanceRestServiceImpl
(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 theProcessInstanceQuery
interface 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) void
Methods 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:ProcessInstanceRestService
Exposes theProcessInstanceQuery
interface as a REST service.- Specified by:
getProcessInstances
in interfaceProcessInstanceRestService
- Returns:
-
queryProcessInstances
public List<ProcessInstanceDto> queryProcessInstances(ProcessInstanceQueryDto queryDto, Integer firstResult, Integer maxResults) Description copied from interface:ProcessInstanceRestService
Expects the same parameters asProcessInstanceRestService.getProcessInstances(UriInfo, Integer, Integer)
(as a JSON message body) and allows for any number of variable checks.- Specified by:
queryProcessInstances
in interfaceProcessInstanceRestService
- Returns:
-
getProcessInstancesCount
- Specified by:
getProcessInstancesCount
in interfaceProcessInstanceRestService
-
queryProcessInstancesCount
- Specified by:
queryProcessInstancesCount
in interfaceProcessInstanceRestService
-
getProcessInstance
- Specified by:
getProcessInstance
in interfaceProcessInstanceRestService
-
updateSuspensionState
- Specified by:
updateSuspensionState
in interfaceProcessInstanceRestService
-
updateSuspensionStateAsync
- Specified by:
updateSuspensionStateAsync
in interfaceProcessInstanceRestService
-
deleteAsync
- Specified by:
deleteAsync
in interfaceProcessInstanceRestService
-
deleteAsyncHistoricQueryBased
- Specified by:
deleteAsyncHistoricQueryBased
in interfaceProcessInstanceRestService
-
setRetriesByProcess
- Specified by:
setRetriesByProcess
in interfaceProcessInstanceRestService
-
setRetriesByProcessHistoricQueryBased
- Specified by:
setRetriesByProcessHistoricQueryBased
in interfaceProcessInstanceRestService
-
setVariablesAsync
- Specified by:
setVariablesAsync
in interfaceProcessInstanceRestService
-
correlateMessageAsync
- Specified by:
correlateMessageAsync
in interfaceProcessInstanceRestService
-
toQuery
-