org.infoglue.cms.treeservice.ss
Class CategoryNodeSupplier
java.lang.Object
|
+--com.frovi.ss.Tree.BaseNodeSupplier
|
+--org.infoglue.cms.treeservice.ss.CategoryNodeSupplier
- All Implemented Interfaces:
- INodeSupplier
- public class CategoryNodeSupplier
- extends BaseNodeSupplier
- Author:
- Frank Febbraro (frank@phase2technology.com)
|
Field Summary |
static java.lang.Integer |
ROOT
|
|
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ROOT
public static final java.lang.Integer ROOT
CategoryNodeSupplier
public CategoryNodeSupplier()
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
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.
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)