Package edu.vt.middleware.ldap.bean
Interface LdapEntry
-
- All Known Implementing Classes:
AbstractLdapEntry,OrderedLdapBeanFactory.OrderedLdapEntry,SortedLdapBeanFactory.SortedLdapEntry,UnorderedLdapBeanFactory.UnorderedLdapEntry
public interface LdapEntryLdapEntryrepresents a single ldap entry.- Version:
- $Revision: 1330 $ $Date: 2010-05-24 00:10:53 +0200 (Mon, 24 May 2010) $
- Author:
- Middleware Services
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDn()This returns the DN for thisLdapEntry.LdapAttributesgetLdapAttributes()This returns theLdapAttributesfor thisLdapEntry.voidsetDn(java.lang.String dn)This sets the DN for thisLdapEntry.voidsetEntry(javax.naming.directory.SearchResult sr)This sets thisLdapEntrywith the supplied search result.voidsetLdapAttributes(LdapAttributes a)This sets the attributes for thisLdapEntry.javax.naming.directory.SearchResulttoSearchResult()This returns aSearchResultthat represents this entry.
-
-
-
Method Detail
-
getDn
java.lang.String getDn()
This returns the DN for thisLdapEntry.- Returns:
String
-
getLdapAttributes
LdapAttributes getLdapAttributes()
This returns theLdapAttributesfor thisLdapEntry.- Returns:
LdapAttributes
-
setEntry
void setEntry(javax.naming.directory.SearchResult sr) throws javax.naming.NamingExceptionThis sets thisLdapEntrywith the supplied search result.- Parameters:
sr-SearchResult- Throws:
javax.naming.NamingException- if the search result cannot be read
-
setDn
void setDn(java.lang.String dn)
This sets the DN for thisLdapEntry.- Parameters:
dn-String
-
setLdapAttributes
void setLdapAttributes(LdapAttributes a)
This sets the attributes for thisLdapEntry.- Parameters:
a-LdapAttribute
-
toSearchResult
javax.naming.directory.SearchResult toSearchResult()
This returns aSearchResultthat represents this entry.- Returns:
SearchResult
-
-