Class HistoricProcessInstanceRestServiceImpl
java.lang.Object
org.camunda.bpm.engine.rest.impl.history.HistoricProcessInstanceRestServiceImpl
- All Implemented Interfaces:
HistoricProcessInstanceRestService
public class HistoricProcessInstanceRestServiceImpl
extends Object
implements HistoricProcessInstanceRestService
-
Field Summary
Modifier and TypeFieldDescriptionstatic final javax.ws.rs.core.MediaType
protected com.fasterxml.jackson.databind.ObjectMapper
protected ProcessEngine
static final javax.ws.rs.core.MediaType
static final List<javax.ws.rs.core.Variant>
Fields inherited from interface org.camunda.bpm.engine.rest.history.HistoricProcessInstanceRestService
PATH
-
Constructor Summary
ConstructorDescriptionHistoricProcessInstanceRestServiceImpl
(com.fasterxml.jackson.databind.ObjectMapper objectMapper, ProcessEngine processEngine) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
deleteHistoricVariableInstancesByProcessInstanceId
(String processInstanceId) getHistoricProcessInstance
(String processInstanceId) getHistoricProcessInstances
(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) Exposes theHistoricProcessInstanceQuery
interface as a REST service.getHistoricProcessInstancesCount
(javax.ws.rs.core.UriInfo uriInfo) javax.ws.rs.core.Response
getHistoricProcessInstancesReport
(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.Request request) protected String
getReportResultAsCsv
(javax.ws.rs.core.UriInfo uriInfo) protected List<ReportResultDto>
getReportResultAsJson
(javax.ws.rs.core.UriInfo uriInfo) protected List<ReportResult>
queryHistoricProcessInstanceReport
(javax.ws.rs.core.UriInfo uriInfo) queryHistoricProcessInstances
(HistoricProcessInstanceQueryDto queryDto, Integer firstResult, Integer maxResults)
-
Field Details
-
APPLICATION_CSV_TYPE
public static final javax.ws.rs.core.MediaType APPLICATION_CSV_TYPE -
TEXT_CSV_TYPE
public static final javax.ws.rs.core.MediaType TEXT_CSV_TYPE -
VARIANTS
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper -
processEngine
-
-
Constructor Details
-
HistoricProcessInstanceRestServiceImpl
public HistoricProcessInstanceRestServiceImpl(com.fasterxml.jackson.databind.ObjectMapper objectMapper, ProcessEngine processEngine)
-
-
Method Details
-
getHistoricProcessInstance
- Specified by:
getHistoricProcessInstance
in interfaceHistoricProcessInstanceRestService
-
getHistoricProcessInstances
public List<HistoricProcessInstanceDto> getHistoricProcessInstances(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) Description copied from interface:HistoricProcessInstanceRestService
Exposes theHistoricProcessInstanceQuery
interface as a REST service.- Specified by:
getHistoricProcessInstances
in interfaceHistoricProcessInstanceRestService
- Returns:
-
queryHistoricProcessInstances
public List<HistoricProcessInstanceDto> queryHistoricProcessInstances(HistoricProcessInstanceQueryDto queryDto, Integer firstResult, Integer maxResults) - Specified by:
queryHistoricProcessInstances
in interfaceHistoricProcessInstanceRestService
- Returns:
-
getHistoricProcessInstancesCount
- Specified by:
getHistoricProcessInstancesCount
in interfaceHistoricProcessInstanceRestService
-
queryHistoricProcessInstancesCount
- Specified by:
queryHistoricProcessInstancesCount
in interfaceHistoricProcessInstanceRestService
-
queryHistoricProcessInstanceReport
-
getHistoricProcessInstancesReport
public javax.ws.rs.core.Response getHistoricProcessInstancesReport(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.Request request) - Specified by:
getHistoricProcessInstancesReport
in interfaceHistoricProcessInstanceRestService
-
deleteAsync
- Specified by:
deleteAsync
in interfaceHistoricProcessInstanceRestService
-
setRemovalTimeAsync
- Specified by:
setRemovalTimeAsync
in interfaceHistoricProcessInstanceRestService
-
getReportResultAsJson
-
getReportResultAsCsv
-
deleteHistoricVariableInstancesByProcessInstanceId
public javax.ws.rs.core.Response deleteHistoricVariableInstancesByProcessInstanceId(String processInstanceId) - Specified by:
deleteHistoricVariableInstancesByProcessInstanceId
in interfaceHistoricProcessInstanceRestService
-