Class 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:
    Serialized Form
    • Constructor Detail

      • WorkflowModelBean

        public WorkflowModelBean()
    • Method Detail

      • getBackupModel

        public WorkflowBackupModel getBackupModel()
        Returns:
        Model for the selected and available backup versions of the workflow.
      • 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.
      • getValidationModel

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

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

        public boolean isInitiallyPersisted()
      • setAssociatesModel

        public void setAssociatesModel​(AssociatesModel associatesModel)
      • setBackupDialogModel

        public void setBackupDialogModel​(BackupDialogModel backupDialogModel)
      • setBackupModel

        public void setBackupModel​(WorkflowBackupModel backupModel)
        Parameters:
        backupModel - Model for the selected and available backup versions of the workflow.
      • 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.
      • setInitiallyPersisted

        public void setInitiallyPersisted​(boolean persisted)
      • setInitialNodePrototype

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

        public void setPropertiesPanelModel​(PropertiesPanelModel propertiesPanelModel)
      • setViewSettingsModel

        public void setViewSettingsModel​(ViewSettingsModel viewSettingsModel)
      • setWorkflowExternalState

        public void setWorkflowExternalState​(WorkflowExternalState externalState)
      • setWorkflowStateListModel

        public void setWorkflowStateListModel​(WorkflowStateListModel workflowStateListModel)