|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hippoecm.hst.configuration.sitemap.HstSiteMapService
public class HstSiteMapService
Constructor Summary | |
---|---|
HstSiteMapService(HstSite hstSite,
HstNode siteMapNode,
Mount mount,
HstSiteMapItemHandlersConfiguration siteMapItemHandlersConfiguration)
|
Method Summary | |
---|---|
Service[] |
getChildServices()
|
HstSite |
getSite()
Return the HstSite this HstSiteMap belongs to. |
HstSiteMapItem |
getSiteMapItem(String value)
Return the child HstSiteMapItem that has the corresponding value (HstSiteMapItem.getValue() )
and null otherwise |
HstSiteMapItem |
getSiteMapItemById(String id)
Return the child HstSiteMapItem that has the corresponding id (HstSiteMapItem.getId() )
and null otherwise |
HstSiteMapItem |
getSiteMapItemByRefId(String refId)
Return the child HstSiteMapItem that has the corresponding refId (HstSiteMapItem.getRefId() )
and null otherwise |
List<HstSiteMapItem> |
getSiteMapItems()
The list of SiteMapItem 's that are root items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HstSiteMapService(HstSite hstSite, HstNode siteMapNode, Mount mount, HstSiteMapItemHandlersConfiguration siteMapItemHandlersConfiguration) throws ServiceException
ServiceException
Method Detail |
---|
public Service[] getChildServices()
public HstSiteMapItem getSiteMapItem(String value)
HstSiteMap
HstSiteMapItem
that has the corresponding value
(HstSiteMapItem.getValue()
)
and null
otherwise
getSiteMapItem
in interface HstSiteMap
value
- the value of the child HstSiteMapItem
as it would be return by HstSiteMapItem.getValue()
value
and null
if no HstSiteMapItem
exists with this value
in this HstSiteMapItem
object.public HstSiteMapItem getSiteMapItemById(String id)
HstSiteMap
HstSiteMapItem
that has the corresponding id
(HstSiteMapItem.getId()
)
and null
otherwise
getSiteMapItemById
in interface HstSiteMap
id
- the id of the child HstSiteMapItem
as it would be return by HstSiteMapItem.getId()
id
and null
if no HstSiteMapItem
exists with this refId
in this HstSiteMapItem
object.public HstSiteMapItem getSiteMapItemByRefId(String refId)
HstSiteMap
HstSiteMapItem
that has the corresponding refId
(HstSiteMapItem.getRefId()
)
and null
otherwise
getSiteMapItemByRefId
in interface HstSiteMap
refId
- the refId of the child HstSiteMapItem
as it would be return by HstSiteMapItem.getRefId()
refId
and null
if no HstSiteMapItem
exists with this refId
in this HstSiteMapItem
object.public List<HstSiteMapItem> getSiteMapItems()
HstSiteMap
SiteMapItem
's that are root
items. They represent the first paths of the urls.
Implementations should return an unmodifiable list, for example Collections.UnmodifiableList
to avoid
client code changing configuration
getSiteMapItems
in interface HstSiteMap
SiteMapItem
'spublic HstSite getSite()
HstSiteMap
HstSite
this HstSiteMap
belongs to.
getSite
in interface HstSiteMap
HstSiteMap
belongs to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |