Interface NavigationModel
-
- All Known Implementing Classes:
NavigationModelImpl
public interface NavigationModel
Sling model interface for the navigation component. The navigation instances are organised in a hierarchy. The root navigation parent id is null. The active navigation is either the root navigation or the navigation having the navigation item which refers to the current page.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Navigation
getActiveNavigation()
List<Navigation>
getNavigationList()
-
-
-
Method Detail
-
getActiveNavigation
Navigation getActiveNavigation()
- Returns:
- The currently active navigation.
-
getNavigationList
List<Navigation> getNavigationList()
- Returns:
- All available navigation instances.
-
-