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, getCommandExecutor, getCurrentAuthentication, getQueryService, isAuthorizationEnabled
getProcessEngine
public static final String PATH
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public ProcessInstanceRestService(String engineName)
public ProcessInstanceResource getProcessInstance(String id)
public List<ProcessInstanceDto> getProcessInstances(@Context javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
public List<ProcessInstanceDto> queryProcessInstances(ProcessInstanceQueryDto queryParameter, Integer firstResult, Integer maxResults)
public CountResultDto getProcessInstancesCount(@Context javax.ws.rs.core.UriInfo uriInfo)
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 © 2018. All rights reserved.