# Uses of Interface
org.apache.cayenne.graph.GraphDiff

Packages that use GraphDiff
Package
Description
org.apache.cayenne
Contains persistence APIs directly accessible by users.
org.apache.cayenne.access
Contains classes that make up Cayenne ORM stack.
org.apache.cayenne.access.flush
org.apache.cayenne.commitlog
org.apache.cayenne.graph
Contains generic graph management tools used in Cayenne.
org.apache.cayenne.tx

- ## Uses of GraphDiff in org.apache.cayenne

  Methods in org.apache.cayenne that return GraphDiff
  Modifier and Type
  Method
  Description
  `GraphDiff`
  DataChannel.`onSync(ObjectContext originatingContext, GraphDiff changes, int syncType)`
  Processes synchronization request from a child ObjectContext, returning a GraphDiff that describes changes to objects made on the receiving end as a result of synchronization.
  `GraphDiff`
  DataChannelSyncFilter.`onSync(ObjectContext originatingContext, GraphDiff changes, int syncType, DataChannelSyncFilterChain filterChain)`
  `GraphDiff`
  DataChannelSyncFilterChain.`onSync(ObjectContext originatingContext, GraphDiff changes, int syncType)`
  Methods in org.apache.cayenne with parameters of type GraphDiff
  Modifier and Type
  Method
  Description
  `static DataChannelSyncCallbackAction`
  DataChannelSyncCallbackAction.`getCallbackAction(LifecycleCallbackRegistry callbackRegistry, GraphManager graphManager, GraphDiff changes, int syncType)`
  `GraphDiff`
  DataChannel.`onSync(ObjectContext originatingContext, GraphDiff changes, int syncType)`
  Processes synchronization request from a child ObjectContext, returning a GraphDiff that describes changes to objects made on the receiving end as a result of synchronization.
  `GraphDiff`
  DataChannelSyncFilter.`onSync(ObjectContext originatingContext, GraphDiff changes, int syncType, DataChannelSyncFilterChain filterChain)`
  `GraphDiff`
  DataChannelSyncFilterChain.`onSync(ObjectContext originatingContext, GraphDiff changes, int syncType)`

- ## Uses of GraphDiff in org.apache.cayenne.access

  Classes in org.apache.cayenne.access that implement GraphDiff
  Modifier and Type
  Class
  Description
  `class`
  `ObjectDiff`
  A dynamic GraphDiff that represents a delta between object simple properties at diff creation time and its current state.
  `class`
  `ObjectStoreGraphDiff`
  A GraphDiff facade for the ObjectStore changes.
  Methods in org.apache.cayenne.access that return GraphDiff
  Modifier and Type
  Method
  Description
  `protected GraphDiff`
  DataContext.`onContextFlush(ObjectContext originatingContext, GraphDiff changes, boolean cascade)`
  `GraphDiff`
  DataContext.`onSync(ObjectContext originatingContext, GraphDiff changes, int syncType)`
  `GraphDiff`
  DataDomain.`onSync(ObjectContext originatingContext, GraphDiff changes, int syncType)`
  Only handles commit-type synchronization, ignoring any other type.
  Methods in org.apache.cayenne.access with parameters of type GraphDiff
  Modifier and Type
  Method
  Description
  `protected void`
  DataContext.`fireDataChannelChanged(Object postedBy, GraphDiff changes)`
  `protected void`
  DataContext.`fireDataChannelCommitted(Object postedBy, GraphDiff changes)`
  `protected void`
  DataContext.`fireDataChannelRolledback(Object postedBy, GraphDiff changes)`
  `protected GraphDiff`
  DataContext.`onContextFlush(ObjectContext originatingContext, GraphDiff changes, boolean cascade)`
  `GraphDiff`
  DataContext.`onSync(ObjectContext originatingContext, GraphDiff changes, int syncType)`
  `GraphDiff`
  DataDomain.`onSync(ObjectContext originatingContext, GraphDiff changes, int syncType)`
  Only handles commit-type synchronization, ignoring any other type.
  `void`
  ObjectStore.`postprocessAfterCommit(GraphDiff parentChanges)`
  Internal unsynchronized method to process objects state after commit.

