Class CreateCaseInstanceCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmmn.cmd.CreateCaseInstanceCmd
-
- All Implemented Interfaces:
java.io.Serializable
,Command<CaseInstance>
public class CreateCaseInstanceCmd extends java.lang.Object implements Command<CaseInstance>, java.io.Serializable
- Author:
- Roman Smirnov
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
businessKey
protected java.lang.String
caseDefinitionId
protected java.lang.String
caseDefinitionKey
protected java.lang.String
caseDefinitionTenantId
protected boolean
isTenantIdSet
protected java.util.Map<java.lang.String,java.lang.Object>
variables
-
Constructor Summary
Constructors Constructor Description CreateCaseInstanceCmd(CaseInstanceBuilderImpl builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CaseInstance
execute(CommandContext commandContext)
protected CaseDefinitionEntity
find(CommandContext commandContext)
protected CaseDefinitionEntity
findById(DeploymentCache deploymentCache, java.lang.String caseDefinitionId)
protected CaseDefinitionEntity
findByKey(DeploymentCache deploymentCache, java.lang.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
-
-
-
-
Field Detail
-
caseDefinitionKey
protected java.lang.String caseDefinitionKey
-
caseDefinitionId
protected java.lang.String caseDefinitionId
-
variables
protected java.util.Map<java.lang.String,java.lang.Object> variables
-
businessKey
protected java.lang.String businessKey
-
caseDefinitionTenantId
protected java.lang.String caseDefinitionTenantId
-
isTenantIdSet
protected boolean isTenantIdSet
-
-
Constructor Detail
-
CreateCaseInstanceCmd
public CreateCaseInstanceCmd(CaseInstanceBuilderImpl builder)
-
-
Method Detail
-
execute
public CaseInstance execute(CommandContext commandContext)
- Specified by:
execute
in interfaceCommand<CaseInstance>
-
find
protected CaseDefinitionEntity find(CommandContext commandContext)
-
findById
protected CaseDefinitionEntity findById(DeploymentCache deploymentCache, java.lang.String caseDefinitionId)
-
findByKey
protected CaseDefinitionEntity findByKey(DeploymentCache deploymentCache, java.lang.String caseDefinitionKey)
-
-