iaaf.function
Class NullFilterFunction

java.lang.Object
  |
  +--iaaf.function.IAAFFunction
        |
        +--iaaf.function.NullFilterFunction

public class NullFilterFunction
extends IAAFFunction

Title: NullFilterFunction.java Description: This class represents the action of retrieving a file from the archive based on a complex SQL query. Copyright: Copyright (c) 2000 Company: IAAF Team

Author:
Richard Pineo

Constructor Summary
NullFilterFunction()
          The constructor passes the args to the parent constructor and initializes some of the member objects.
 
Method Summary
 java.lang.String performFunction(IAAFEnv env)
          This method retrieves a ResultSet from the database.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullFilterFunction

public NullFilterFunction()
The constructor passes the args to the parent constructor and initializes some of the member objects.
Parameters:
args - the ServletResponse object's PrintWriter the previous page-state string
Method Detail

performFunction

public java.lang.String performFunction(IAAFEnv env)
This method retrieves a ResultSet from the database. It then creates a temporary directory for the user (if one does not already exist) and writes the images and thumbnail images out to temporary files in that directory. It then sends the image file names, image file paths, and thumbnail image file paths to WebPageGenerator for display.
Parameters:
args - array of three Strings that represent userID, comment, and filename
Returns:
returns true if update is attempted, false if not
Overrides:
performFunction in class IAAFFunction