Class WorkflowModelBean

java.lang.Object
de.xima.fc.workflow.designer.bean.WorkflowModelBean
All Implemented Interfaces:
Serializable

@Named @ViewScoped public class WorkflowModelBean extends Object implements Serializable
Bean that holds the different models (state) required by the workflow. This is the central point that stores data and can be accessed by all other beans. Other beans should not store state of their own. This bean does not have a Injects to other workflow beans, so it can be freely referenced.
Since:
7.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • WorkflowModelBean

      public WorkflowModelBean()
  • Method Details

    • getAssociatesModel

      public AssociatesModel getAssociatesModel()
    • setAssociatesModel

      public void setAssociatesModel(AssociatesModel associatesModel)
    • getBackupDialogModel

      public BackupDialogModel getBackupDialogModel()
    • setBackupDialogModel

      public void setBackupDialogModel(BackupDialogModel backupDialogModel)
    • getBackupModel

      public WorkflowBackupModel getBackupModel()
      Returns:
      Model for the selected and available backup versions of the workflow.
    • setBackupModel

      public void setBackupModel(WorkflowBackupModel backupModel)
      Parameters:
      backupModel - Model for the selected and available backup versions of the workflow.
    • getContextModel

      public WorkflowContextModel getContextModel()
    • setContextModel

      public void setContextModel(WorkflowContextModel workflowContextModel)
    • getDrawerPanelModel

      public DrawerPanelModel getDrawerPanelModel()
    • getElementInfoPanelModel

      public ElementInfoPanelModel getElementInfoPanelModel()
    • getFlowchartModel

      public FlowchartModel getFlowchartModel()
    • getFlowGraphVisualizationModel

      public WorkflowFlowGraphVisualizationModel getFlowGraphVisualizationModel()
      Returns:
      Model for the flow graph visualization component of the workflow designer.
    • getInitialHandlers

      public InitialElementHandlerTypeSet getInitialHandlers()
      Returns:
      Additional element handler types to load when the flowchart is loaded.
    • getInitialNodePrototypes

      public IInitialNodePrototypeModel getInitialNodePrototypes()
      Returns:
      Initial root node added when a new task is created.
    • getNodePropertiesModel

      public ActivePropertiesModel<NodeModel, ? extends INodePropertiesBean<?>> getNodePropertiesModel()
      Returns:
      Model with the properties of all workflow nodes.
    • setNodePropertiesModel

      public void setNodePropertiesModel(ActivePropertiesModel<NodeModel, ? extends INodePropertiesBean<?>> nodePropertiesModel)
    • getPropertiesPanelModel

      public PropertiesPanelModel getPropertiesPanelModel()
    • setPropertiesPanelModel

      public void setPropertiesPanelModel(PropertiesPanelModel propertiesPanelModel)
    • getTriggerPropertiesModel

      public ActivePropertiesModel<TriggerModel, ? extends ITriggerPropertiesBean<?>> getTriggerPropertiesModel()
    • setTriggerPropertiesModel

      public void setTriggerPropertiesModel(ActivePropertiesModel<TriggerModel, ? extends ITriggerPropertiesBean<?>> triggerPropertiesModel)
    • getValidationModel

      public WorkflowValidationModel getValidationModel()
      Returns:
      Validation model with all current validation errors.
    • setValidationModel

      public void setValidationModel(WorkflowValidationModel validationModel)
    • getViewSettingsModel

      public ViewSettingsModel getViewSettingsModel()
    • setViewSettingsModel

      public void setViewSettingsModel(ViewSettingsModel viewSettingsModel)
    • getWorkflowExternalState

      public WorkflowExternalState getWorkflowExternalState()
    • setWorkflowExternalState

      public void setWorkflowExternalState(WorkflowExternalState externalState)
    • getWorkflowStateListModel

      public WorkflowStateListModel getWorkflowStateListModel()
    • setWorkflowStateListModel

      public void setWorkflowStateListModel(WorkflowStateListModel workflowStateListModel)
    • isDevMode

      public boolean isDevMode()
      Returns:
      Whether FC is started in dev mode.
    • setDevMode

      public void setDevMode(boolean devMode)
    • setDrawerPanelModel

      public void setDrawerPanelModel(DrawerPanelModel drawerPanelModel)
    • setElementInfoPanelModel

      public void setElementInfoPanelModel(ElementInfoPanelModel elementInfoPanelModel)
    • setFlowchartModel

      public void setFlowchartModel(FlowchartModel model)
    • setFlowGraphVisualizationModel

      public void setFlowGraphVisualizationModel(WorkflowFlowGraphVisualizationModel flowGraphVisualizationModel)
      Parameters:
      flowGraphVisualizationModel - Model for the flow graph visualization component of the workflow designer.
    • setInitialHandlers

      public void setInitialHandlers(InitialElementHandlerTypeSet initialHandlers)
      Parameters:
      initialHandlers - Additional element handler types to load when the flowchart is loaded.
    • isInitiallyPersisted

      public boolean isInitiallyPersisted()
    • setInitiallyPersisted

      public void setInitiallyPersisted(boolean persisted)
    • setInitialNodePrototype

      public void setInitialNodePrototype(IInitialNodePrototypeModel initialNodePrototype)
      Parameters:
      initialNodePrototype - Initial root node added when a new task is created.