public class BatchRestServiceImpl extends AbstractRestProcessEngineAware implements BatchRestService
objectMapper, relativeRootResourcePath
processEngine
PATH
Constructor and Description |
---|
BatchRestServiceImpl(String engineName,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
protected List<Batch> |
executePaginatedQuery(BatchQuery query,
Integer firstResult,
Integer maxResults) |
protected List<BatchStatistics> |
executePaginatedStatisticsQuery(BatchStatisticsQuery query,
Integer firstResult,
Integer maxResults) |
BatchResource |
getBatch(String batchId) |
List<BatchDto> |
getBatches(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults) |
CountResultDto |
getBatchesCount(javax.ws.rs.core.UriInfo uriInfo) |
List<BatchStatisticsDto> |
getStatistics(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults) |
CountResultDto |
getStatisticsCount(javax.ws.rs.core.UriInfo uriInfo) |
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
public BatchRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public BatchResource getBatch(String batchId)
getBatch
in interface BatchRestService
public List<BatchDto> getBatches(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
getBatches
in interface BatchRestService
public CountResultDto getBatchesCount(javax.ws.rs.core.UriInfo uriInfo)
getBatchesCount
in interface BatchRestService
public List<BatchStatisticsDto> getStatistics(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
getStatistics
in interface BatchRestService
public CountResultDto getStatisticsCount(javax.ws.rs.core.UriInfo uriInfo)
getStatisticsCount
in interface BatchRestService
protected List<Batch> executePaginatedQuery(BatchQuery query, Integer firstResult, Integer maxResults)
protected List<BatchStatistics> executePaginatedStatisticsQuery(BatchStatisticsQuery query, Integer firstResult, Integer maxResults)
Copyright © 2022. All rights reserved.