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

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

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.jhu.tmaj.servlet.request.BaseRequest
password, username
 
Constructor Summary
FileDeleteRequest(ExternalFile externalFile)
           
 
Method Summary
static boolean checksumsAgree(ExternalFile externalFile)
           
 CommandResponse processRequest(UserBean userBean)
          This request is executed on the server assuming the username and password returns a valid UserBean.
static void verifyChecksum(ExternalFile externalFile)
           
 
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

FileDeleteRequest

public FileDeleteRequest(ExternalFile externalFile)
Method Detail

processRequest

public CommandResponse processRequest(UserBean userBean)
                               throws java.io.IOException,
                                      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.io.IOException
java.sql.SQLException

checksumsAgree

public static boolean checksumsAgree(ExternalFile externalFile)
                              throws java.io.IOException
Throws:
java.io.IOException

verifyChecksum

public static void verifyChecksum(ExternalFile externalFile)
                           throws java.io.IOException
Throws:
java.io.IOException