Interface IXFormRenderConfig

    • Method Detail

      • setDesignerPreview

        void setDesignerPreview​(boolean isDesignerPreview)
      • isDesignerPreview

        boolean isDesignerPreview()
      • getBaseIncludeUrl

        String getBaseIncludeUrl()
      • setBaseIncludeUrl

        void setBaseIncludeUrl​(String url)
      • getFormAction

        String getFormAction()
      • setFormAction

        void setFormAction​(String formAction)
      • isFormOnly

        boolean isFormOnly()
      • setFormOnly

        void setFormOnly​(boolean formOnly)
      • setTitle

        void setTitle​(String title)
      • isSkipPlaceholder

        boolean isSkipPlaceholder()
      • setSkipPlaceholder

        void setSkipPlaceholder​(boolean preview)
      • isPreview

        boolean isPreview()
      • setPreview

        void setPreview​(boolean isPreview)
      • isPublish

        boolean isPublish()
      • setPublish

        void setPublish​(boolean isPublish)
      • setLang

        void setLang​(String lang)
      • getBotFieldName

        String getBotFieldName()
        Returns:
        The name of the invisible bot field used as a honey trap to detect bots. When a form is submitted where this field has a value, the form submission is rejected.
      • setBotFieldName

        void setBotFieldName​(String botFieldName)
        Parameters:
        botFieldName - The name of the invisible bot field used as a honey trap to detect bots. When a form is submitted where this field has a value, the form submission is rejected.
      • getBotFieldAutocomplete

        String getBotFieldAutocomplete()
        Returns:
        The value for the autocomplete attribute of the invisible bot field. When null, empty, or blank, the autocomplete property is not set on the bot field.
      • setBotFieldAutocomplete

        void setBotFieldAutocomplete​(String botFieldAutocomplete)
        Parameters:
        botFieldAutocomplete - The value for the autocomplete attribute of the invisible bot field. When null, empty, or blank, the autocomplete property is not set on the bot field.
      • setLanguageProvider

        void setLanguageProvider​(IFD2LanguageProvider languageProvider)
        Setter des languageProvider
        Parameters:
        languageProvider - IFD2LanguageProvider der zu setzende languageProvider
      • getRenderCallbackProvider

        IFD2RenderCallbackProvider getRenderCallbackProvider()
        Returns:
        The configured render callback provider.
      • setRenderCallbackProvider

        void setRenderCallbackProvider​(IFD2RenderCallbackProvider renderCallbackProvider)
        Parameters:
        renderCallbackProvider - The new render callback provider to use.
      • getI18N

        com.alibaba.fastjson.JSONObject getI18N()
      • isUsejq

        boolean isUsejq()
      • setUsejq

        void setUsejq​(boolean usejq)
      • isUseui

        boolean isUseui()
      • setUseui

        void setUseui​(boolean useui)
      • isUsebs

        boolean isUsebs()
      • setUsebs

        void setUsebs​(boolean usebs)
      • isUsecss

        boolean isUsecss()
      • setUsecss

        void setUsecss​(boolean usecss)
      • isForceInline

        boolean isForceInline()
      • setForceInline

        void setForceInline​(boolean forceInline)
      • isForceFullyInline

        boolean isForceFullyInline()
      • setForceFullyInline

        void setForceFullyInline​(boolean forceFullyInline)
      • getAttachmentDownloadURL

        String getAttachmentDownloadURL()
      • setAttachmentDownloadURL

        void setAttachmentDownloadURL​(String attachmentDownloadURL)
      • getAttachmentDeleteURL

        String getAttachmentDeleteURL()
      • setAttachmentDeleteURL

        void setAttachmentDeleteURL​(String attachmentDeleteURL)
      • getProjektID

        long getProjektID()
      • setProjektID

        void setProjektID​(long projektID)
      • getCustomFormNodes

        List<com.hp.gagawa.java.Node> getCustomFormNodes()
      • setCustomFormNodes

        void setCustomFormNodes​(List<com.hp.gagawa.java.Node> customFormNodes)
      • addCustomFormNode

        void addCustomFormNode​(com.hp.gagawa.java.Node customNode)
      • getClientId

        long getClientId()
        Returns:
        ID of the client that owns the form to be rendered.
      • setClientId

        void setClientId​(long clientId)
        Parameters:
        clientId - ID of the client that owns the form to be rendered.
      • addValidationError

        void addValidationError​(String itemId,
                                String error)
        Adds a server validation message for the given form element. This message is redisplayed in the form in the browser.
        Parameters:
        itemId - Full ID of a form element, e.g. xi-tf-1 (non-repeated) or xi-tf-1_c_99 (repeated element).
        error - Error message to add.
      • addValidationError

        default void addValidationError​(String baseId,
                                        Integer repetitionId,
                                        String error)
        Adds a server validation message for the given form element. This message is redisplayed in the form in the browser. This method adds a message for a repeated element. This is equivalent to calling addValidationError(String, String) with the full ID of the element.
        Parameters:
        baseId - Base ID of the non-repeated form element, e.g. xi-tf-1 (and NOT xi-tf-1_c_99).
        repetitionId - Repetition ID of the repeated element. Note that this is not the ordinal ID which always starts at 0. When there are three repetitions of a form element, they could have the repetition IDs 3, 25, and 99. When null or negative, the element is treated as non-repeated and only the base ID is used.
        error - Error message to add.
      • setValidationErrors

        void setValidationErrors​(Map<String,​List<String>> validationErrors)
      • getThemeCss

        @Deprecated(forRemoval=true,
                    since="8.3.0")
        String getThemeCss()
        Deprecated, for removal: This API element is subject to removal in a future version.
        The form theme now consists of multiple CSS and JS files, which are included in the getCssIncludes() and getJsIncludes().
        Gets the CSS content from the selected form theme.
        Returns:
        The CSS content from the selected form theme
      • setThemeCss

        @Deprecated(forRemoval=true,
                    since="8.3.0")
        void setThemeCss​(String themeCss)
        Deprecated, for removal: This API element is subject to removal in a future version.
        The form theme now consists of multiple CSS and JS files, which are included in the getCssIncludes() and getJsIncludes().
        Sets the CSS content from the selected form theme
        Parameters:
        themeCss - The CSS content from the selected form theme
      • getThemeCssClasses

        Set<String> getThemeCssClasses()
        Gets the additional CSS classes that should be added to the form, as defined by the selected form theme.
        Returns:
        The additional CSS classes that should be added to the form.
        Since:
        8.3.0
      • setThemeCssClasses

        void setThemeCssClasses​(Set<String> themeCssClasses)
        Sets the additional CSS classes that should be added to the form, as defined by the selected form theme.
        Parameters:
        themeCssClasses - The additional CSS classes that should be added to the form.
        Since:
        8.3.0
      • setForceBranding

        void setForceBranding​(boolean forceBranding)
      • isForceBranding

        boolean isForceBranding()
      • isHideRequiredHint

        boolean isHideRequiredHint()
      • setHideRequiredHint

        void setHideRequiredHint​(boolean isHideRequiredHint)
      • setButtonDescriptor

        void setButtonDescriptor​(XButtonDescriptor buttonDescriptor)
      • isDemoAccount

        @Deprecated
        default boolean isDemoAccount()
        Deprecated.
      • setDemoAccount

        @Deprecated
        default void setDemoAccount​(boolean isDemoAccount)
        Deprecated.
      • setIgnoreRenderConditions

        void setIgnoreRenderConditions​(boolean ignoreRenderConditions)
      • isIgnoreRenderConditions

        boolean isIgnoreRenderConditions()
      • getAppointmentProvider

        IFD2AppointmentProvider getAppointmentProvider()
        Returns:
        The current provider for accessing appointments and appointment templates.
      • setAppointmentProvider

        void setAppointmentProvider​(IFD2AppointmentProvider appoinmentProvider)
        Parameters:
        appoinmentProvider - The provider to use for accessing appointments and appointment templates.
      • isValidateSubmitAction

        @Deprecated
        default boolean isValidateSubmitAction()
        Deprecated.
        Returns:
        true if the transmitted submit button name used to submit the form needs to be validated (whether such a button really existed), or false otherwise.
      • setValidateSubmitAction

        @Deprecated
        default void setValidateSubmitAction​(boolean validateSubmitAction)
        Deprecated.
        Parameters:
        validateSubmitAction - true if the transmitted submit button name used to submit the form needs to be validated (whether such a button really existed), or false otherwise.
      • isLegacyUseOptionTextForAutocomplete

        @Deprecated
        default boolean isLegacyUseOptionTextForAutocomplete()
        Deprecated.
        Returns:
        true to use the legacy behavior where the option text of autocomplete elements was used when evaluating conditions.
      • setLegacyUseOptionTextForAutocomplete

        @Deprecated
        default void setLegacyUseOptionTextForAutocomplete​(boolean legacyUseOptionTextForAutocomplete)
        Deprecated.
        Parameters:
        legacyUseOptionTextForAutocomplete - true to use the legacy behavior where the option text of autocomplete elements was used when evaluating conditions.
      • getXFormPropertyI18n

        default String getXFormPropertyI18n​(String property)
      • setXFormProperties

        void setXFormProperties​(XFormProperties formProperties)
      • getFormI18n

        com.alibaba.fastjson.JSONObject getFormI18n()
      • setFormI18n

        void setFormI18n​(com.alibaba.fastjson.JSONObject formI18n)