org.camunda.bpm.engine
Interface CaseService

All Known Implementing Classes:
CaseServiceImpl

public interface CaseService

Author:
Roman Smirnov

Method Summary
 CaseExecutionQuery createCaseExecutionQuery()
          Creates a new CaseExecutionQuery instance, that can be used to query the executions and case instances.
 CaseInstanceBuilder createCaseInstanceById(String caseDefinitionId)
          Define a CaseInstance using a fluent builder.
 CaseInstanceBuilder createCaseInstanceByKey(String caseDefinitionKey)
          Define a CaseInstance using a fluent builder.
 CaseInstanceQuery createCaseInstanceQuery()
          Creates a new CaseInstanceQuery instance, that can be used to query case instances.
 

Method Detail

createCaseInstanceByKey

CaseInstanceBuilder createCaseInstanceByKey(String caseDefinitionKey)
Define a CaseInstance using a fluent builder.

Parameters:
caseDefinitionKey - The key of case definition to create a new case instance in the latest version of the case definition with the given key, cannot be null.
Returns:
a fluent builder for defining a new case instance

createCaseInstanceById

CaseInstanceBuilder createCaseInstanceById(String caseDefinitionId)
Define a CaseInstance using a fluent builder. Starts a new case instance in the exactly specified version of the case definition with the given id.

Parameters:
caseDefinitionId - The id of case definition to create a new case instance in the exactly specified version of the case definition with the given id, cannot be null.
Returns:
a fluent builder for defining a new case instance

createCaseInstanceQuery

CaseInstanceQuery createCaseInstanceQuery()
Creates a new CaseInstanceQuery instance, that can be used to query case instances.


createCaseExecutionQuery

CaseExecutionQuery createCaseExecutionQuery()
Creates a new CaseExecutionQuery instance, that can be used to query the executions and case instances.



Copyright © 2014 camunda services GmbH. All Rights Reserved.