wt.doc
Class DocumentFormData

java.lang.Object
  extended bywt.doc.DocumentFormData
All Implemented Interfaces:
Serializable

public class DocumentFormData
extends Object
implements Serializable

Wrapper for the form data that is gathered during any of the form operations. It is wrapped so that it can be passed to a delegate for the operations.

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  Hashtable documentAttributes
           
private static String RESOURCE
           
 
Constructor Summary
DocumentFormData(Hashtable docAttributes)
          Create the wrapper of the hashtable with the input values to be passed to the delegate.
 
Method Summary
 Hashtable getDocumentAttributes()
          Gets the value of the attribute: documentAttributes.
 String getDocumentAttributes(String key)
          Return the input value for this field or key.
 HTTPUploadDownloadTask getTask()
           
 void setDocumentAttribute(HTTPUploadDownloadTask task)
           
 void setDocumentAttribute(String key, String value)
          Add a name/value pair to be passed to the delegate.
 void setDocumentAttributes(Hashtable a_DocumentAttributes)
          Sets the value of the attribute: documentAttributes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

documentAttributes

private Hashtable documentAttributes
Constructor Detail

DocumentFormData

public DocumentFormData(Hashtable docAttributes)
                 throws WTPropertyVetoException
Create the wrapper of the hashtable with the input values to be passed to the delegate.

Supported API: true

Parameters:
docAttributes -
Throws:
WTPropertyVetoException
Method Detail

getDocumentAttributes

public Hashtable getDocumentAttributes()
Gets the value of the attribute: documentAttributes.

Supported API: false

Returns:
Hashtable

setDocumentAttributes

public void setDocumentAttributes(Hashtable a_DocumentAttributes)
                           throws WTPropertyVetoException
Sets the value of the attribute: documentAttributes.

Supported API: false

Parameters:
a_DocumentAttributes -
Throws:
WTPropertyVetoException

getDocumentAttributes

public String getDocumentAttributes(String key)
Return the input value for this field or key.

Supported API: true

Parameters:
key -
Returns:
String

setDocumentAttribute

public void setDocumentAttribute(String key,
                                 String value)
Add a name/value pair to be passed to the delegate.

Supported API: true

Parameters:
key -
value -

setDocumentAttribute

public void setDocumentAttribute(HTTPUploadDownloadTask task)

getTask

public HTTPUploadDownloadTask getTask()