public class GuideContainer extends GuideNode
baseName, clientLibRef, error, i18n, id, inlineStyles, locale, localeName, logger, resource, resourceProps, slingRequest, xssapi
Constructor and Description |
---|
GuideContainer() |
GuideContainer(org.apache.sling.api.resource.Resource resource) |
GuideContainer(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.resource.Resource resource) |
Modifier and Type | Method and Description |
---|---|
static GuideContainer |
from(org.apache.sling.api.resource.Resource resource)
Static method to construct a
GuideContainer model from a resource |
static GuideContainer |
from(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.resource.Resource resource)
|
String |
getAfPath()
Returns the adaptive form Path configured.
|
String |
getAutoSaveStrategyFilePath()
Returns the entire path till init.jsp for the autoSave strategy selected in case of forms built over 6.0
For 6.1, it returns relative path to support overlay of auto save strategies
|
String |
getClientLibRef()
Returns the name of the client lib associated with the
adaptive form.
|
String |
getCssFileRef()
Returns the path to the CSS file in CRXDE configured in the authoring of adaptive form
|
org.apache.sling.commons.json.JSONObject |
getCustomContextPropJson(javax.servlet.http.HttpServletRequest request)
Populates and returns the JSON Object from Custom Property Map attribute from request
|
String |
getDorTemplateRef()
Returns the path of the XDP Template used for generating Document of Record.
|
String |
getDoRType()
Returns the document of record type configured for the adaptive form
|
String |
getGuideContext(GuideModelTransformer guideModelTransformer)
Returns adaptive form specific data required to render an adaptive form
|
String |
getGuideInitializationState(boolean clientSideMerge) |
String |
getGuideJson()
Returns the adaptive form information for rendering an adaptive form on Client
|
String |
getLetterRef() |
String |
getMetaTemplateRef()
Returns meta-template reference associated with adaptive form if exists otherwise empty string.
|
String |
getMobileLayout() |
String |
getPagePath()
Returns the path of the page in which the guideContainer is present.
|
String |
getPrefillService()
Returns the prefill service configured in the form
|
String |
getRedirect() |
GuidePanel |
getRootPanel()
Returns the root panel associated with the adaptive form.
|
GuideSchemaType |
getSchema()
Returns the
GuideSchemaType configured in the adaptive form |
String |
getSchemaRef()
Returns the path of the Schema used in the adaptive form
|
String |
getSchemaType()
Deprecated.
|
GuideItemsContainer |
getToolbar()
Returns the tool bar of the adaptive form container
|
String |
getXDPName()
Returns the name of the XDP used in adaptive form.
|
String |
getXdpRef()
Deprecated.
|
String |
getXfaJson()
Returns the XDP Template information required to render XDP based adaptive forms
|
String |
getXfaRenderContext()
Returns the parameters required for XFA based adaptive forms to render.
|
String |
getXsdRef()
Deprecated.
|
boolean |
isAdobeSignEnabled()
Returns whether AdobeSign is enabled or not
|
boolean |
isDoRSubmissionEnabled()
Returns whether send email action should attach DoR PDF or not
|
boolean |
isFormFillerFirstSigner()
Returns whether Form filler is first signer or not
|
boolean |
isGuideSyncRequired()
Returns if the sync of adaptive form is required or not due to any changes done in XDP
|
boolean |
isMetaTemplateUpdated()
Returns true if meta-template associated with adaptive form is updated.
|
boolean |
isMetaTemplateValid()
Checks if path pointed by metaTemplateRef is valid resource.
|
boolean |
isRenderCall()
Gets the value for render
|
boolean |
isSignatureConfiguredCorrectly()
Returns whether signers are configured correctly or not.
|
boolean |
validate(org.apache.sling.api.resource.ResourceResolver serviceResourceResolver)
Validate guide container if all required nodes are present, if not present then create them
|
activate, externalize, externalize, getAddMessage, getAppearance, getAuthoringConfigJSON, getBindRef, getColspan, getCssClassName, getDescription, getEnabled, getEnabledExp, getError, getFieldInlineStyles, getGuideFieldType, getHeight, getId, getInlineCssClass, getInlineStyles, getIsEditMode, getIsRepeatable, getIsTitleRichText, getItems, getLayoutPath, getLayoutProperty, getLongDescriptionInlineStyles, getName, getNavTitle, getNodeClass, getPath, getQuestionMarkInlineStyles, getRemoveMessage, getResourceSuperType, getResourceType, getResponsiveClasses, getResponsiveConfiguration, getSlingRequest, getStyles, getTargetVersion, getTitle, getToolbarPosition, getVersion, getVisible, getVisibleExp, getWidth, getXssapi, getXssDescription, isDocumentFragmentGroup, isLayoutNavigable, isMenuRequired, isValid, isValidDorTemplateRef, setClientLibRef, setResource, setSlingRequest, syncNode
public GuideContainer()
public GuideContainer(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.resource.Resource resource)
public GuideContainer(org.apache.sling.api.resource.Resource resource)
public String getRedirect()
public boolean validate(org.apache.sling.api.resource.ResourceResolver serviceResourceResolver)
public String getDoRType()
public String getXdpRef()
public String getLetterRef()
public String getMetaTemplateRef()
public String getAutoSaveStrategyFilePath()
public String getDorTemplateRef()
public String getXsdRef()
public String getSchemaRef()
public String getSchemaType()
GuideSchemaType
enumpublic String getPrefillService()
public GuideSchemaType getSchema()
GuideSchemaType
configured in the adaptive formGuideSchemaType
public String getCssFileRef()
public String getClientLibRef()
getClientLibRef
in class GuideNode
public String getAfPath()
public GuideItemsContainer getToolbar()
GuideItemsContainer
toolbar of the adaptive form containerGuideItemsContainer
public GuidePanel getRootPanel()
GuidePanel
GuidePanel
public boolean isGuideSyncRequired()
public boolean isAdobeSignEnabled()
public boolean isDoRSubmissionEnabled()
public boolean isFormFillerFirstSigner()
public boolean isSignatureConfiguredCorrectly()
public boolean isMetaTemplateUpdated()
public String getMobileLayout()
public String getXDPName()
public String getXfaRenderContext() throws GuideException
GuideException
public String getXfaJson() throws GuideException
GuideException
public String getGuideContext(GuideModelTransformer guideModelTransformer)
public String getGuideJson()
public String getGuideInitializationState(boolean clientSideMerge)
public boolean isRenderCall()
public org.apache.sling.commons.json.JSONObject getCustomContextPropJson(javax.servlet.http.HttpServletRequest request)
request
- public String getPagePath()
public boolean isMetaTemplateValid()
public static GuideContainer from(org.apache.sling.api.resource.Resource resource)
GuideContainer
model from a resourceresource
- guideContainer Resource
GuideContainer
beanpublic static GuideContainer from(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.resource.Resource resource)
resource
- guideContainer Resource
request
- SlingHttpServletRequest
GuideContainer
beanCopyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.