Class AbstractGetFormInstanceModelCmd

java.lang.Object
com.flowable.form.engine.impl.cmd.AbstractGetFormInstanceModelCmd
All Implemented Interfaces:
Serializable, org.flowable.common.engine.impl.interceptor.Command<org.flowable.form.api.FormInstanceInfo>
Direct Known Subclasses:
GetFormInstanceByScopeModelCmd, GetFormInstanceModelCmd

public class AbstractGetFormInstanceModelCmd extends Object implements org.flowable.common.engine.impl.interceptor.Command<org.flowable.form.api.FormInstanceInfo>, Serializable
Author:
Tijs Rademakers
See Also:
  • Field Details

    • NO_FORM_DEFINITION_FOUND_FOR_KEY

      public static final String NO_FORM_DEFINITION_FOUND_FOR_KEY
      See Also:
    • 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
    • variables

      protected Map<String,Object> variables
    • fallbackToDefaultTenant

      protected boolean fallbackToDefaultTenant
  • Constructor Details

    • AbstractGetFormInstanceModelCmd

      public AbstractGetFormInstanceModelCmd()
  • Method Details

    • execute

      public org.flowable.form.api.FormInstanceInfo execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
      Specified by:
      execute in interface org.flowable.common.engine.impl.interceptor.Command<org.flowable.form.api.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(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
    • resolveFormInstance

      protected org.flowable.form.api.FormInstance resolveFormInstance(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
    • resolveFormInstanceModel

      protected org.flowable.form.api.FormInstanceInfo resolveFormInstanceModel(FormDefinitionCacheEntry formCacheEntry, org.flowable.form.api.FormInstance formInstance, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)