org.infoglue.cms.treeservice.ss
Class SiteNodeNodeSupplier

java.lang.Object
  |
  +--com.frovi.ss.Tree.BaseNodeSupplier
        |
        +--org.infoglue.cms.treeservice.ss.SiteNodeNodeSupplier
All Implemented Interfaces:
INodeSupplier

public class SiteNodeNodeSupplier
extends BaseNodeSupplier

ContentNodeSupplier.java Created on 2002-sep-30

Author:
Stefan Sik, ss@frovi.com ss

Constructor Summary
SiteNodeNodeSupplier(java.lang.Integer repositoryId, InfoGluePrincipal infoGluePrincipal)
           
 
Method Summary
 java.util.Collection getChildContainerNodes(java.lang.Integer parentNode)
          ContainerNodes (folderNodes) Create a list of nodes that is children to the node with the supplied id "parentNode".
 java.util.Collection getChildLeafNodes(java.lang.Integer parentNode)
          LeafNodes (documentNodes) Create a list of nodes that is children to the node with the supplied id "parentNode".
 boolean hasChildren()
          return true if you will answer the question above
 
Methods inherited from class com.frovi.ss.Tree.BaseNodeSupplier
getRootNode, hasChildren
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteNodeNodeSupplier

public SiteNodeNodeSupplier(java.lang.Integer repositoryId,
                            InfoGluePrincipal infoGluePrincipal)
                     throws SystemException
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
Overrides:
hasChildren in class BaseNodeSupplier
See Also:
BaseNodeSupplier.hasChildren()

getChildContainerNodes

public java.util.Collection getChildContainerNodes(java.lang.Integer parentNode)
Description copied from interface: INodeSupplier
ContainerNodes (folderNodes) Create a list of nodes that is children to the node with the supplied id "parentNode". Set the attributes on each node, and if possible also determine if each node itself has children.

See Also:
INodeSupplier.getChildContainerNodes(Integer)

getChildLeafNodes

public java.util.Collection getChildLeafNodes(java.lang.Integer parentNode)
Description copied from interface: INodeSupplier
LeafNodes (documentNodes) Create a list of nodes that is children to the node with the supplied id "parentNode". Set the attributes on each node, in this case node.setChildren(boolean) has no effect

See Also:
INodeSupplier.getChildLeafNodes(Integer)