Interface Navigation

  • All Known Implementing Classes:
    NavigationImpl

    public interface Navigation
    Sling model interface to represent a navigation.
    • Field Detail

      • PN_SHOW_MAIN_CATEGORIES

        static final String PN_SHOW_MAIN_CATEGORIES
        Boolean property for adding to navigation the main categories of the catalog instead of the catalog root page. It's set on the catalog root page.
        See Also:
        Constant Field Values
    • Method Detail

      • getItems

        List<NavigationItem> getItems()
        Returns:
        The navigation items to be rendered by the navigation component.
      • getId

        String getId()
        Returns:
        The identifier of this navigation.
      • getParentId

        String getParentId()
        Returns:
        The identifier of the parent navigation or null for the root navigation.