public interface GuideModelTransformer
Modifier and Type | Method and Description |
---|---|
java.lang.String |
exportGuideDataJson(Resource guideContainer,
java.lang.String data,
I18n i18n)
Deprecated.
use the getDataJson API
|
java.lang.String |
exportGuideDataJsonFromDataRef(Resource guideContainer,
java.lang.String dataRef,
I18n i18n)
Deprecated.
use the getDataJson API
|
java.lang.String |
exportGuideJson(Resource guideContainer,
I18n i18n)
Deprecated.
|
java.lang.String |
exportGuideJson(Resource guideContainer,
I18n i18n,
java.util.Locale locale) |
JSONObject |
exportGuideJsonObject(Resource guideContainer)
Deprecated.
|
JSONObject |
exportGuideJsonObject(Resource guideContainer,
I18n i18n)
Deprecated.
|
JSONObject |
exportGuideJsonObject(Resource guideContainer,
I18n i18n,
java.util.Locale locale) |
JSONObject |
exportGuideJsonObject(Resource guideContainer,
JSONCreationOptions jsonCreationOptions) |
java.lang.String |
exportGuideState(java.lang.String guideStatePath) |
java.lang.String |
exportGuideStateFromStore(java.lang.String guideStatePathRef) |
java.util.Map<java.lang.String,java.lang.String> |
exportXfaJson(Resource guideContainer) |
java.lang.String |
getAdaptiveFormTreeJSON(Resource guideContainer,
ResourcePropertyTransformer transformer)
The API returns the information about the Adaptive Form Elements required by the Expression Editor
|
java.lang.String |
getDataJson(Resource guideContainer,
JSONCreationOptions options)
Returns the JSON after merging Guide Template with the data XML
|
java.lang.String |
readFile(java.lang.String path)
This API should not be used, it is for internal purpose only
|
java.util.Map<java.lang.String,java.lang.Object> |
syncXfaProps(GuideContainer guideContainer,
java.lang.String locale) |
java.util.Map<java.lang.String,java.lang.String>[] |
validate(java.lang.String dataXml,
Resource resource,
java.lang.String serverUrl,
java.lang.String contextPath)
Deprecated.
|
java.util.Map<java.lang.String,java.lang.String>[] |
validate(java.lang.String dataXml,
Resource resource,
java.lang.String serverUrl,
java.lang.String locale,
java.lang.String contextPath)
Deprecated.
|
java.util.Map<java.lang.String,java.lang.String>[] |
validate(java.lang.String dataXml,
Resource resource,
java.lang.String serverUrl,
java.lang.String locale,
java.lang.String contextPath,
java.lang.String fileAttachmentMap)
Deprecated.
|
GuideValidationResult |
validateData(java.lang.String dataXml,
Resource resource,
java.lang.String serverUrl,
java.lang.String locale,
java.lang.String contextPath,
java.lang.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
|
java.lang.String exportGuideJson(Resource guideContainer, I18n i18n) throws GuideException
GuideException
java.lang.String exportGuideJson(Resource guideContainer, I18n i18n, java.util.Locale locale) throws GuideException
GuideException
JSONObject exportGuideJsonObject(Resource guideContainer) throws GuideException
GuideException
JSONObject exportGuideJsonObject(Resource guideContainer, JSONCreationOptions jsonCreationOptions) throws GuideException
GuideException
JSONObject exportGuideJsonObject(Resource guideContainer, I18n i18n) throws GuideException
GuideException
JSONObject exportGuideJsonObject(Resource guideContainer, I18n i18n, java.util.Locale locale) throws GuideException
GuideException
java.util.Map<java.lang.String,java.lang.String> exportXfaJson(Resource guideContainer) throws GuideException
GuideException
java.lang.String exportGuideState(java.lang.String guideStatePath) throws GuideException
GuideException
java.lang.String exportGuideStateFromStore(java.lang.String guideStatePathRef) throws GuideException
GuideException
@Deprecated java.lang.String exportGuideDataJson(Resource guideContainer, java.lang.String data, I18n i18n) throws GuideException
GuideException
@Deprecated java.lang.String exportGuideDataJsonFromDataRef(Resource guideContainer, java.lang.String dataRef, I18n i18n) throws GuideException
GuideException
java.util.Map<java.lang.String,java.lang.Object> syncXfaProps(GuideContainer guideContainer, java.lang.String locale) throws GuideException
guideContainer
- locale
- GuideException
java.lang.String readFile(java.lang.String path)
path
- @Deprecated java.util.Map<java.lang.String,java.lang.String>[] validate(java.lang.String dataXml, Resource resource, java.lang.String serverUrl, java.lang.String locale, java.lang.String contextPath, java.lang.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 java.util.Map<java.lang.String,java.lang.String>[] validate(java.lang.String dataXml, Resource resource, java.lang.String serverUrl, java.lang.String locale, java.lang.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 java.util.Map<java.lang.String,java.lang.String>[] validate(java.lang.String dataXml, Resource resource, java.lang.String serverUrl, java.lang.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(java.lang.String dataXml, Resource resource, java.lang.String serverUrl, java.lang.String locale, java.lang.String contextPath, java.lang.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
- ValidationOptions object, options input for validationGuideException
GuideValidationResult
java.lang.String getAdaptiveFormTreeJSON(Resource guideContainer, ResourcePropertyTransformer transformer) throws JSONException
guideContainer
- Adaptive Form Container resource for which the information is requiredJSONException
java.lang.String getDataJson(Resource guideContainer, JSONCreationOptions options) throws GuideException
guideContainer
- Guide Container resource which has to be merged with data XMLoptions
- Options for merging GuideGuideException
Copyright © 2010 - 2020 Adobe. All Rights Reserved