Class WorkflowBpmnExportBean

  • All Implemented Interfaces:
    Serializable

    @ViewScoped
    @Named
    public class WorkflowBpmnExportBean
    extends Object
    implements Serializable
    Controller bean for the BPMN editor of the flow graph. Allows exporting the flow chart as a BPMN file.
    Since:
    8.4.0
    See Also:
    Serialized Form
    • Constructor Detail

      • WorkflowBpmnExportBean

        public WorkflowBpmnExportBean()
    • Method Detail

      • getDownloadFileNamePng

        public String getDownloadFileNamePng()
        Gets the file name for the PNG export of the BPMN diagram.
        Returns:
        The file name for the PNG export.
      • getDownloadFileNameSvg

        public String getDownloadFileNameSvg()
        Gets the file name for the SVG export of the BPMN diagram.
        Returns:
        The file name for the SVG export.
      • getExportSettings

        public BpmnExportSettingsViewModel getExportSettings()
        Gets the view model with the settings for the BPMN export.
        Returns:
        The BPMN export settings view model.
      • getViewSettings

        public ViewSettingsModel getViewSettings()
        Gets the view settings for the BPMN diagram, indicating what parts of the workflow should be rendered.
        Returns:
        The view settings model containing the tasks and their rendering state.
      • onConvertAndRenderBpmnRequest

        public void onConvertAndRenderBpmnRequest()
        When the button to visualize a task was clicked.
      • onGetBpmnXmlForDownload

        public void onGetBpmnXmlForDownload()
        Handler for the remote command to download the BPMN diagram as a BPMN 2 XML file.
      • onPresetSelected

        public void onPresetSelected​(EFlowchartToBpmnConverterSettingsPreset preset)
        When the user clicked on a preset the in the BPMN export settings UI. Applies the settings of the preset to the current export settings.
      • switchDirectionEast

        public void switchDirectionEast()
        Arranges BPMN elements from left to right.
      • switchDirectionNorth

        public void switchDirectionNorth()
        Arranges BPMN elements from bottom to top.
      • switchDirectionSouth

        public void switchDirectionSouth()
        Arranges BPMN elements from top to bottom.
      • switchDirectionWest

        public void switchDirectionWest()
        Arranges BPMN elements from bottom to top.
      • toggleCollapseSubProcesses

        public void toggleCollapseSubProcesses()
        Expands or collapses sub processes in the BPMN diagram.
      • toggleColorize

        public void toggleColorize()
        Enables or disables colors for the BPMN diagram.