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