org.nakedobjects.runtime.persistence.objectstore
Interface ObjectStoreTransactionManagement

All Known Subinterfaces:
ObjectStore
All Known Implementing Classes:
InMemoryObjectStore, NakedObjectStoreDelegating, NakedObjectStoreLogger

public interface ObjectStoreTransactionManagement

Interface for the NakedObjectTransactionManager to interact with the ObjectStore.


Method Summary
 void abortTransaction()
          Used by the ObjectStoreTransactionManager to tell the underlying ObjectStore to abort a transaction.
 void endTransaction()
          Used by the ObjectStoreTransactionManager to tell the underlying ObjectStore to commit a transaction.
 void execute(java.util.List<PersistenceCommand> unmodifiableList)
          Used by the current ObjectStoreTransaction to flush changes to the ObjectStore (either via a NakedObjectTransactionManager.flushTransaction() or a NakedObjectTransactionManager.endTransaction()).
 void startTransaction()
          Used by the ObjectStoreTransactionManager to tell the underlying ObjectStore to start a transaction.
 

Method Detail

startTransaction

void startTransaction()
Used by the ObjectStoreTransactionManager to tell the underlying ObjectStore to start a transaction.


execute

void execute(java.util.List<PersistenceCommand> unmodifiableList)
Used by the current ObjectStoreTransaction to flush changes to the ObjectStore (either via a NakedObjectTransactionManager.flushTransaction() or a NakedObjectTransactionManager.endTransaction()).


endTransaction

void endTransaction()
Used by the ObjectStoreTransactionManager to tell the underlying ObjectStore to commit a transaction.


abortTransaction

void abortTransaction()
Used by the ObjectStoreTransactionManager to tell the underlying ObjectStore to abort a transaction.



Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.