org.mmbase.bridge.jsp.taglib.pageflow
Class TreeHelper
java.lang.Object
|
+--org.mmbase.bridge.jsp.taglib.pageflow.TreeHelper
- public class TreeHelper
- extends java.lang.Object
This helper-class has all Tree- and Leaf-related functionality. The algorithms that find the
page to include in the directory structure are implemented here.
The 'TreeInclude', 'LeafInclude', 'TreeFile' and 'LeafFile' all use this helper class. See their
documentation for more information about the algorithms.
- Author:
- Johannes Verelst, Rob Vermeulen (VPRO)
|
Method Summary |
protected java.lang.String |
findLeafFile(java.lang.String includePage,
java.lang.String objectlist,
javax.servlet.http.HttpSession session)
Method to find the file to 'LeafInclude' given a list of objectnumbers |
protected java.lang.String |
findTreeFile(java.lang.String includePage,
java.lang.String objectlist,
javax.servlet.http.HttpSession session)
Method to find the file to 'TreeInclude' given a list of objectnumbers |
void |
setCloud(Cloud cl)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeHelper
public TreeHelper()
setCloud
public void setCloud(Cloud cl)
findLeafFile
protected java.lang.String findLeafFile(java.lang.String includePage,
java.lang.String objectlist,
javax.servlet.http.HttpSession session)
throws javax.servlet.jsp.JspTagException
- Method to find the file to 'LeafInclude' given a list of objectnumbers
- Parameters:
includePage - The page to include (relative path, may include URL parameters)objectlist - The list of objectnumbers (comma-seperated) that is used to find the correct file to includesession - The session context can contain version information (used in getVerion).
findTreeFile
protected java.lang.String findTreeFile(java.lang.String includePage,
java.lang.String objectlist,
javax.servlet.http.HttpSession session)
throws javax.servlet.jsp.JspTagException
- Method to find the file to 'TreeInclude' given a list of objectnumbers
- Parameters:
includePage - The page to include (relative path, may include URL parameters)objectlist - The list of objectnumbers (comma-seperated) that is used to find the correct file to includesession - The session context can contain version information (used in getVerion).
MMBase build 1.6.5.20030923