public interface HstSite
HstSite
object is the object representing a site. It contains a reference to the site's components configuration returned by
getComponentsConfiguration()
and the site's sitemap, returned by getSiteMap()
and the site's
LocationMapTree
return by getLocationMapTree()
Modifier and Type | Method and Description |
---|---|
String |
getCanonicalIdentifier()
Returns the identifier of the backing canonical configuration node of the HstSite.
|
HstComponentsConfiguration |
getComponentsConfiguration() |
String |
getConfigurationPath() |
LocationMapTree |
getLocationMapTree()
The location map is an inverted version from the
HstSiteMap : Instead of mapping for URL s to
relativecontentpath 's, the location map is a mapping from relativecontentpath s to URL s |
String |
getName()
Each contained
HstSite within its HstSites container has a unique name. |
HstSiteMap |
getSiteMap() |
HstSiteMapItemHandlersConfiguration |
getSiteMapItemHandlersConfiguration() |
HstSiteMenusConfiguration |
getSiteMenusConfiguration()
Returns the configured
HstSiteMenusConfiguration for this HstSite or null if this HstSite does
not make use of a HstSiteMenusConfiguration |
long |
getVersion() |
boolean |
hasPreviewConfiguration() |
String getName()
HstSite
within its HstSites
container has a unique name. getName()
returns this unique name.HstSite
within its HstSites
container.String getCanonicalIdentifier()
HstSiteMapItemHandlersConfiguration getSiteMapItemHandlersConfiguration()
HstSite
HstComponentsConfiguration getComponentsConfiguration()
HstSite
HstSiteMap getSiteMap()
HstSite
LocationMapTree getLocationMapTree()
HstSiteMap
: Instead of mapping for URL
s to
relativecontentpath
's, the location map is a mapping from relativecontentpath
s to URL
sHstSite
HstSiteMenusConfiguration getSiteMenusConfiguration()
HstSiteMenusConfiguration
for this HstSite or null
if this HstSite
does
not make use of a HstSiteMenusConfigurationHstSiteMenusConfiguration
for this HstSite or null
String getConfigurationPath()
HstSite
is storedlong getVersion()
HstSite
uses. When no explicit version present, -1
is returnedboolean hasPreviewConfiguration()
true
when this HstSite
has a different configuration than the live.Copyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.