public class CaseInstanceRestServiceImpl extends AbstractRestProcessEngineAware implements CaseInstanceRestService
objectMapper, relativeRootResourcePath
processEngine
PATH
Constructor and Description |
---|
CaseInstanceRestServiceImpl(String engineName,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
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) |
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
public CaseInstanceRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public CaseInstanceResource getCaseInstance(String caseInstanceId)
getCaseInstance
in interface CaseInstanceRestService
public List<CaseInstanceDto> getCaseInstances(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
CaseInstanceRestService
CaseInstanceQuery
interface as a REST service.getCaseInstances
in interface CaseInstanceRestService
public List<CaseInstanceDto> queryCaseInstances(CaseInstanceQueryDto queryDto, Integer firstResult, Integer maxResults)
CaseInstanceRestService
CaseInstanceRestService.getCaseInstances(UriInfo, Integer, Integer)
(as a JSON message body)
and allows for any number of variable checks.queryCaseInstances
in interface CaseInstanceRestService
public CountResultDto getCaseInstancesCount(javax.ws.rs.core.UriInfo uriInfo)
getCaseInstancesCount
in interface CaseInstanceRestService
public CountResultDto queryCaseInstancesCount(CaseInstanceQueryDto queryDto)
queryCaseInstancesCount
in interface CaseInstanceRestService
Copyright © 2019. All rights reserved.