net.sf.borg.model.undo
Class MemoUndoItem
java.lang.Object
net.sf.borg.model.undo.UndoItem<Memo>
net.sf.borg.model.undo.MemoUndoItem
public class MemoUndoItem
- extends UndoItem<Memo>
Memo Undo Item.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
executeUndo
public void executeUndo()
- Description copied from class:
UndoItem
- execute the undo action on the item.
- Specified by:
executeUndo in class UndoItem<Memo>
recordUpdate
public static MemoUndoItem recordUpdate(Memo memo)
- Record a memo update.
- Parameters:
memo - the memo
- Returns:
- the memo undo item
recordAdd
public static MemoUndoItem recordAdd(Memo memo)
- Record a memo add.
- Parameters:
memo - the memo
- Returns:
- the memo undo item
recordDelete
public static MemoUndoItem recordDelete(Memo memo)
- Record a memo delete.
- Parameters:
memo - the memo
- Returns:
- the memo undo item
Generated December 30 2011 by mbb using Apache Ant(TM) version 1.8.2 compiled on December 20 2010 and Java version 1.6.0_30 from Sun Microsystems Inc. on Linux i386 3.0.0-14-generic-pae