org.camunda.bpm.engine.rest.impl
Class CaseDefinitionRestServiceImpl

java.lang.Object
  extended by org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
      extended by org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
          extended by 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 class org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
processEngine
 
Fields inherited from interface org.camunda.bpm.engine.rest.CaseDefinitionRestService
PATH
 
Constructor Summary
CaseDefinitionRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
           
 
Method Summary
 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)
           
 
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface CaseDefinitionRestService

getCaseDefinitionByKeyAndTenantId

public CaseDefinitionResource getCaseDefinitionByKeyAndTenantId(String caseDefinitionKey,
                                                                String tenantId)
Specified by:
getCaseDefinitionByKeyAndTenantId in interface CaseDefinitionRestService

getCaseDefinitionById

public CaseDefinitionResource getCaseDefinitionById(String caseDefinitionId)
Specified by:
getCaseDefinitionById in interface CaseDefinitionRestService

getCaseDefinitions

public List<CaseDefinitionDto> getCaseDefinitions(javax.ws.rs.core.UriInfo uriInfo,
                                                  Integer firstResult,
                                                  Integer maxResults)
Description copied from interface: CaseDefinitionRestService
Exposes the CaseDefinitionQuery interface as a REST service.

Specified by:
getCaseDefinitions in interface CaseDefinitionRestService
Returns:

getCaseDefinitionsCount

public CountResultDto getCaseDefinitionsCount(javax.ws.rs.core.UriInfo uriInfo)
Specified by:
getCaseDefinitionsCount in interface CaseDefinitionRestService


Copyright © 2016 camunda services GmbH. All rights reserved.