org.kuali.student.lum.common.client.lo
Class LOBuilderBinding

java.lang.Object
  extended by org.kuali.student.common.ui.client.configurable.mvc.binding.ModelWidgetBindingSupport<LOBuilder>
      extended by org.kuali.student.lum.common.client.lo.LOBuilderBinding
All Implemented Interfaces:
ModelWidgetBinding<LOBuilder>

public class LOBuilderBinding
extends ModelWidgetBindingSupport<LOBuilder>

Author:
Igor

Field Summary
static LOBuilderBinding INSTANCE
           
 
Fields inherited from class org.kuali.student.common.ui.client.configurable.mvc.binding.ModelWidgetBindingSupport
DIRTY_PATH, RUNTIME_ROOT
 
Constructor Summary
LOBuilderBinding()
           
 
Method Summary
private  Data createLoDisplayInfoData(OutlineNode<LOPicker> node, int sequence)
           
private  void dataToOutlineNodes(Data data, List<OutlineNode<LOPicker>> loOutlineNodes, int identLevel)
           
private  List<LoCategoryInfo> getCategoryList(LoDisplayInfoHelper loDisplayInfoHelper)
           
 void setModelValue(LOBuilder builder, DataModel model, String path)
          Gets a list of OutlineNode from LOBuilder.
 void setWidgetValue(LOBuilder builder, DataModel model, String path)
           
private  List<OutlineNode<LOPicker>> stripeOutEmptyInput(List<OutlineNode<LOPicker>> input)
           
 
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.binding.ModelWidgetBindingSupport
ensureDirtyFlagPath, nullsafeEquals, nullsafeEquals, setDirtyFlag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static LOBuilderBinding INSTANCE
Constructor Detail

LOBuilderBinding

public LOBuilderBinding()
Method Detail

setModelValue

public void setModelValue(LOBuilder builder,
                          DataModel model,
                          String path)
Gets a list of OutlineNode from LOBuilder. Goes through the list one by one. While going through the list the algorithm keeps track of the current parent of a particular level.


setWidgetValue

public void setWidgetValue(LOBuilder builder,
                           DataModel model,
                           String path)

stripeOutEmptyInput

private List<OutlineNode<LOPicker>> stripeOutEmptyInput(List<OutlineNode<LOPicker>> input)

dataToOutlineNodes

private void dataToOutlineNodes(Data data,
                                List<OutlineNode<LOPicker>> loOutlineNodes,
                                int identLevel)

getCategoryList

private List<LoCategoryInfo> getCategoryList(LoDisplayInfoHelper loDisplayInfoHelper)

createLoDisplayInfoData

private Data createLoDisplayInfoData(OutlineNode<LOPicker> node,
                                     int sequence)


Copyright © 2010 The Kuali Foundation. All rights reserved.