Class TemplateVersionBean


  • public class TemplateVersionBean
    extends Object
    A java bean to store all associated template version property.
    • Field Detail

      • 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 instead
        the 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.
    • Constructor Detail

      • TemplateVersionBean

        public TemplateVersionBean()
    • Method Detail

      • isComposerSmartForm

        public boolean isComposerSmartForm()
        Returns:
        true if a Composer SmartForm
      • isDynamicPdfForm

        public boolean isDynamicPdfForm()
        Returns:
        true if a Dynamic PDF Form
      • isMaestroForm

        public boolean isMaestroForm()
        Returns:
        true if a Maestro Form