net.sf.basedb.clients.web.extensions.list
Class ListColumnDataLoader<I>
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
column
private final ListColumnAction<I,?> column
ListColumnDataLoader
public ListColumnDataLoader(ListColumnAction<I,?> column)
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 foritem
- The item that holds the value
- Throws:
Exception
- If failing to get the data.