
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 |
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.
| ERCNSnapshot | ( | NSNotification | notification | ) |
| 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 | ( | ) |
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] |
1.5.8