org.camunda.bpm.engine.rest.impl
Class BatchRestServiceImpl

java.lang.Object
  extended by org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
      extended by org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
          extended by 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
BatchRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
           
 
Method Summary
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)
           
 
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchRestServiceImpl

public BatchRestServiceImpl(String engineName,
                            com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Method Detail

getBatch

public BatchResource getBatch(String batchId)
Specified by:
getBatch in interface BatchRestService

getBatches

public List<BatchDto> getBatches(javax.ws.rs.core.UriInfo uriInfo,
                                 Integer firstResult,
                                 Integer maxResults)
Specified by:
getBatches in interface BatchRestService

getBatchesCount

public CountResultDto getBatchesCount(javax.ws.rs.core.UriInfo uriInfo)
Specified by:
getBatchesCount in interface BatchRestService

getStatistics

public List<BatchStatisticsDto> getStatistics(javax.ws.rs.core.UriInfo uriInfo,
                                              Integer firstResult,
                                              Integer maxResults)
Specified by:
getStatistics in interface BatchRestService

getStatisticsCount

public CountResultDto getStatisticsCount(javax.ws.rs.core.UriInfo uriInfo)
Specified by:
getStatisticsCount in interface BatchRestService

executePaginatedQuery

protected List<Batch> executePaginatedQuery(BatchQuery query,
                                            Integer firstResult,
                                            Integer maxResults)

executePaginatedStatisticsQuery

protected List<BatchStatistics> executePaginatedStatisticsQuery(BatchStatisticsQuery query,
                                                                Integer firstResult,
                                                                Integer maxResults)


Copyright © 2016 camunda services GmbH. All rights reserved.