public interface GuideModelTransformer
| Modifier and Type | Method and Description |
|---|---|
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
|
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.
|
GuideValidationResult |
validateData(String dataXml,
org.apache.sling.api.resource.Resource resource,
String serverUrl,
String locale,
String contextPath)
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) 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 serverGuideExceptionResource@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 serverGuideExceptionResourceGuideValidationResult validateData(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 validationcontextPath - context path of the serverGuideExceptionGuideValidationResultGuideValidationResult validateForm(ValidationOptions validationOptions) throws GuideException
validationOptions - ValidationOptions object, options input for validationGuideExceptionGuideValidationResultString 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 GuideGuideExceptionCopyright © 1982–2022 Adobe Systems Inc.. All rights reserved.