iaaf.function
Class PanZoomFunction

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

public class PanZoomFunction
extends IAAFFunction

Title: PanZoomFunction.java Description: This class represents the action of generating an IAAFImage object that represents a new view of an existing IAAFImage object. Copyright: Copyright (c) 2000 Company: IAAF Team

Author:
Richard Pineo

Constructor Summary
PanZoomFunction()
          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

PanZoomFunction

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