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

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

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

This request is used by AnalysisFrame to return a description of the users sessions. The response contains data to create a table whose rows represent sessions. An admin user can see the sessions of the all the users, whereas a regular user can only see their own sessions. This class also calculates how many images were scored in a session.

See Also:
Serialized Form

Nested Class Summary
static class SessionDescriptionsRequest.Column
           
 
Field Summary
 
Fields inherited from class edu.jhu.tmaj.servlet.request.BaseRequest
password, username
 
Constructor Summary
SessionDescriptionsRequest()
           
 
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

SessionDescriptionsRequest

public SessionDescriptionsRequest()
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