ERS3AttachmentProcessor Class Reference

Inherits er::attachment::processors::ERAttachmentProcessor<ERS3Attachment>.

Collaboration diagram for ERS3AttachmentProcessor:

Collaboration graph
[legend]

List of all members.

Classes

class  ERS3QueueEntry
class  ERS3UploadQueue

Public Member Functions

ERS3Attachment _process (EOEditingContext editingContext, File uploadedFile, String recommendedFileName, String mimeType, String configurationName, String ownerID, boolean pendingDelete)
InputStream attachmentInputStream (ERS3Attachment attachment) throws IOException
void attachmentInserted (ERS3Attachment attachment)
String attachmentUrl (ERS3Attachment attachment, WORequest request, WOContext context)
void deleteAttachment (ERS3Attachment attachment) throws MalformedURLException, IOException
 ERS3AttachmentProcessor ()
void performUpload (File uploadedFile, String originalFileName, String bucket, String key, String mimeType, ERS3Attachment attachment) throws MalformedURLException, IOException

Static Public Attributes

static final String S3_URL = "http://s3.amazonaws.com"

Protected Member Functions

boolean failed (Response response) throws IOException

Private Attributes

ERS3UploadQueue _queue


Constructor & Destructor Documentation


Member Function Documentation

ERS3Attachment _process ( EOEditingContext  editingContext,
File  uploadedFile,
String  recommendedFileName,
String  mimeType,
String  configurationName,
String  ownerID,
boolean  pendingDelete 
)

InputStream attachmentInputStream ( ERS3Attachment  attachment  )  throws IOException

void attachmentInserted ( ERS3Attachment  attachment  ) 

String attachmentUrl ( ERS3Attachment  attachment,
WORequest  request,
WOContext  context 
)

void deleteAttachment ( ERS3Attachment  attachment  )  throws MalformedURLException, IOException

boolean failed ( Response  response  )  throws IOException [protected]

void performUpload ( File  uploadedFile,
String  originalFileName,
String  bucket,
String  key,
String  mimeType,
ERS3Attachment  attachment 
) throws MalformedURLException, IOException


Member Data Documentation

final String S3_URL = "http://s3.amazonaws.com" [static]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:42 2012 for Project Wonder by  doxygen 1.5.8