edu.jhu.tmaj.servlet.response.impl
Class HistoryResponse
java.lang.Object
edu.jhu.tmaj.servlet.response.SuccessResponse
edu.jhu.tmaj.servlet.response.impl.HistoryResponse
- All Implemented Interfaces:
- CommandResponse, java.io.Serializable
public final class HistoryResponse
- extends SuccessResponse
- implements java.io.Serializable
A Response showing information about who modified a database record, and when they modified it.
- See Also:
- Serialized Form
Constructor Summary |
HistoryResponse(java.util.List<java.lang.String> fieldNames,
java.util.List<java.util.List> dataList)
Constructs this Response. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HistoryResponse
public HistoryResponse(java.util.List<java.lang.String> fieldNames,
java.util.List<java.util.List> dataList)
- Constructs this Response. The information in this response can be used to construct a table
where each row of the table shows information about when a field in the record was changed,
the new value, and who changed it.
- Parameters:
fieldNames
- the field names of the tabledataList
- a List of Lists, where each list represents a row in the table
getFieldNamesList
public java.util.List<java.lang.String> getFieldNamesList()
getDataList
public java.util.List<java.util.List> getDataList()