org.nakedobjects.plugins.xml.objectstore.internal.data
Interface DataManager

All Known Implementing Classes:
XmlDataManager

public interface DataManager


Method Summary
 java.lang.String getDebugData()
           
 ObjectDataVector getInstances(ObjectData pattern)
          Return data for all instances that match the pattern.
 void insertObject(ObjectData data)
          Save the data for an object and adds the reference to a list of instances
 boolean isFixturesInstalled()
           
 Data loadData(SerialOid oid)
           
 int numberOfInstances(ObjectData pattern)
          Return the number of instances that match the specified data
 void remove(SerialOid oid)
           
 void save(Data data)
          Save the data for latter retrieval.
 void shutdown()
           
 

Method Detail

shutdown

void shutdown()

getInstances

ObjectDataVector getInstances(ObjectData pattern)
Return data for all instances that match the pattern.


numberOfInstances

int numberOfInstances(ObjectData pattern)
Return the number of instances that match the specified data


loadData

Data loadData(SerialOid oid)

insertObject

void insertObject(ObjectData data)
Save the data for an object and adds the reference to a list of instances


remove

void remove(SerialOid oid)
            throws ObjectNotFoundException,
                   ObjectPersistenceException
Throws:
ObjectNotFoundException
ObjectPersistenceException

save

void save(Data data)
Save the data for latter retrieval.


getDebugData

java.lang.String getDebugData()

isFixturesInstalled

boolean isFixturesInstalled()


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