wt.clients.content
Class UploadDownloadEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bywt.clients.content.UploadDownloadEvent
All Implemented Interfaces:
Serializable

public class UploadDownloadEvent
extends EventObject

Event class which is used for events associated with uploading and downloading files associated with a ContentHolder. This Event class provides access to the HttpOperationStatus associated with the upload or download performed.

Supported API: false

Extendable: false

See Also:
ContentHolder, HttpOperationStatus, Serialized Form

Field Summary
private  HttpOperationStatus httpStatus
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
UploadDownloadEvent(ContentHolder content_holder, HttpOperationStatus status)
           
 
Method Summary
 ContentHolder getContentHolder()
          Returns the ContentHolder whose content files were uploaded or downloaded.
 HttpOperationStatus getHTTPStatus()
          Returns the HttpOperationStatus for the upload or download associated with this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

httpStatus

private HttpOperationStatus httpStatus
Constructor Detail

UploadDownloadEvent

public UploadDownloadEvent(ContentHolder content_holder,
                           HttpOperationStatus status)
Method Detail

getHTTPStatus

public HttpOperationStatus getHTTPStatus()
Returns the HttpOperationStatus for the upload or download associated with this event.

Returns:
the HttpOperationStatus associated with this event.

getContentHolder

public ContentHolder getContentHolder()
Returns the ContentHolder whose content files were uploaded or downloaded.

Returns:
the ContentHolder involved in the upload/download.