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

java.lang.Object
  extended by org.nakedobjects.runtime.transaction.PersistenceCommandAbstract
      extended by org.nakedobjects.runtime.objectstore.inmemory.internal.commands.AbstractInMemoryPersistenceCommand
          extended by org.nakedobjects.runtime.objectstore.inmemory.internal.commands.InMemoryDestroyObjectCommand
All Implemented Interfaces:
DestroyObjectCommand, PersistenceCommand

public final class InMemoryDestroyObjectCommand
extends AbstractInMemoryPersistenceCommand
implements DestroyObjectCommand


Constructor Summary
InMemoryDestroyObjectCommand(NakedObject adapter, ObjectStorePersistedObjects persistedObjects)
           
 
Method Summary
 void execute(NakedObjectTransaction context)
           
 java.lang.String toString()
           
 
Methods inherited from class org.nakedobjects.runtime.objectstore.inmemory.internal.commands.AbstractInMemoryPersistenceCommand
destroy, save
 
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, wait, wait, wait
 
Methods inherited from interface org.nakedobjects.runtime.transaction.PersistenceCommand
onObject
 

Constructor Detail

InMemoryDestroyObjectCommand

public InMemoryDestroyObjectCommand(NakedObject adapter,
                                    ObjectStorePersistedObjects persistedObjects)
Method Detail

execute

public void execute(NakedObjectTransaction context)
             throws ObjectPersistenceException
Specified by:
execute in interface PersistenceCommand
Throws:
ObjectPersistenceException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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