info.magnolia.module.templatingkit.navigation
Class SubNavigation

java.lang.Object
  extended by info.magnolia.module.templatingkit.navigation.SubNavigation
Direct Known Subclasses:
NavigationItem, NavigationModel

public class SubNavigation
extends Object

Navigation Utility class. Used by navigationMadel and Item

Version:
$Id$
Author:
pbracher

Constructor Summary
SubNavigation(javax.jcr.Node content, SubNavigation parent, int depth, boolean allOpen)
           
 
Method Summary
 info.magnolia.jcr.util.ContentMap getContent()
          FIXME ioc: shouldn't this be solved by IOC on TemplatingFunctions.
 List<NavigationItem> getItems()
           
protected  SubNavigation getParent()
           
 boolean isOpen()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubNavigation

public SubNavigation(javax.jcr.Node content,
                     SubNavigation parent,
                     int depth,
                     boolean allOpen)
Method Detail

getItems

public List<NavigationItem> getItems()
                              throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

isOpen

public boolean isOpen()
               throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getContent

public info.magnolia.jcr.util.ContentMap getContent()
FIXME ioc: shouldn't this be solved by IOC on TemplatingFunctions.


getParent

protected SubNavigation getParent()


Copyright © 2008-2013 Magnolia International Ltd.. All Rights Reserved.