org.outerj.daisy.navigation.impl
Class AggregateNode

java.lang.Object
  extended byorg.outerj.daisy.navigation.impl.AbstractParentNode
      extended byorg.outerj.daisy.navigation.impl.AggregateNode
All Implemented Interfaces:
Node

public class AggregateNode
extends AbstractParentNode


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
AggregateNode()
           
 
Method Summary
 boolean checkId(java.lang.String id)
          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)
          Returns true if this node or any of its chilren would produce a visible node in the generated navigation tree.
 
Methods inherited from class org.outerj.daisy.navigation.impl.AbstractParentNode
add, generateXml, generateXml, generateXml, generateXml, getExpandedChildList, getId, populateNodeLookupMap, searchDocument, searchPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregateNode

public AggregateNode()
Method Detail

checkId

public boolean checkId(java.lang.String id)
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)
                  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.

Throws:
org.outerj.daisy.repository.RepositoryException


Copyright © -2005 . All Rights Reserved.