Package org.camunda.bpm.engine.rest
Interface CaseInstanceRestService
- 
- All Known Implementing Classes:
- CaseInstanceRestServiceImpl
 
 @Produces("application/json") public interface CaseInstanceRestService- Author:
- Roman Smirnov
 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringPATH
 - 
Method SummaryAll Methods Instance Methods Abstract 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 query, java.lang.Integer firstResult, java.lang.Integer maxResults)Expects the same parameters asgetCaseInstances(UriInfo, Integer, Integer)(as a JSON message body) and allows for any number of variable checks.CountResultDtoqueryCaseInstancesCount(CaseInstanceQueryDto query)
 
- 
- 
- 
Field Detail- 
PATHstatic final java.lang.String PATH - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getCaseInstance@Path("/{id}") CaseInstanceResource getCaseInstance(@PathParam("id") java.lang.String caseInstanceId)
 - 
getCaseInstances@GET @Produces("application/json") java.util.List<CaseInstanceDto> getCaseInstances(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") java.lang.Integer firstResult, @QueryParam("maxResults") java.lang.Integer maxResults)Exposes theCaseInstanceQueryinterface as a REST service.- Parameters:
- uriInfo-
- firstResult-
- maxResults-
- Returns:
 
 - 
queryCaseInstances@POST @Consumes("application/json") @Produces("application/json") java.util.List<CaseInstanceDto> queryCaseInstances(CaseInstanceQueryDto query, @QueryParam("firstResult") java.lang.Integer firstResult, @QueryParam("maxResults") java.lang.Integer maxResults)Expects the same parameters asgetCaseInstances(UriInfo, Integer, Integer)(as a JSON message body) and allows for any number of variable checks.- Parameters:
- query-
- firstResult-
- maxResults-
- Returns:
 
 - 
getCaseInstancesCount@GET @Path("/count") @Produces("application/json") CountResultDto getCaseInstancesCount(@Context javax.ws.rs.core.UriInfo uriInfo)
 - 
queryCaseInstancesCount@POST @Path("/count") @Consumes("application/json") @Produces("application/json") CountResultDto queryCaseInstancesCount(CaseInstanceQueryDto query)
 
- 
 
-