edu.jhu.tmaj.servlet.response.impl
Class HistoryResponse

java.lang.Object
  extended by edu.jhu.tmaj.servlet.response.SuccessResponse
      extended by 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.
 
Method Summary
 java.util.List<java.util.List> getDataList()
           
 java.util.List<java.lang.String> getFieldNamesList()
           
 
Methods inherited from class edu.jhu.tmaj.servlet.response.SuccessResponse
getError, isSuccessful, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 table
dataList - a List of Lists, where each list represents a row in the table
Method Detail

getFieldNamesList

public java.util.List<java.lang.String> getFieldNamesList()

getDataList

public java.util.List<java.util.List> getDataList()