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

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.CaseInstanceRestServiceImpl
All Implemented Interfaces:
CaseInstanceRestService

public class CaseInstanceRestServiceImpl
extends AbstractRestProcessEngineAware
implements CaseInstanceRestService

Author:
Roman Smirnov

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.CaseInstanceRestService
PATH
 
Constructor Summary
CaseInstanceRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
           
 
Method Summary
 CaseInstanceResource getCaseInstance(String caseInstanceId)
           
 List<CaseInstanceDto> getCaseInstances(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
          Exposes the CaseInstanceQuery interface as a REST service.
 CountResultDto getCaseInstancesCount(javax.ws.rs.core.UriInfo uriInfo)
           
 List<CaseInstanceDto> queryCaseInstances(CaseInstanceQueryDto queryDto, Integer firstResult, Integer maxResults)
          Expects the same parameters as CaseInstanceRestService.getCaseInstances(UriInfo, Integer, Integer) (as a JSON message body) and allows for any number of variable checks.
 CountResultDto queryCaseInstancesCount(CaseInstanceQueryDto queryDto)
           
 
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

CaseInstanceRestServiceImpl

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

getCaseInstance

public CaseInstanceResource getCaseInstance(String caseInstanceId)
Specified by:
getCaseInstance in interface CaseInstanceRestService

getCaseInstances

public List<CaseInstanceDto> getCaseInstances(javax.ws.rs.core.UriInfo uriInfo,
                                              Integer firstResult,
                                              Integer maxResults)
Description copied from interface: CaseInstanceRestService
Exposes the CaseInstanceQuery interface as a REST service.

Specified by:
getCaseInstances in interface CaseInstanceRestService
Returns:

queryCaseInstances

public List<CaseInstanceDto> queryCaseInstances(CaseInstanceQueryDto queryDto,
                                                Integer firstResult,
                                                Integer maxResults)
Description copied from interface: CaseInstanceRestService
Expects the same parameters as CaseInstanceRestService.getCaseInstances(UriInfo, Integer, Integer) (as a JSON message body) and allows for any number of variable checks.

Specified by:
queryCaseInstances in interface CaseInstanceRestService
Returns:

getCaseInstancesCount

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

queryCaseInstancesCount

public CountResultDto queryCaseInstancesCount(CaseInstanceQueryDto queryDto)
Specified by:
queryCaseInstancesCount in interface CaseInstanceRestService


Copyright © 2016 camunda services GmbH. All rights reserved.