public class Merger
extends java.lang.Object
Constructor and Description |
---|
Merger() |
Modifier and Type | Method and Description |
---|---|
void |
exportDeltas(DiffTreeModel dtm,
java.io.OutputStream os,
java.util.Set<ESPK> startNodes)
Write the annotated node deltas to an output stream.
|
void |
mergeDeltas(DiffTreeModel dtm)
Export roots will be automatically calculated from the diffs.
|
void |
mergeDeltas(DiffTreeModel dtm,
java.util.Set<ESPK> startNodes)
Merge the deltas back into the base store.
|
public void mergeDeltas(DiffTreeModel dtm)
dtm
- The DiffTreeModel containing base store details and the deltas.public void exportDeltas(DiffTreeModel dtm, java.io.OutputStream os, java.util.Set<ESPK> startNodes) throws EntityStoreException
dtm
- The DiffTreeModel containing the diffs to write.os
- OutputStream to write the diffs to. Caller opened, so caller closes.startNodes
- Specify the original export root entities (from the
meta of the entity store import) or null if you want the export roots
automatically generated from the delta nodes.EntityStoreException
public void mergeDeltas(DiffTreeModel dtm, java.util.Set<ESPK> startNodes)
dtm
- The DiffTreeModel containing the base and delta stores.startNodes
- Specify the original export root entities (from the
meta of the entity store import) or null if you want the export roots
automatically generated from the delta nodes.
This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel