## 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.graph | Contains generic graph management tools used in Cayenne.
  org.apache.cayenne.remote | Contains classes an interfaces related to Cayenne remote object persistence features.

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

    Methods in org.apache.cayenne that return GraphDiff
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract GraphDiff` | BaseContext.`onContextFlush(ObjectContext originatingContext, GraphDiff changes, boolean cascade)`
    `protected GraphDiff` | CayenneContext.`onContextFlush(ObjectContext originatingContext, GraphDiff changes, boolean cascade)`
    `GraphDiff` | BaseContext.`onSync(ObjectContext originatingContext, 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` | DataChannelFilterChain.`onSync(ObjectContext originatingContext, GraphDiff changes, int syncType)`
    `GraphDiff` | DataChannelSyncFilterChain.`onSync(ObjectContext originatingContext, GraphDiff changes, int syncType)`
    `GraphDiff` | DataChannelFilter.`onSync(ObjectContext originatingContext, GraphDiff changes, int syncType, DataChannelFilterChain filterChain)`

    Methods in org.apache.cayenne with parameters of type GraphDiff
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | BaseContext.`fireDataChannelChanged(Object postedBy, GraphDiff changes)`
    `protected void` | BaseContext.`fireDataChannelCommitted(Object postedBy, GraphDiff changes)`
    `protected void` | BaseContext.`fireDataChannelRolledback(Object postedBy, GraphDiff changes)`
    `static DataChannelSyncCallbackAction` | DataChannelSyncCallbackAction.`getCallbackAction(LifecycleCallbackRegistry callbackRegistry, GraphManager graphManager, GraphDiff changes, int syncType)`
    `protected abstract GraphDiff` | BaseContext.`onContextFlush(ObjectContext originatingContext, GraphDiff changes, boolean cascade)`
    `protected GraphDiff` | CayenneContext.`onContextFlush(ObjectContext originatingContext, GraphDiff changes, boolean cascade)`
    `GraphDiff` | BaseContext.`onSync(ObjectContext originatingContext, 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` | DataChannelFilterChain.`onSync(ObjectContext originatingContext, GraphDiff changes, int syncType)`
    `GraphDiff` | DataChannelSyncFilterChain.`onSync(ObjectContext originatingContext, GraphDiff changes, int syncType)`
    `GraphDiff` | DataChannelFilter.`onSync(ObjectContext originatingContext, GraphDiff changes, int syncType, DataChannelFilterChain filterChain)`

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

    Methods in org.apache.cayenne.access that return GraphDiff
    Modifier and Type | Method and Description
    --- | ---
    `protected GraphDiff` | DataContext.`onContextFlush(ObjectContext originatingContext, GraphDiff changes, boolean cascade)`
    `GraphDiff` | ClientServerChannel.`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 and Description
    --- | ---
    `protected void` | DataContext.`fireDataChannelChanged(Object postedBy, GraphDiff changes)`
    `protected GraphDiff` | DataContext.`onContextFlush(ObjectContext originatingContext, GraphDiff changes, boolean cascade)`
    `GraphDiff` | ClientServerChannel.`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.

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

    Classes in org.apache.cayenne.graph that implement GraphDiff
    Modifier and Type | Class and 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 and Description
    --- | ---
    `protected GraphDiff` | GraphEvent.`diff`

    Fields in org.apache.cayenne.graph with type parameters of type GraphDiff
    Modifier and Type | Field and Description
    --- | ---
    `protected List<GraphDiff>` | CompoundDiff.`diffs`

    Methods in org.apache.cayenne.graph that return GraphDiff
    Modifier and Type | Method and 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 and Description
    --- | ---
    `List<GraphDiff>` | CompoundDiff.`getDiffs()`

    Methods in org.apache.cayenne.graph with parameters of type GraphDiff
    Modifier and Type | Method and 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 and Description
    --- | ---
    `void` | CompoundDiff.`addAll(Collection<GraphDiff> diffs)`

    Constructors in org.apache.cayenne.graph with parameters of type GraphDiff
    Constructor and Description
    `GraphEvent(Object source, GraphDiff diff)`
    `GraphEvent(Object source, Object postedBy, GraphDiff diff)`

    Constructor parameters in org.apache.cayenne.graph with type arguments of type GraphDiff
    Constructor and Description
    `CompoundDiff(List<GraphDiff> diffs)` Creates CompoundDiff instance.

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

    Fields in org.apache.cayenne.remote declared as GraphDiff
    Modifier and Type | Field and Description
    --- | ---
    `protected GraphDiff` | SyncMessage.`senderChanges`

    Methods in org.apache.cayenne.remote that return GraphDiff
    Modifier and Type | Method and Description
    --- | ---
    `GraphDiff` | SyncMessage.`getSenderChanges()`
    `GraphDiff` | ClientChannel.`onSync(ObjectContext originatingContext, GraphDiff changes, int syncType)`

    Methods in org.apache.cayenne.remote with parameters of type GraphDiff
    Modifier and Type | Method and Description
    --- | ---
    `GraphDiff` | ClientChannel.`onSync(ObjectContext originatingContext, GraphDiff changes, int syncType)`

    Constructors in org.apache.cayenne.remote with parameters of type GraphDiff
    Constructor and Description
    `SyncMessage(ObjectContext source, int syncType, GraphDiff senderChanges)`

Copyright © 2001–2017 Apache Cayenne. All rights reserved.