@Model public class GuideNode extends com.adobe.cq.sightly.WCMUsePojo implements Serializable, StyledFDField
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.Resource |
resource |
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)
Deprecated.
|
String |
externalize(String value,
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() |
String |
getEnabled() |
String |
getEnabledExp() |
String |
getError() |
String |
getFieldInlineStyles() |
String |
getGuideFieldType()
Returns the field type of the AEM Forms Component
|
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
|
Boolean |
getIsTitleRichText() |
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.
|
String |
getResponsiveClasses()
Returns CSS classes to be applied on field/panel, for honoring its responsive configurtion.
|
com.adobe.aemds.guide.model.ResponsiveConfiguration |
getResponsiveConfiguration()
Returns Responsive Configuration (cq:responsive) of AEM Forms Component.
|
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.
|
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()
Deprecated.
|
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() |
boolean |
validate(org.apache.sling.api.resource.ResourceResolver serviceResourceResolver)
This API is meant to validate the current AF object.
|
protected org.apache.sling.api.SlingHttpServletRequest slingRequest
protected org.apache.sling.api.resource.Resource resource
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 void activate() throws Exception
activate
in class com.adobe.cq.sightly.WCMUsePojo
Exception
public com.adobe.aemds.guide.model.ResponsiveConfiguration getResponsiveConfiguration()
public String getResponsiveClasses()
public String getGuideFieldType()
getGuideFieldType
in interface FDField
public String getAuthoringConfigJSON()
getAuthoringConfigJSON
in interface FDField
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()
getHeight
in interface StyledFDField
public String getWidth()
getWidth
in interface StyledFDField
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()
getDescription
in interface FDField
public String getXssDescription()
public String getId() throws 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 Boolean getIsTitleRichText()
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()
getCssClassName
in interface StyledFDField
public String externalize(String value, String key)
value
- key
- @Deprecated public String externalize(String key)
externalize
method instead.public String getError()
public String getBindRef()
public boolean isValid()
public void syncNode() throws GuideException
GuideException
public boolean validate(org.apache.sling.api.resource.ResourceResolver serviceResourceResolver)
serviceResourceResolver
- reference to service resource resolver since validate would require access to immutable contentpublic boolean isValidDorTemplateRef()
public String getClientLibRef()
public void setClientLibRef(String clientLibRef)
public String getEnabled()
public String getVisible()
Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.