Package com.adobe.aemds.guide.service
Interface AdaptiveFormConfigurationService
-
public interface AdaptiveFormConfigurationService
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCODE_EDITOR_MODEConstant for specifying default mode of Rule Editor to Code Editorstatic java.lang.StringVISUAL_EDITOR_MODEConstant for specifying default mode of Rule Editor to Visual Editor
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]getCustomRuleEditorGroups()Returns list of configured groups to which rule editor is shownjava.lang.BooleangetMakeFileNamesUnique()Gives a boolean value weather the file name has to be made unique or notjava.lang.BooleangetPreventLiveLinkingFields()Indicate whether to prevent live linking of fields with same effective bindref during runtimejava.lang.StringgetRuleEditorDefaultMode()Returns the Default Mode when creating rules through Rule Editor.java.lang.StringgetScriptingCompatibilityMode()Returns the version of AEM Forms selected by user for running scripts.booleangetShowPlaceholder()This API returns true when placeholder is to be displayed and false otherwisejava.lang.String[]getWSDLConfigSearchPaths()Method to return configured search pathsbooleanisClientSideMergeSupported()Whether the data merge is supported on client or notjava.lang.BooleanisGeneratingCompliantData()Indicate whether schema compliant data is to be generated or not.booleanisSlingMaxCallValueSmall()Just checks if sling max calls value coming from the sling main servlet is less than ourGuideConstants.AF_SLING_MAX_CALL_COUNTERbooleanisUseBrowserLocale()Whether to use browser locale to render formbooleanisUseComponentLabelsInExpressionEditor()Whether to use component labels in expression editor.intmaximumCacheEntries()java.lang.StringrecaptchaDomain()Domain to be used by recaptcha By default, all recaptcha cloud configurations would use recaptcha.net domain
-
-
-
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 ourGuideConstants.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
-
-