ERIFile Class Reference

Inherits er::indexing::storage::_ERIFile.

Collaboration diagram for ERIFile:

Collaboration graph
[legend]

List of all members.

Classes

class  EOFIndexInput
class  EOFIndexOutput
class  ERIFileClazz
interface  Key

Public Member Functions

IndexOutput createOutput ()
void didDelete (EOEditingContext ec)
void didInsert ()
void didUpdate ()
void init (EOEditingContext ec)
IndexInput openInput ()
long timestamp ()
void touch ()

Static Public Attributes

static final ERIFileClazz clazz = new ERIFileClazz()

Private Member Functions

NSData contentData ()
void setContentData (NSData data)

Static Private Attributes

static final
org.apache.log4j.Logger 
log = org.apache.log4j.Logger.getLogger(ERIFile.class)


Member Function Documentation

NSData contentData (  )  [private]

IndexOutput createOutput (  ) 

void didDelete ( EOEditingContext  ec  )  [virtual]

Called on the object after is has been deleted. The editing context is passed to the object since by this point the editingContext of the object is null. You should check if the ec is a child context when doing something here that can't be undone.

Parameters:
ec editing context that used to be associated with the object.

Reimplemented from ERXGenericRecord.

void didInsert (  )  [virtual]

Called on the object after is has successfully been inserted into the database.

Reimplemented from ERXGenericRecord.

void didUpdate (  )  [virtual]

Called on the object after is has successfully been updated in the database.

Reimplemented from ERXGenericRecord.

void init ( EOEditingContext  ec  ) 

used for initialization stuff instead of awakeFromInsertion. awakeFromInsertions is buggy because if an EO is deleted and then its EOEditingContext is reverted using 'revert' for example then EOF will -insert- this EO again in its EOEditingContext which in turn calls awakeFromInsertion again.

Parameters:
ec the EOEditingContext in which this new EO is inserted

Reimplemented from ERXGenericRecord.

IndexInput openInput (  ) 

void setContentData ( NSData  data  )  [private]

long timestamp (  ) 

void touch (  ) 


Member Data Documentation

final ERIFileClazz clazz = new ERIFileClazz() [static]

final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(ERIFile.class) [static, private]

general logging support

Implements ERXEnterpriseObject.


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

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