Interface HstSite
-
- All Known Subinterfaces:
CompositeHstSite
public interface HstSite
TheHstSite
object is the object representing a site. It contains a reference to the site's components configuration returned by
and the site's sitemap, returned bygetComponentsConfiguration()
and the site'sgetSiteMap()
return byLocationMapTree
getLocationMapTree()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCanonicalIdentifier()
Returns the identifier of the backing canonical configuration node of the HstSite.Channel
getChannel()
<T extends ChannelInfo>
TgetChannelInfo()
HstComponentsConfiguration
getComponentsConfiguration()
String
getConfigurationPath()
LocationMapTree
getLocationMapTree()
The location map is an inverted version from theHstSiteMap
: Instead of mapping forURL
s torelativecontentpath
's, the location map is a mapping fromrelativecontentpath
s toURL
sLocationMapTree
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 therelativecontentpath
s )String
getName()
Each containedHstSite
within itsHstSites
container has a unique name.HstSiteMap
getSiteMap()
HstSiteMapItemHandlersConfiguration
getSiteMapItemHandlersConfiguration()
HstSiteMenusConfiguration
getSiteMenusConfiguration()
Returns the configuredHstSiteMenusConfiguration
for this HstSite ornull
if thisHstSite
does not make use of a HstSiteMenusConfigurationboolean
hasPreviewConfiguration()
-
-
-
Method Detail
-
getName
String getName()
Each containedHstSite
within itsHstSites
container has a unique name.getName()
returns this unique name.- Returns:
- the unique name for this
HstSite
within itsHstSites
container.
-
getCanonicalIdentifier
String getCanonicalIdentifier()
Returns the identifier of the backing canonical configuration node of the HstSite.- Returns:
- the identifier of the backing HstSite
-
getSiteMapItemHandlersConfiguration
HstSiteMapItemHandlersConfiguration getSiteMapItemHandlersConfiguration()
- Returns:
- the siteMapItemHandlersConfiguration for this
HstSite
-
getComponentsConfiguration
HstComponentsConfiguration getComponentsConfiguration()
- Returns:
- the componentsConfiguration for this
HstSite
-
getSiteMap
HstSiteMap getSiteMap()
- Returns:
- the hstSiteMap for this
HstSite
-
getLocationMapTree
LocationMapTree getLocationMapTree()
The location map is an inverted version from theHstSiteMap
: Instead of mapping forURL
s torelativecontentpath
's, the location map is a mapping fromrelativecontentpath
s toURL
s- Returns:
- the location map for this
HstSite
-
getLocationMapTreeComponentDocuments
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 therelativecontentpath
s )- Returns:
- the location map for this
HstSite
-
getSiteMenusConfiguration
HstSiteMenusConfiguration getSiteMenusConfiguration()
Returns the configuredHstSiteMenusConfiguration
for this HstSite ornull
if thisHstSite
does not make use of a HstSiteMenusConfiguration- Returns:
- the
HstSiteMenusConfiguration
for this HstSite ornull
-
getConfigurationPath
String getConfigurationPath()
- Returns:
- the absolute location where the configuration for this
HstSite
is stored
-
hasPreviewConfiguration
boolean hasPreviewConfiguration()
- Returns:
true
when thisHstSite
has a different configuration than the live.
-
getChannel
Channel getChannel()
-
getChannelInfo
<T extends ChannelInfo> T getChannelInfo()
- Type Parameters:
T
- Type of the channel info. Only checked at runtime on assignment.- Returns:
- A channel properties instance or
null
in casegetChannel()
returnsnull
or when theChannelInfo
interface cannot be loaded by the current classLoader
-
-