|
||||||||||
| 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.NodeDeleteOperation
public class NodeDeleteOperation
| Field Summary |
|---|
| Fields inherited from class org.apache.cayenne.graph.NodeDiff |
|---|
diffId, nodeId |
| Constructor Summary | |
|---|---|
NodeDeleteOperation(java.lang.Object nodeId)
|
|
NodeDeleteOperation(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 NodeDeleteOperation(java.lang.Object nodeId)
public NodeDeleteOperation(java.lang.Object nodeId,
int diffId)
| Method Detail |
|---|
public void apply(GraphChangeHandler tracker)
GraphDiff
apply in interface GraphDiffapply in class NodeDiffpublic void undo(GraphChangeHandler tracker)
GraphDiff
undo in interface GraphDiffundo in class NodeDiff
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||