public class GuideContainer extends GuideNode
Constructor and Description |
---|
GuideContainer() |
GuideContainer(Resource resource) |
GuideContainer(SlingHttpServletRequest request,
Resource resource) |
Modifier and Type | Method and Description |
---|---|
static GuideContainer |
from(Resource resource)
Static method to construct a
GuideContainer model from a resource |
static GuideContainer |
from(SlingHttpServletRequest request,
Resource resource)
|
java.lang.String |
getAfPath()
Returns the adaptive form Path configured.
|
java.util.Map<java.lang.String,java.lang.Object> |
getAuthoringConfig()
Gives the authoring configuration of the adaptive form container
|
java.lang.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
|
java.lang.String |
getClientLibRef()
Returns the name of the client lib associated with the
adaptive form.
|
java.lang.String |
getCssFileRef()
Returns the path to the CSS file in CRXDE configured in the authoring of adaptive form
|
JSONObject |
getCustomContextPropJson(HttpServletRequest request)
Populates and returns the JSON Object from Custom Property Map attribute from request
|
java.lang.String |
getDorTemplateRef()
Returns the path of the XDP Template used for generating Document of Record.
|
java.lang.String |
getDoRType()
Returns the document of record type configured for the adaptive form
|
java.lang.String |
getGuideContext()
Returns adaptive form specific data required to render an adaptive form
|
java.lang.String |
getGuideCurrentStateJson(java.lang.String locale)
Gets the guide current state json based on guideStatePath or guideStatePathRef.
|
java.lang.String |
getGuideCurrentStateJson(java.lang.String locale,
java.lang.String dataXml)
Returns the merge json of the adaptive form using the data XML passed
|
java.lang.String |
getGuideInitializationState()
Returns the initialization state of the adaptive form which includes guideJson, guideContext, guideMergeJson, xfaJson, xfaRenderContext.
|
java.lang.String |
getGuideInitializationState(java.lang.String dataXml,
java.lang.String locale)
Returns the initialization state of the adaptive from the data XML and locale passed.
|
java.util.List<java.lang.String> |
getGuideIntegrationServiceScriptPaths() |
java.lang.String |
getGuideJson()
Returns the adaptive form information for rendering an adaptive form on Client
|
java.util.Calendar |
getLastModifiedTime()
Returns the last modified time of the adaptive form Container.
|
java.lang.String |
getLayout() |
java.lang.String |
getLetterRef() |
java.lang.String |
getMetaTemplateRef()
Returns meta-template reference associated with adaptive form if exists otherwise empty string.
|
java.lang.String |
getMobileLayout() |
java.lang.String |
getPagePath()
Returns the path of the page in which the guideContainer is present.
|
java.lang.Boolean |
getParseGridLayoutForMenu() |
java.lang.String |
getPrefillService()
Returns the prefill service configured in the form
|
java.lang.String |
getRedirect() |
GuidePanel |
getRootPanel()
Returns the root panel associated with the adaptive form.
|
GuideSchemaType |
getSchema()
Returns the
GuideSchemaType configured in the adaptive form |
java.lang.String |
getSchemaRef()
Returns the path of the Schema used in the adaptive form
|
java.lang.String |
getSchemaType()
Deprecated.
|
java.lang.String |
getStatusBarTitle() |
GuideItemsContainer |
getToolbar()
Returns the tool bar of the adaptive form container
|
java.lang.String |
getXDPName()
Returns the name of the XDP used in adaptive form.
|
java.lang.String |
getXdpRef()
Deprecated.
|
java.lang.String |
getXfaJson()
Returns the XDP Template information required to render XDP based adaptive forms
|
java.lang.String |
getXfaRenderContext()
Returns the parameters required for XFA based adaptive forms to render.
|
java.lang.String |
getXsdRef()
Deprecated.
|
boolean |
isAdobeSignEnabled()
Returns whether AdobeSign is enabled 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 |
isHasToolbar()
Check if adaptive form container has a toolbar
|
boolean |
isMetaTemplateUpdated()
Returns true if meta-template associated with adaptive form is updated.
|
boolean |
isMetaTemplateValid()
Checks if path pointed by metaTemplateRef is valid resource.
|
java.lang.Boolean |
isOldResponsiveLayoutUsed()
Returns weather the form is using old responsive layout or not
|
boolean |
isRenderCall()
Gets the value for render
|
boolean |
isShowAuthoringWarnings() |
boolean |
isSignatureConfiguredCorrectly()
Returns whether signers are configured correctly or not.
|
boolean |
isXDPValid()
Use GuideUtils instead of using this.
|
void |
setGuideModelTransformer(GuideModelTransformer guideModelTransformer) |
void |
setMaxCallCounter(SlingHttpServletRequest request)
Sets the number of
RequestDispatcher.include(ServletRequest, ServletResponse)
calls that can be reached within the given request if the limit set by system is less than a threshold or
someone has explicitly set sling.max.calls in request attribute |
void |
setRenderCall(boolean isRenderCall) |
activate, checkIfPathIsAbsolute, externalize, getAddMessage, getAppearance, getAuthoringConfigJSON, getBindRef, getColspan, getCssClassName, getDescription, getEnabledExp, getError, getFieldInlineStyles, getGuideFieldType, getHeight, getId, getInlineCssClass, getInlineStyles, getIsEditMode, getIsRepeatable, getItems, getLayoutPath, getLayoutTabType, getLongDescriptionInlineStyles, getName, getNavTitle, getNodeClass, getNonNavigableProperty, getPath, getQuestionMarkInlineStyles, getRemoveMessage, getResourceSuperType, getResourceType, getResponsiveClasses, getResponsiveConfiguration, getSlingRequest, getStyles, getTargetVersion, getTitle, getToolbarPosition, getVersion, getVisibleExp, getWidth, getXssapi, getXssDescription, isDocumentFragmentGroup, isLayoutNavigable, isMenuRequired, isValid, isValidDorTemplateRef, setClientLibRef, setResource, setSlingRequest, syncNode
get, getComponent, getComponentContext, getCurrentDesign, getCurrentPage, getCurrentStyle, getDesigner, getEditContext, getInheritedPageProperties, getInheritedProperties, getPageManager, getPageProperties, getProperties, getRequest, getResource, getResourceDesign, getResourcePage, getResourceResolver, getResponse, getSlingScriptHelper, getWcmMode, getXSSAPI, init
public GuideContainer()
public GuideContainer(SlingHttpServletRequest request, Resource resource)
public GuideContainer(Resource resource)
public java.lang.String getRedirect()
public void setMaxCallCounter(SlingHttpServletRequest request)
RequestDispatcher.include(ServletRequest, ServletResponse)
calls that can be reached within the given request if the limit set by system is less than a threshold or
someone has explicitly set sling.max.calls in request attributerequest
- The request to checkpublic java.lang.Boolean isOldResponsiveLayoutUsed()
public java.util.Map<java.lang.String,java.lang.Object> getAuthoringConfig()
getAuthoringConfig
in class GuideNode
public java.lang.String getDoRType()
public java.lang.String getXdpRef()
public java.lang.String getLetterRef()
public java.lang.String getMetaTemplateRef()
public java.lang.String getAutoSaveStrategyFilePath()
public java.lang.String getDorTemplateRef()
public java.util.Calendar getLastModifiedTime()
RepositoryException
public java.lang.String getXsdRef()
public java.lang.String getSchemaRef()
public java.lang.String getSchemaType()
GuideSchemaType
enumpublic java.lang.String getPrefillService()
public GuideSchemaType getSchema()
GuideSchemaType
configured in the adaptive formGuideSchemaType
public java.lang.String getCssFileRef()
public java.lang.String getClientLibRef()
getClientLibRef
in class GuideNode
public boolean isHasToolbar()
public java.lang.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 isFormFillerFirstSigner()
public boolean isSignatureConfiguredCorrectly()
public boolean isMetaTemplateUpdated()
public boolean isShowAuthoringWarnings()
public java.lang.String getStatusBarTitle()
public java.lang.String getMobileLayout()
public java.lang.Boolean getParseGridLayoutForMenu()
public java.lang.String getXDPName()
public boolean isXDPValid()
public void setGuideModelTransformer(GuideModelTransformer guideModelTransformer)
guideModelTransformer
- public java.lang.String getXfaRenderContext() throws GuideException
GuideException
public java.lang.String getXfaJson() throws GuideException
GuideException
public java.lang.String getGuideCurrentStateJson(java.lang.String locale)
locale
- locale stringpublic java.lang.String getGuideCurrentStateJson(java.lang.String locale, java.lang.String dataXml)
locale
- locale stringdataXml
- String representing data of adaptive form as XMLpublic java.lang.String getGuideContext()
public java.lang.String getGuideJson()
public java.lang.String getLayout()
public java.util.List<java.lang.String> getGuideIntegrationServiceScriptPaths()
public java.lang.String getGuideInitializationState()
public java.lang.String getGuideInitializationState(java.lang.String dataXml, java.lang.String locale)
dataXml
- string representing data xmllocale
- locale stringpublic void setRenderCall(boolean isRenderCall)
isRenderCall
- true if you do not want JSON of 'on demand' childrenpublic boolean isRenderCall()
public JSONObject getCustomContextPropJson(HttpServletRequest request)
request
- public java.lang.String getPagePath()
public boolean isMetaTemplateValid()
public static GuideContainer from(Resource resource)
GuideContainer
model from a resourceresource
- guideContainer Resource
GuideContainer
beanpublic static GuideContainer from(SlingHttpServletRequest request, Resource resource)
resource
- guideContainer Resource
request
- SlingHttpServletRequest
GuideContainer
beanCopyright © 2010 - 2020 Adobe. All Rights Reserved