com.frovi.ss.Tree
Class BaseNodeSupplier

java.lang.Object
  |
  +--com.frovi.ss.Tree.BaseNodeSupplier
All Implemented Interfaces:
INodeSupplier
Direct Known Subclasses:
CategoryNodeSupplier, ContentNodeSupplier, ContentNodeSupplierJDBC, ContentNodeVersionSupplier, ManagementToolNodeSupplier, SiteNodeNodeSupplier

public abstract class BaseNodeSupplier
extends java.lang.Object
implements INodeSupplier

BaseNodeSupplier.java Created on 2002-sep-30

Author:
Stefan Sik, ss@frovi.com ss

Constructor Summary
BaseNodeSupplier()
           
 
Method Summary
 BaseNode getRootNode()
          Returns the rootNode.
 boolean hasChildren()
          return true if you will answer the question above
 boolean hasChildren(java.lang.Integer nodeId)
          return true if this node (nodeId) has childnodes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.frovi.ss.Tree.INodeSupplier
getChildContainerNodes, getChildLeafNodes
 

Constructor Detail

BaseNodeSupplier

public BaseNodeSupplier()
Method Detail

hasChildren

public boolean hasChildren()
Description copied from interface: INodeSupplier
return true if you will answer the question above

Specified by:
hasChildren in interface INodeSupplier

hasChildren

public boolean hasChildren(java.lang.Integer nodeId)
Description copied from interface: INodeSupplier
return true if this node (nodeId) has childnodes

Specified by:
hasChildren in interface INodeSupplier

getRootNode

public BaseNode getRootNode()
Returns the rootNode.

Specified by:
getRootNode in interface INodeSupplier
Returns:
BaseNode