edu.jhu.tmaj.servlet.request.impl
Class HistoryRequest
java.lang.Object
edu.jhu.tmaj.servlet.request.BaseRequest
edu.jhu.tmaj.servlet.request.impl.HistoryRequest
- All Implemented Interfaces:
- CommandRequest, java.io.Serializable
public class HistoryRequest
- extends BaseRequest
- implements java.io.Serializable
A Request used to show the history of a specified record in TMAJ. This enables the GUI to show a
table listing all the changes that have been made to the record, as well as what user made them.
- See Also:
- Serialized Form
Constructor Summary |
HistoryRequest(int tableID,
int primaryKeyID)
Constructs this request |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HistoryRequest
public HistoryRequest(int tableID,
int primaryKeyID)
- Constructs this request
- Parameters:
tableID
- the tableID of the table (See LogTables class)primaryKeyID
- the records primary key value
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
processRequest
public CommandResponse processRequest(UserBean userBean)
throws java.sql.SQLException
- Description copied from class:
BaseRequest
- This request is executed on the server assuming the username and password returns a valid
UserBean.
- Specified by:
processRequest
in class BaseRequest
- Throws:
java.sql.SQLException