public class NavigationModel extends SubNavigation
Constructor and Description |
---|
NavigationModel(javax.jcr.Node root,
javax.jcr.Node selectedNode,
int depth,
boolean allOpen,
boolean rootIsHome) |
Modifier and Type | Method and Description |
---|---|
List<NavigationItem> |
getItems() |
NavigationItem |
getSelectedItem() |
protected javax.jcr.Node |
getSelectedNode() |
getContent, getParent, isOpen
public NavigationModel(javax.jcr.Node root, javax.jcr.Node selectedNode, int depth, boolean allOpen, boolean rootIsHome)
public List<NavigationItem> getItems() throws javax.jcr.RepositoryException
getItems
in class SubNavigation
javax.jcr.RepositoryException
protected javax.jcr.Node getSelectedNode()
public NavigationItem getSelectedItem() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Copyright © 2008–2015 Magnolia International Ltd.. All rights reserved.