public class XMLStore extends Object
Constructor and Description |
---|
XMLStore(XMLConfiguration conf)
Constructor; supply configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
beginTransaction()
Begin a datastore transaction.
|
void |
endTransaction(Collection<ObjectData> updates,
Collection<ObjectData> deletes)
End the datastore transaction.
|
ObjectData[] |
getData(ClassMetaData meta)
Return all datas for the base class of the given type.
|
ObjectData |
getData(ClassMetaData meta,
Object oid)
Return the data for the given oid, or null if it does not exist.
|
public XMLStore(XMLConfiguration conf)
public ObjectData getData(ClassMetaData meta, Object oid)
public ObjectData[] getData(ClassMetaData meta)
public void beginTransaction()
public void endTransaction(Collection<ObjectData> updates, Collection<ObjectData> deletes)
updates
- ObjectData
instances to insert or updatedeletes
- ObjectData
instances to deleteCopyright © 2006–2022 Apache Software Foundation. All rights reserved.