edu.vt.middleware.ldap.bean
public interface LdapEntry
LdapEntry represents a single ldap entry.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDn()
This returns the DN for this
LdapEntry. |
LdapAttributes |
getLdapAttributes()
This returns the
LdapAttributes for this
LdapEntry. |
void |
setDn(java.lang.String dn)
This sets the DN for this
LdapEntry. |
void |
setEntry(javax.naming.directory.SearchResult sr)
This sets this
LdapEntry with the supplied search result. |
void |
setLdapAttributes(LdapAttributes a)
This sets the attributes for this
LdapEntry. |
javax.naming.directory.SearchResult |
toSearchResult()
This returns a
SearchResult that represents this entry. |
java.lang.String getDn()
LdapEntry.StringLdapAttributes getLdapAttributes()
LdapAttributes for this
LdapEntry.LdapAttributesvoid setEntry(javax.naming.directory.SearchResult sr)
throws javax.naming.NamingException
LdapEntry with the supplied search result.sr - SearchResultjavax.naming.NamingException - if the search result cannot be readvoid setDn(java.lang.String dn)
LdapEntry.dn - Stringvoid setLdapAttributes(LdapAttributes a)
LdapEntry.a - LdapAttributejavax.naming.directory.SearchResult toSearchResult()
SearchResult that represents this entry.SearchResultCopyright © 2014. All Rights Reserved.