|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.bridge.jsp.taglib.pageflow.TreeHelper
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.
| Constructor Summary | |
TreeHelper()
|
|
| 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 |
protected java.lang.String |
getLeafFile(java.lang.String prefix,
java.lang.String objectlist,
java.lang.String includePage,
boolean maySmartpath,
javax.servlet.http.HttpSession session)
Return the path to the include file. |
void |
setCloud(Cloud cl)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TreeHelper()
| Method Detail |
public void setCloud(Cloud cl)
protected java.lang.String findLeafFile(java.lang.String includePage,
java.lang.String objectlist,
javax.servlet.http.HttpSession session)
throws javax.servlet.jsp.JspTagException
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).
javax.servlet.jsp.JspTagException
protected java.lang.String getLeafFile(java.lang.String prefix,
java.lang.String objectlist,
java.lang.String includePage,
boolean maySmartpath,
javax.servlet.http.HttpSession session)
throws javax.servlet.jsp.JspTagException
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).maySmartpath - Boolean indicating whether or not getLeafFile may call a 'getSmartpath' on the given objectsprefix - The path that was already established by previous calls to getLeafFile, deeper in the recursion tree.
javax.servlet.jsp.JspTagException
protected java.lang.String findTreeFile(java.lang.String includePage,
java.lang.String objectlist,
javax.servlet.http.HttpSession session)
throws javax.servlet.jsp.JspTagException
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).
TODO: add support for 'intermediate paths' as LeafInclude has.
javax.servlet.jsp.JspTagException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||