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

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.InMemoryCreateObjectCommand
All Implemented Interfaces:
CreateObjectCommand, PersistenceCommand

public final class InMemoryCreateObjectCommand
extends AbstractInMemoryPersistenceCommand
implements CreateObjectCommand


Constructor Summary
InMemoryCreateObjectCommand(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

InMemoryCreateObjectCommand

public InMemoryCreateObjectCommand(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.