- ## Uses of GraphDiff in org.apache.cayenne.access.flush

  Methods in org.apache.cayenne.access.flush that return GraphDiff
  Modifier and Type
  Method
  Description
  `GraphDiff`
  DataDomainFlushAction.`flush(DataContext context, GraphDiff changes)`
  `GraphDiff`
  DefaultDataDomainFlushAction.`flush(DataContext context, GraphDiff changes)`
  Methods in org.apache.cayenne.access.flush with parameters of type GraphDiff
  Modifier and Type
  Method
  Description
  `GraphDiff`
  DataDomainFlushAction.`flush(DataContext context, GraphDiff changes)`
  `GraphDiff`
  DefaultDataDomainFlushAction.`flush(DataContext context, GraphDiff changes)`

- ## Uses of GraphDiff in org.apache.cayenne.commitlog

  Methods in org.apache.cayenne.commitlog that return GraphDiff
  Modifier and Type
  Method
  Description
  `GraphDiff`
  CommitLogFilter.`onSync(ObjectContext originatingContext, GraphDiff beforeDiff, int syncType, DataChannelSyncFilterChain filterChain)`
  Methods in org.apache.cayenne.commitlog with parameters of type GraphDiff
  Modifier and Type
  Method
  Description
  `GraphDiff`
  CommitLogFilter.`onSync(ObjectContext originatingContext, GraphDiff beforeDiff, int syncType, DataChannelSyncFilterChain filterChain)`

- ## Uses of GraphDiff in org.apache.cayenne.graph

  Classes in org.apache.cayenne.graph that implement GraphDiff
  Modifier and Type
  Class
  Description
  `class`
  `ArcCreateOperation`
  `class`
  `ArcDeleteOperation`
  `class`
  `CompoundDiff`
  A GraphDiff that is a list of other GraphDiffs.
  `class`
  `NodeCreateOperation`
  `class`
  `NodeDeleteOperation`
  `class`
  `NodeDiff`
  An abstract superclass of operations on individual nodes and arcs in a digraph.
  `class`
  `NodeIdChangeOperation`
  A GraphDiff representing a change in node ID.
  `class`
  `NodePropertyChangeOperation`
  Fields in org.apache.cayenne.graph declared as GraphDiff
  Modifier and Type
  Field
  Description
  `protected GraphDiff`
  GraphEvent.`diff`
  Fields in org.apache.cayenne.graph with type parameters of type GraphDiff
  Modifier and Type
  Field
  Description
  `protected List<GraphDiff>`
  CompoundDiff.`diffs`
  Methods in org.apache.cayenne.graph that return GraphDiff
  Modifier and Type
  Method
  Description
  `GraphDiff`
  GraphDiffCompressor.`compress(GraphDiff diff)`
  `GraphDiff`
  GraphEvent.`getDiff()`
  Methods in org.apache.cayenne.graph that return types with arguments of type GraphDiff
  Modifier and Type
  Method
  Description
  `List<GraphDiff>`
  CompoundDiff.`getDiffs()`
  Methods in org.apache.cayenne.graph with parameters of type GraphDiff
  Modifier and Type
  Method
  Description
  `void`
  CompoundDiff.`add(GraphDiff diff)`
  `GraphDiff`
  GraphDiffCompressor.`compress(GraphDiff diff)`
  Method parameters in org.apache.cayenne.graph with type arguments of type GraphDiff
  Modifier and Type
  Method
  Description
  `void`
  CompoundDiff.`addAll(Collection<? extends GraphDiff> diffs)`
  Constructors in org.apache.cayenne.graph with parameters of type GraphDiff
  Modifier
  Constructor
  Description
  ``
  `GraphEvent(Object source, Object postedBy, GraphDiff diff)`
  ``
  `GraphEvent(Object source, GraphDiff diff)`
  Constructor parameters in org.apache.cayenne.graph with type arguments of type GraphDiff
  Modifier
  Constructor
  Description
  ``
  `CompoundDiff(List<GraphDiff> diffs)`
  Creates CompoundDiff instance.

- ## Uses of GraphDiff in org.apache.cayenne.tx

  Methods in org.apache.cayenne.tx that return GraphDiff
  Modifier and Type
  Method
  Description
  `GraphDiff`
  TransactionFilter.`onSync(ObjectContext originatingContext, GraphDiff changes, int syncType, DataChannelSyncFilterChain filterChain)`
  Methods in org.apache.cayenne.tx with parameters of type GraphDiff
  Modifier and Type
  Method
  Description
  `GraphDiff`
  TransactionFilter.`onSync(ObjectContext originatingContext, GraphDiff changes, int syncType, DataChannelSyncFilterChain filterChain)`