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 callgetData(DbControl, ExportedProperty, Object)
which forwards the call toListColumnAction.getExportValue(DbControl, Object)
.- Since:
- 3.2
- Author:
- nicklas
-
-
Field Summary
Fields Modifier and Type Field Description private ListColumnAction<I,?>
column
-
Constructor Summary
Constructors Constructor Description ListColumnDataLoader(ListColumnAction<I,?> column)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getData(DbControl dc, ExportedProperty exportedProperty, I item)
Get the value for the specified property.
-
-
-
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 interfaceDataLoader<I>
exportedProperty
- The property to get the value foritem
- The item that holds the value- Throws:
Exception
- If failing to get the data.
-
-