public interface CommonMenuItem
Modifier and Type | Method and Description |
---|---|
int |
getDepth() |
String |
getExternalLink()
When this method does not return null, then by default will return
null even if the sitemenu item
has a sitemap reference path defined |
HstLink |
getHstLink() |
String |
getName() |
Map<String,Object> |
getProperties()
When developers have customized SiteMenuItem configuration with extra properties, these properties can be
accessed through this Map
|
boolean |
isExpanded()
A sitemenu item is expanded if one of its descendants is selected or if it is selected itself
|
boolean |
isRepositoryBased() |
boolean |
isSelected() |
ResolvedSiteMapItem |
resolveToSiteMapItem(HstRequest request) |
String getName()
HstLink getHstLink()
String getExternalLink()
null
even if the sitemenu item
has a sitemap reference path definednull
if no external link is definedResolvedSiteMapItem resolveToSiteMapItem(HstRequest request)
ResolvedSiteMapItem
belonging to this SiteMenuItem or null
if it cannot be resolved
in the HstSiteMap
boolean isExpanded()
true
if the SiteMenuItem is expandedMap<String,Object> getProperties()
boolean isRepositoryBased()
true
when below this sitemenu item repository based navigation is expectedint getDepth()
boolean isSelected()
true
is the SiteMenuItem is selectedCopyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.