Class ProcessInstanceRestService
- java.lang.Object
-
- org.camunda.bpm.webapp.plugin.resource.AbstractAppPluginResource<CockpitPlugin>
-
- org.camunda.bpm.cockpit.plugin.resource.AbstractCockpitPluginResource
-
- org.camunda.bpm.cockpit.plugin.resource.AbstractPluginResource
-
- org.camunda.bpm.cockpit.impl.plugin.resources.ProcessInstanceRestService
-
public class ProcessInstanceRestService extends AbstractPluginResource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
ProcessInstanceRestService.QueryProcessInstancesCmd
protected class
ProcessInstanceRestService.QueryProcessInstancesCountCmd
-
Field Summary
Fields Modifier and Type Field Description protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
static java.lang.String
PATH
-
Fields inherited from class org.camunda.bpm.webapp.plugin.resource.AbstractAppPluginResource
engineName, runtimeDelegate
-
-
Constructor Summary
Constructors Constructor Description ProcessInstanceRestService(java.lang.String engineName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureExecutionQuery(ProcessInstanceQueryDto query)
ProcessInstanceResource
getProcessInstance(java.lang.String id)
java.util.List<ProcessInstanceDto>
getProcessInstances(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
CountResultDto
getProcessInstancesCount(javax.ws.rs.core.UriInfo uriInfo)
protected void
injectObjectMapper(ProcessInstanceQueryDto queryParameter)
java.util.List<ProcessInstanceDto>
queryProcessInstances(ProcessInstanceQueryDto queryParameter, java.lang.Integer firstResult, java.lang.Integer maxResults)
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, isPermissionDisabled, isTenantCheckEnabled
-
Methods inherited from class org.camunda.bpm.webapp.plugin.resource.AbstractAppPluginResource
getProcessEngine
-
-
-
-
Field Detail
-
PATH
public static final java.lang.String PATH
- See Also:
- Constant Field Values
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Method Detail
-
getProcessInstance
@Path("/{id}") public ProcessInstanceResource getProcessInstance(@PathParam("id") java.lang.String id)
-
getProcessInstances
@GET @Produces("application/json") public java.util.List<ProcessInstanceDto> getProcessInstances(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") java.lang.Integer firstResult, @QueryParam("maxResults") java.lang.Integer maxResults)
-
queryProcessInstances
@POST @Produces("application/json") @Consumes("application/json") public java.util.List<ProcessInstanceDto> queryProcessInstances(ProcessInstanceQueryDto queryParameter, @QueryParam("firstResult") java.lang.Integer firstResult, @QueryParam("maxResults") java.lang.Integer maxResults)
-
getProcessInstancesCount
@GET @Produces("application/json") @Path("/count") public CountResultDto getProcessInstancesCount(@Context javax.ws.rs.core.UriInfo uriInfo)
-
queryProcessInstancesCount
@POST @Produces("application/json") @Consumes("application/json") @Path("/count") public 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)
-
-