ERCNSnapshot Class Reference

Inherits java::io::Serializable.

Collaboration diagram for ERCNSnapshot:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ERCNSnapshot (NSNotification notification)
NSDictionary globalIDsForDeletionGroupedByEntity ()
NSDictionary globalIDsGroupedByEntity (NSArray objects)
String senderAppName ()
String senderHost ()
Number senderPort ()
NSDictionary shapshotsForInsertionGroupedByEntity ()
NSDictionary shapshotsForUpdateGroupedByEntity ()
boolean shouldPostChange ()
NSDictionary snapshotsGroupedByEntity (NSArray objects)
String toString ()

Static Public Member Functions

static boolean shouldApplyChangeFor (String operation)
static boolean shouldSynchronizeEntity (String entityName)

Static Public Attributes

static final String DELETED = "deleted"
static final String INSERTED = "inserted"
static final String UPDATED = "updated"

Private Member Functions

String _summaryForChangeType (NSDictionary objectsGroupedByEntity)

Private Attributes

transient int _entryCount = 0
final NSDictionary _globalIDsForDeletionGroupedByEntity
final String _senderAppName
final String _senderHost
final Number _senderPort
final NSDictionary _shapshotsForInsertionGroupedByEntity
final NSDictionary _shapshotsForUpdateGroupedByEntity
transient String _toString


Detailed Description

ERCNSnapshot encapsulates changes in enterprise objects for single saveChanges operation. It implements java.io.Serializable interface so that it can be transmitted between application instances as a JMS object message.

Its constructor is called by ERCNPublisher object. It processes the change notification posted by the default EOObjectStoreCoordinator and populate the dictionaries with the snapshots of updated enterprise objects.


Constructor & Destructor Documentation

ERCNSnapshot ( NSNotification  notification  ) 


Member Function Documentation

String _summaryForChangeType ( NSDictionary  objectsGroupedByEntity  )  [private]

NSDictionary globalIDsForDeletionGroupedByEntity (  ) 

NSDictionary globalIDsGroupedByEntity ( NSArray  objects  ) 

String senderAppName (  ) 

String senderHost (  ) 

Number senderPort (  ) 

NSDictionary shapshotsForInsertionGroupedByEntity (  ) 

NSDictionary shapshotsForUpdateGroupedByEntity (  ) 

static boolean shouldApplyChangeFor ( String  operation  )  [static]

boolean shouldPostChange (  ) 

static boolean shouldSynchronizeEntity ( String  entityName  )  [static]

NSDictionary snapshotsGroupedByEntity ( NSArray  objects  ) 

String toString (  ) 


Member Data Documentation

transient int _entryCount = 0 [private]

final NSDictionary _globalIDsForDeletionGroupedByEntity [private]

final String _senderAppName [private]

final String _senderHost [private]

final Number _senderPort [private]

final NSDictionary _shapshotsForInsertionGroupedByEntity [private]

final NSDictionary _shapshotsForUpdateGroupedByEntity [private]

transient String _toString [private]

final String DELETED = "deleted" [static]

final String INSERTED = "inserted" [static]

final String UPDATED = "updated" [static]


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

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