3.2.1: 2012-12-13

net.sf.basedb.clients.web.extensions.list
Class ListColumnDataLoader<I>

java.lang.Object
  extended by net.sf.basedb.clients.web.extensions.list.ListColumnDataLoader<I>
All Implemented Interfaces:
DataLoader<I>

public class ListColumnDataLoader<I>
extends Object
implements DataLoader<I>

Data loader implementation that acts as a proxy to a ListColumnAction object. The table exporter call getData(DbControl, ExportedProperty, Object) which forwards the call to ListColumnAction.getExportValue(DbControl, Object).

Since:
3.2
Author:
nicklas

Field Summary
private  ListColumnAction<I,?> column
           
 
Constructor Summary
ListColumnDataLoader(ListColumnAction<I,?> column)
           
 
Method Summary
 Object getData(DbControl dc, ExportedProperty exportedProperty, I item)
          Get the value for the specified property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

column

private final ListColumnAction<I,?> column
Constructor Detail

ListColumnDataLoader

public ListColumnDataLoader(ListColumnAction<I,?> column)
Method Detail

getData

public Object getData(DbControl dc,
                      ExportedProperty exportedProperty,
                      I item)
               throws Exception
Description copied from interface: DataLoader
Get the value for the specified property.

Specified by:
getData in interface DataLoader<I>
exportedProperty - The property to get the value for
item - The item that holds the value
Throws:
Exception - If failing to get the data.

3.2.1: 2012-12-13