vishnu.model.transactions.operations
Class AbstractRecordOperation

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

public abstract class AbstractRecordOperation
extends AbstractOperation

See Also:
Serialized Form
 

Field Summary
protected  NamingContext context
           
protected  Record r
           
 
Constructor Summary
AbstractRecordOperation(NamingContext context, Record r)
           
 
Method Summary
protected  boolean contains(RecordSet rs, Record r)
           
protected abstract  void containsAction(RecordSet rs)
           
 Session getSession()
           
protected abstract  void notContainsAction(RecordSet rs)
           
 void redo(RecoveryContext recoveryContext)
           
 
Methods inherited from class vishnu.model.transactions.operations.AbstractOperation
getDatabase, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected NamingContext context

r

protected Record r
Constructor Detail

AbstractRecordOperation

public AbstractRecordOperation(NamingContext context,
                               Record r)
Method Detail

redo

public void redo(RecoveryContext recoveryContext)

containsAction

protected abstract void containsAction(RecordSet rs)

notContainsAction

protected abstract void notContainsAction(RecordSet rs)

contains

protected boolean contains(RecordSet rs,
                           Record r)

getSession

public Session getSession()