Uses of Interface
org.apache.cayenne.graph.GraphChangeHandler
Package
Description
Contains persistence APIs directly accessible by users.
Contains classes that make up Cayenne ORM stack.
Contains generic graph management tools used in Cayenne.
-
Uses of GraphChangeHandler in org.apache.cayenne
-
Uses of GraphChangeHandler in org.apache.cayenne.access
Modifier and TypeClassDescriptionclass
AnObjectStore
which doesn't receive notifications on parent'sDataRowStore
events.class
ObjectStore stores objects using their ObjectId as a key.Modifier and TypeMethodDescriptionvoid
ObjectDiff.apply
(GraphChangeHandler handler) void
ObjectStoreGraphDiff.apply
(GraphChangeHandler handler) void
ObjectDiff.undo
(GraphChangeHandler handler) void
ObjectStoreGraphDiff.undo
(GraphChangeHandler handler) -
Uses of GraphChangeHandler in org.apache.cayenne.graph
Modifier and TypeInterfaceDescriptioninterface
Represents a generic "managed" graph with nodes mapped by their ids.Modifier and TypeClassDescriptionclass
A GraphChangeHandler that loads child ObjectContext diffs into a parent ObjectContext.class
A base implementation of GraphManager that stores graph nodes keyed by their ids.Modifier and TypeMethodDescriptionvoid
ArcCreateOperation.apply
(GraphChangeHandler tracker) void
ArcDeleteOperation.apply
(GraphChangeHandler tracker) void
CompoundDiff.apply
(GraphChangeHandler tracker) Iterates over diffs list, calling "apply" on each individual diff.void
GraphDiff.apply
(GraphChangeHandler handler) Calls appropriate methods on the handler to "replay" this change.void
NodeCreateOperation.apply
(GraphChangeHandler tracker) void
NodeDeleteOperation.apply
(GraphChangeHandler tracker) abstract void
NodeDiff.apply
(GraphChangeHandler tracker) void
NodeIdChangeOperation.apply
(GraphChangeHandler tracker) void
NodePropertyChangeOperation.apply
(GraphChangeHandler tracker) void
ArcCreateOperation.undo
(GraphChangeHandler tracker) void
ArcDeleteOperation.undo
(GraphChangeHandler tracker) void
CompoundDiff.undo
(GraphChangeHandler tracker) Iterates over diffs list in reverse order, calling "apply" on each individual diff.void
GraphDiff.undo
(GraphChangeHandler handler) Calls appropriate methods on the handler to revert this change.void
NodeCreateOperation.undo
(GraphChangeHandler tracker) void
NodeDeleteOperation.undo
(GraphChangeHandler tracker) abstract void
NodeDiff.undo
(GraphChangeHandler tracker) void
NodeIdChangeOperation.undo
(GraphChangeHandler tracker) void
NodePropertyChangeOperation.undo
(GraphChangeHandler tracker)