Interface AdaptiveFormConfigurationService


  • public interface AdaptiveFormConfigurationService
    • Field Detail

      • VISUAL_EDITOR_MODE

        static final java.lang.String VISUAL_EDITOR_MODE
        Constant for specifying default mode of Rule Editor to Visual Editor
        See Also:
        Constant Field Values
      • CODE_EDITOR_MODE

        static final java.lang.String CODE_EDITOR_MODE
        Constant for specifying default mode of Rule Editor to Code Editor
        See Also:
        Constant Field Values
    • Method Detail

      • getShowPlaceholder

        boolean getShowPlaceholder()
        This API returns true when placeholder is to be displayed and false otherwise
        Returns:
        Boolean
      • getRuleEditorDefaultMode

        java.lang.String getRuleEditorDefaultMode()
        Returns the Default Mode when creating rules through Rule Editor. If default mode is {VISUAL_EDITOR_MODE}, then Visual Editor is open when creating rule otherwise Code Editor is opened.
        Returns:
        one of the constants {VISUAL_EDITOR_MODE} or {CODE_EDITOR_MODE} depending upon the default mode set by the user
        Since:
        6.1 FP1
      • isSlingMaxCallValueSmall

        boolean isSlingMaxCallValueSmall()
        Just checks if sling max calls value coming from the sling main servlet is less than our GuideConstants.AF_SLING_MAX_CALL_COUNTER
        Returns:
        true if the system wide value is less than this constant
      • maximumCacheEntries

        int maximumCacheEntries()
        Returns:
        maximum number of Adaptive Forms that will be cached
      • getWSDLConfigSearchPaths

        java.lang.String[] getWSDLConfigSearchPaths()
        Method to return configured search paths
        Returns:
        String[] of all search paths
      • getScriptingCompatibilityMode

        java.lang.String getScriptingCompatibilityMode()
        Returns the version of AEM Forms selected by user for running scripts.
        Returns:
        version of the AEM form selected
      • getMakeFileNamesUnique

        java.lang.Boolean getMakeFileNamesUnique()
        Gives a boolean value weather the file name has to be made unique or not
        Returns:
        true if file names have to be made unique
      • getPreventLiveLinkingFields

        java.lang.Boolean getPreventLiveLinkingFields()
        Indicate whether to prevent live linking of fields with same effective bindref during runtime
        Returns:
        true if live linking of fields is required
      • isGeneratingCompliantData

        java.lang.Boolean isGeneratingCompliantData()
        Indicate whether schema compliant data is to be generated or not.
        Returns:
        true if schema compliant data is to be generated
      • getCustomRuleEditorGroups

        java.lang.String[] getCustomRuleEditorGroups()
        Returns list of configured groups to which rule editor is shown
        Returns:
      • isClientSideMergeSupported

        boolean isClientSideMergeSupported()
        Whether the data merge is supported on client or not
        Returns:
      • isUseBrowserLocale

        boolean isUseBrowserLocale()
        Whether to use browser locale to render form
        Returns:
        true, if UseBrowserLocale flag is set, otherwise false
      • isUseComponentLabelsInExpressionEditor

        boolean isUseComponentLabelsInExpressionEditor()
        Whether to use component labels in expression editor. If false names of the component will be used
        Returns:
        true, if component labels are to be used in expression editor.
      • recaptchaDomain

        java.lang.String recaptchaDomain()
        Domain to be used by recaptcha By default, all recaptcha cloud configurations would use recaptcha.net domain
        Returns:
        String denoting domain to be used for rendering and validating recaptcha
      • getXciPath

        java.lang.String getXciPath()
        XCI file path to be used for DOR generation
        Returns:
        String denoting xci file path which will be used for DOR generation
      • getDocCloudTimeout

        int getDocCloudTimeout()
        timeout for doc merge api for dor generation with docx template
        Returns:
        String timeout