public class ProcessInstanceRestService extends AbstractPluginResource
Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
static String |
PATH |
engineName, runtimeDelegate
Constructor and Description |
---|
ProcessInstanceRestService(String engineName) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureExecutionQuery(ProcessInstanceQueryDto query) |
ProcessInstanceResource |
getProcessInstance(String id) |
List<ProcessInstanceDto> |
getProcessInstances(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults) |
CountResultDto |
getProcessInstancesCount(javax.ws.rs.core.UriInfo uriInfo) |
protected void |
injectObjectMapper(ProcessInstanceQueryDto queryParameter) |
List<ProcessInstanceDto> |
queryProcessInstances(ProcessInstanceQueryDto queryParameter,
Integer firstResult,
Integer maxResults) |
CountResultDto |
queryProcessInstancesCount(ProcessInstanceQueryDto queryParameter) |
void |
setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
addPermissionCheck, configureAuthorizationCheck, configureTenantCheck, getCommandExecutor, getCurrentAuthentication, getQueryService, isAuthorizationEnabled, isCamundaAdmin, isPermissionDisabled, isTenantCheckEnabled
getProcessEngine
public static final String PATH
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public ProcessInstanceRestService(String engineName)
@Path(value="/{id}") public ProcessInstanceResource getProcessInstance(@PathParam(value="id") String id)
@GET @Produces(value="application/json") public List<ProcessInstanceDto> getProcessInstances(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
@POST @Produces(value="application/json") @Consumes(value="application/json") public List<ProcessInstanceDto> queryProcessInstances(ProcessInstanceQueryDto queryParameter, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
@GET @Produces(value="application/json") @Path(value="/count") public CountResultDto getProcessInstancesCount(@Context javax.ws.rs.core.UriInfo uriInfo)
@POST @Produces(value="application/json") @Consumes(value="application/json") @Path(value="/count") public CountResultDto queryProcessInstancesCount(ProcessInstanceQueryDto queryParameter)
protected void configureExecutionQuery(ProcessInstanceQueryDto query)
protected void injectObjectMapper(ProcessInstanceQueryDto queryParameter)
public void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Copyright © 2022. All rights reserved.