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 aInject
s to other workflow beans, so it can be freely referenced.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkflowModelBean()
-
Method Summary
-
-
-
Method Detail
-
getAssociatesModel
public AssociatesModel getAssociatesModel()
-
getBackupDialogModel
public BackupDialogModel getBackupDialogModel()
-
getBackupModel
public WorkflowBackupModel getBackupModel()
- Returns:
- Model for the selected and available backup versions of the workflow.
-
getContextModel
public WorkflowContextModel getContextModel()
-
getDrawerPanelModel
public DrawerPanelModel getDrawerPanelModel()
-
getElementInfoPanelModel
public ElementInfoPanelModel getElementInfoPanelModel()
-
getFlowchartModel
public FlowchartModel getFlowchartModel()
-
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.
-
getPropertiesPanelModel
public PropertiesPanelModel getPropertiesPanelModel()
-
getTriggerPropertiesModel
public ActivePropertiesModel<TriggerModel,? extends ITriggerPropertiesBean<?>> getTriggerPropertiesModel()
-
getValidationModel
public WorkflowValidationModel getValidationModel()
- Returns:
- Validation model with all current validation errors.
-
getViewSettingsModel
public ViewSettingsModel getViewSettingsModel()
-
getWorkflowExternalState
public WorkflowExternalState getWorkflowExternalState()
-
getWorkflowStateListModel
public WorkflowStateListModel getWorkflowStateListModel()
-
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.
-
setContextModel
public void setContextModel(WorkflowContextModel workflowContextModel)
-
setDevMode
public void setDevMode(boolean devMode)
-
setDrawerPanelModel
public void setDrawerPanelModel(DrawerPanelModel drawerPanelModel)
-
setElementInfoPanelModel
public void setElementInfoPanelModel(ElementInfoPanelModel elementInfoPanelModel)
-
setFlowchartModel
public void setFlowchartModel(FlowchartModel model)
-
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.
-
setNodePropertiesModel
public void setNodePropertiesModel(ActivePropertiesModel<NodeModel,? extends INodePropertiesBean<?>> nodePropertiesModel)
-
setPropertiesPanelModel
public void setPropertiesPanelModel(PropertiesPanelModel propertiesPanelModel)
-
setTriggerPropertiesModel
public void setTriggerPropertiesModel(ActivePropertiesModel<TriggerModel,? extends ITriggerPropertiesBean<?>> triggerPropertiesModel)
-
setValidationModel
public void setValidationModel(WorkflowValidationModel validationModel)
-
setViewSettingsModel
public void setViewSettingsModel(ViewSettingsModel viewSettingsModel)
-
setWorkflowExternalState
public void setWorkflowExternalState(WorkflowExternalState externalState)
-
setWorkflowStateListModel
public void setWorkflowStateListModel(WorkflowStateListModel workflowStateListModel)
-
-