iaaf.function
Class UploadFunction

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

public class UploadFunction
extends IAAFFunction

Title: UploadFunction.java Description: This class represents the action of inserting a file into the archive. Copyright: Copyright (c) 2000 Company: IAAF Team

Version:
1.0
Author:
Richard Pineo

Constructor Summary
UploadFunction()
          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 inserts the image file into the image table in the database, along with the owners userID and the attached comments.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UploadFunction

public UploadFunction()
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 inserts the image file into the image table in the database, along with the owners userID and the attached comments.
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