|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ldap.util.DirEntryReconcile
public class DirEntryReconcile
This class provides helper methods which will reconcile based on certain conditions between to Directory entries. Three kinds of reconcilation is possible SAFE, SAFE_EXTENDED & NORMAL
Constructor Summary | |
---|---|
DirEntryReconcile() |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DirEntryReconcile()
Method Detail |
---|
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.
|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |