Interface DataLoader<T>

All Known Subinterfaces:
QueryWrapper<T>
All Known Implementing Classes:
AnnotationTypeEnumerationLoader, AnnotationTypeItemTypesLoader, AnyToAnyDataLoader, BioAssayExperimentalFactorLoader, ChangeHistoryDetailLoader, ChangeHistoryItemLoader, DataQueryWrapper, DynamicQueryWrapper, FileSetMemberLoader, ItemQueryLoader, ItemQueryWrapper, ListColumnDataLoader, MapValueLoader, ParentBioMaterialEventSourceLoader, ParentBioMaterialEventSourceLoaderFromBioAssay, ParentBioMaterialLoader, PathLoader, ReporterScoreQueryWrapper

public interface DataLoader<T>
A helper interface for the SimpleExport to get data that in some way are associated with an item.
Version:
2.12
Author:
martin
Last modified
$Date: 2012-03-27 15:11:38 +0200 (ti, 27 mar 2012) $
  • Method Summary

    Modifier and Type Method Description
    Object getData​(DbControl dc, ExportedProperty exportedProperty, T item)
    Get the value for the specified property.
  • Method Details

    • getData

      Object getData​(DbControl dc, ExportedProperty exportedProperty, T item) throws Exception
      Get the value for the specified property.
      Parameters:
      exportedProperty - The property to get the value for
      item - The item that holds the value
      Throws:
      Exception - If failing to get the data.
      Since:
      3.2 (Added DbControl parameter)