public class ERCNSnapshot extends Object implements Serializable
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.
Modifier and Type | Field and Description |
---|---|
static String |
DELETED |
static String |
INSERTED |
static String |
UPDATED |
Constructor and Description |
---|
ERCNSnapshot(NSNotification notification) |
Modifier and Type | Method and Description |
---|---|
NSDictionary |
globalIDsForDeletionGroupedByEntity() |
NSDictionary |
globalIDsGroupedByEntity(NSArray objects) |
String |
senderAppName() |
String |
senderHost() |
Number |
senderPort() |
NSDictionary |
shapshotsForInsertionGroupedByEntity() |
NSDictionary |
shapshotsForUpdateGroupedByEntity() |
static boolean |
shouldApplyChangeFor(String operation) |
boolean |
shouldPostChange() |
static boolean |
shouldSynchronizeEntity(String entityName) |
NSDictionary |
snapshotsGroupedByEntity(NSArray objects) |
String |
toString() |
public static final String INSERTED
public static final String UPDATED
public static final String DELETED
public ERCNSnapshot(NSNotification notification)
public NSDictionary shapshotsForInsertionGroupedByEntity()
public NSDictionary shapshotsForUpdateGroupedByEntity()
public NSDictionary globalIDsForDeletionGroupedByEntity()
public boolean shouldPostChange()
public static boolean shouldApplyChangeFor(String operation)
public static boolean shouldSynchronizeEntity(String entityName)
public String senderHost()
public Number senderPort()
public String senderAppName()
public NSDictionary snapshotsGroupedByEntity(NSArray objects)
public NSDictionary globalIDsGroupedByEntity(NSArray objects)
Copyright © 2002 – 2024 Project Wonder.