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
ConstructorDescriptionCaseInstanceRestServiceImpl
(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptiongetCaseInstance
(String caseInstanceId) getCaseInstances
(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) Exposes theCaseInstanceQuery
interface as a REST service.getCaseInstancesCount
(javax.ws.rs.core.UriInfo uriInfo) 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.queryCaseInstancesCount
(CaseInstanceQueryDto queryDto) Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
Constructor Details
-
CaseInstanceRestServiceImpl
public CaseInstanceRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getCaseInstance
- 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
- Specified by:
getCaseInstancesCount
in interfaceCaseInstanceRestService
-
queryCaseInstancesCount
- Specified by:
queryCaseInstancesCount
in interfaceCaseInstanceRestService
-