public class ChangeHistoryDetailLoader extends java.lang.Object implements DataLoader<ChangeHistory>
Modifier and Type | Field and Description |
---|---|
private boolean |
oldValue |
Constructor and Description |
---|
ChangeHistoryDetailLoader(boolean oldValue) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getData(DbControl dc,
ExportedProperty exportedProperty,
ChangeHistory item)
Get the value for the specified property.
|
public ChangeHistoryDetailLoader(boolean oldValue)
oldValue
- TRUE to export the old value, FALSE to export the new valuepublic java.lang.Object getData(DbControl dc, ExportedProperty exportedProperty, ChangeHistory item) throws java.lang.Exception
DataLoader
getData
in interface DataLoader<ChangeHistory>
exportedProperty
- The property to get the value foritem
- The item that holds the valuejava.lang.Exception
- If failing to get the data.