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

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

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

A request that determines if an ArrayBlock has had a user put in information on it's cores. Generally, ArrayBlocks that have had any user design are not overwritten or deleted.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.jhu.tmaj.servlet.request.BaseRequest
password, username
 
Constructor Summary
IsArrayBlockBlankRequest(int arrayBlockID)
           
 
Method Summary
(package private) static int getNumberOfArrayCores(int arrayBlockID)
          Returns the number of ArrayCores for which a user has put in information (assigned a TissueDiagnosis)
 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

IsArrayBlockBlankRequest

public IsArrayBlockBlankRequest(int arrayBlockID)
Method Detail

processRequest

public CommandResponse processRequest(UserBean userBean)
                               throws java.lang.Exception
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.lang.Exception

getNumberOfArrayCores

static int getNumberOfArrayCores(int arrayBlockID)
                          throws java.sql.SQLException
Returns the number of ArrayCores for which a user has put in information (assigned a TissueDiagnosis)

Throws:
java.sql.SQLException