net.sf.statcvs.pages
Interface NavigationNode

All Known Implementing Classes:
Page, PageGroup

public interface NavigationNode


Method Summary
 java.lang.String asParentLink()
           
 java.lang.String getFullTitle()
           
 java.lang.String getShortTitle()
           
 java.lang.String getURL()
           
 void setParent(NavigationNode parent)
          Sets the page's parent.
 void setShowLinkToPreviousSibling(boolean showLink)
           
 void setSiblings(java.lang.String siblingsTitle, java.util.List siblingPages)
          Sets a list of Pages that are siblings of this page.
 void write()
           
 

Method Detail

setParent

public void setParent(NavigationNode parent)
Sets the page's parent. The generated page will link back to the parent.


setSiblings

public void setSiblings(java.lang.String siblingsTitle,
                        java.util.List siblingPages)
Sets a list of Pages that are siblings of this page. The generated page will contain a navigation list that links to all siblings. The sibling list may contain the page itself.

Parameters:
siblingsTitle - Title for navigation list, e.g. "Monthly Reports"

setShowLinkToPreviousSibling

public void setShowLinkToPreviousSibling(boolean showLink)

getURL

public java.lang.String getURL()

getShortTitle

public java.lang.String getShortTitle()

getFullTitle

public java.lang.String getFullTitle()

write

public void write()

asParentLink

public java.lang.String asParentLink()


Copyright © 2002-2010 Appendium - Portfolio Financing Platform. All Rights Reserved.