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

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.InMemorySaveObjectCommand
All Implemented Interfaces:
SaveObjectCommand, PersistenceCommand

public final class InMemorySaveObjectCommand
extends AbstractInMemoryPersistenceCommand
implements SaveObjectCommand


Constructor Summary
InMemorySaveObjectCommand(NakedObject object, 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

InMemorySaveObjectCommand

public InMemorySaveObjectCommand(NakedObject object,
                                 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.