Interface CommonMenuItem

    • Method Detail

      • getName

        String getName()
        Returns:
        the name of this SiteMenuItem
      • getHstLink

        HstLink getHstLink()
        Returns:
        a HstLink that contains a link for this SiteMenuItem
      • getExternalLink

        String getExternalLink()
        When this method does not return null, then by default getHstLink() will return null even if the sitemenu item has a sitemap reference path defined
        Returns:
        an external (http/https etc) link or null if no external link is defined
      • isExpanded

        boolean isExpanded()
        A sitemenu item is expanded if one of its descendants is selected or if it is selected itself
        Returns:
        true if the SiteMenuItem is expanded
      • getProperties

        Map<String,​Object> getProperties()
        When developers have customized SiteMenuItem configuration with extra properties, these properties can be accessed through this Map
        Returns:
        a Map containing the value for every property in the backing content provider for this SiteMenuItem
      • isRepositoryBased

        boolean isRepositoryBased()
        Returns:
        true when below this sitemenu item repository based navigation is expected
      • getDepth

        int getDepth()
        Returns:
        the depth of repository based items in case of repository based navigation
      • isSelected

        boolean isSelected()
        Returns:
        true is the SiteMenuItem is selected