vishnu.model.transactions.operations
Class AbstractOperation

java.lang.Object
  extended by vishnu.model.transactions.operations.AbstractOperation
All Implemented Interfaces:
java.io.Serializable, Operation
Direct Known Subclasses:
AbstractRecordOperation, TableCreationOperation, UserCreationOperation

public abstract class AbstractOperation
extends java.lang.Object
implements Operation

See Also:
Serialized Form
 

Constructor Summary
AbstractOperation()
           
 
Method Summary
protected  Database getDatabase(RecoveryContext recoveryContext, java.lang.String databaseName)
           
 void undo(RecoveryContext recoveryContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface vishnu.model.transactions.operations.Operation
getSession, redo
 

Constructor Detail

AbstractOperation

public AbstractOperation()
Method Detail

undo

public void undo(RecoveryContext recoveryContext)
Specified by:
undo in interface Operation

getDatabase

protected Database getDatabase(RecoveryContext recoveryContext,
                               java.lang.String databaseName)