public class DirEntryReconcile
extends java.lang.Object
Constructor and Description |
---|
DirEntryReconcile() |
Modifier and Type | Method and Description |
---|---|
static LDIFRecord |
getLdifDiffForNormal(LDIFRecord rec1, LDIFRecord rec2)
Given two records, this method compares them for loading using NORMAL method.
|
static LDIFRecord |
getLdifDiffForSafe(LDIFRecord rec1, LDIFRecord rec2, boolean extended)
Given two records, this method compares them for loading using SAFE method.
|
public static LDIFRecord getLdifDiffForSafe(LDIFRecord rec1, LDIFRecord rec2, boolean extended)
Case 1. The entry it self does not exist. Will be added.
rec1
- record which needs to be reconciledrec2
- record against which reconciliation is done.extended
- if true then reconciliation will be applied according to SAFE EXTENDED mode which is essentially same as SAFE with only one one addition, i.e. when the attribute already exists and if you and to add a value to the exisiting ones, can be achieved SAFE_EXTENDED mode.public static LDIFRecord getLdifDiffForNormal(LDIFRecord rec1, LDIFRecord rec2)
rec1
- record which needs to be reconciledrec2
- record against which reconciliation is done.