org.objectweb.telosys.upload
Class UploadParameters

java.lang.Object
  extended byorg.objectweb.telosys.upload.UploadParameters

public class UploadParameters
extends java.lang.Object

All the http parameters provided by an upload request ( parameters set by the widget )


Constructor Summary
UploadParameters()
          Constructor
 
Method Summary
 java.lang.String getContextAttribute()
          Returns the screen context attribute where to store the file
 int getContextId()
          Returns the screen context id where to store the file as an attribute
 java.lang.String getDestDir()
          Returns the destination directory
 long getMaxSize()
          Returns the maximum size of the uploaded file
 java.lang.String getSessionKey()
          Returns the session key that will be used to store the file in the HttpSession
 void setContextAttribute(java.lang.String paramContextAttribute)
          Set the screen context attribute where to store the file
 void setContextId(int paramContextId)
          Set the screen context id where to store the file as an attribute
 void setDestDir(java.lang.String paramDestDir)
          Set the destination directory
 void setMaxSize(long paramMaxSize)
          Set the maximum size of the uploaded file
 void setSessionKey(java.lang.String paramSessionKey)
          Set the session key that will be used to store the file in the HttpSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UploadParameters

public UploadParameters()
Constructor

Method Detail

getContextId

public int getContextId()
Returns the screen context id where to store the file as an attribute

Returns:
the screen context id ( or -1 if not set )

setContextId

public void setContextId(int paramContextId)
Set the screen context id where to store the file as an attribute

Parameters:
paramContextId -

getMaxSize

public long getMaxSize()
Returns the maximum size of the uploaded file

Returns:
the maximum size ( or -1 if not set )

setMaxSize

public void setMaxSize(long paramMaxSize)
Set the maximum size of the uploaded file

Parameters:
paramMaxSize -

getContextAttribute

public java.lang.String getContextAttribute()
Returns the screen context attribute where to store the file

Returns:
the screen context attribute ( or null if not set )

setContextAttribute

public void setContextAttribute(java.lang.String paramContextAttribute)
Set the screen context attribute where to store the file

Parameters:
paramContextAttribute -

getDestDir

public java.lang.String getDestDir()
Returns the destination directory

Returns:
the directory ( or null if not set )

setDestDir

public void setDestDir(java.lang.String paramDestDir)
Set the destination directory

Parameters:
paramDestDir -

getSessionKey

public java.lang.String getSessionKey()
Returns the session key that will be used to store the file in the HttpSession

Returns:
the key ( or null if not set )

setSessionKey

public void setSessionKey(java.lang.String paramSessionKey)
Set the session key that will be used to store the file in the HttpSession

Parameters:
paramSessionKey -