Package org.camunda.bpm.engine.rest.impl
Class CaseDefinitionRestServiceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.CaseDefinitionRestServiceImpl
-
- All Implemented Interfaces:
CaseDefinitionRestService
public class CaseDefinitionRestServiceImpl extends AbstractRestProcessEngineAware implements CaseDefinitionRestService
- Author:
- Roman Smirnov
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePath
-
Fields inherited from interface org.camunda.bpm.engine.rest.CaseDefinitionRestService
PATH
-
-
Constructor Summary
Constructors Constructor Description CaseDefinitionRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 theCaseDefinitionQuery
interface as a REST service.CountResultDto
getCaseDefinitionsCount(javax.ws.rs.core.UriInfo uriInfo)
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Constructor Detail
-
CaseDefinitionRestServiceImpl
public CaseDefinitionRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
getCaseDefinitionByKey
public CaseDefinitionResource getCaseDefinitionByKey(String caseDefinitionKey)
- Specified by:
getCaseDefinitionByKey
in interfaceCaseDefinitionRestService
-
getCaseDefinitionByKeyAndTenantId
public CaseDefinitionResource getCaseDefinitionByKeyAndTenantId(String caseDefinitionKey, String tenantId)
- Specified by:
getCaseDefinitionByKeyAndTenantId
in interfaceCaseDefinitionRestService
-
getCaseDefinitionById
public CaseDefinitionResource getCaseDefinitionById(String caseDefinitionId)
- Specified by:
getCaseDefinitionById
in interfaceCaseDefinitionRestService
-
getCaseDefinitions
public List<CaseDefinitionDto> getCaseDefinitions(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
Description copied from interface:CaseDefinitionRestService
Exposes theCaseDefinitionQuery
interface as a REST service.- Specified by:
getCaseDefinitions
in interfaceCaseDefinitionRestService
- Returns:
-
getCaseDefinitionsCount
public CountResultDto getCaseDefinitionsCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getCaseDefinitionsCount
in interfaceCaseDefinitionRestService
-
-