Class AbstractGetFormInstanceModelCmd
- java.lang.Object
-
- com.flowable.form.engine.impl.cmd.AbstractGetFormInstanceModelCmd
-
- All Implemented Interfaces:
Serializable
,Command<FormInstanceInfo>
- Direct Known Subclasses:
GetFormInstanceByScopeModelCmd
,GetFormInstanceModelCmd
public class AbstractGetFormInstanceModelCmd extends Object implements Command<FormInstanceInfo>, Serializable
- Author:
- Tijs Rademakers
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static DateTimeFormatter
DATE_FORMAT
protected boolean
fallbackToDefaultTenant
protected String
formDefinitionId
protected String
formDefinitionKey
protected String
formInstanceId
static String
NO_FORM_DEFINITION_FOUND_FOR_KEY
protected String
parentDeploymentId
protected String
processInstanceId
protected String
scopeId
protected String
scopeType
protected String
taskId
protected String
tenantId
protected Map<String,Object>
variables
-
Constructor Summary
Constructors Constructor Description AbstractGetFormInstanceModelCmd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormInstanceInfo
execute(CommandContext commandContext)
protected void
initializeValues(String formDefinitionKey, String parentDeploymentId, String formDefinitionId, String tenantId, String taskId, String processInstanceId, Map<String,Object> variables, boolean fallbackToDefaultTenant)
protected void
initializeValuesForScope(String formDefinitionKey, String parentDeploymentId, String formDefinitionId, String tenantId, String scopeId, String scopeType, Map<String,Object> variables, boolean fallbackToDefaultTenant)
protected FormDefinitionCacheEntry
resolveFormDefinition(CommandContext commandContext)
protected FormInstance
resolveFormInstance(CommandContext commandContext)
protected FormInstanceInfo
resolveFormInstanceModel(FormDefinitionCacheEntry formCacheEntry, FormInstance formInstance, CommandContext commandContext)
-
-
-
Field Detail
-
NO_FORM_DEFINITION_FOUND_FOR_KEY
public static final String NO_FORM_DEFINITION_FOUND_FOR_KEY
- See Also:
- Constant Field Values
-
DATE_FORMAT
protected static final DateTimeFormatter DATE_FORMAT
-
formInstanceId
protected String formInstanceId
-
formDefinitionKey
protected String formDefinitionKey
-
parentDeploymentId
protected String parentDeploymentId
-
formDefinitionId
protected String formDefinitionId
-
taskId
protected String taskId
-
processInstanceId
protected String processInstanceId
-
scopeId
protected String scopeId
-
scopeType
protected String scopeType
-
tenantId
protected String tenantId
-
fallbackToDefaultTenant
protected boolean fallbackToDefaultTenant
-
-
Method Detail
-
execute
public FormInstanceInfo execute(CommandContext commandContext)
- Specified by:
execute
in interfaceCommand<FormInstanceInfo>
-
initializeValues
protected void initializeValues(String formDefinitionKey, String parentDeploymentId, String formDefinitionId, String tenantId, String taskId, String processInstanceId, Map<String,Object> variables, boolean fallbackToDefaultTenant)
-
initializeValuesForScope
protected void initializeValuesForScope(String formDefinitionKey, String parentDeploymentId, String formDefinitionId, String tenantId, String scopeId, String scopeType, Map<String,Object> variables, boolean fallbackToDefaultTenant)
-
resolveFormDefinition
protected FormDefinitionCacheEntry resolveFormDefinition(CommandContext commandContext)
-
resolveFormInstance
protected FormInstance resolveFormInstance(CommandContext commandContext)
-
resolveFormInstanceModel
protected FormInstanceInfo resolveFormInstanceModel(FormDefinitionCacheEntry formCacheEntry, FormInstance formInstance, CommandContext commandContext)
-
-