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

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

public final class XmlUpdateObjectCommand
extends PersistenceCommandAbstract
implements SaveObjectCommand


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

XmlUpdateObjectCommand

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