info.magnolia.module.templatingkit.navigation
Class SiteNavigationModel

java.lang.Object
  extended by info.magnolia.module.templatingkit.navigation.SiteNavigationModel

public class SiteNavigationModel
extends Object

Component used in the rendering script (freemarker,...) to display a Site Navigation. Returned by STKTemplateModel and all subclass.

Version:
$Id$
Author:
pbracher

Constructor Summary
SiteNavigationModel(SiteNavigation siteNavigation, javax.jcr.Node siteRoot, javax.jcr.Node currentNode)
           
 
Method Summary
 int getHorizontalLevel()
          Get the level (= depth) of the horizontal navigation.
 NavigationModel getHorizontalNavigation()
           
 int getHorizontalStartLevel()
          Get the start level of the horizontal navigation.
 int getVerticalLevel()
          Get the level (= depth) of the vertical navigation.
 NavigationModel getVerticalNavigation()
           
 int getVerticalStartLevel()
          Get the start level of the vertical navigation.
 boolean isShowHorizontalNavigation()
           
 boolean isShowVerticalNavigation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteNavigationModel

public SiteNavigationModel(SiteNavigation siteNavigation,
                           javax.jcr.Node siteRoot,
                           javax.jcr.Node currentNode)
Method Detail

getHorizontalNavigation

public NavigationModel getHorizontalNavigation()
                                        throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getVerticalNavigation

public NavigationModel getVerticalNavigation()
                                      throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

isShowHorizontalNavigation

public boolean isShowHorizontalNavigation()

isShowVerticalNavigation

public boolean isShowVerticalNavigation()

getHorizontalStartLevel

public int getHorizontalStartLevel()
Get the start level of the horizontal navigation.


getVerticalStartLevel

public int getVerticalStartLevel()
Get the start level of the vertical navigation.


getVerticalLevel

public int getVerticalLevel()
Get the level (= depth) of the vertical navigation.


getHorizontalLevel

public int getHorizontalLevel()
Get the level (= depth) of the horizontal navigation.



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