public class SnapshotEvent extends CayenneEvent
| Modifier and Type | Field and Description |
|---|---|
protected Collection<ObjectId> |
deletedIds |
protected Collection<ObjectId> |
indirectlyModifiedIds |
protected Collection<ObjectId> |
invalidatedIds |
protected Map<ObjectId,DataRow> |
modifiedDiffs |
protected long |
timestamp |
info, postedBy, subjectsource| Constructor and Description |
|---|
SnapshotEvent(Object source,
Object postedBy,
Map<ObjectId,DataRow> modifiedDiffs,
Collection<ObjectId> deletedIds,
Collection<ObjectId> invalidatedIds,
Collection<ObjectId> indirectlyModifiedIds) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ObjectId> |
getDeletedIds() |
Collection<ObjectId> |
getIndirectlyModifiedIds() |
Collection<ObjectId> |
getInvalidatedIds() |
Map<ObjectId,DataRow> |
getModifiedDiffs() |
long |
getTimestamp() |
String |
toString() |
getInfo, getPostedBy, getSubject, setPostedBy, setSubjectgetSourceprotected long timestamp
protected Collection<ObjectId> deletedIds
protected Collection<ObjectId> invalidatedIds
protected Collection<ObjectId> indirectlyModifiedIds
public SnapshotEvent(Object source, Object postedBy, Map<ObjectId,DataRow> modifiedDiffs, Collection<ObjectId> deletedIds, Collection<ObjectId> invalidatedIds, Collection<ObjectId> indirectlyModifiedIds)
public long getTimestamp()
public Collection<ObjectId> getDeletedIds()
public Collection<ObjectId> getInvalidatedIds()
public Collection<ObjectId> getIndirectlyModifiedIds()
public String toString()
toString in class EventObjectCopyright © 2001–2023 Apache Cayenne. All rights reserved.