com.dotmarketing.viewtools
Class NavigationWebAPI

java.lang.Object
  extended by com.dotmarketing.viewtools.NavigationWebAPI

public class NavigationWebAPI
extends java.lang.Object


Constructor Summary
NavigationWebAPI()
           
 
Method Summary
 java.lang.String createMenu(java.lang.String startFromPath, int numberOfLevels, HttpServletRequest request)
           
 java.lang.String createMenuByDepth(int startFromLevel, int maxDepth, HttpServletRequest request)
           
 java.lang.String createSiteMapMenu(int startFromLevel, int numberOfLevels, HttpServletRequest request)
           
 java.lang.String createSiteMapMenu(int startFromLevel, int numberOfLevels, java.lang.String path, HttpServletRequest request, boolean addHome)
          This code is to built the site map menu
 java.lang.String crumbTrail(HttpServletRequest request, java.lang.String imgPath)
           
 void init(java.lang.Object obj)
           
 boolean menuItems(java.lang.String startFromPath, int numberOfLevels, HttpServletRequest request)
           
 boolean menuItemsByDepth(int startFromLevel, int maxDepth, HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavigationWebAPI

public NavigationWebAPI()
Method Detail

crumbTrail

public java.lang.String crumbTrail(HttpServletRequest request,
                                   java.lang.String imgPath)
                            throws JspException
Throws:
JspException

createMenuByDepth

public java.lang.String createMenuByDepth(int startFromLevel,
                                          int maxDepth,
                                          HttpServletRequest request)
                                   throws JspException
Throws:
JspException

createMenu

public java.lang.String createMenu(java.lang.String startFromPath,
                                   int numberOfLevels,
                                   HttpServletRequest request)
                            throws JspException
Throws:
JspException

init

public void init(java.lang.Object obj)

createSiteMapMenu

public java.lang.String createSiteMapMenu(int startFromLevel,
                                          int numberOfLevels,
                                          java.lang.String path,
                                          HttpServletRequest request,
                                          boolean addHome)
                                   throws JspException
This code is to built the site map menu

Throws:
JspException

createSiteMapMenu

public java.lang.String createSiteMapMenu(int startFromLevel,
                                          int numberOfLevels,
                                          HttpServletRequest request)
                                   throws JspException
Throws:
JspException

menuItemsByDepth

public boolean menuItemsByDepth(int startFromLevel,
                                int maxDepth,
                                HttpServletRequest request)
                         throws JspException
Throws:
JspException

menuItems

public boolean menuItems(java.lang.String startFromPath,
                         int numberOfLevels,
                         HttpServletRequest request)
                  throws JspException
Throws:
JspException


Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.