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 Navidation . 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()
           
 NavigationModel getHorizontalNavigation()
           
 int getVerticalLevel()
           
 NavigationModel getVerticalNavigation()
           
 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()

getVerticalLevel

public int getVerticalLevel()

getHorizontalLevel

public int getHorizontalLevel()


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