Package com.im.df.impl.db.undo
Class AbstractUndoableEdit
- java.lang.Object
-
- com.im.df.impl.db.undo.AbstractUndoableEdit
-
- All Implemented Interfaces:
com.im.df.api.support.DFUndoableEdit
- Direct Known Subclasses:
ComplexUndoableEdit
public abstract class AbstractUndoableEdit extends Object implements com.im.df.api.support.DFUndoableEdit
- Author:
- Petr Hamernik
-
-
Constructor Summary
Constructors Constructor Description AbstractUndoableEdit(String presentationName, com.im.commons.progress.DFLockable lockable)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
destroy()
com.im.commons.progress.DFLockable
getLockable()
String
getPresentationName()
void
redo(com.im.commons.progress.DFEnvironmentRO env)
abstract void
redoImpl(com.im.commons.progress.DFEnvironmentRW env)
void
undo(com.im.commons.progress.DFEnvironmentRO env)
abstract void
undoImpl(com.im.commons.progress.DFEnvironmentRW env)
-
-
-
Constructor Detail
-
AbstractUndoableEdit
public AbstractUndoableEdit(String presentationName, com.im.commons.progress.DFLockable lockable)
-
-
Method Detail
-
undo
public void undo(com.im.commons.progress.DFEnvironmentRO env) throws com.im.df.api.support.DFUndoRedoException
- Specified by:
undo
in interfacecom.im.df.api.support.DFUndoableEdit
- Throws:
com.im.df.api.support.DFUndoRedoException
-
redo
public void redo(com.im.commons.progress.DFEnvironmentRO env) throws com.im.df.api.support.DFUndoRedoException
- Specified by:
redo
in interfacecom.im.df.api.support.DFUndoableEdit
- Throws:
com.im.df.api.support.DFUndoRedoException
-
undoImpl
public abstract void undoImpl(com.im.commons.progress.DFEnvironmentRW env) throws com.im.df.api.support.DFUndoRedoException
- Throws:
com.im.df.api.support.DFUndoRedoException
-
redoImpl
public abstract void redoImpl(com.im.commons.progress.DFEnvironmentRW env) throws com.im.df.api.support.DFUndoRedoException
- Throws:
com.im.df.api.support.DFUndoRedoException
-
getLockable
public com.im.commons.progress.DFLockable getLockable()
-
destroy
public void destroy()
-
getPresentationName
public String getPresentationName()
-
-