Class HistoricTaskInstanceRestServiceImpl
java.lang.Object
org.camunda.bpm.engine.rest.impl.history.HistoricTaskInstanceRestServiceImpl
- All Implemented Interfaces:
HistoricTaskInstanceRestService
public class HistoricTaskInstanceRestServiceImpl
extends Object
implements HistoricTaskInstanceRestService
- Author:
- Roman Smirnov
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.fasterxml.jackson.databind.ObjectMapper
protected ProcessEngine
Fields inherited from interface org.camunda.bpm.engine.rest.history.HistoricTaskInstanceRestService
PATH
-
Constructor Summary
ConstructorDescriptionHistoricTaskInstanceRestServiceImpl
(com.fasterxml.jackson.databind.ObjectMapper objectMapper, ProcessEngine processEngine) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<HistoricTaskInstanceReportResultDto>
protected List<ReportResultDto>
generateDurationDto
(List<? extends ReportResult> results) jakarta.ws.rs.core.Response
getHistoricTaskInstanceReport
(jakarta.ws.rs.core.UriInfo uriInfo) Provides a report sub modulegetHistoricTaskInstances
(jakarta.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) Exposes theHistoricTaskInstanceQuery
interface as a REST service.getHistoricTaskInstancesCount
(jakarta.ws.rs.core.UriInfo uriInfo) queryHistoricTaskInstances
(HistoricTaskInstanceQueryDto queryDto, Integer firstResult, Integer maxResults)
-
Field Details
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper -
processEngine
-
-
Constructor Details
-
HistoricTaskInstanceRestServiceImpl
public HistoricTaskInstanceRestServiceImpl(com.fasterxml.jackson.databind.ObjectMapper objectMapper, ProcessEngine processEngine)
-
-
Method Details
-
getHistoricTaskInstances
public List<HistoricTaskInstanceDto> getHistoricTaskInstances(jakarta.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) Description copied from interface:HistoricTaskInstanceRestService
Exposes theHistoricTaskInstanceQuery
interface as a REST service.- Specified by:
getHistoricTaskInstances
in interfaceHistoricTaskInstanceRestService
- Returns:
-
queryHistoricTaskInstances
public List<HistoricTaskInstanceDto> queryHistoricTaskInstances(HistoricTaskInstanceQueryDto queryDto, Integer firstResult, Integer maxResults) - Specified by:
queryHistoricTaskInstances
in interfaceHistoricTaskInstanceRestService
- Returns:
-
getHistoricTaskInstancesCount
- Specified by:
getHistoricTaskInstancesCount
in interfaceHistoricTaskInstanceRestService
-
queryHistoricTaskInstancesCount
- Specified by:
queryHistoricTaskInstancesCount
in interfaceHistoricTaskInstanceRestService
-
getHistoricTaskInstanceReport
public jakarta.ws.rs.core.Response getHistoricTaskInstanceReport(jakarta.ws.rs.core.UriInfo uriInfo) Description copied from interface:HistoricTaskInstanceRestService
Provides a report sub module- Specified by:
getHistoricTaskInstanceReport
in interfaceHistoricTaskInstanceRestService
-
generateCountDto
protected List<HistoricTaskInstanceReportResultDto> generateCountDto(List<HistoricTaskInstanceReportResult> results) -
generateDurationDto
-