Interface Navigation
-
- All Known Implementing Classes:
NavigationImpl
public interface Navigation
Sling model interface to represent a navigation.
-
-
Field Summary
Fields Modifier and Type Field Description static String
PN_SHOW_MAIN_CATEGORIES
Boolean property for adding to navigation the main categories of the catalog instead of the catalog root page.static String
RT_CATALOG_PAGE
Sling resource type for catalog landing page.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getId()
List<NavigationItem>
getItems()
String
getParentId()
-
-
-
Field Detail
-
RT_CATALOG_PAGE
static final String RT_CATALOG_PAGE
Sling resource type for catalog landing page.- See Also:
- Constant Field Values
-
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.
-
-