|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.xmlstore.XMLStore
public class XMLStore
Represents a store of object data encoded in XML. This store only allows one datastore transaction to proceed at a time. File I/O errors can put this store into an invalid state.
Constructor Summary | |
---|---|
XMLStore(XMLConfiguration conf)
Constructor; supply configuration. |
Method Summary | |
---|---|
void |
beginTransaction()
Begin a datastore transaction. |
void |
endTransaction(java.util.Collection updates,
java.util.Collection deletes)
End the datastore transaction. |
ObjectData[] |
getData(org.apache.openjpa.meta.ClassMetaData meta)
Return all datas for the base class of the given type. |
ObjectData |
getData(org.apache.openjpa.meta.ClassMetaData meta,
java.lang.Object oid)
Return the data for the given oid, or null if it does not exist. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLStore(XMLConfiguration conf)
Method Detail |
---|
public ObjectData getData(org.apache.openjpa.meta.ClassMetaData meta, java.lang.Object oid)
public ObjectData[] getData(org.apache.openjpa.meta.ClassMetaData meta)
public void beginTransaction()
public void endTransaction(java.util.Collection updates, java.util.Collection deletes)
updates
- ObjectData
instances to insert or updatedeletes
- ObjectData
instances to delete
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |