|
||||||||||
| 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
public class ReferralLut
A simple lookup table of normalized referral distinguished names.
| Constructor Summary | |
|---|---|
ReferralLut()
|
|
| Method Summary | |
|---|---|
org.apache.directory.shared.ldap.name.LdapDN |
getFarthestReferralAncestor(org.apache.directory.shared.ldap.name.LdapDN dn)
Gets the normalized name of the farthest ancestor that is a referral. |
org.apache.directory.shared.ldap.name.LdapDN |
getNearestReferralAncestor(org.apache.directory.shared.ldap.name.LdapDN dn)
Gets the normalized name of the nearest ancestor that is a referral. |
boolean |
isReferral(org.apache.directory.shared.ldap.name.LdapDN dn)
Checks if a the entry at a name is a referral. |
boolean |
isReferral(java.lang.String dn)
Checks if a the entry at a name is a referral. |
void |
referralAdded(org.apache.directory.shared.ldap.name.LdapDN dn)
Called to add an entry to the LUT when a referral is added. |
void |
referralAdded(java.lang.String dn)
Called to add an entry to the LUT when a referral is added. |
void |
referralChanged(org.apache.directory.shared.ldap.name.LdapDN oldDn,
org.apache.directory.shared.ldap.name.LdapDN newDn)
Called to update the LUT when the name of the referral changes due to a rename or move in the DIT. |
void |
referralChanged(org.apache.directory.shared.ldap.name.LdapDN oldDn,
java.lang.String newDn)
Called to update the LUT when the name of the referral changes due to a rename or move in the DIT. |
void |
referralChanged(java.lang.String oldDn,
org.apache.directory.shared.ldap.name.LdapDN newDn)
Called to update the LUT when the name of the referral changes due to a rename or move in the DIT. |
void |
referralChanged(java.lang.String oldDn,
java.lang.String newDn)
Called to update the LUT when the name of the referral changes due to a rename or move in the DIT. |
void |
referralDeleted(org.apache.directory.shared.ldap.name.LdapDN dn)
Called delete an entry from the LUT when a referral is deleted. |
void |
referralDeleted(java.lang.String 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(org.apache.directory.shared.ldap.name.LdapDN dn)
dn - the normalized name of the referralpublic boolean isReferral(java.lang.String dn)
dn - the normalized name of the referralpublic org.apache.directory.shared.ldap.name.LdapDN getFarthestReferralAncestor(org.apache.directory.shared.ldap.name.LdapDN dn)
dn - the name to get the farthest ancestor referral name for
public org.apache.directory.shared.ldap.name.LdapDN getNearestReferralAncestor(org.apache.directory.shared.ldap.name.LdapDN dn)
dn - the name to get the nearest ancestor referral name for
public void referralAdded(org.apache.directory.shared.ldap.name.LdapDN dn)
dn - the normalized name of the added referralpublic void referralAdded(java.lang.String dn)
dn - the normalized name of the added referralpublic void referralDeleted(org.apache.directory.shared.ldap.name.LdapDN dn)
dn - the normalized name of the deleted referralpublic void referralDeleted(java.lang.String dn)
dn - the normalized name of the deleted referral
public void referralChanged(org.apache.directory.shared.ldap.name.LdapDN oldDn,
org.apache.directory.shared.ldap.name.LdapDN newDn)
oldDn - the normalized old name for the referralnewDn - the normalized new name for the referral
public void referralChanged(java.lang.String oldDn,
java.lang.String newDn)
oldDn - the normalized old name for the referralnewDn - the normalized new name for the referral
public void referralChanged(org.apache.directory.shared.ldap.name.LdapDN oldDn,
java.lang.String newDn)
oldDn - the normalized old name for the referralnewDn - the normalized new name for the referral
public void referralChanged(java.lang.String oldDn,
org.apache.directory.shared.ldap.name.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 | |||||||||