org.outerj.daisy.navigation.impl
Class AggregateNode
java.lang.Object
org.outerj.daisy.navigation.impl.AbstractParentNode
org.outerj.daisy.navigation.impl.AggregateNode
- All Implemented Interfaces:
- Node
public class AggregateNode
- extends AbstractParentNode
Method Summary |
boolean |
checkId(java.lang.String id,
long branchId,
long languageId)
Returns true if the id of this node equals the specified id. |
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[] roleIds,
Node[] activeNodePath,
int activeNodePathPos)
Returns true if this node or any of its chilren would produce a visible node in the
generated navigation tree. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggregateNode
public AggregateNode()
checkId
public boolean checkId(java.lang.String id,
long branchId,
long languageId)
- Description copied from interface:
Node
- Returns true if the id of this node equals the specified id.
isExpandable
public boolean isExpandable()
throws org.outerj.daisy.navigation.NavigationException
- Description copied from interface:
Node
- 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.
- Throws:
org.outerj.daisy.navigation.NavigationException
isIdentifiable
public boolean isIdentifiable()
- Description copied from interface:
Node
- Returns true if this node has an ID and will generate a corresponding node in
the output tree.
isVisible
public boolean isVisible(long userId,
long[] roleIds,
Node[] activeNodePath,
int activeNodePathPos)
throws org.outerj.daisy.repository.RepositoryException
- Description copied from interface:
Node
- Returns true if this node or any of its chilren would produce a visible node in the
generated navigation tree.
activeNodePath
- this parameter can be null (if there is not active node path)
- Throws:
org.outerj.daisy.repository.RepositoryException
Copyright © -2012 . All Rights Reserved.