public class CaseDefinitionRestServiceImpl extends AbstractRestProcessEngineAware implements CaseDefinitionRestService
objectMapper, relativeRootResourcePath
processEngine
PATH
Constructor and Description |
---|
CaseDefinitionRestServiceImpl(String engineName,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
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) |
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
public CaseDefinitionRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public CaseDefinitionResource getCaseDefinitionByKey(String caseDefinitionKey)
getCaseDefinitionByKey
in interface CaseDefinitionRestService
public CaseDefinitionResource getCaseDefinitionByKeyAndTenantId(String caseDefinitionKey, String tenantId)
getCaseDefinitionByKeyAndTenantId
in interface CaseDefinitionRestService
public CaseDefinitionResource getCaseDefinitionById(String caseDefinitionId)
getCaseDefinitionById
in interface CaseDefinitionRestService
public List<CaseDefinitionDto> getCaseDefinitions(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
CaseDefinitionRestService
CaseDefinitionQuery
interface as a REST service.getCaseDefinitions
in interface CaseDefinitionRestService
public CountResultDto getCaseDefinitionsCount(javax.ws.rs.core.UriInfo uriInfo)
getCaseDefinitionsCount
in interface CaseDefinitionRestService
Copyright © 2019. All rights reserved.