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

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

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

Gets information that can be used to uniquely identify a specimen or patient record, for example the Hospital and the SurgPathNumber.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.jhu.tmaj.servlet.request.BaseRequest
password, username
 
Constructor Summary
SpecimenIdentifiersRequest()
           
 
Method Summary
 CommandResponse processRequest(UserBean userBean)
          This request is executed on the server assuming the username and password returns a valid UserBean.
static void setExistingFields(java.util.List<TranslatedRow> translatedRecordsList, int hospitalID, SpecimenIdentifiersResponse response)
          Sets the recordExists and primaryKeyID fields in the Translated table.
 
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

SpecimenIdentifiersRequest

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

setExistingFields

public static void setExistingFields(java.util.List<TranslatedRow> translatedRecordsList,
                                     int hospitalID,
                                     SpecimenIdentifiersResponse response)
Sets the recordExists and primaryKeyID fields in the Translated table.