|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HstSiteMap
A HstSiteMap
contains a list of (root) HstSiteMapItem
objects which themselves might contain additional
HstSiteMapItem
children and so on. As a HstSiteMapItem
might have an id, which needs to be unique
within the HstSiteMap
, through which a direct lookup of such a HstSiteMapItem
is also possible
HstComponent
instances can access HstSiteMap
instances but should not be able to modify them,
implementations must make sure that through the api a HstSiteMap
instance cannot be changed. Returned List and Map
should be therefor unmodifiable.
Method Summary | |
---|---|
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. |
Method Detail |
---|
HstSite getSite()
HstSite
this HstSiteMap
belongs to.
HstSiteMap
belongs toList<HstSiteMapItem> getSiteMapItems()
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
SiteMapItem
'sHstSiteMapItem getSiteMapItem(String value)
HstSiteMapItem
that has the corresponding value
(HstSiteMapItem.getValue()
)
and null
otherwise
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.HstSiteMapItem getSiteMapItemById(String id)
HstSiteMapItem
that has the corresponding id
(HstSiteMapItem.getId()
)
and null
otherwise
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.HstSiteMapItem getSiteMapItemByRefId(String refId)
HstSiteMapItem
that has the corresponding refId
(HstSiteMapItem.getRefId()
)
and null
otherwise
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |