public class CreateCaseInstanceCmd extends Object implements Command<CaseInstance>, Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
businessKey |
protected String |
caseDefinitionId |
protected String |
caseDefinitionKey |
protected String |
caseDefinitionTenantId |
protected boolean |
isTenantIdSet |
protected Map<String,Object> |
variables |
Constructor and Description |
---|
CreateCaseInstanceCmd(CaseInstanceBuilderImpl builder) |
Modifier and Type | Method and Description |
---|---|
CaseInstance |
execute(CommandContext commandContext) |
protected CaseDefinitionEntity |
find(CommandContext commandContext) |
protected CaseDefinitionEntity |
findById(DeploymentCache deploymentCache,
String caseDefinitionId) |
protected CaseDefinitionEntity |
findByKey(DeploymentCache deploymentCache,
String caseDefinitionKey) |
protected String caseDefinitionKey
protected String caseDefinitionId
protected String businessKey
protected String caseDefinitionTenantId
protected boolean isTenantIdSet
public CreateCaseInstanceCmd(CaseInstanceBuilderImpl builder)
public CaseInstance execute(CommandContext commandContext)
execute
in interface Command<CaseInstance>
protected CaseDefinitionEntity find(CommandContext commandContext)
protected CaseDefinitionEntity findById(DeploymentCache deploymentCache, String caseDefinitionId)
protected CaseDefinitionEntity findByKey(DeploymentCache deploymentCache, String caseDefinitionKey)
Copyright © 2022. All rights reserved.