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 |
Modifier and Type | Method and Description |
---|---|
protected GraphDiff |
CayenneContext.onContextFlush(ObjectContext originatingContext,
GraphDiff changes,
boolean cascade) |
protected abstract GraphDiff |
BaseContext.onContextFlush(ObjectContext originatingContext,
GraphDiff changes,
boolean cascade) |
GraphDiff |
DataChannelSyncFilterChain.onSync(ObjectContext originatingContext,
GraphDiff changes,
int syncType) |
GraphDiff |
DataChannelFilterChain.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 |
BaseContext.onSync(ObjectContext originatingContext,
GraphDiff changes,
int syncType) |
GraphDiff |
DataChannelFilter.onSync(ObjectContext originatingContext,
GraphDiff changes,
int syncType,
DataChannelFilterChain filterChain) |
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 GraphDiff |
CayenneContext.onContextFlush(ObjectContext originatingContext,
GraphDiff changes,
boolean cascade) |
protected abstract GraphDiff |
BaseContext.onContextFlush(ObjectContext originatingContext,
GraphDiff changes,
boolean cascade) |
GraphDiff |
DataChannelSyncFilterChain.onSync(ObjectContext originatingContext,
GraphDiff changes,
int syncType) |
GraphDiff |
DataChannelFilterChain.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 |
BaseContext.onSync(ObjectContext originatingContext,
GraphDiff changes,
int syncType) |
GraphDiff |
DataChannelFilter.onSync(ObjectContext originatingContext,
GraphDiff changes,
int syncType,
DataChannelFilterChain filterChain) |
Modifier and Type | Method and Description |
---|---|
protected GraphDiff |
DataContext.onContextFlush(ObjectContext originatingContext,
GraphDiff changes,
boolean cascade) |
GraphDiff |
DataDomain.onSync(ObjectContext originatingContext,
GraphDiff changes,
int syncType)
Only handles commit-type synchronization, ignoring any other type.
|
GraphDiff |
ClientServerChannel.onSync(ObjectContext originatingContext,
GraphDiff changes,
int syncType) |
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 |
DataDomain.onSync(ObjectContext originatingContext,
GraphDiff changes,
int syncType)
Only handles commit-type synchronization, ignoring any other type.
|
GraphDiff |
ClientServerChannel.onSync(ObjectContext originatingContext,
GraphDiff changes,
int syncType) |
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 |
Modifier and Type | Field and Description |
---|---|
protected GraphDiff |
GraphEvent.diff |
Modifier and Type | Field and Description |
---|---|
protected List<GraphDiff> |
CompoundDiff.diffs |
Modifier and Type | Method and Description |
---|---|
GraphDiff |
GraphDiffCompressor.compress(GraphDiff diff) |
GraphDiff |
GraphEvent.getDiff() |
Modifier and Type | Method and Description |
---|---|
List<GraphDiff> |
CompoundDiff.getDiffs() |
Modifier and Type | Method and Description |
---|---|
void |
CompoundDiff.add(GraphDiff diff) |
GraphDiff |
GraphDiffCompressor.compress(GraphDiff diff) |
Modifier and Type | Method and Description |
---|---|
void |
CompoundDiff.addAll(Collection<? extends GraphDiff> diffs) |
Constructor and Description |
---|
GraphEvent(Object source,
GraphDiff diff) |
GraphEvent(Object source,
Object postedBy,
GraphDiff diff) |
Constructor and Description |
---|
CompoundDiff(List<GraphDiff> diffs)
Creates CompoundDiff instance.
|
Modifier and Type | Field and Description |
---|---|
protected GraphDiff |
SyncMessage.senderChanges |
Modifier and Type | Method and Description |
---|---|
GraphDiff |
SyncMessage.getSenderChanges() |
Constructor and Description |
---|
SyncMessage(ObjectContext source,
int syncType,
GraphDiff senderChanges) |
Copyright © 2001–2015 Apache Cayenne. All rights reserved.