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

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

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

Copies the design of one arrayBlock to another. The new arrayBlock will have the exact same tissueDiagnosis's and dimensions as the original, but the new ArrayBlock will have new ArrayCores. Both ArrayBlocks must be created beforehand, and their dimensions must match. In addition, the destination ArrayBlock must be blank (have no ArrayCores).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.jhu.tmaj.servlet.request.BaseRequest
password, username
 
Constructor Summary
CopyArrayBlockRequest(int sourceArrayBlockID, int destinationArrayBlockID)
           
 
Method Summary
 CommandResponse processRequest(UserBean userBean)
          This request is executed on the server assuming the username and password returns a valid UserBean.
 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

CopyArrayBlockRequest

public CopyArrayBlockRequest(int sourceArrayBlockID,
                             int destinationArrayBlockID)
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
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