gov.nih.nci.caarray.services.util.httpfileuploadapplet
Class HttpUploadParameters

java.lang.Object
  extended by gov.nih.nci.caarray.services.util.httpfileuploadapplet.HttpUploadParameters

public class HttpUploadParameters
extends java.lang.Object

This Java bean class encapsulates all the parameters received from the server that will be used to configure the upload process.


Constructor Summary
HttpUploadParameters()
          The default constructor
 
Method Summary
 java.lang.String getDefaultURL()
           
 java.lang.String getDefaultURLWithSid()
          This method will return a defaultURL string with a session id (jsessionid) appended at the end for session identification by the server.
 java.lang.String getHttpTunnelingURL()
           
 java.lang.String getId()
           
 long getIdasLong()
          This method returns a long type as an id from a string id which has a format of 123456789990_1 generated by the server as a key to store hybridization annotation data.
 java.lang.String getModule()
           
 java.lang.String getNotifyURL()
           
 java.lang.String getNotifyURLWithSid()
          This method will return a notifyURL string with a session id (jsessionid) appended at the end for session identification by the server.
 java.lang.String getPermissibleFileExtension()
           
 java.lang.String getSid()
           
 java.lang.String getUploadURL()
           
 java.lang.String getUploadURLWithSid()
          This method will return a uploadURL string with a session id (jsessionid) appended at the end for session identification by the server.
 void setDefaultURL(java.lang.String defaultURL)
           
 void setHttpTunnelingURL(java.lang.String httpTunnelingURL)
           
 void setId(java.lang.String id)
           
 void setModule(java.lang.String module)
           
 void setNotifyURL(java.lang.String notifyURL)
           
 void setPermissibleFileExtention(java.lang.String permissibleFileExtension)
           
 void setSid(java.lang.String sid)
           
 void setUploadURL(java.lang.String uploadURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpUploadParameters

public HttpUploadParameters()
The default constructor

Method Detail

getHttpTunnelingURL

public java.lang.String getHttpTunnelingURL()
Returns:
String http tunneling URL

setHttpTunnelingURL

public void setHttpTunnelingURL(java.lang.String httpTunnelingURL)
Parameters:
httpTunnelingURL -

getId

public java.lang.String getId()
Returns:
Returns the id.

setId

public void setId(java.lang.String id)
Parameters:
id - The id to set.

getUploadURL

public java.lang.String getUploadURL()
Returns:
Returns the uploadURL.

setUploadURL

public void setUploadURL(java.lang.String uploadURL)
Parameters:
uploadURL - The uploadURL to set.

getNotifyURL

public java.lang.String getNotifyURL()
Returns:
Returns the notifyURL.

setNotifyURL

public void setNotifyURL(java.lang.String notifyURL)
Parameters:
notifyURL - The notifyURL to set.

getDefaultURL

public java.lang.String getDefaultURL()
Returns:
Returns the defaultURL.

setDefaultURL

public void setDefaultURL(java.lang.String defaultURL)
Parameters:
defaultURL - The defaultURL to set.

getIdasLong

public long getIdasLong()
This method returns a long type as an id from a string id which has a format of 123456789990_1 generated by the server as a key to store hybridization annotation data.

Parameters:
long - The id without suffix as "-x"

getSid

public java.lang.String getSid()
Returns:
Returns the sid.

setSid

public void setSid(java.lang.String sid)
Parameters:
sid - The sid to set.

getUploadURLWithSid

public java.lang.String getUploadURLWithSid()
This method will return a uploadURL string with a session id (jsessionid) appended at the end for session identification by the server.

Returns:
String the upload url with a session id.

getNotifyURLWithSid

public java.lang.String getNotifyURLWithSid()
This method will return a notifyURL string with a session id (jsessionid) appended at the end for session identification by the server.

Returns:
String the notify url with a session id.

getDefaultURLWithSid

public java.lang.String getDefaultURLWithSid()
This method will return a defaultURL string with a session id (jsessionid) appended at the end for session identification by the server.

Returns:
String the default url with a session id.

getModule

public java.lang.String getModule()
Returns:
String module

setModule

public void setModule(java.lang.String module)
Parameters:
module -

getPermissibleFileExtension

public java.lang.String getPermissibleFileExtension()
Returns:
String permissibleFileExtension

setPermissibleFileExtention

public void setPermissibleFileExtention(java.lang.String permissibleFileExtension)
Parameters:
permissibleFileExtension -