@Produces(value="application/json")
public interface CaseInstanceRestService
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 query,
Integer firstResult,
Integer maxResults)
Expects the same parameters as
getCaseInstances(UriInfo, Integer, Integer) (as a JSON message body)
and allows for any number of variable checks. |
CountResultDto |
queryCaseInstancesCount(CaseInstanceQueryDto query) |
static final String PATH
@Path(value="/{id}") CaseInstanceResource getCaseInstance(@PathParam(value="id") String caseInstanceId)
@GET @Produces(value="application/json") List<CaseInstanceDto> getCaseInstances(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
CaseInstanceQuery
interface as a REST service.uriInfo
- firstResult
- maxResults
- @POST @Consumes(value="application/json") @Produces(value="application/json") List<CaseInstanceDto> queryCaseInstances(CaseInstanceQueryDto query, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
getCaseInstances(UriInfo, Integer, Integer)
(as a JSON message body)
and allows for any number of variable checks.query
- firstResult
- maxResults
- @GET @Path(value="/count") @Produces(value="application/json") CountResultDto getCaseInstancesCount(@Context javax.ws.rs.core.UriInfo uriInfo)
@POST @Path(value="/count") @Consumes(value="application/json") @Produces(value="application/json") CountResultDto queryCaseInstancesCount(CaseInstanceQueryDto query)
Copyright © 2022. All rights reserved.