org.nakedobjects.plugins.xml.objectstore.internal.commands
Class XmlDestroyObjectCommand

java.lang.Object
  extended by org.nakedobjects.runtime.transaction.PersistenceCommandAbstract
      extended by org.nakedobjects.plugins.xml.objectstore.internal.commands.XmlDestroyObjectCommand
All Implemented Interfaces:
DestroyObjectCommand, PersistenceCommand

public final class XmlDestroyObjectCommand
extends PersistenceCommandAbstract
implements DestroyObjectCommand


Constructor Summary
XmlDestroyObjectCommand(NakedObject adapter, DataManager dataManager)
           
 
Method Summary
protected  ObjectData createObjectData(NakedObject adapter, boolean ensurePersistent)
           
 void execute(NakedObjectTransaction context)
           
protected  DataManager getDataManager()
           
 java.lang.String toString()
           
 
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

XmlDestroyObjectCommand

public XmlDestroyObjectCommand(NakedObject adapter,
                               DataManager dataManager)
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

getDataManager

protected DataManager getDataManager()

createObjectData

protected ObjectData createObjectData(NakedObject adapter,
                                      boolean ensurePersistent)


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