@Model(adaptables=SlingHttpServletRequest.class, adapters=StyledFDField.class) public class GuideNode extends WCMUsePojo implements java.io.Serializable, StyledFDField
This provides basic getter's and setter's required to create/initialize and AEM Form Component.
Constructor and Description |
---|
GuideNode() |
Modifier and Type | Method and Description |
---|---|
void |
activate()
Implement this method to perform post initialization tasks.
|
boolean |
checkIfPathIsAbsolute(java.lang.String path)
Checks if the path is absolute.
|
java.lang.String |
externalize(java.lang.String key) |
java.lang.String |
getAddMessage() |
java.lang.String |
getAppearance()
Returns the appearance of the widget configured during authoring.
|
java.util.Map<java.lang.String,java.lang.Object> |
getAuthoringConfig()
AuthoringConfig is a map populated only for authoring and it contains key value pairs that govern components behaviour.
|
java.lang.String |
getAuthoringConfigJSON()
Return the JSON string containing property map of an AEM form component which is to be used during author time.
|
java.lang.String |
getBindRef() |
java.lang.String |
getClientLibRef() |
java.lang.Integer |
getColspan()
Returns the colspan of an AEM form component configured during authoring.
|
java.lang.String |
getCssClassName()
Returns the name of the CSS class configured during authoring.
|
java.lang.String |
getDescription() |
java.lang.String |
getEnabledExp() |
java.lang.String |
getError() |
java.lang.String |
getFieldInlineStyles() |
java.lang.String |
getGuideFieldType()
Returns the field type of the AEM Forms Component
|
java.lang.String |
getHeight()
Returns the height of AEM Form component configured in the authoring dialog.
|
java.lang.String |
getId() |
java.lang.String |
getInlineCssClass()
Returns the inline CSS class applied to the component during style authoring.
|
java.lang.String |
getInlineStyles(java.lang.String name) |
java.lang.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
|
java.util.List<GuideNode> |
getItems()
Returns the list of items present inside an AEM Forms container
|
java.lang.String |
getLayoutPath()
Returns the path of the layout configured in an AEM Form Panel
|
java.lang.String |
getLayoutTabType() |
java.lang.String |
getLongDescriptionInlineStyles() |
java.lang.String |
getName() |
java.lang.String |
getNavTitle() |
java.lang.String |
getNodeClass()
Returns the node class associated with the of the AEM form component.
|
java.lang.Boolean |
getNonNavigableProperty()
Returns the nonNavigable property of the layout.
|
java.lang.String |
getPath()
Returns the path representing the current AEM Form Component.
|
java.lang.String |
getQuestionMarkInlineStyles() |
java.lang.String |
getRemoveMessage() |
java.lang.String |
getResourceSuperType()
Returns the sling resource super type of the current resource set.
|
java.lang.String |
getResourceType()
Returns the sling resource type of the current resource set.
|
java.lang.String |
getResponsiveClasses()
Returns CSS classes to be applied on field/panel, for honoring its responsive configurtion.
|
ResponsiveConfiguration |
getResponsiveConfiguration()
Returns Responsive Configuration (cq:responsive) of AEM Forms Component.
|
SlingHttpServletRequest |
getSlingRequest()
Returns the Interface to provide client request information to a servlet.
|
java.lang.String |
getStyles()
Returns the string containing the width and height property represented as an inline CSS rule.
|
java.lang.String |
getTargetVersion()
Returns the target specification version of Adaptive Form Component.
|
java.lang.String |
getTitle()
Returns the title of the AEM Form component.
|
java.lang.String |
getToolbarPosition() |
java.lang.String |
getVersion()
Returns the specification version of Adaptive Form Component
Version of an adaptive form component specifies the node structure changes.
|
java.lang.String |
getVisibleExp() |
java.lang.String |
getWidth()
Returns the width of AEM Form Component configured in the authoring dialog.
|
XSSAPI |
getXssapi() |
java.lang.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(java.lang.String clientLibRef) |
void |
setResource(Resource resource)
Deprecated.
use the init API
|
void |
setSlingRequest(SlingHttpServletRequest slingRequest)
Set's the sling resource for the given AEM Form Component.
|
void |
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 void activate() throws java.lang.Exception
WCMUsePojo
WCMUsePojo.init(Bindings)
.activate
in class WCMUsePojo
java.lang.Exception
public ResponsiveConfiguration getResponsiveConfiguration()
public java.lang.String getResponsiveClasses()
public java.lang.String getGuideFieldType()
getGuideFieldType
in interface FDField
public java.lang.String getAuthoringConfigJSON()
getAuthoringConfigJSON
in interface FDField
public java.util.Map<java.lang.String,java.lang.Object> getAuthoringConfig()
public boolean checkIfPathIsAbsolute(java.lang.String path)
public java.lang.String getAppearance()
public java.lang.String getStyles()
public java.lang.String getInlineStyles(java.lang.String name)
public java.lang.String getFieldInlineStyles()
public java.lang.String getQuestionMarkInlineStyles()
public java.lang.String getLongDescriptionInlineStyles()
public java.lang.Integer getColspan()
public java.lang.String getInlineCssClass()
public java.lang.String getHeight()
getHeight
in interface StyledFDField
public java.lang.String getWidth()
getWidth
in interface StyledFDField
public java.lang.String getVersion()
public java.lang.String getTargetVersion()
public void setResource(Resource resource)
resource
- Represents the resource to be usedResource
public void setSlingRequest(SlingHttpServletRequest slingRequest)
slingRequest
- Represents the http sling requestSlingHttpServletRequest
public java.lang.String getEnabledExp()
public java.lang.String getName()
public java.lang.String getDescription()
getDescription
in interface FDField
public java.lang.String getXssDescription()
public java.lang.String getId() throws RepositoryException
getId
in interface FDField
RepositoryException
public java.lang.Boolean getIsEditMode()
public boolean getIsRepeatable()
public java.util.List<GuideNode> getItems()
GuideNode
present inside the containerpublic java.lang.String getPath()
public java.lang.String getResourceType()
public java.lang.String getResourceSuperType()
public java.lang.String getLayoutPath() throws PersistenceException
PersistenceException
public java.lang.Boolean getNonNavigableProperty()
public boolean isLayoutNavigable() throws PersistenceException
PersistenceException
public boolean isMenuRequired()
public boolean isDocumentFragmentGroup()
public java.lang.String getLayoutTabType() throws PersistenceException
PersistenceException
public java.lang.String getToolbarPosition() throws PersistenceException
PersistenceException
public java.lang.String getAddMessage()
public java.lang.String getRemoveMessage()
public java.lang.String getNavTitle()
public java.lang.String getTitle()
public SlingHttpServletRequest getSlingRequest()
public java.lang.String getNodeClass()
public java.lang.String getVisibleExp()
public XSSAPI getXssapi()
public java.lang.String getCssClassName()
getCssClassName
in interface StyledFDField
public java.lang.String externalize(java.lang.String key)
public java.lang.String getError()
public java.lang.String getBindRef()
public boolean isValid()
public void syncNode() throws GuideException
GuideException
public boolean isValidDorTemplateRef()
public java.lang.String getClientLibRef()
public void setClientLibRef(java.lang.String clientLibRef)
Copyright © 2010 - 2020 Adobe. All Rights Reserved