public class GuideNode extends WCMUsePojo implements Serializable
This provides basic getter's and setter's required to create/initialize and AEM Form Component.
Modifier and Type | Field and Description |
---|---|
protected String |
baseName |
protected String |
clientLibRef |
protected String |
error |
protected com.day.cq.i18n.I18n |
i18n |
protected String |
id |
protected Map<String,String> |
inlineStyles |
protected Locale |
locale |
protected String |
localeName |
protected org.slf4j.Logger |
logger |
protected org.apache.sling.api.resource.ValueMap |
resourceProps |
protected org.apache.sling.api.SlingHttpServletRequest |
slingRequest |
protected com.adobe.granite.xss.XSSAPI |
xssapi |
Constructor and Description |
---|
GuideNode() |
Modifier and Type | Method and Description |
---|---|
void |
activate() |
String |
externalize(String key) |
String |
getAddMessage() |
String |
getAppearance()
Returns the appearance of the widget configured during authoring.
|
Map<String,Object> |
getAuthoringConfig()
AuthoringConfig is a map populated only for authoring and it contains key value pairs that govern components behaviour.
|
String |
getAuthoringConfigJSON()
Return the JSON string containing property map of an AEM form component which is to be used during author time.
|
String |
getBindRef() |
String |
getClientLibRef() |
Integer |
getColspan()
Returns the colspan of an AEM form component configured during authoring.
|
String |
getCssClassName()
Returns the name of the CSS class configured during authoring.
|
String |
getDescription() |
protected String |
getEnabled() |
String |
getEnabledExp() |
String |
getError() |
String |
getFieldInlineStyles() |
String |
getHeight()
Returns the height of AEM Form component configured in the authoring dialog.
|
String |
getId() |
String |
getInlineCssClass()
Returns the inline CSS class applied to the component during style authoring.
|
String |
getInlineStyles(String name) |
Boolean |
getIsEditMode()
Utility to check if the AEM Form Component is rendered during edit/design mode of AEM.
|
boolean |
getIsRepeatable()
Utility to check if the given AEM Form Component is repeatable or not
|
List<GuideNode> |
getItems()
Returns the list of items present inside an AEM Forms container
|
String |
getLayoutPath()
Returns the path of the layout configured in an AEM Form Panel
|
protected Object |
getLayoutProperty(String property) |
String |
getLongDescriptionInlineStyles() |
String |
getName() |
String |
getNavTitle() |
String |
getNodeClass()
Returns the node class associated with the of the AEM form component.
|
String |
getPath()
Returns the path representing the current AEM Form Component.
|
String |
getQuestionMarkInlineStyles() |
String |
getRemoveMessage() |
String |
getResourceSuperType()
Returns the sling resource super type of the current resource set.
|
String |
getResourceType()
Returns the sling resource type of the current resource set.
|
org.apache.sling.api.SlingHttpServletRequest |
getSlingRequest()
Returns the Interface to provide client request information to a servlet.
|
String |
getStyles()
Returns the string containing the width and height property represented as an inline CSS rule.
|
String |
getTargetVersion()
Returns the target specification version of Adaptive Form Component.
|
String |
getTitle()
Returns the title of the AEM Form component.
|
String |
getToolbarPosition() |
String |
getVersion()
Returns the specification version of Adaptive Form Component
Version of an adaptive form component specifies the node structure changes.
|
protected String |
getVisible() |
String |
getVisibleExp() |
String |
getWidth()
Returns the width of AEM Form Component configured in the authoring dialog.
|
com.adobe.granite.xss.XSSAPI |
getXssapi() |
String |
getXssDescription() |
boolean |
isDocumentFragmentGroup()
Returns true for guide node type or super type is guideAdModuleGroup
|
boolean |
isLayoutNavigable()
Checks if the layout configured in the AEM Forms Panel component is navigable.
|
boolean |
isMenuRequired()
Returns true for guide node type or super type being rootPanel / panel / guideAdModule / guideAdModuleGroup
|
boolean |
isValid() |
boolean |
isValidDorTemplateRef() |
void |
setClientLibRef(String clientLibRef) |
void |
setResource(org.apache.sling.api.resource.Resource resource)
Deprecated.
use the init API
|
void |
setSlingRequest(org.apache.sling.api.SlingHttpServletRequest slingRequest)
Set's the sling resource for the given AEM Form Component.
|
void |
syncNode() |
protected org.apache.sling.api.SlingHttpServletRequest slingRequest
protected org.apache.sling.api.resource.ValueMap resourceProps
protected String id
protected String clientLibRef
protected String baseName
protected String localeName
protected com.day.cq.i18n.I18n i18n
protected Locale locale
protected com.adobe.granite.xss.XSSAPI xssapi
protected String error
protected org.slf4j.Logger logger
public String getAuthoringConfigJSON()
public Map<String,Object> getAuthoringConfig()
public String getAppearance()
public String getStyles()
public String getFieldInlineStyles()
public String getQuestionMarkInlineStyles()
public String getLongDescriptionInlineStyles()
public Integer getColspan()
public String getInlineCssClass()
public String getHeight()
public String getWidth()
public String getVersion()
public String getTargetVersion()
public void setResource(org.apache.sling.api.resource.Resource resource)
resource
- Represents the resource to be usedResource
public void setSlingRequest(org.apache.sling.api.SlingHttpServletRequest slingRequest)
slingRequest
- Represents the http sling requestSlingHttpServletRequest
public String getEnabledExp()
public String getName()
public String getDescription()
public String getXssDescription()
public String getId() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public Boolean getIsEditMode()
public boolean getIsRepeatable()
public List<GuideNode> getItems()
GuideNode
present inside the containerpublic String getPath()
public String getResourceType()
public String getResourceSuperType()
public String getLayoutPath() throws org.apache.sling.api.resource.PersistenceException
org.apache.sling.api.resource.PersistenceException
public boolean isLayoutNavigable() throws org.apache.sling.api.resource.PersistenceException
org.apache.sling.api.resource.PersistenceException
public boolean isMenuRequired()
public boolean isDocumentFragmentGroup()
protected Object getLayoutProperty(String property) throws org.apache.sling.api.resource.PersistenceException
org.apache.sling.api.resource.PersistenceException
public String getToolbarPosition() throws org.apache.sling.api.resource.PersistenceException
org.apache.sling.api.resource.PersistenceException
public String getAddMessage()
public String getRemoveMessage()
public String getNavTitle()
public String getTitle()
public org.apache.sling.api.SlingHttpServletRequest getSlingRequest()
public String getNodeClass()
public String getVisibleExp()
public com.adobe.granite.xss.XSSAPI getXssapi()
public String getCssClassName()
public String getError()
public String getBindRef()
public boolean isValid()
public void syncNode() throws GuideException
GuideException
public boolean isValidDorTemplateRef()
public String getClientLibRef()
public void setClientLibRef(String clientLibRef)
protected String getEnabled()
protected String getVisible()
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.