Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


oracle.ldap.util
Class DirEntryReconcile

java.lang.Object
  extended by oracle.ldap.util.DirEntryReconcile


public class DirEntryReconcile
extends java.lang.Object

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

DirEntryReconcile

public DirEntryReconcile()

Method Detail

getLdifDiffForSafe

public static LDIFRecord getLdifDiffForSafe(LDIFRecord rec1,
                                            LDIFRecord rec2,
                                            boolean extended)
Given two records, this method compares them for loading using SAFE method.
    Case 1. The entry it self does not exist. Will be added.
 
Parameters:
rec1 - record which needs to be reconciled
rec2 - 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.
Returns:
reconciled entry

getLdifDiffForNormal

public static LDIFRecord getLdifDiffForNormal(LDIFRecord rec1,
                                              LDIFRecord rec2)
Given two records, this method compares them for loading using NORMAL method.
Parameters:
rec1 - record which needs to be reconciled
rec2 - record against which reconciliation is done.
Returns:
reconciled entry

Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


Copyright © 1999, 2009 Oracle. All Rights Reserved.