org.camunda.bpm.engine.impl.cmmn
Class CaseServiceImpl

java.lang.Object
  extended by org.camunda.bpm.engine.impl.ServiceImpl
      extended by org.camunda.bpm.engine.impl.cmmn.CaseServiceImpl
All Implemented Interfaces:
CaseService

public class CaseServiceImpl
extends ServiceImpl
implements CaseService

Author:
Roman Smirnov

Field Summary
 
Fields inherited from class org.camunda.bpm.engine.impl.ServiceImpl
commandExecutor
 
Constructor Summary
CaseServiceImpl()
           
 
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.
 
Methods inherited from class org.camunda.bpm.engine.impl.ServiceImpl
getCommandExecutor, setCommandExecutor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaseServiceImpl

public CaseServiceImpl()
Method Detail

createCaseInstanceByKey

public CaseInstanceBuilder createCaseInstanceByKey(String caseDefinitionKey)
Description copied from interface: CaseService
Define a CaseInstance using a fluent builder.

Specified by:
createCaseInstanceByKey in interface CaseService
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

public CaseInstanceBuilder createCaseInstanceById(String caseDefinitionId)
Description copied from interface: CaseService
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.

Specified by:
createCaseInstanceById in interface CaseService
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

public CaseInstanceQuery createCaseInstanceQuery()
Description copied from interface: CaseService
Creates a new CaseInstanceQuery instance, that can be used to query case instances.

Specified by:
createCaseInstanceQuery in interface CaseService

createCaseExecutionQuery

public CaseExecutionQuery createCaseExecutionQuery()
Description copied from interface: CaseService
Creates a new CaseExecutionQuery instance, that can be used to query the executions and case instances.

Specified by:
createCaseExecutionQuery in interface CaseService


Copyright © 2014 camunda services GmbH. All Rights Reserved.