er.changenotification
Class ERCNSnapshot
java.lang.Object
er.changenotification.ERCNSnapshot
- All Implemented Interfaces:
- java.io.Serializable
public class ERCNSnapshot
- extends java.lang.Object
- implements java.io.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
Field Summary |
static java.lang.String |
DELETED
|
static java.lang.String |
INSERTED
|
static java.lang.String |
UPDATED
|
Constructor Summary |
ERCNSnapshot(com.webobjects.foundation.NSNotification notification)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
INSERTED
public static final java.lang.String INSERTED
- See Also:
- Constant Field Values
UPDATED
public static final java.lang.String UPDATED
- See Also:
- Constant Field Values
DELETED
public static final java.lang.String DELETED
- See Also:
- Constant Field Values
ERCNSnapshot
public ERCNSnapshot(com.webobjects.foundation.NSNotification notification)
shapshotsForInsertionGroupedByEntity
public com.webobjects.foundation.NSDictionary shapshotsForInsertionGroupedByEntity()
shapshotsForUpdateGroupedByEntity
public com.webobjects.foundation.NSDictionary shapshotsForUpdateGroupedByEntity()
globalIDsForDeletionGroupedByEntity
public com.webobjects.foundation.NSDictionary globalIDsForDeletionGroupedByEntity()
shouldPostChange
public boolean shouldPostChange()
shouldApplyChangeFor
public static boolean shouldApplyChangeFor(java.lang.String operation)
shouldSynchronizeEntity
public static boolean shouldSynchronizeEntity(java.lang.String entityName)
senderHost
public java.lang.String senderHost()
senderPort
public java.lang.Number senderPort()
senderAppName
public java.lang.String senderAppName()
snapshotsGroupedByEntity
public com.webobjects.foundation.NSDictionary snapshotsGroupedByEntity(com.webobjects.foundation.NSArray objects)
globalIDsGroupedByEntity
public com.webobjects.foundation.NSDictionary globalIDsGroupedByEntity(com.webobjects.foundation.NSArray objects)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2002 – 2007 Project Wonder.