gov.nih.nci.caarray.ui.experiment.data
Class HttpFileUploadCache

java.lang.Object
  extended by gov.nih.nci.caarray.ui.experiment.data.HttpFileUploadCache
All Implemented Interfaces:
java.io.Serializable

public class HttpFileUploadCache
extends java.lang.Object
implements java.io.Serializable

This class serves as a container for hybridization file annotation data gathered before the file upload operation. An instance of this class will be stored in HttpFileProperties map for each file upload applet session.

See Also:
Serialized Form

Constructor Summary
HttpFileUploadCache()
          The default constructor.
 
Method Summary
 void addToList(java.lang.Object obj)
          Add a meta data object HttpUploadedFileData into the fileList container.
 void clearList()
          Upon calling file parsing service, the content of the fileList is passed to the parsing object, and this list is cleared for accepting next batch of file upload.
 ArrayDesignFileUploadGroupData getFileArrayDesignData()
           
 HybridizationFileUploadGroupData getFileData()
           
 java.util.List getFileList()
           
 int getFileListSize()
          To return the size of the fileList.
 boolean getIsStopped()
           
 void setFileArrayDesignData(ArrayDesignFileUploadGroupData fileArrayDesignData)
           
 void setFileData(HybridizationFileUploadGroupData fileData)
           
 void setFileList(java.util.List fileList)
           
 void setIsStopped(boolean isStopped)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpFileUploadCache

public HttpFileUploadCache()
The default constructor.

Method Detail

getFileData

public HybridizationFileUploadGroupData getFileData()
Returns:
Returns the fileData.

setFileData

public void setFileData(HybridizationFileUploadGroupData fileData)
Parameters:
fileData - The fileData to set.

getFileList

public java.util.List getFileList()
Returns:
Returns the fileList.

setFileList

public void setFileList(java.util.List fileList)
Parameters:
fileList - The fileList to set.

getIsStopped

public boolean getIsStopped()
Returns:
Returns the isStopped.

setIsStopped

public void setIsStopped(boolean isStopped)
Parameters:
isStopped - The isStopped to set.

addToList

public void addToList(java.lang.Object obj)
Add a meta data object HttpUploadedFileData into the fileList container.

Parameters:
obj - The HttpUploadedFileData object constructed using data passed from the applet through http query header string.

clearList

public void clearList()
Upon calling file parsing service, the content of the fileList is passed to the parsing object, and this list is cleared for accepting next batch of file upload.


getFileListSize

public int getFileListSize()
To return the size of the fileList.


getFileArrayDesignData

public ArrayDesignFileUploadGroupData getFileArrayDesignData()
Returns:
Returns the fileArrayDesignData.

setFileArrayDesignData

public void setFileArrayDesignData(ArrayDesignFileUploadGroupData fileArrayDesignData)
Parameters:
fileArrayDesignData - The fileArrayDesignData to set.