Class FormDesignerBackupBean

java.lang.Object
de.xima.fc.gui.designer.form.bean.FormDesignerBackupBean
All Implemented Interfaces:
Serializable

@RequestScoped @Named public class FormDesignerBackupBean extends Object implements Serializable
Bean for the form designer. Lists or loads form backup versions and can also create a local export of the current form.
Since:
7.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • FormDesignerBackupBean

      public FormDesignerBackupBean()
  • Method Details

    • getLocalBackup

      public org.primefaces.model.StreamedContent getLocalBackup()
      Returns:
      The streamed content with the local form export JSON.
    • loadFormVersionBackupPersist

      public void loadFormVersionBackupPersist()
      Remote command for loading the persist of the FormVersionBackup with the given ID.
    • loadFormVersionBackupPersistFromJson

      public void loadFormVersionBackupPersistFromJson(String fileName, com.alibaba.fastjson.JSONObject persistJson)
      Loads the given persist JSON into the form designer.
      Parameters:
      fileName - Name of the persist JSON file.
      persistJson - Persist JSON to load.
    • loadFormVersionBackupPersistFromLivecycle

      public void loadFormVersionBackupPersistFromLivecycle(String fileName, String livecycleXml)
      Loads the given livecycle file into the form designer.
      Parameters:
      fileName - Name of the livecycle file.
      livecycleXml - Livecycle file to load.
    • loadFormVersionBackupPersistFromPdf

      public void loadFormVersionBackupPersistFromPdf(String fileName, String importId)
      Loads the given PDF file into the form designer.
      Parameters:
      fileName - Name of the PDF form file.
      importId - ID of the imported PDF file.
      Since:
      7.2.0
    • loadFormVersionPersist

      public void loadFormVersionPersist()
      Remote command for loading the persist of the FormVersion with the given ID.