edu.jhu.tmaj.servlet.request.impl
Class RecentSessionUpdateRequest

java.lang.Object
  extended by edu.jhu.tmaj.servlet.request.BaseRequest
      extended by edu.jhu.tmaj.servlet.request.impl.RecentSessionUpdateRequest
All Implemented Interfaces:
CommandRequest, java.io.Serializable

public final class RecentSessionUpdateRequest
extends BaseRequest
implements java.io.Serializable

Indicate a user has accessed a session, and to log it in the RecentSessions table. The RecentSessions table just keeps getting larger as this Request adds a record to it every time the user accesses a new session. A database administrator may clear out the table if it gets to be a problem.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.jhu.tmaj.servlet.request.BaseRequest
password, username
 
Constructor Summary
RecentSessionUpdateRequest(int sessionID, ProjectSessionType projectSessionType)
          Constructs this request.
 
Method Summary
 CommandResponse processRequest(UserBean userBean)
          This request is executed on the server assuming the username and password returns a valid UserBean.
 
Methods inherited from class edu.jhu.tmaj.servlet.request.BaseRequest
executeCommand, getPassword, getUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecentSessionUpdateRequest

public RecentSessionUpdateRequest(int sessionID,
                                  ProjectSessionType projectSessionType)
Constructs this request.

Parameters:
sessionID - the sessionID the user making this request has accessed.
Method Detail

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