public class RelationshipUndoableEdit extends CompoundEdit
editsRedoName, UndoName| Constructor and Description |
|---|
RelationshipUndoableEdit(DbRelationship relationship) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDbJoinAddUndo(DbJoin join) |
void |
addDbJoinRemoveUndo(DbJoin join) |
void |
addNameUndo(DbRelationship relationship,
String oldName,
String newName) |
String |
getRedoPresentationName() |
String |
getUndoPresentationName() |
void |
redo() |
void |
undo() |
addEdit, canRedo, canUndo, die, end, getPresentationName, isInProgress, isSignificant, lastEdit, toStringreplaceEditpublic RelationshipUndoableEdit(DbRelationship relationship)
public void redo()
throws CannotRedoException
redo in interface UndoableEditredo in class CompoundEditCannotRedoExceptionpublic void undo()
throws CannotUndoException
undo in interface UndoableEditundo in class CompoundEditCannotUndoExceptionpublic String getRedoPresentationName()
getRedoPresentationName in interface UndoableEditgetRedoPresentationName in class CompoundEditpublic String getUndoPresentationName()
getUndoPresentationName in interface UndoableEditgetUndoPresentationName in class CompoundEditpublic void addDbJoinAddUndo(DbJoin join)
public void addDbJoinRemoveUndo(DbJoin join)
public void addNameUndo(DbRelationship relationship, String oldName, String newName)
Copyright © 2001–2015 Apache Cayenne. All rights reserved.