Class FormDesignerBackupBean
java.lang.Object
de.xima.fc.gui.designer.form.bean.FormDesignerBackupBean
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.primefaces.model.StreamedContentvoidRemote command for loading the persist of theFormVersionBackupwith the given ID.voidloadFormVersionBackupPersistFromJson(String fileName, com.alibaba.fastjson.JSONObject persistJson) Loads the given persist JSON into the form designer.voidloadFormVersionBackupPersistFromLivecycle(String fileName, String livecycleXml) Loads the given livecycle file into the form designer.voidloadFormVersionBackupPersistFromPdf(String fileName, String importId) Loads the given PDF file into the form designer.voidRemote command for loading the persist of theFormVersionwith the given ID.
-
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 theFormVersionBackupwith 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
Loads the given livecycle file into the form designer.- Parameters:
fileName- Name of the livecycle file.livecycleXml- Livecycle file to load.
-
loadFormVersionBackupPersistFromPdf
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 theFormVersionwith the given ID.
-