|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cayenne.graph.NodeDiff
org.apache.cayenne.graph.NodeCreateOperation
public class NodeCreateOperation
Field Summary |
---|
Fields inherited from class org.apache.cayenne.graph.NodeDiff |
---|
diffId, nodeId |
Constructor Summary | |
---|---|
NodeCreateOperation(java.lang.Object nodeId)
|
|
NodeCreateOperation(java.lang.Object nodeId,
int diffId)
|
Method Summary | |
---|---|
void |
apply(GraphChangeHandler tracker)
Calls appropriate methods on the handler to "replay" this change. |
void |
undo(GraphChangeHandler tracker)
Calls appropriate methods on the handler to revert this change. |
Methods inherited from class org.apache.cayenne.graph.NodeDiff |
---|
compareTo, getDiffId, getNodeId, isNoop, setDiffId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeCreateOperation(java.lang.Object nodeId)
public NodeCreateOperation(java.lang.Object nodeId, int diffId)
Method Detail |
---|
public void apply(GraphChangeHandler tracker)
GraphDiff
apply
in interface GraphDiff
apply
in class NodeDiff
public void undo(GraphChangeHandler tracker)
GraphDiff
undo
in interface GraphDiff
undo
in class NodeDiff
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |