|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.outerj.daisy.navigation.impl.AbstractParentNode
org.outerj.daisy.navigation.impl.QueryNode
A query node is a special node which doesn't really exist in the result tree but is instead replaced with the result of executing a query.
| Field Summary |
| Fields inherited from class org.outerj.daisy.navigation.impl.AbstractParentNode |
children |
| Fields inherited from interface org.outerj.daisy.navigation.impl.Node |
NAVIGATION_NS |
| Constructor Summary | |
QueryNode(java.lang.String query,
java.lang.String extraCond,
CommonNavigationManager.Context context,
long navigationBranchId,
long navigationLanguageId)
|
|
| Method Summary | |
boolean |
checkId(java.lang.String id)
Returns true if the id of this node equals the specified id. |
java.util.List |
getExpandedChildList()
Returns a list of the child nodes for which the nodes for which isExpandable() returns true are not included, but instead
replaced by their children (recursively). |
boolean |
isExpandable()
Returns true for expandable nodes, these are nodes which themselves are not a part of the generated navigation tree, but are replaced by one or more other nodes. |
boolean |
isIdentifiable()
Returns true if this node has an ID and will generate a corresponding node in the output tree. |
boolean |
isVisible(long userId,
long[] roleId)
Returns true if this node or any of its chilren would produce a visible node in the generated navigation tree. |
void |
searchPath(java.lang.String[] path,
int pos,
Node[] foundPath)
|
| Methods inherited from class org.outerj.daisy.navigation.impl.AbstractParentNode |
add, generateXml, generateXml, generateXml, generateXml, getId, populateNodeLookupMap, searchDocument |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public QueryNode(java.lang.String query,
java.lang.String extraCond,
CommonNavigationManager.Context context,
long navigationBranchId,
long navigationLanguageId)
| Method Detail |
public void searchPath(java.lang.String[] path,
int pos,
Node[] foundPath)
throws org.outerj.daisy.repository.RepositoryException
searchPath in interface NodesearchPath in class AbstractParentNodeorg.outerj.daisy.repository.RepositoryException
public java.util.List getExpandedChildList()
throws org.outerj.daisy.repository.RepositoryException
NodeNode.isExpandable() returns true are not included, but instead
replaced by their children (recursively).
getExpandedChildList in interface NodegetExpandedChildList in class AbstractParentNodeorg.outerj.daisy.repository.RepositoryException
public boolean isVisible(long userId,
long[] roleId)
throws org.outerj.daisy.repository.RepositoryException
Node
org.outerj.daisy.repository.RepositoryExceptionpublic boolean checkId(java.lang.String id)
Node
public boolean isExpandable()
Node
public boolean isIdentifiable()
Node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||