Class DesignerConversationModel

  • All Implemented Interfaces:
    Serializable

    public final class DesignerConversationModel
    extends Object
    implements Serializable
    POJO model for the current global state of a designer instance. Scoped to the designer conversation, this allows all frames and views to access the current state.
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Method Detail

      • getCurrentFormDesignerLanguage

        public String getCurrentFormDesignerLanguage()
        Returns:
        The current language selected in the form designer, empty string the form designer is not open currently.
      • getCurrentFormPersist

        public FormPersist getCurrentFormPersist()
        Returns:
        The current form persist representing the current (transient or persistent) state of the form edited in the form designer. Empty model when the form designer is not open currently.
      • getCurrentStateList

        public StateList getCurrentStateList()
        Returns:
        The current list of states that are being edited in the workflow designer, but may not yet be saved.
      • getAndClearInitialFlowchartSnapshot

        public FlowchartSnapshot getAndClearInitialFlowchartSnapshot()
        Returns:
        The snapshot that should be loaded initially when the workflow designer is opened. When null, the persisted workflow is loaded.
      • getAndClearInitialWebFormPersist

        public WebFormPersistFile getAndClearInitialWebFormPersist()
        Returns:
        The persist file that should be loaded initially when the form designer is opened. When null, the persisted form version is loaded.
      • setCurrentFormDesignerLanguage

        public void setCurrentFormDesignerLanguage​(String currentFormDesignerLanguage)
        Parameters:
        currentFormDesignerLanguage - The current language selected in the form designer, empty string the form designer is not open currently.
      • setCurrentFormPersist

        public void setCurrentFormPersist​(FormPersist currentFormPersist)
        Parameters:
        currentFormPersist - The current form persist representing the current (transient or persistent) state of the form edited in the form designer. Empty model when the form designer is not open currently.
      • setCurrentStateList

        public void setCurrentStateList​(StateList currentStateList)
        Parameters:
        currentStateList - The current list of states that are being edited in the workflow designer, but may not yet be saved.
      • setInitialFlowchartSnapshot

        public void setInitialFlowchartSnapshot​(FlowchartSnapshot initialFlowchartSnapshot)
        Parameters:
        initialFlowchartSnapshot - The snapshot that should be loaded initially when the workflow designer is opened. When null, the persisted workflow version is loaded.
      • setInitialWebFormPersistJson

        public void setInitialWebFormPersistJson​(String fileName,
                                                 String initialWebFormPersistJson)
        Parameters:
        fileName - File name of the persist JSON file.
        initialWebFormPersistJson - The persist JSON that should be loaded initially when the form designer is opened. When null, the persisted form version is loaded.
      • setInitialWebFormPersistLivecycle

        public void setInitialWebFormPersistLivecycle​(String fileName,
                                                      String initialWebFormLivecycleXml)
        Parameters:
        fileName - File name of the livecycle persist file.
        initialWebFormLivecycleXml - The persist livecycle XML that should be loaded initially when the form designer is opened. When null, the persisted form version is loaded.