public interface LdapEntry
LdapEntry represents a single ldap entry.| Modifier and Type | Method and Description |
|---|---|
String |
getDn()
This returns the DN for this
LdapEntry. |
LdapAttributes |
getLdapAttributes()
This returns the
LdapAttributes for this
LdapEntry. |
void |
setDn(String dn)
This sets the DN for this
LdapEntry. |
void |
setEntry(SearchResult sr)
This sets this
LdapEntry with the supplied search result. |
void |
setLdapAttributes(LdapAttributes a)
This sets the attributes for this
LdapEntry. |
SearchResult |
toSearchResult()
This returns a
SearchResult that represents this entry. |
String getDn()
LdapEntry.StringLdapAttributes getLdapAttributes()
LdapAttributes for this
LdapEntry.LdapAttributesvoid setEntry(SearchResult sr) throws NamingException
LdapEntry with the supplied search result.sr - SearchResultNamingException - if the search result cannot be readvoid setDn(String dn)
LdapEntry.dn - Stringvoid setLdapAttributes(LdapAttributes a)
LdapEntry.a - LdapAttributeSearchResult toSearchResult()
SearchResult that represents this entry.SearchResultCopyright © 2014. All rights reserved.