Package org.camunda.bpm.engine.rest.impl
Class BatchRestServiceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.BatchRestServiceImpl
-
- All Implemented Interfaces:
BatchRestService
public class BatchRestServiceImpl extends AbstractRestProcessEngineAware implements BatchRestService
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePath
-
Fields inherited from class org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
processEngine
-
Fields inherited from interface org.camunda.bpm.engine.rest.BatchRestService
PATH
-
-
Constructor Summary
Constructors Constructor Description BatchRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Batch>executePaginatedQuery(BatchQuery query, Integer firstResult, Integer maxResults)protected List<BatchStatistics>executePaginatedStatisticsQuery(BatchStatisticsQuery query, Integer firstResult, Integer maxResults)BatchResourcegetBatch(String batchId)List<BatchDto>getBatches(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)CountResultDtogetBatchesCount(javax.ws.rs.core.UriInfo uriInfo)List<BatchStatisticsDto>getStatistics(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)CountResultDtogetStatisticsCount(javax.ws.rs.core.UriInfo uriInfo)-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Constructor Detail
-
BatchRestServiceImpl
public BatchRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
getBatch
public BatchResource getBatch(String batchId)
- Specified by:
getBatchin interfaceBatchRestService
-
getBatches
public List<BatchDto> getBatches(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
- Specified by:
getBatchesin interfaceBatchRestService
-
getBatchesCount
public CountResultDto getBatchesCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getBatchesCountin interfaceBatchRestService
-
getStatistics
public List<BatchStatisticsDto> getStatistics(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
- Specified by:
getStatisticsin interfaceBatchRestService
-
getStatisticsCount
public CountResultDto getStatisticsCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getStatisticsCountin interfaceBatchRestService
-
executePaginatedQuery
protected List<Batch> executePaginatedQuery(BatchQuery query, Integer firstResult, Integer maxResults)
-
executePaginatedStatisticsQuery
protected List<BatchStatistics> executePaginatedStatisticsQuery(BatchStatisticsQuery query, Integer firstResult, Integer maxResults)
-
-