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 String
businessKey
protected String
caseDefinitionId
protected String
caseDefinitionKey
protected String
caseDefinitionTenantId
protected boolean
isTenantIdSet
protected 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 CaseInstance
execute(CommandContext commandContext)
protected CaseDefinitionEntity
find(CommandContext commandContext)
protected CaseDefinitionEntity
findById(DeploymentCache deploymentCache, String caseDefinitionId)
protected CaseDefinitionEntity
findByKey(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:
execute
in interfaceCommand<CaseInstance>
-
find
protected CaseDefinitionEntity find(CommandContext commandContext)
-
findById
protected CaseDefinitionEntity findById(DeploymentCache deploymentCache, String caseDefinitionId)
-
findByKey
protected CaseDefinitionEntity findByKey(DeploymentCache deploymentCache, String caseDefinitionKey)
-
-