Package org.camunda.bpm.engine.rest
Interface ProcessInstanceRestService
-
- All Known Implementing Classes:
ProcessInstanceRestServiceImpl
@Produces("application/json") public interface ProcessInstanceRestService
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PATH
-
Method Summary
-
-
-
Field Detail
-
PATH
static final java.lang.String PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getProcessInstance
@Path("/{id}") ProcessInstanceResource getProcessInstance(@PathParam("id") java.lang.String processInstanceId)
-
getProcessInstances
@GET @Produces("application/json") java.util.List<ProcessInstanceDto> getProcessInstances(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") java.lang.Integer firstResult, @QueryParam("maxResults") java.lang.Integer maxResults)
Exposes theProcessInstanceQuery
interface as a REST service.- Parameters:
uriInfo
-firstResult
-maxResults
-- Returns:
-
queryProcessInstances
@POST @Consumes("application/json") @Produces("application/json") java.util.List<ProcessInstanceDto> queryProcessInstances(ProcessInstanceQueryDto query, @QueryParam("firstResult") java.lang.Integer firstResult, @QueryParam("maxResults") java.lang.Integer maxResults)
Expects the same parameters asgetProcessInstances(UriInfo, Integer, Integer)
(as a JSON message body) and allows for any number of variable checks.- Parameters:
query
-firstResult
-maxResults
-- Returns:
-
getProcessInstancesCount
@GET @Path("/count") @Produces("application/json") CountResultDto getProcessInstancesCount(@Context javax.ws.rs.core.UriInfo uriInfo)
-
queryProcessInstancesCount
@POST @Path("/count") @Consumes("application/json") @Produces("application/json") CountResultDto queryProcessInstancesCount(ProcessInstanceQueryDto query)
-
updateSuspensionState
@PUT @Path("/suspended") @Consumes("application/json") void updateSuspensionState(ProcessInstanceSuspensionStateDto dto)
-
updateSuspensionStateAsync
@POST @Path("/suspended-async") @Consumes("application/json") @Produces("application/json") BatchDto updateSuspensionStateAsync(ProcessInstanceSuspensionStateAsyncDto dto)
-
deleteAsync
@POST @Path("/delete") @Consumes("application/json") @Produces("application/json") BatchDto deleteAsync(DeleteProcessInstancesDto dto)
-
deleteAsyncHistoricQueryBased
@POST @Path("/delete-historic-query-based") @Consumes("application/json") @Produces("application/json") BatchDto deleteAsyncHistoricQueryBased(DeleteProcessInstancesDto dto)
-
setRetriesByProcess
@POST @Path("/job-retries") @Consumes("application/json") @Produces("application/json") BatchDto setRetriesByProcess(SetJobRetriesByProcessDto setJobRetriesDto)
-
setRetriesByProcessHistoricQueryBased
@POST @Path("/job-retries-historic-query-based") @Consumes("application/json") @Produces("application/json") BatchDto setRetriesByProcessHistoricQueryBased(SetJobRetriesByProcessDto setJobRetriesDto)
-
setVariablesAsync
@POST @Path("/variables-async") @Consumes("application/json") @Produces("application/json") BatchDto setVariablesAsync(SetVariablesAsyncDto setVariablesAsyncDto)
-
correlateMessageAsync
@POST @Path("/message-async") @Consumes("application/json") @Produces("application/json") BatchDto correlateMessageAsync(CorrelationMessageAsyncDto correlationMessageAsyncDto)
-
-