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 SummaryFieldsModifier and TypeFieldDescriptionprotected Collection<ObjectId>protected Collection<ObjectId>protected Collection<ObjectId>protected longFields inherited from class org.apache.cayenne.event.CayenneEventinfo, postedBy, subjectFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionSnapshotEvent(Object source, Object postedBy, Map<ObjectId, DataRow> modifiedDiffs, Collection<ObjectId> deletedIds, Collection<ObjectId> invalidatedIds, Collection<ObjectId> indirectlyModifiedIds) 
- 
Method SummaryMethods inherited from class org.apache.cayenne.event.CayenneEventgetInfo, getPostedBy, getSubject, setPostedBy, setSubjectMethods inherited from class java.util.EventObjectgetSource
- 
Field Details- 
timestampprotected long timestamp
- 
deletedIds
- 
invalidatedIds
- 
modifiedDiffs
- 
indirectlyModifiedIds
 
- 
- 
Constructor Details- 
SnapshotEventpublic SnapshotEvent(Object source, Object postedBy, Map<ObjectId, DataRow> modifiedDiffs, Collection<ObjectId> deletedIds, Collection<ObjectId> invalidatedIds, Collection<ObjectId> indirectlyModifiedIds) 
 
- 
- 
Method Details- 
getTimestamppublic long getTimestamp()
- 
getModifiedDiffs
- 
getDeletedIds
- 
getInvalidatedIds
- 
getIndirectlyModifiedIds
- 
toString- Overrides:
- toStringin class- EventObject
 
 
-