|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hippoecm.hst.configuration.sitemenu.HstSiteMenuItemConfigurationService
public class HstSiteMenuItemConfigurationService
Constructor Summary | |
---|---|
HstSiteMenuItemConfigurationService(HstNode siteMenuItem,
HstSiteMenuItemConfiguration parent,
HstSiteMenuConfiguration hstSiteMenuConfiguration)
|
Method Summary | |
---|---|
List<HstSiteMenuItemConfiguration> |
getChildItemConfigurations()
|
int |
getDepth()
|
String |
getExternalLink()
When a sitemenu item has an external link (http://...) configured, it is retrieved by this method. |
HstSiteMenuConfiguration |
getHstSiteMenuConfiguration()
|
String |
getLocalParameter(String name)
The value of the local parameter, where there are no parameters inherited from ancestor items |
Map<String,String> |
getLocalParameters()
|
String |
getMountAlias()
If not null the mount belonging to this alias is used for creating the sitemenu item link |
String |
getName()
|
String |
getParameter(String name)
A HstSiteMenuItemConfiguration can contain a Map of parameters. |
Map<String,String> |
getParameters()
Parameters are inherited from ancestor HstSiteMenuItemConfiguration's. |
HstSiteMenuItemConfiguration |
getParentItemConfiguration()
|
Map<String,Object> |
getProperties()
When developers have customized SiteMenuItem configuration with extra properties, these properties can be accessed through this Map |
String |
getSiteMapItemPath()
The sitemapitem path can point to a sitemap item that contains wildcards. |
boolean |
isRepositoryBased()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HstSiteMenuItemConfigurationService(HstNode siteMenuItem, HstSiteMenuItemConfiguration parent, HstSiteMenuConfiguration hstSiteMenuConfiguration) throws ServiceException
ServiceException
Method Detail |
---|
public List<HstSiteMenuItemConfiguration> getChildItemConfigurations()
getChildItemConfigurations
in interface HstSiteMenuItemConfiguration
SiteMenuItemConfiguration
's of this itempublic String getName()
getName
in interface HstSiteMenuItemConfiguration
public HstSiteMenuItemConfiguration getParentItemConfiguration()
getParentItemConfiguration
in interface HstSiteMenuItemConfiguration
HstSiteMenuItemConfiguration
and null
is none exists (ie, it is a root)public HstSiteMenuConfiguration getHstSiteMenuConfiguration()
getHstSiteMenuConfiguration
in interface HstSiteMenuItemConfiguration
HstSiteMenuConfiguration
of this HstSiteMenuItemConfiguration
public String getSiteMapItemPath()
HstSiteMenuItemConfiguration
getSiteMapItemPath
in interface HstSiteMenuItemConfiguration
public String getExternalLink()
HstSiteMenuItemConfiguration
null
is
returned. When an external link is configured, the is ignored
getExternalLink
in interface HstSiteMenuItemConfiguration
null
if non is configuredpublic int getDepth()
getDepth
in interface HstSiteMenuItemConfiguration
public boolean isRepositoryBased()
isRepositoryBased
in interface HstSiteMenuItemConfiguration
true
when below this sitemenu item repository based navigation is expectedpublic String getParameter(String name)
HstSiteMenuItemConfiguration
null
will be returned.
Parameters are inherited from ancestor HstSiteMenuItemConfiguration's. When this HstSiteMenuItemConfiguration configures the same parameter as an ancestor, the
value from the ancestor is overwritten.
Implementations should return an unmodifiable map, for example Collections.UnmodifiableMap
to avoid
client code changing configurationn
getParameter
in interface HstSiteMenuItemConfiguration
name
- the name of the parameter
null
when not presentpublic Map<String,String> getParameters()
HstSiteMenuItemConfiguration
getParameters
in interface HstSiteMenuItemConfiguration
HstSiteMenu
. If no parameters present, and empty map is returned#getParameter(String)}, only now the entire parameters map is returned.
public String getLocalParameter(String name)
HstSiteMenuItemConfiguration
getLocalParameter
in interface HstSiteMenuItemConfiguration
name
- the name of the parameter
null
when not present#getParameter(String)}, only this method returns parameters without inheritance
public Map<String,String> getLocalParameters()
getLocalParameters
in interface HstSiteMenuItemConfiguration
HstSiteMenuItemConfiguration
. If no parameters present, and empty map is returned#getParameters()}, only this method returns parameters (unmodifiable map) without inheritance
public Map<String,Object> getProperties()
HstSiteMenuItemConfiguration
getProperties
in interface HstSiteMenuItemConfiguration
public String getMountAlias()
HstSiteMenuItemConfiguration
null
the mount belonging to this alias is used for creating the sitemenu item link
getMountAlias
in interface HstSiteMenuItemConfiguration
Mount
to create the link for and null
if the mount from the HstRequestContext
can be used
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |