Interface HstSite
- All Known Subinterfaces:
CompositeHstSite
public interface HstSite
The
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()
-
Method Summary
Modifier and TypeMethodDescriptionReturns the identifier of the backing canonical configuration node of the HstSite.<T extends ChannelInfo>
TThe location map is an inverted version from theHstSiteMap
: Instead of mapping forURL
s torelativecontentpath
's, the location map is a mapping fromrelativecontentpath
s toURL
sThe 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 )getName()
Each containedHstSite
within itsHstSites
container has a unique name.Returns the configuredHstSiteMenusConfiguration
for this HstSite ornull
if thisHstSite
does not make use of a HstSiteMenusConfigurationboolean
-
Method Details
-
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
- 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
-