Class FormBean


  • public class FormBean
    extends Object
    A java bean to store all associated form property.
    • Field Detail

      • PDF_FORM_VIEWS

        public static final String[] PDF_FORM_VIEWS
        A list of PDF form views.
      • client

        public Client client
        The client which this form belongs to.
      • portals

        public List<Portal> portals
        The portal which this form is associated with.
      • formArchive

        public FormArchive formArchive
        Form Archive object
      • formArchiveBytes

        public byte[] formArchiveBytes
        Form Archive bytes array
      • formName

        public String formName
        Form name
      • formCode

        public String formCode
        Form code
      • formType

        public String formType
        Form Type
      • formDescription

        public String formDescription
        Form Description
      • formTemplateFilename

        public String formTemplateFilename
        Form template file name
      • formTemplateBytes

        public byte[] formTemplateBytes
        Form template bytes array
      • hasPdfForm

        public boolean hasPdfForm
        FAR has PDF form (target: interactive)
      • hasPdfReciept

        public boolean hasPdfReciept
        FAR has PDF receipt (device: receipt)
      • hasDesktopForm

        public boolean hasDesktopForm
        FAR has HTML Desktop form (device: desktop)
      • hasTabletForm

        public boolean hasTabletForm
        FAR has HTML Tablet form (device: tablet)
      • hasPhoneForm

        public boolean hasPhoneForm
        FAR has HTML Phone form (device: phone)
      • 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
      • readerExtend

        public boolean readerExtend
        whether the form is reader extended
      • enableDuplicate

        public boolean enableDuplicate
        whether the form allows duplicate submission
      • supportsOfflineSubmission

        public boolean supportsOfflineSubmission
        whether the form can render the offline submission response itself
      • testFlag

        public boolean testFlag
        whether the form shall be in test mode (off by default)
      • 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
    • Constructor Detail

      • FormBean

        public FormBean()