Uses of Interface
org.hippoecm.hst.core.linking.HstLink
Package
Description
The org.hippoecm.hst.core.linking package defines the API for the HST Core Linking
The org.hippoecm.hst.core.sitemenu package defines the API for the HST Core SiteMenu
-
Uses of HstLink in org.hippoecm.hst.core.linking
Modifier and TypeMethodDescriptionHstLinkCreator.create
(String uuid, Session session, HstRequestContext requestContext) Rewrite a jcr uuid to a HstLink wrt its current ResolvedSiteMapItem.Creates an HstLink for thepath
andmount
.Creates an HstLink for thepath
andmount
.HstLinkCreator.create
(Node node, Mount mount, HstSiteMapItem preferredItem, boolean fallback) HstLinkCreator.create
(Node node, HstRequestContext requestContext) Rewrite a jcr Node to a HstLink wrt its current ResolvedSiteMapItemHstLinkCreator.create
(Node node, HstRequestContext requestContext, String mountAlias) HstLinkCreator.create
(Node node, HstRequestContext requestContext, String mountAlias, String type) HstLinkCreator.create
(Node node, HstRequestContext requestContext, HstSiteMapItem preferredItem, boolean fallback) Rewrite a jcr Node to a HstLink wrt its current HstRequestContext and preferredItem.HstLinkCreator.create
(Node node, HstRequestContext requestContext, HstSiteMapItem preferredItem, boolean fallback, boolean navigationStateful) This method creates the sameHstLink
asHstLinkCreator.create(Node, HstRequestContext, HstSiteMapItem, boolean)
whennavigationStateful = false
.HstLinkCreator.create
(HstSiteMapItem toHstSiteMapItem, Mount mount) Regardless the current context, create a HstLink to the HstSiteMapItem that you use as argument.HstLinkCreator.create
(HippoBean bean, HstRequestContext requestContext) HstLinkCreator.createByRefId
(String siteMapItemRefId, Mount mount) Regardless the current context, create a HstLink to theHstSiteMapItem
forMount
mount
that hasHstSiteMapItem.getRefId()
equal tositeMapItemRefId
.HstLinkCreator.createCanonical
(Node node, HstRequestContext requestContext) This creates a canonical HstLink: regardless the current requestContext, one and the same jcr Node is guaranteed to return the same HstLink.HstLinkCreator.createCanonical
(Node node, HstRequestContext requestContext, HstSiteMapItem preferredItem) HstLinkCreator.createPageNotFoundLink
(Mount mount) HstLinkProcessor.postProcess
(HstLink link) The postProcess of the HstLinkHstLinkProcessor.preProcess
(HstLink link) The preProcess of the HstLinkLocationResolver.resolve
(Node node, Mount mount, LocationMapTree locationMapTree) Implementations should here do their logic, possibly linkrewriting.Modifier and TypeMethodDescriptionHstLinkCreator.createAll
(Node node, Mount mount, String hostGroupName, String type, boolean crossMount) Rewrite a jcr Node to a List ofHstLink
sHstLinkCreator.createAll
(Node node, HstRequestContext requestContext, boolean crossMount) Rewrite a jcr Node to a List ofHstLink
sHstLinkCreator.createAll
(Node node, HstRequestContext requestContext, String hostGroupName, String type, boolean crossMount) Rewrite a jcr Node to a List ofHstLink
sHstLinkCreator.createAllAvailableCanonicals
(Node node, Mount mount, String type, String hostGroupName) Expert: Creates aList
of all available canonical links fornode
, within the hostgrouphostGroupName
and where where the backingMount
of theHstLink
has at least oneMount.getTypes()
equal totype
HstLinkCreator.createAllAvailableCanonicals
(Node node, HstRequestContext requestContext) Expert: Creates aList
of all available canonical links fornode
within the hostgroup (VirtualHost.getHostGroupName()
) of theMount
for theHstRequestContext
.HstLinkCreator.createAllAvailableCanonicals
(Node node, HstRequestContext requestContext, String type) Expert: Creates aList
of all available canonical links fornode
, within the hostgroup (VirtualHost.getHostGroupName()
) of theMount
for theHstRequestContext
and where where the backingMount
of theHstLink
has at least oneMount.getTypes()
equal totype
HstLinkCreator.createAllAvailableCanonicals
(Node node, HstRequestContext requestContext, String type, String hostGroupName) Expert: Creates aList
of all available canonical links fornode
, within the hostgrouphostGroupName
and where where the backingMount
of theHstLink
has at least oneMount.getTypes()
equal totype
Modifier and TypeMethodDescriptionHstLinkProcessor.postProcess
(HstLink link) The postProcess of the HstLinkHstLinkProcessor.preProcess
(HstLink link) The preProcess of the HstLink