Package org.camunda.bpm.engine.rest.impl
Class CaseInstanceRestServiceImpl
- java.lang.Object
-
- 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 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 CaseInstanceResource
getCaseInstance(java.lang.String caseInstanceId)
java.util.List<CaseInstanceDto>
getCaseInstances(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
Exposes theCaseInstanceQuery
interface as a REST service.CountResultDto
getCaseInstancesCount(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.CountResultDto
queryCaseInstancesCount(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:
getCaseInstance
in 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:CaseInstanceRestService
Exposes theCaseInstanceQuery
interface as a REST service.- Specified by:
getCaseInstances
in interfaceCaseInstanceRestService
- Returns:
-
queryCaseInstances
public java.util.List<CaseInstanceDto> queryCaseInstances(CaseInstanceQueryDto queryDto, java.lang.Integer firstResult, java.lang.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
-
-