org.camunda.bpm.cockpit.impl.plugin.resources
Class ProcessInstanceRestService

java.lang.Object
  extended by org.camunda.bpm.webapp.plugin.resource.AbstractAppPluginResource<CockpitPlugin>
      extended by org.camunda.bpm.cockpit.plugin.resource.AbstractCockpitPluginResource
          extended by org.camunda.bpm.cockpit.plugin.resource.AbstractPluginResource
              extended by org.camunda.bpm.cockpit.impl.plugin.resources.ProcessInstanceRestService

public class ProcessInstanceRestService
extends AbstractPluginResource


Field Summary
protected  com.fasterxml.jackson.databind.ObjectMapper objectMapper
           
static String PATH
           
 
Fields inherited from class org.camunda.bpm.webapp.plugin.resource.AbstractAppPluginResource
engineName, runtimeDelegate
 
Constructor Summary
ProcessInstanceRestService(String engineName)
           
 
Method Summary
protected  void configureExecutionQuery(ProcessInstanceQueryDto query)
           
 ProcessInstanceResource getProcessInstance(String id)
           
 List<ProcessInstanceDto> getProcessInstances(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
           
 org.camunda.bpm.engine.rest.dto.CountResultDto getProcessInstancesCount(javax.ws.rs.core.UriInfo uriInfo)
           
protected  void injectObjectMapper(ProcessInstanceQueryDto queryParameter)
           
 List<ProcessInstanceDto> queryProcessInstances(ProcessInstanceQueryDto queryParameter, Integer firstResult, Integer maxResults)
           
 org.camunda.bpm.engine.rest.dto.CountResultDto queryProcessInstancesCount(ProcessInstanceQueryDto queryParameter)
           
 void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
           
 
Methods inherited from class org.camunda.bpm.cockpit.plugin.resource.AbstractCockpitPluginResource
addPermissionCheck, configureAuthorizationCheck, configureTenantCheck, getCommandExecutor, getCurrentAuthentication, getQueryService, isAuthorizationEnabled, isCamundaAdmin, isTenantCheckEnabled
 
Methods inherited from class org.camunda.bpm.webapp.plugin.resource.AbstractAppPluginResource
getProcessEngine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PATH

public static final String PATH
See Also:
Constant Field Values

objectMapper

protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
Constructor Detail

ProcessInstanceRestService

public ProcessInstanceRestService(String engineName)
Method Detail

getProcessInstance

public ProcessInstanceResource getProcessInstance(String id)

getProcessInstances

public List<ProcessInstanceDto> getProcessInstances(@Context
                                                    javax.ws.rs.core.UriInfo uriInfo,
                                                    Integer firstResult,
                                                    Integer maxResults)

queryProcessInstances

public List<ProcessInstanceDto> queryProcessInstances(ProcessInstanceQueryDto queryParameter,
                                                      Integer firstResult,
                                                      Integer maxResults)

getProcessInstancesCount

public org.camunda.bpm.engine.rest.dto.CountResultDto getProcessInstancesCount(@Context
                                                                               javax.ws.rs.core.UriInfo uriInfo)

queryProcessInstancesCount

public org.camunda.bpm.engine.rest.dto.CountResultDto queryProcessInstancesCount(ProcessInstanceQueryDto queryParameter)

configureExecutionQuery

protected void configureExecutionQuery(ProcessInstanceQueryDto query)

injectObjectMapper

protected void injectObjectMapper(ProcessInstanceQueryDto queryParameter)

setObjectMapper

public void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)


Copyright © 2018 camunda services GmbH. All rights reserved.