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) javax.ws.rs.core.Response
getHistoricTaskInstanceReport
(javax.ws.rs.core.UriInfo uriInfo) Provides a report sub modulegetHistoricTaskInstances
(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) Exposes theHistoricTaskInstanceQuery
interface as a REST service.getHistoricTaskInstancesCount
(javax.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(javax.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 javax.ws.rs.core.Response getHistoricTaskInstanceReport(javax.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
-