Package org.apache.cayenne.access
Class ObjectStoreGraphDiff
java.lang.Object
org.apache.cayenne.access.ObjectStoreGraphDiff
- All Implemented Interfaces:
Serializable
,GraphDiff
A GraphDiff facade for the ObjectStore changes. Provides a way for the lower
layers of the access stack to speed up processing of presorted ObjectStore
diffs.
- Since:
- 1.2
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(GraphChangeHandler handler) Calls appropriate methods on the handler to "replay" this change.boolean
isNoop()
Returns true if this diff is simply a placeholder and does not perform any actual operation.void
undo
(GraphChangeHandler handler) Calls appropriate methods on the handler to revert this change.
-
Method Details
-
getChangesByObjectId
-
isNoop
public boolean isNoop()Description copied from interface:GraphDiff
Returns true if this diff is simply a placeholder and does not perform any actual operation. -
apply
Description copied from interface:GraphDiff
Calls appropriate methods on the handler to "replay" this change. -
undo
Description copied from interface:GraphDiff
Calls appropriate methods on the handler to revert this change.
-