Class ChangeHistoryDetailLoader
java.lang.Object
net.sf.basedb.clients.web.plugins.ChangeHistoryDetailLoader
- All Implemented Interfaces:
DataLoader<ChangeHistory>
Data loader implementation for old and new values in the
change history which are protected by special permissions.
- Since:
- 3.3
- Author:
- Nicklas
- Last modified
- $Date: 2012-03-27 15:11:38 +0200 (ti, 27 mar 2012) $
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetData
(DbControl dc, ExportedProperty exportedProperty, ChangeHistory item) Get the value for the specified property.
-
Field Details
-
oldValue
private final boolean oldValue
-
-
Constructor Details
-
ChangeHistoryDetailLoader
public ChangeHistoryDetailLoader(boolean oldValue) - Parameters:
oldValue
- TRUE to export the old value, FALSE to export the new value
-
-
Method Details
-
getData
public Object getData(DbControl dc, ExportedProperty exportedProperty, ChangeHistory item) throws Exception Description copied from interface:DataLoader
Get the value for the specified property.- Specified by:
getData
in interfaceDataLoader<ChangeHistory>
exportedProperty
- The property to get the value foritem
- The item that holds the value- Throws:
Exception
- If failing to get the data.
-