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(java.lang.String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CaseInstanceResourcegetCaseInstance(java.lang.String caseInstanceId)java.util.List<CaseInstanceDto>getCaseInstances(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)Exposes theCaseInstanceQueryinterface as a REST service.CountResultDtogetCaseInstancesCount(javax.ws.rs.core.UriInfo uriInfo)java.util.List<CaseInstanceDto>queryCaseInstances(CaseInstanceQueryDto queryDto, java.lang.Integer firstResult, java.lang.Integer maxResults)Expects the same parameters asCaseInstanceRestService.getCaseInstances(UriInfo, Integer, Integer)(as a JSON message body) and allows for any number of variable checks.CountResultDtoqueryCaseInstancesCount(CaseInstanceQueryDto queryDto)-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Method Detail
-
getCaseInstance
public CaseInstanceResource getCaseInstance(java.lang.String caseInstanceId)
- Specified by:
getCaseInstancein interfaceCaseInstanceRestService
-
getCaseInstances
public java.util.List<CaseInstanceDto> getCaseInstances(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
Description copied from interface:CaseInstanceRestServiceExposes theCaseInstanceQueryinterface as a REST service.- Specified by:
getCaseInstancesin interfaceCaseInstanceRestService- Returns:
-
queryCaseInstances
public java.util.List<CaseInstanceDto> queryCaseInstances(CaseInstanceQueryDto queryDto, java.lang.Integer firstResult, java.lang.Integer maxResults)
Description copied from interface:CaseInstanceRestServiceExpects the same parameters asCaseInstanceRestService.getCaseInstances(UriInfo, Integer, Integer)(as a JSON message body) and allows for any number of variable checks.- Specified by:
queryCaseInstancesin interfaceCaseInstanceRestService- Returns:
-
getCaseInstancesCount
public CountResultDto getCaseInstancesCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getCaseInstancesCountin interfaceCaseInstanceRestService
-
queryCaseInstancesCount
public CountResultDto queryCaseInstancesCount(CaseInstanceQueryDto queryDto)
- Specified by:
queryCaseInstancesCountin interfaceCaseInstanceRestService
-
-