net.sf.borg.model.undo
Class CheckListUndoItem

java.lang.Object
  extended by net.sf.borg.model.undo.UndoItem<CheckList>
      extended by net.sf.borg.model.undo.CheckListUndoItem

public class CheckListUndoItem
extends UndoItem<CheckList>

CheckList Undo Item.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.borg.model.undo.UndoItem
UndoItem.actionType
 
Field Summary
 
Fields inherited from class net.sf.borg.model.undo.UndoItem
action, item
 
Method Summary
 void executeUndo()
          execute the undo action on the item.
static CheckListUndoItem recordAdd(CheckList checkList)
          Record a checkList add.
static CheckListUndoItem recordDelete(CheckList checkList)
          Record a checkList delete.
static CheckListUndoItem recordUpdate(CheckList checkList)
          Record a checkList update.
 
Methods inherited from class net.sf.borg.model.undo.UndoItem
getDescription, setDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

executeUndo

public void executeUndo()
Description copied from class: UndoItem
execute the undo action on the item.

Specified by:
executeUndo in class UndoItem<CheckList>

recordUpdate

public static CheckListUndoItem recordUpdate(CheckList checkList)
Record a checkList update.

Parameters:
checkList - the checkList
Returns:
the checkList undo item

recordAdd

public static CheckListUndoItem recordAdd(CheckList checkList)
Record a checkList add.

Parameters:
checkList - the checkList
Returns:
the checkList undo item

recordDelete

public static CheckListUndoItem recordDelete(CheckList checkList)
Record a checkList delete.

Parameters:
checkList - the checkList
Returns:
the checkList 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