public interface GuideModelTransformer
Modifier and Type | Method and Description |
---|---|
String |
getAdaptiveFormTreeJSON(org.apache.sling.api.resource.Resource guideContainer,
com.adobe.aemds.guide.utils.JSONCreationOptions options) |
String |
getDataJson(org.apache.sling.api.resource.Resource guideContainer,
com.adobe.aemds.guide.utils.JSONCreationOptions options)
Returns the JSON after merging Guide Template with the data XML
|
String |
getGuideMergedJson(String mergedJsonPath)
Returns the Guide Merged Json available at mergedJsonPath
|
Map<String,String>[] |
validate(String dataXml,
org.apache.sling.api.resource.Resource resource,
String serverUrl,
String contextPath)
Deprecated.
|
Map<String,String>[] |
validate(String dataXml,
org.apache.sling.api.resource.Resource resource,
String serverUrl,
String locale,
String contextPath)
Deprecated.
|
Map<String,String>[] |
validate(String dataXml,
org.apache.sling.api.resource.Resource resource,
String serverUrl,
String locale,
String contextPath,
String fileAttachmentMap)
Deprecated.
|
GuideValidationResult |
validateData(String dataXml,
org.apache.sling.api.resource.Resource resource,
String serverUrl,
String locale,
String contextPath,
String fileAttachmentMap)
This API performs Server Side validation for an adaptive form
|
GuideValidationResult |
validateForm(ValidationOptions validationOptions)
This API performs Server Side and captcha validation for an adaptive form.
|
@Deprecated Map<String,String>[] validate(String dataXml, org.apache.sling.api.resource.Resource resource, String serverUrl, String locale, String contextPath, String fileAttachmentMap) throws GuideException
dataXml
- String representing data of Adaptive Form in XMLresource
- Resource pointing to the Adaptive Form ContainerserverUrl
- URL of the Server to be used for conversion of Rest Calls during server side validationlocale
- Locale to be used while getting the merged json from the data xmlcontextPath
- context path of the serverfileAttachmentMap
- file attachment map of the file attachmentsGuideException
Resource
@Deprecated Map<String,String>[] validate(String dataXml, org.apache.sling.api.resource.Resource resource, String serverUrl, String locale, String contextPath) throws GuideException
dataXml
- String representing data of Adaptive Form in XMLresource
- Resource pointing to the Adaptive Form ContainerserverUrl
- URL of the Server to be used for conversion of Rest Calls during server side validationlocale
- Locale to be used while getting the merged json from the data xmlcontextPath
- context path of the serverGuideException
Resource
@Deprecated Map<String,String>[] validate(String dataXml, org.apache.sling.api.resource.Resource resource, String serverUrl, String contextPath) throws GuideException
dataXml
- String representing data of adaptive form in XMLresource
- Resource pointing to the adaptive form ContainerserverUrl
- URL of the Server to be used for conversion of Rest Calls during server side validationcontextPath
- context path of the serverGuideException
Resource
GuideValidationResult validateData(String dataXml, org.apache.sling.api.resource.Resource resource, String serverUrl, String locale, String contextPath, String fileAttachmentMap) throws GuideException
dataXml
- String representing data of adaptive form in XMLresource
- Resource pointing to the adaptive form ContainerserverUrl
- URL of the Server to be used for conversion of Rest Calls during server side validationcontextPath
- context path of the serverfileAttachmentMap
- file attachment map of the file attachmentsGuideException
GuideValidationResult
GuideValidationResult validateForm(ValidationOptions validationOptions) throws GuideException
ValidationOptions.ValidationOptionsBuilder#setSomExpression(String)
validationOptions
- ValidationOptions object, options input for validationGuideException
GuideValidationResult
String getAdaptiveFormTreeJSON(org.apache.sling.api.resource.Resource guideContainer, com.adobe.aemds.guide.utils.JSONCreationOptions options) throws org.apache.sling.commons.json.JSONException
org.apache.sling.commons.json.JSONException
String getDataJson(org.apache.sling.api.resource.Resource guideContainer, com.adobe.aemds.guide.utils.JSONCreationOptions options) throws GuideException
guideContainer
- Guide Container resource which has to be merged with data XMLoptions
- Options for merging GuideGuideException
String getGuideMergedJson(String mergedJsonPath) throws GuideException
mergedJsonPath
- Path to guidemergedjson dataGuideException
Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.