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
.String
LdapAttributes getLdapAttributes()
LdapAttributes
for this
LdapEntry
.LdapAttributes
void setEntry(SearchResult sr) throws NamingException
LdapEntry
with the supplied search result.sr
- SearchResult
NamingException
- if the search result cannot be readvoid setDn(String dn)
LdapEntry
.dn
- String
void setLdapAttributes(LdapAttributes a)
LdapEntry
.a
- LdapAttribute
SearchResult toSearchResult()
SearchResult
that represents this entry.SearchResult
Copyright © 2018. All rights reserved.