Package | Description |
---|---|
er.attachment.processors | |
er.attachment.upload |
Modifier and Type | Class and Description |
---|---|
class |
ERCloudFilesAttachmentProcessor
ERCloudFilesAttachmentProcessor implements storing attachments in RackSpace's CloudFiles
service.
|
class |
ERDatabaseAttachmentProcessor
ERDatabaseAttachmentProcessor implements storing attachment data as an attribute of an EO.
|
class |
ERFileAttachmentProcessor
ERFileAttachmentProcessor implements storing attachments as files on the system that are either served
via a proxy request handler or directly by the webserver.
|
class |
ERS3AttachmentProcessor
ERS3AttachmentProcessor implements storing attachments in Amazon's S3
service.
|
Modifier and Type | Method and Description |
---|---|
static <P extends ERAttachmentProcessor<T>,T extends ERAttachment> |
ERAttachmentProcessor.processorForConfigurationName(String configurationName)
Returns the processor that corresponds to the given configuration name ("s3", "db", "file", etc).
|
static <P extends ERAttachmentProcessor<T>,T extends ERAttachment> |
ERAttachmentProcessor.processorForType(String storageType)
Returns the processor that corresponds to the given storage type ("s3", "db", "file", etc).
|
static <P extends ERAttachmentProcessor<T>,T extends ERAttachment> |
ERAttachmentProcessor.processorForType(T attachment)
Returns the processor that corresponds to the given attachment.
|
Modifier and Type | Method and Description |
---|---|
static NSMutableDictionary<String,ERAttachmentProcessor<?>> |
ERAttachmentProcessor.processors()
Returns all of the processors mapped by storageType.
|
Modifier and Type | Method and Description |
---|---|
static void |
ERAttachmentProcessor.addAttachmentProcessorForType(ERAttachmentProcessor<?> processor,
String storageType)
Adds a new attachment processor for the given storage type.
|
void |
IERAttachmentProcessorDelegate.attachmentAvailable(ERAttachmentProcessor<?> processor,
ERAttachment attachment)
Called when an attachment is made available.
|
void |
IERAttachmentProcessorDelegate.attachmentCreated(ERAttachmentProcessor<?> processor,
ERAttachment attachment)
Called when an attachment is created (if you want to sneak in and modify the instance).
|
void |
IERAttachmentProcessorDelegate.attachmentNotAvailable(ERAttachmentProcessor<?> processor,
ERAttachment attachment,
String failureReason)
Called when an attachment is determined to be unavailable.
|
Constructor and Description |
---|
ERCloudFilesUploadQueue(String name,
ERAttachmentProcessor<ERCloudFilesAttachment> processor) |
ERS3UploadQueue(String name,
ERAttachmentProcessor<ERS3Attachment> processor) |
Modifier and Type | Field and Description |
---|---|
protected ERAttachmentProcessor<T> |
ERAttachmentUploadQueue._processor |
Constructor and Description |
---|
ERAttachmentUploadQueue(String name,
ERAttachmentProcessor<T> processor) |
Copyright © 2002 – 2024 Project Wonder.