|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.referral.ReferralLut
A simple lookup table of normalized referral distinguished names.
Constructor Summary | |
ReferralLut()
|
Method Summary | |
LdapDN |
getFarthestReferralAncestor(LdapDN dn)
Gets the normalized name of the farthest ancestor that is a referral. |
LdapDN |
getNearestReferralAncestor(LdapDN dn)
Gets the normalized name of the nearest ancestor that is a referral. |
boolean |
isReferral(LdapDN dn)
Checks if a the entry at a name is a referral. |
void |
referralAdded(LdapDN dn)
Called to add an entry to the LUT when a referral is added. |
void |
referralChanged(LdapDN oldDn,
LdapDN newDn)
Called to update the LUT when the name of the referral changes due to a rename or move in the DIT. |
void |
referralDeleted(LdapDN dn)
Called delete an entry from the LUT when a referral is deleted. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReferralLut()
Method Detail |
public boolean isReferral(LdapDN dn)
dn
- the normalized name of the referralpublic LdapDN getFarthestReferralAncestor(LdapDN dn)
dn
- the name to get the farthest ancestor referral name for
public LdapDN getNearestReferralAncestor(LdapDN dn)
dn
- the name to get the nearest ancestor referral name for
public void referralAdded(LdapDN dn)
dn
- the normalized name of the added referralpublic void referralDeleted(LdapDN dn)
dn
- the normalized name of the deleted referralpublic void referralChanged(LdapDN oldDn, LdapDN newDn)
oldDn
- the normalized old name for the referralnewDn
- the normalized new name for the referral
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |