Package com.avoka.fc.core.service.form
Class TemplateVersionBean
- java.lang.Object
-
- com.avoka.fc.core.service.form.TemplateVersionBean
-
public class TemplateVersionBean extends Object
A java bean to store all associated template version property.
-
-
Field Summary
Fields Modifier and Type Field Description String
contactEmailXPath
The form data configuration mapping for the "Contact Email Address" form elementString
contactPhoneXPath
The form data configuration mapping for the "Contact Phone" form elementList<Pair<String,String>>
dataExtractMappings
Deprecated.use schemaExtractMappings insteadboolean
deployNow
whether the new version shall be deployed immediatelystatic String
FIT_HEIGHT
Form view property.static String
FIT_WIDTH
Form view property.Form
form
The form associated with this template version.FormArchive
formArchive
Form Archive objectbyte[]
formArchiveBytes
Form Archive bytes arrayboolean
formHttpApi2
whether to use the Maestro Form HTTP API version 2.byte[]
formTemplateBytes
Form template bytes arrayString
formTemplateFilename
Form template file nameString
formType
Form Typestatic String[]
PDF_FORM_VIEWS
A list of PDF form views.String
pdfFormView
the PDF view options for the formboolean
readerExtend
whether the form is reader extendedbyte[]
receiptTemplateBytes
receipt template bytes arrayString
receiptTemplateFilename
receipt template file nameString
saveChallengeXPath
The form data configuration mapping for the "Save Challenge Answer" form elementList<SchemaExtractMapBean>
schemaExtractMappings
the submission data extract mappings that shall be usedbyte[]
schemaSeedBytes
the schema seed bytes array for the formString
schemaSeedFilename
the schema seed file name for the formString
showNavbar
whether to show navigation bar for the formString
showScrollbar
whether to show scroll bar for the formString
showToolbar
whether to show tool bar for the formString
versionNumber
the version number - required for Maestro Formstatic String
ZOOM_100
Form view property.
-
Constructor Summary
Constructors Constructor Description TemplateVersionBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isComposerSmartForm()
boolean
isDynamicPdfForm()
boolean
isMaestroForm()
-
-
-
Field Detail
-
ZOOM_100
public static final String ZOOM_100
Form view property. Zoom to 100%- See Also:
- Constant Field Values
-
FIT_HEIGHT
public static final String FIT_HEIGHT
Form view property. Fit to height- See Also:
- Constant Field Values
-
FIT_WIDTH
public static final String FIT_WIDTH
Form view property. Fit to width- See Also:
- Constant Field Values
-
PDF_FORM_VIEWS
public static final String[] PDF_FORM_VIEWS
A list of PDF form views.
-
form
public Form form
The form associated with this template version.
-
formType
public String formType
Form Type
-
formArchive
public FormArchive formArchive
Form Archive object
-
formArchiveBytes
public byte[] formArchiveBytes
Form Archive bytes array
-
formTemplateFilename
public String formTemplateFilename
Form template file name
-
formTemplateBytes
public byte[] formTemplateBytes
Form template bytes array
-
receiptTemplateFilename
public String receiptTemplateFilename
receipt template file name
-
receiptTemplateBytes
public byte[] receiptTemplateBytes
receipt template bytes array
-
schemaSeedFilename
public String schemaSeedFilename
the schema seed file name for the form
-
schemaSeedBytes
public byte[] schemaSeedBytes
the schema seed bytes array for the form
-
contactEmailXPath
public String contactEmailXPath
The form data configuration mapping for the "Contact Email Address" form element
-
contactPhoneXPath
public String contactPhoneXPath
The form data configuration mapping for the "Contact Phone" form element
-
saveChallengeXPath
public String saveChallengeXPath
The form data configuration mapping for the "Save Challenge Answer" form element
-
dataExtractMappings
@Deprecated public List<Pair<String,String>> dataExtractMappings
Deprecated.use schemaExtractMappings insteadthe submission data extract mappings that shall be used (name / XPath pairs)
-
schemaExtractMappings
public List<SchemaExtractMapBean> schemaExtractMappings
the submission data extract mappings that shall be used
-
deployNow
public boolean deployNow
whether the new version shall be deployed immediately
-
readerExtend
public boolean readerExtend
whether the form is reader extended
-
pdfFormView
public String pdfFormView
the PDF view options for the form
-
showToolbar
public String showToolbar
whether to show tool bar for the form
-
showNavbar
public String showNavbar
whether to show navigation bar for the form
-
showScrollbar
public String showScrollbar
whether to show scroll bar for the form
-
versionNumber
public String versionNumber
the version number - required for Maestro Form
-
formHttpApi2
public boolean formHttpApi2
whether to use the Maestro Form HTTP API version 2.
-
-