Package de.xima.fc.gui.model.designer
Class WebFormPersistFile
java.lang.Object
de.xima.fc.gui.model.designer.WebFormPersistFile
- All Implemented Interfaces:
Serializable
POJO representing the different types of form persist files.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic WebFormPersistFileempty()static WebFormPersistFileforAdobeLivecycle(String fileName, String livecycleXml) static WebFormPersistFileforPdfForm(String fileName, String importId) static WebFormPersistFileforPersistJson(String fileName, String persistJson) getData()getType()booleanbooleanboolean
-
Method Details
-
getData
-
getFileName
- Returns:
- The file name of the persist file.
-
getLivecycleXml
- Returns:
- The livecycle XML string, when
isAdobeLivecycle().
-
getPersistJson
- Returns:
- The persist JSON object, when
isPersistJson().
-
getType
-
isAdobeLivecycle
public boolean isAdobeLivecycle()- Returns:
- Whether this is a livecycle file.
-
isPdfForm
public boolean isPdfForm()- Returns:
- Whether this is a PDF form file.
-
isPersistJson
public boolean isPersistJson()- Returns:
- Whether this is a persist JSON file.
-
empty
- Returns:
- A new empty persist file with no type.
-
forAdobeLivecycle
- Parameters:
fileName- File name of the livecycle persist file.livecycleXml- Livecycle XML string.- Returns:
- A new livecycle web form persist file.
-
forPdfForm
- Parameters:
fileName- File name of the PDF form file.importId- ID of the uploaded PDF.- Returns:
- A new livecycle web form persist file.
-
forPersistJson
- Parameters:
fileName- File name of the persist JSON file.persistJson- Livecycle XML string.- Returns:
- A new persist JSON web form persist file.
-