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 jakarta.ws.rs.core.MediaType
protected com.fasterxml.jackson.databind.ObjectMapper
protected ProcessEngine
static final jakarta.ws.rs.core.MediaType
static final List<jakarta.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 TypeMethodDescriptionjakarta.ws.rs.core.Response
deleteHistoricVariableInstancesByProcessInstanceId
(String processInstanceId) getHistoricProcessInstance
(String processInstanceId) getHistoricProcessInstances
(jakarta.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) Exposes theHistoricProcessInstanceQuery
interface as a REST service.getHistoricProcessInstancesCount
(jakarta.ws.rs.core.UriInfo uriInfo) jakarta.ws.rs.core.Response
getHistoricProcessInstancesReport
(jakarta.ws.rs.core.UriInfo uriInfo, jakarta.ws.rs.core.Request request) protected String
getReportResultAsCsv
(jakarta.ws.rs.core.UriInfo uriInfo) protected List<ReportResultDto>
getReportResultAsJson
(jakarta.ws.rs.core.UriInfo uriInfo) protected List<ReportResult>
queryHistoricProcessInstanceReport
(jakarta.ws.rs.core.UriInfo uriInfo) queryHistoricProcessInstances
(HistoricProcessInstanceQueryDto queryDto, Integer firstResult, Integer maxResults)
-
Field Details
-
APPLICATION_CSV_TYPE
public static final jakarta.ws.rs.core.MediaType APPLICATION_CSV_TYPE -
TEXT_CSV_TYPE
public static final jakarta.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(jakarta.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 jakarta.ws.rs.core.Response getHistoricProcessInstancesReport(jakarta.ws.rs.core.UriInfo uriInfo, jakarta.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 jakarta.ws.rs.core.Response deleteHistoricVariableInstancesByProcessInstanceId(String processInstanceId) - Specified by:
deleteHistoricVariableInstancesByProcessInstanceId
in interfaceHistoricProcessInstanceRestService
-