org.oddjob.webapp.model
Class TreeNodeBeanBuilder

java.lang.Object
  extended by org.oddjob.webapp.model.TreeNodeBeanBuilder

public class TreeNodeBeanBuilder
extends Object

Build a TreeNodeBean hierarchy.

Author:
Rob Gordon

Constructor Summary
TreeNodeBeanBuilder(JobInfoLookup lookup, String currentRefId)
          Constructor.
 
Method Summary
 Map<String,TreeNodeBean> buildChildren(TreeNodeBean parent)
          Build the children.
 TreeNodeBean buildRoot()
          Build the root bean.
 void refresh(TreeNodeBean bean)
          Recursively refresh the TreeNodeBean hierarchy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeNodeBeanBuilder

public TreeNodeBeanBuilder(JobInfoLookup lookup,
                           String currentRefId)
Constructor.

Parameters:
lookup - Lookup to use for building.
Method Detail

buildRoot

public TreeNodeBean buildRoot()
Build the root bean.


refresh

public void refresh(TreeNodeBean bean)
Recursively refresh the TreeNodeBean hierarchy.

Parameters:
bean -

buildChildren

public Map<String,TreeNodeBean> buildChildren(TreeNodeBean parent)
Build the children.

Parameters:
parent -
Returns: