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.
|
org.onehippo.cms7.services.hst.Channel |
getChannel() |
<T extends ChannelInfo> |
getChannelInfo() |
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 |
LocationMapTree |
getLocationMapTreeComponentDocuments()
The component documents location map is mapping from documents to sitemap items only now specifically linked to
from a hst component that belongs to the sitemap item (and thus not via the
relativecontentpath 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()
Deprecated.
since 7.9.0 ; now always returns -1
|
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
LocationMapTree getLocationMapTreeComponentDocuments()
relativecontentpath
s )HstSite
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 stored@Deprecated long getVersion()
HstSite
uses. When no explicit version present, -1
is returnedboolean hasPreviewConfiguration()
true
when this HstSite
has a different configuration than the live.org.onehippo.cms7.services.hst.Channel getChannel()
<T extends ChannelInfo> T getChannelInfo()
T
- Type of the channel info. Only checked at runtime on assignment.null
in case getChannel()
returns null
or
when the ChannelInfo
interface cannot be loaded by the current classLoaderCopyright © 2008–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.