org.nakedobjects.runtime.objectstore.inmemory.internal.commands
Class AbstractInMemoryPersistenceCommand

java.lang.Object
  extended by org.nakedobjects.runtime.transaction.PersistenceCommandAbstract
      extended by org.nakedobjects.runtime.objectstore.inmemory.internal.commands.AbstractInMemoryPersistenceCommand
All Implemented Interfaces:
PersistenceCommand
Direct Known Subclasses:
InMemoryCreateObjectCommand, InMemoryDestroyObjectCommand, InMemorySaveObjectCommand

public abstract class AbstractInMemoryPersistenceCommand
extends PersistenceCommandAbstract


Constructor Summary
AbstractInMemoryPersistenceCommand(NakedObject adapter, ObjectStorePersistedObjects persistedObjects)
           
 
Method Summary
protected  void destroy(NakedObject adapter)
           
protected  void save(NakedObject adapter)
           
 
Methods inherited from class org.nakedobjects.runtime.transaction.PersistenceCommandAbstract
getAuthenticationSession, onObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nakedobjects.runtime.transaction.PersistenceCommand
execute
 

Constructor Detail

AbstractInMemoryPersistenceCommand

public AbstractInMemoryPersistenceCommand(NakedObject adapter,
                                          ObjectStorePersistedObjects persistedObjects)
Method Detail

save

protected void save(NakedObject adapter)
             throws ObjectPersistenceException
Throws:
ObjectPersistenceException

destroy

protected void destroy(NakedObject adapter)


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