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)
BatchResource
getBatch(java.lang.String batchId)
java.util.List<BatchDto>
getBatches(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
CountResultDto
getBatchesCount(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)
CountResultDto
getStatisticsCount(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:
getBatch
in interfaceBatchRestService
-
getBatches
public java.util.List<BatchDto> getBatches(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
- Specified by:
getBatches
in interfaceBatchRestService
-
getBatchesCount
public CountResultDto getBatchesCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getBatchesCount
in interfaceBatchRestService
-
getStatistics
public java.util.List<BatchStatisticsDto> getStatistics(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
- Specified by:
getStatistics
in interfaceBatchRestService
-
getStatisticsCount
public CountResultDto getStatisticsCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getStatisticsCount
in 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)
-
-