Package | Description |
---|---|
er.attachment | |
er.attachment.components | |
er.attachment.components.viewers | |
er.attachment.model | |
er.attachment.processors | |
er.attachment.upload | |
er.bugtracker |
Modifier and Type | Method and Description |
---|---|
static ERAttachment |
ERAttachmentRequestHandler.fetchAttachmentFor(EOEditingContext editingContext,
Integer attachmentPrimaryKey,
String requestedWebPath) |
Modifier and Type | Method and Description |
---|---|
boolean |
ERAttachmentRequestHandler.Delegate.attachmentVisible(ERAttachment attachment,
WORequest request,
WOContext context)
Called prior to displaying a proxied attachment to a user and can be used to implement
security on top of attachments.
|
static boolean |
ERAttachmentRequestHandler.requestedWebPathIsForAttachment(String requestedWebPath,
ERAttachment attachment)
Takes into account potential URL encoding differences between the
requestedWebPath and the
attachment 's webPath() attribute. |
Modifier and Type | Method and Description |
---|---|
ERAttachment |
ERAttachmentUpload._uploadSucceeded() |
ERAttachment |
ERAttachmentIcon.attachment() |
ERAttachment |
ERAttachmentFlexibleEditor.newAttachment() |
ERAttachment |
ERAttachmentFlexibleEditor.viewerAttachment()
The masterObject's attachment
|
Modifier and Type | Method and Description |
---|---|
static String |
ERAttachmentIcon.iconPath(ERAttachment attachment,
Object size) |
void |
ERAttachmentFlexibleEditor.setNewAttachment(ERAttachment a) |
Modifier and Type | Method and Description |
---|---|
ERAttachment |
AbstractERAttachmentViewer.attachment() |
Modifier and Type | Class and Description |
---|---|
class |
_ERCloudFilesAttachment |
class |
_ERDatabaseAttachment |
class |
_ERFileAttachment |
class |
_ERS3Attachment |
class |
ERCloudFilesAttachment
ERS3Attachment (type = "cf") represents an attachment whose content is stored on RackSpace's CloudFiles service and will be served directly from CloudFiles.
|
class |
ERDatabaseAttachment
ERDatabaseAttachment (type "db") represents an attachment whose data
is stored in the database in an ERAttachmentData class.
|
class |
ERFileAttachment
ERFileAttachment (type = "file") represents an attachment whose
data is stored on the local filesystem.
|
class |
ERS3Attachment
ERS3Attachment (type = "s3") represents an attachment whose content is stored on Amazon's S3 service and will be served directly from S3.
|
Modifier and Type | Field and Description |
---|---|
static ERXKey<ERAttachment> |
_ERS3Attachment.CHILDREN_ATTACHMENTS |
static ERXKey<ERAttachment> |
_ERFileAttachment.CHILDREN_ATTACHMENTS |
static ERXKey<ERAttachment> |
_ERDatabaseAttachment.CHILDREN_ATTACHMENTS |
static ERXKey<ERAttachment> |
_ERCloudFilesAttachment.CHILDREN_ATTACHMENTS |
static ERXKey<ERAttachment> |
_ERAttachment.CHILDREN_ATTACHMENTS |
static ERXKey<ERAttachment> |
_ERS3Attachment.PARENT_ATTACHMENT |
static ERXKey<ERAttachment> |
_ERFileAttachment.PARENT_ATTACHMENT |
static ERXKey<ERAttachment> |
_ERDatabaseAttachment.PARENT_ATTACHMENT |
static ERXKey<ERAttachment> |
_ERCloudFilesAttachment.PARENT_ATTACHMENT |
static ERXKey<ERAttachment> |
_ERAttachment.PARENT_ATTACHMENT |
Modifier and Type | Method and Description |
---|---|
ERAttachment |
_ERAttachment.createChildrenAttachmentsRelationship() |
static ERAttachment |
_ERAttachment.createERAttachment(EOEditingContext editingContext,
Boolean available,
NSTimestamp creationDate,
String mimeType,
String originalFileName,
Boolean proxied,
Integer size,
String webPath) |
static ERAttachment |
_ERAttachment.fetchERAttachment(EOEditingContext editingContext,
EOQualifier qualifier) |
static ERAttachment |
_ERAttachment.fetchERAttachment(EOEditingContext editingContext,
String keyName,
Object value) |
static ERAttachment |
ERAttachment.fetchRequiredAttachmentWithWebPath(EOEditingContext editingContext,
String webPath)
Fetches the required attachment associated with the given web path.
|
static ERAttachment |
_ERAttachment.fetchRequiredERAttachment(EOEditingContext editingContext,
EOQualifier qualifier) |
static ERAttachment |
_ERAttachment.fetchRequiredERAttachment(EOEditingContext editingContext,
String keyName,
Object value) |
ERAttachment |
_ERAttachment.localInstanceIn(EOEditingContext editingContext) |
static ERAttachment |
_ERAttachment.localInstanceIn(EOEditingContext editingContext,
ERAttachment eo) |
ERAttachment |
_ERAttachment.parentAttachment() |
Modifier and Type | Method and Description |
---|---|
NSArray<ERAttachment> |
_ERAttachment.childrenAttachments() |
NSArray<ERAttachment> |
_ERAttachment.childrenAttachments(EOQualifier qualifier) |
NSArray<ERAttachment> |
_ERAttachment.childrenAttachments(EOQualifier qualifier,
boolean fetch) |
NSArray<ERAttachment> |
_ERAttachment.childrenAttachments(EOQualifier qualifier,
NSArray<EOSortOrdering> sortOrderings,
boolean fetch) |
static NSArray<ERAttachment> |
_ERAttachment.fetchAllERAttachments(EOEditingContext editingContext) |
static NSArray<ERAttachment> |
_ERAttachment.fetchAllERAttachments(EOEditingContext editingContext,
NSArray<EOSortOrdering> sortOrderings) |
static NSArray<ERAttachment> |
_ERAttachment.fetchERAttachments(EOEditingContext editingContext,
EOQualifier qualifier,
NSArray<EOSortOrdering> sortOrderings) |
static ERXFetchSpecification<ERAttachment> |
_ERAttachment.fetchSpec() |
Modifier and Type | Method and Description |
---|---|
void |
_ERAttachment.addToChildrenAttachments(ERAttachment object) |
void |
_ERAttachment.addToChildrenAttachmentsRelationship(ERAttachment object) |
void |
_ERAttachment.deleteChildrenAttachmentsRelationship(ERAttachment object) |
static ERAttachment |
_ERAttachment.localInstanceIn(EOEditingContext editingContext,
ERAttachment eo) |
void |
_ERAttachment.removeFromChildrenAttachments(ERAttachment object) |
void |
_ERAttachment.removeFromChildrenAttachmentsRelationship(ERAttachment object) |
void |
_ERAttachment.setParentAttachment(ERAttachment value) |
void |
_ERAttachment.setParentAttachmentRelationship(ERAttachment value) |
Modifier and Type | Class and Description |
---|---|
class |
ERAttachmentProcessor<T extends ERAttachment>
ERAttachmentProcessors provide the implementation of the communication with the
attachment storage method, including import, URL generation, and stream
generation.
|
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 |
---|---|
protected static String |
ERAttachmentProcessor._parsePathTemplate(ERAttachment attachment,
String templatePath,
String recommendedFileName)
Parses a path template with ${ext}, ${fileName}, ${hash}, ${uuid}, and ${pk} variables in it.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
ERAttachmentQueueEntry<T extends ERAttachment & ERRemoteAttachment>
The
ERAttachmentQueueEntry is a wrapper that keeps a reference
to the ERAttachment and the file being enqueued for uploading. |
class |
ERAttachmentUploadQueue<T extends ERAttachment & ERRemoteAttachment>
The
ERAttachmentUploadQueue is a queue to upload attachments. |
Modifier and Type | Method and Description |
---|---|
NSArray<ERAttachment> |
_Comment.attachments() |
Modifier and Type | Method and Description |
---|---|
void |
_Comment.addToAttachments(ERAttachment object) |
void |
_Comment.removeFromAttachments(ERAttachment object) |
Copyright © 2002 – 2024 Project Wonder.