Package org.apache.cayenne.access.event
Class SnapshotEvent
java.lang.Object
java.util.EventObject
org.apache.cayenne.event.CayenneEvent
org.apache.cayenne.access.event.SnapshotEvent
- All Implemented Interfaces:
Serializable
Event sent on modification of the DataRowStore.
- Since:
- 1.1
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected Collection
<ObjectId> protected Collection
<ObjectId> protected Collection
<ObjectId> protected long
Fields inherited from class org.apache.cayenne.event.CayenneEvent
info, postedBy, subject
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionSnapshotEvent
(Object source, Object postedBy, Map<ObjectId, DataRow> modifiedDiffs, Collection<ObjectId> deletedIds, Collection<ObjectId> invalidatedIds, Collection<ObjectId> indirectlyModifiedIds) -
Method Summary
Methods inherited from class org.apache.cayenne.event.CayenneEvent
getInfo, getPostedBy, getSubject, setPostedBy, setSubject
Methods inherited from class java.util.EventObject
getSource
-
Field Details
-
timestamp
protected long timestamp -
deletedIds
-
invalidatedIds
-
modifiedDiffs
-
indirectlyModifiedIds
-
-
Constructor Details
-
SnapshotEvent
public SnapshotEvent(Object source, Object postedBy, Map<ObjectId, DataRow> modifiedDiffs, Collection<ObjectId> deletedIds, Collection<ObjectId> invalidatedIds, Collection<ObjectId> indirectlyModifiedIds)
-
-
Method Details
-
getTimestamp
public long getTimestamp() -
getModifiedDiffs
-
getDeletedIds
-
getInvalidatedIds
-
getIndirectlyModifiedIds
-
toString
- Overrides:
toString
in classEventObject
-