|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LdapResult
LdapResult represents a collection of ldap entries.
| Method Summary | |
|---|---|
void |
addEntries(Collection<LdapEntry> c)
This adds a Collection of entries to this
LdapResult. |
void |
addEntries(Iterator<SearchResult> i)
This adds an Iterator of SearchResult to this
LdapResult. |
void |
addEntries(NamingEnumeration<SearchResult> ne)
This adds a NamingEnumeration of SearchResult to
this LdapResult. |
void |
addEntry(LdapEntry e)
This adds a new entry to this LdapResult. |
void |
addEntry(SearchResult sr)
This adds a new entry to this LdapResult. |
void |
clear()
This removes all entries from this LdapResult. |
Collection<LdapEntry> |
getEntries()
This returns a Collection of LdapEntry for this
LdapResult. |
LdapEntry |
getEntry(String dn)
This returns the LdapEntry for this LdapResult
with the supplied DN. |
int |
size()
This returns the number of entries in this result. |
List<SearchResult> |
toSearchResults()
This returns a List of SearchResult that
represent the entries in this LdapResult. |
| Method Detail |
|---|
Collection<LdapEntry> getEntries()
Collection of LdapEntry for this
LdapResult.
CollectionLdapEntry getEntry(String dn)
LdapEntry for this LdapResult
with the supplied DN.
dn - String
LdapEntryvoid addEntry(LdapEntry e)
LdapResult.
e - LdapEntry
void addEntry(SearchResult sr)
throws NamingException
LdapResult.
sr - SearchResult
NamingException - if the search results cannot be readvoid addEntries(Collection<LdapEntry> c)
Collection of entries to this
LdapResult. The list should contain LdapEntry objects.
c - Collection
void addEntries(NamingEnumeration<SearchResult> ne)
throws NamingException
NamingEnumeration of SearchResult to
this LdapResult.
ne - NamingEnumeration
NamingException - if the search results cannot be read
void addEntries(Iterator<SearchResult> i)
throws NamingException
Iterator of SearchResult to this
LdapResult.
i - Iterator
NamingException - if the search results cannot be readint size()
intvoid clear()
LdapResult.
List<SearchResult> toSearchResults()
List of SearchResult that
represent the entries in this LdapResult.
List
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||