mnemosyne.core
Class StandardTransaction

java.lang.Object
  |
  +--mnemosyne.core.StandardTransaction
All Implemented Interfaces:
java.io.Serializable, Transaction

public class StandardTransaction
extends java.lang.Object
implements Transaction

Version:
$Id: StandardTransaction.java,v 1.1.1.1 2004/08/07 06:41:12 charlesblaxland Exp $
See Also:
Serialized Form

Constructor Summary
StandardTransaction()
           
 
Method Summary
 void addModifiedObject(PersistentObject obj)
           
 void commit(Version versionToCommitAs)
           
protected  void finalize()
           
 boolean hasModifiedOrAddedObject(PersistentObject obj)
           
 void prepareForCommit()
           
 void rollback()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardTransaction

public StandardTransaction()
Method Detail

addModifiedObject

public void addModifiedObject(PersistentObject obj)
Specified by:
addModifiedObject in interface Transaction

hasModifiedOrAddedObject

public boolean hasModifiedOrAddedObject(PersistentObject obj)
Specified by:
hasModifiedOrAddedObject in interface Transaction

prepareForCommit

public void prepareForCommit()
Specified by:
prepareForCommit in interface Transaction

commit

public void commit(Version versionToCommitAs)
Specified by:
commit in interface Transaction

rollback

public void rollback()
Specified by:
rollback in interface Transaction

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
java.lang.Throwable


Copyright © 2004 Charles Blaxland. All Rights Reserved.