Class HistoricBatchRestServiceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.impl.history.HistoricBatchRestServiceImpl
-
- All Implemented Interfaces:
HistoricBatchRestService
public class HistoricBatchRestServiceImpl extends java.lang.Object implements HistoricBatchRestService
-
-
Field Summary
Fields Modifier and Type Field Description protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
protected ProcessEngine
processEngine
-
Fields inherited from interface org.camunda.bpm.engine.rest.history.HistoricBatchRestService
PATH
-
-
Constructor Summary
Constructors Constructor Description HistoricBatchRestServiceImpl(com.fasterxml.jackson.databind.ObjectMapper objectMapper, ProcessEngine processEngine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<?>
executePaginatedQuery(Query query, java.lang.Integer firstResult, java.lang.Integer maxResults)
java.util.List<CleanableHistoricBatchReportResultDto>
getCleanableHistoricBatchesReport(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
CountResultDto
getCleanableHistoricBatchesReportCount(javax.ws.rs.core.UriInfo uriInfo)
HistoricBatchResource
getHistoricBatch(java.lang.String batchId)
java.util.List<HistoricBatchDto>
getHistoricBatches(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
CountResultDto
getHistoricBatchesCount(javax.ws.rs.core.UriInfo uriInfo)
BatchDto
setRemovalTimeAsync(SetRemovalTimeToHistoricBatchesDto dto)
-
-
-
Field Detail
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
processEngine
protected ProcessEngine processEngine
-
-
Constructor Detail
-
HistoricBatchRestServiceImpl
public HistoricBatchRestServiceImpl(com.fasterxml.jackson.databind.ObjectMapper objectMapper, ProcessEngine processEngine)
-
-
Method Detail
-
getHistoricBatch
public HistoricBatchResource getHistoricBatch(java.lang.String batchId)
- Specified by:
getHistoricBatch
in interfaceHistoricBatchRestService
-
getHistoricBatches
public java.util.List<HistoricBatchDto> getHistoricBatches(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
- Specified by:
getHistoricBatches
in interfaceHistoricBatchRestService
-
getHistoricBatchesCount
public CountResultDto getHistoricBatchesCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getHistoricBatchesCount
in interfaceHistoricBatchRestService
-
executePaginatedQuery
protected java.util.List<?> executePaginatedQuery(Query query, java.lang.Integer firstResult, java.lang.Integer maxResults)
-
getCleanableHistoricBatchesReport
public java.util.List<CleanableHistoricBatchReportResultDto> getCleanableHistoricBatchesReport(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
- Specified by:
getCleanableHistoricBatchesReport
in interfaceHistoricBatchRestService
-
getCleanableHistoricBatchesReportCount
public CountResultDto getCleanableHistoricBatchesReportCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getCleanableHistoricBatchesReportCount
in interfaceHistoricBatchRestService
-
setRemovalTimeAsync
public BatchDto setRemovalTimeAsync(SetRemovalTimeToHistoricBatchesDto dto)
- Specified by:
setRemovalTimeAsync
in interfaceHistoricBatchRestService
-
-