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

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

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

See Also:
Serialized Form

Nested Class Summary
static class CellLinesReferenceRequest.ReferenceRequestType
           
 
Field Summary
 
Fields inherited from class edu.jhu.tmaj.servlet.request.BaseRequest
password, username
 
Constructor Summary
CellLinesReferenceRequest(int id, CellLinesReferenceRequest.ReferenceRequestType initType)
          Initializes the Request.
 
Method Summary
 CommandResponse processRequest(UserBean userBean)
          Returns an Response that contains an ArrayCoreReferenceBean initialized with either an entire ArrayBlock of TissueDiagnosisIDs, or just one individual TissueDiagonsisID.
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Constructor Detail

CellLinesReferenceRequest

public CellLinesReferenceRequest(int id,
                                 CellLinesReferenceRequest.ReferenceRequestType initType)
Initializes the Request.

Parameters:
id - a TissueDiagnosisID or an ArrayBlockID
initType - either ARRAY_BLOCK or TISSUE_DIAGNOSIS_ID
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

processRequest

public CommandResponse processRequest(UserBean userBean)
                               throws java.sql.SQLException
Returns an Response that contains an ArrayCoreReferenceBean initialized with either an entire ArrayBlock of TissueDiagnosisIDs, or just one individual TissueDiagonsisID.

Specified by:
processRequest in class BaseRequest
Throws:
java.sql.SQLException