info.magnolia.module.templatingkit.navigation
Class NavigationModel
java.lang.Object
info.magnolia.module.templatingkit.navigation.SubNavigation
info.magnolia.module.templatingkit.navigation.NavigationModel
public class NavigationModel
- extends SubNavigation
Component used in the rendering script (freemarker,...) to
display a navidation tree. Returned by SiteMapParagraphModel.
- Version:
- $Id$
- Author:
- pbracher
Constructor Summary |
NavigationModel(javax.jcr.Node root,
javax.jcr.Node selectedNode,
int depth,
boolean allOpen,
boolean rootIsHome)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NavigationModel
public NavigationModel(javax.jcr.Node root,
javax.jcr.Node selectedNode,
int depth,
boolean allOpen,
boolean rootIsHome)
getItems
public List<NavigationItem> getItems()
throws javax.jcr.RepositoryException
- Overrides:
getItems
in class SubNavigation
- Throws:
javax.jcr.RepositoryException
getSelectedNode
protected javax.jcr.Node getSelectedNode()
getSelectedItem
public NavigationItem getSelectedItem()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
Copyright © 2008-2013 Magnolia International Ltd.. All Rights Reserved.