Interface NavigationNodeTreeService

    • Method Detail

      • getChild

        TypedObject getChild​(TypedObject node,
                             int index)
        Find a child node of a given node at a given position
        Parameters:
        node - parent node
        index - node position
        Returns:
        child node of given node at given (index) position
      • getChildCount

        int getChildCount​(TypedObject node)
        Find number of child nodes for a given node
        Parameters:
        node - parent node with children nodes
        Returns:
        quantity of children
      • isLeaf

        boolean isLeaf​(TypedObject node)
        Determine whether a node is a leaf node or not.
        Parameters:
        node -
        Returns:
        true if has no children, or is leaf by other means
      • getRootNavigationNodes

        java.util.List<TypedObject> getRootNavigationNodes​(CatalogVersionModel catVer)
        Find all root nodes for a given catalog version
        Parameters:
        catVer - catalog version
        Returns:
        root nodes for given catalog version