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

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

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

Gets the arraycores for a specified ArrayBlock. Used to initialize the ArrayBuilder MainFrame. The list of ArrayCores included in the response is obtained from ArrayCoreBean.lookup(int arrayBlockID) method.

See Also:
lookup(int arrayBlockID), Serialized Form

Field Summary
 
Fields inherited from class edu.jhu.tmaj.servlet.request.BaseRequest
password, username
 
Constructor Summary
ArrayCoresOpenRequest(int arrayBlockID)
           
 
Method Summary
static java.util.List<ArrayCoreRep> lookup(int arrayBlockID)
          Returns a List of ArrayCoreBeans from a specified ArrayBlockID
 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

ArrayCoresOpenRequest

public ArrayCoresOpenRequest(int arrayBlockID)
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

lookup

public static java.util.List<ArrayCoreRep> lookup(int arrayBlockID)
                                           throws java.sql.SQLException
Returns a List of ArrayCoreBeans from a specified ArrayBlockID

Throws:
java.sql.SQLException