er.changenotification
Class ERCNSnapshot
java.lang.Object
er.changenotification.ERCNSnapshot
- All Implemented Interfaces:
- Serializable
- public class ERCNSnapshot
- extends Object
- implements Serializable
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.
- See Also:
- Serialized Form
INSERTED
public static final String INSERTED
- See Also:
- Constant Field Values
UPDATED
public static final String UPDATED
- See Also:
- Constant Field Values
DELETED
public static final String DELETED
- See Also:
- Constant Field Values
ERCNSnapshot
public ERCNSnapshot(NSNotification notification)
shapshotsForInsertionGroupedByEntity
public NSDictionary shapshotsForInsertionGroupedByEntity()
shapshotsForUpdateGroupedByEntity
public NSDictionary shapshotsForUpdateGroupedByEntity()
globalIDsForDeletionGroupedByEntity
public NSDictionary globalIDsForDeletionGroupedByEntity()
shouldPostChange
public boolean shouldPostChange()
shouldApplyChangeFor
public static boolean shouldApplyChangeFor(String operation)
shouldSynchronizeEntity
public static boolean shouldSynchronizeEntity(String entityName)
senderHost
public String senderHost()
senderPort
public Number senderPort()
senderAppName
public String senderAppName()
snapshotsGroupedByEntity
public NSDictionary snapshotsGroupedByEntity(NSArray objects)
globalIDsGroupedByEntity
public NSDictionary globalIDsGroupedByEntity(NSArray objects)
toString
public String toString()
Copyright © 2002 – 2004 Project Wonder.