ERFileAttachment Class Reference

Inherits er::attachment::model::_ERFileAttachment.

Collaboration diagram for ERFileAttachment:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void awakeFromInsertion (EOEditingContext editingContext)
 ERFileAttachment ()

Static Public Attributes

static final String STORAGE_TYPE = "file"

Static Private Attributes

static Logger log = Logger.getLogger(ERFileAttachment.class)


Detailed Description

ERFileAttachment (type = "file") represents an attachment whose data is stored on the local filesystem. An ERFileAttachment can either be proxied or not. If the attachment is not proxied, then the backing file must be located in a folder that is reachable by your front-end webserver. If the file is proxied, then the data will be served via a custom request handler, and thus can be written anywhere on the filesystem.

Author:
mschrag

Constructor & Destructor Documentation


Member Function Documentation

void awakeFromInsertion ( EOEditingContext  editingContext  ) 

Checks the editing context delegate before calling super's implementation. See the method _checkEditingContextDelegate for an explanation as to what this check does.

Parameters:
editingContext to be checked to make sure it has the correct type of delegate set.

Reimplemented from ERXGenericRecord.


Member Data Documentation

Logger log = Logger.getLogger(ERFileAttachment.class) [static, private]

general logging support

Reimplemented from ERAttachment.

final String STORAGE_TYPE = "file" [static]

Reimplemented from _ERFileAttachment.


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