Package org.camunda.bpm.engine.rest.impl
Class CaseInstanceRestServiceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
-
- 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
Constructors Constructor Description CaseInstanceRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CaseInstanceResource
getCaseInstance(String caseInstanceId)
List<CaseInstanceDto>
getCaseInstances(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
Exposes theCaseInstanceQuery
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 asCaseInstanceRestService.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
-
-
-
-
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 interfaceCaseInstanceRestService
-
getCaseInstances
public List<CaseInstanceDto> getCaseInstances(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
Description copied from interface:CaseInstanceRestService
Exposes theCaseInstanceQuery
interface as a REST service.- Specified by:
getCaseInstances
in interfaceCaseInstanceRestService
- Returns:
-
queryCaseInstances
public List<CaseInstanceDto> queryCaseInstances(CaseInstanceQueryDto queryDto, Integer firstResult, Integer maxResults)
Description copied from interface:CaseInstanceRestService
Expects the same parameters asCaseInstanceRestService.getCaseInstances(UriInfo, Integer, Integer)
(as a JSON message body) and allows for any number of variable checks.- Specified by:
queryCaseInstances
in interfaceCaseInstanceRestService
- Returns:
-
getCaseInstancesCount
public CountResultDto getCaseInstancesCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getCaseInstancesCount
in interfaceCaseInstanceRestService
-
queryCaseInstancesCount
public CountResultDto queryCaseInstancesCount(CaseInstanceQueryDto queryDto)
- Specified by:
queryCaseInstancesCount
in interfaceCaseInstanceRestService
-
-