@Produces(value="application/json")
public interface CaseDefinitionRestService
Modifier and Type | Method and Description |
---|---|
CaseDefinitionResource |
getCaseDefinitionById(String caseDefinitionId) |
CaseDefinitionResource |
getCaseDefinitionByKey(String caseDefinitionKey) |
CaseDefinitionResource |
getCaseDefinitionByKeyAndTenantId(String caseDefinitionKey,
String tenantId) |
List<CaseDefinitionDto> |
getCaseDefinitions(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults)
Exposes the
CaseDefinitionQuery interface as a REST service. |
CountResultDto |
getCaseDefinitionsCount(javax.ws.rs.core.UriInfo uriInfo) |
static final String PATH
@Path(value="/{id}") CaseDefinitionResource getCaseDefinitionById(@PathParam(value="id") String caseDefinitionId)
@Path(value="/key/{key}") CaseDefinitionResource getCaseDefinitionByKey(@PathParam(value="key") String caseDefinitionKey)
@Path(value="/key/{key}/tenant-id/{tenantId}") CaseDefinitionResource getCaseDefinitionByKeyAndTenantId(@PathParam(value="key") String caseDefinitionKey, @PathParam(value="tenantId") String tenantId)
@GET @Produces(value="application/json") List<CaseDefinitionDto> getCaseDefinitions(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
CaseDefinitionQuery
interface as a REST service.uriInfo
- firstResult
- maxResults
- @GET @Path(value="/count") @Produces(value="application/json") CountResultDto getCaseDefinitionsCount(@Context javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2020. All rights reserved.