Class CreateCaseInstanceCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmmn.cmd.CreateCaseInstanceCmd
-
- All Implemented Interfaces:
Serializable,Command<CaseInstance>
public class CreateCaseInstanceCmd extends Object implements Command<CaseInstance>, Serializable
- Author:
- Roman Smirnov
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringbusinessKeyprotected StringcaseDefinitionIdprotected StringcaseDefinitionKeyprotected StringcaseDefinitionTenantIdprotected booleanisTenantIdSetprotected Map<String,Object>variables
-
Constructor Summary
Constructors Constructor Description CreateCaseInstanceCmd(CaseInstanceBuilderImpl builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CaseInstanceexecute(CommandContext commandContext)protected CaseDefinitionEntityfind(CommandContext commandContext)protected CaseDefinitionEntityfindById(DeploymentCache deploymentCache, String caseDefinitionId)protected CaseDefinitionEntityfindByKey(DeploymentCache deploymentCache, String caseDefinitionKey)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
-
-
-
Constructor Detail
-
CreateCaseInstanceCmd
public CreateCaseInstanceCmd(CaseInstanceBuilderImpl builder)
-
-
Method Detail
-
execute
public CaseInstance execute(CommandContext commandContext)
- Specified by:
executein interfaceCommand<CaseInstance>
-
find
protected CaseDefinitionEntity find(CommandContext commandContext)
-
findById
protected CaseDefinitionEntity findById(DeploymentCache deploymentCache, String caseDefinitionId)
-
findByKey
protected CaseDefinitionEntity findByKey(DeploymentCache deploymentCache, String caseDefinitionKey)
-
-