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(java.lang.String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<Batch>executePaginatedQuery(BatchQuery query, java.lang.Integer firstResult, java.lang.Integer maxResults)protected java.util.List<BatchStatistics>executePaginatedStatisticsQuery(BatchStatisticsQuery query, java.lang.Integer firstResult, java.lang.Integer maxResults)BatchResourcegetBatch(java.lang.String batchId)java.util.List<BatchDto>getBatches(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)CountResultDtogetBatchesCount(javax.ws.rs.core.UriInfo uriInfo)java.util.List<BatchStatisticsDto>getStatistics(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)CountResultDtogetStatisticsCount(javax.ws.rs.core.UriInfo uriInfo)-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Method Detail
-
getBatch
public BatchResource getBatch(java.lang.String batchId)
- Specified by:
getBatchin interfaceBatchRestService
-
getBatches
public java.util.List<BatchDto> getBatches(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
- Specified by:
getBatchesin interfaceBatchRestService
-
getBatchesCount
public CountResultDto getBatchesCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getBatchesCountin interfaceBatchRestService
-
getStatistics
public java.util.List<BatchStatisticsDto> getStatistics(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
- Specified by:
getStatisticsin interfaceBatchRestService
-
getStatisticsCount
public CountResultDto getStatisticsCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getStatisticsCountin interfaceBatchRestService
-
executePaginatedQuery
protected java.util.List<Batch> executePaginatedQuery(BatchQuery query, java.lang.Integer firstResult, java.lang.Integer maxResults)
-
executePaginatedStatisticsQuery
protected java.util.List<BatchStatistics> executePaginatedStatisticsQuery(BatchStatisticsQuery query, java.lang.Integer firstResult, java.lang.Integer maxResults)
-
-