Package org.apache.cayenne
Class DataChannelSyncCallbackAction
java.lang.Object
org.apache.cayenne.DataChannelSyncCallbackAction
- All Implemented Interfaces:
- GraphChangeHandler
public abstract class DataChannelSyncCallbackAction extends Object implements GraphChangeHandler
- Since:
- 3.1
- 
Method SummaryModifier and Type Method Description abstract voidapplyPostCommit()abstract voidapplyPreCommit()voidarcCreated(Object nodeId, Object targetNodeId, Object arcId)Notifies implementing object that a new arc was created between two nodes.voidarcDeleted(Object nodeId, Object targetNodeId, Object arcId)Notifies implementing object that an arc between two nodes was deleted.static DataChannelSyncCallbackActiongetCallbackAction(LifecycleCallbackRegistry callbackRegistry, GraphManager graphManager, GraphDiff changes, int syncType)protected abstract booleanhasListeners()voidnodeCreated(Object nodeId)Notifies implementing object that a new node was created in the graph.voidnodeIdChanged(Object nodeId, Object newId)Notifies implementing object that a node was assigned a new id.voidnodePropertyChanged(Object nodeId, String property, Object oldValue, Object newValue)Notifies implementing object that a node's property was modified.voidnodeRemoved(Object nodeId)Notifies implementing object that a node was removed from the graph.
- 
Method Details- 
getCallbackActionpublic static DataChannelSyncCallbackAction getCallbackAction(LifecycleCallbackRegistry callbackRegistry, GraphManager graphManager, GraphDiff changes, int syncType)
- 
hasListenersprotected abstract boolean hasListeners()
- 
applyPreCommitpublic abstract void applyPreCommit()
- 
applyPostCommitpublic abstract void applyPostCommit()
- 
nodeCreatedDescription copied from interface:GraphChangeHandlerNotifies implementing object that a new node was created in the graph.- Specified by:
- nodeCreatedin interface- GraphChangeHandler
 
- 
nodeRemovedDescription copied from interface:GraphChangeHandlerNotifies implementing object that a node was removed from the graph.- Specified by:
- nodeRemovedin interface- GraphChangeHandler
 
- 
arcCreatedDescription copied from interface:GraphChangeHandlerNotifies implementing object that a new arc was created between two nodes.- Specified by:
- arcCreatedin interface- GraphChangeHandler
 
- 
arcDeletedDescription copied from interface:GraphChangeHandlerNotifies implementing object that an arc between two nodes was deleted.- Specified by:
- arcDeletedin interface- GraphChangeHandler
 
- 
nodeIdChangedDescription copied from interface:GraphChangeHandlerNotifies implementing object that a node was assigned a new id.- Specified by:
- nodeIdChangedin interface- GraphChangeHandler
 
- 
nodePropertyChangedDescription copied from interface:GraphChangeHandlerNotifies implementing object that a node's property was modified.- Specified by:
- nodePropertyChangedin interface- GraphChangeHandler
 
 
-