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