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
  • Field Details

  • Constructor Details

    • ListColumnDataLoader

      public ListColumnDataLoader​(ListColumnAction<I,​?> column)
  • Method Details

    • 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.