org.kuali.student.common.ui.client.widgets.rules
Class EditHistory

java.lang.Object
  extended by org.kuali.student.common.ui.client.widgets.rules.EditHistory
All Implemented Interfaces:
Serializable

public class EditHistory
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
private  int currHistoryIndex
           
private  List<StatementVO> histories
           
private static int MAX_NUM_HISTORIES
           
private static long serialVersionUID
           
 
Constructor Summary
EditHistory(StatementVO origStatementVO)
           
 
Method Summary
 StatementVO getLastHistoricStmtVO()
           
 StatementVO getSafeHistoricStmtVO(int index)
           
 boolean isRedoable()
           
 boolean isUndoable()
           
 StatementVO redo()
           
 void save(StatementVO historicStmtVO)
           
 StatementVO undo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

histories

private List<StatementVO> histories

MAX_NUM_HISTORIES

private static final int MAX_NUM_HISTORIES
See Also:
Constant Field Values

currHistoryIndex

private int currHistoryIndex
Constructor Detail

EditHistory

public EditHistory(StatementVO origStatementVO)
Method Detail

save

public void save(StatementVO historicStmtVO)

getLastHistoricStmtVO

public StatementVO getLastHistoricStmtVO()

getSafeHistoricStmtVO

public StatementVO getSafeHistoricStmtVO(int index)

undo

public StatementVO undo()

redo

public StatementVO redo()

isUndoable

public boolean isUndoable()

isRedoable

public boolean isRedoable()


Copyright © 2010 The Kuali Foundation. All rights reserved.