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) |
public void mergeDeltas(DiffTreeModel dtm)
dtm
- 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.Throws
- an EntityStoreException if couldn't export the diffEntityStoreException
public void mergeDeltas(DiffTreeModel dtm, java.util.Set<ESPK> startNodes)
dtm
- 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