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

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

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

Retrieves all TissueTypes relevant for a session. Two places determine relevant TissueTypes. First, there are original TissueTypes used in TissueDiagnosis's that make up the ArrayBlock. Second there are the TissueTypes that the user reassigns in the Images Manager application. The union of these two places make up the relevant Tissue Types. The relevant tissuetypes are then placed in the comboBox.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.jhu.tmaj.servlet.request.BaseRequest
password, username
 
Constructor Summary
UsedTissueTypesRequest(int sessionID)
           
 
Method Summary
static java.util.List<LookupRecord> getOriginalTissueTypes(int sessionID)
          Called on the client side, this returns a list of original and used TissueTypes for a particular session.
 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

UsedTissueTypesRequest

public UsedTissueTypesRequest(int sessionID)
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

getOriginalTissueTypes

public static java.util.List<LookupRecord> getOriginalTissueTypes(int sessionID)
Called on the client side, this returns a list of original and used TissueTypes for a particular session.