|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ldaptive.provider.opendj.OpenDJConnection.AbstractOpenDJSearch
org.ldaptive.provider.opendj.OpenDJConnection.OpenDJSearchIterator
protected class OpenDJConnection.OpenDJSearchIterator
Search iterator for opendj search results.
| Nested Class Summary | |
|---|---|
protected class |
OpenDJConnection.OpenDJSearchIterator.SearchResultIterator
Search results handler for storing entries returned by a search operation. |
| Field Summary |
|---|
| Fields inherited from class org.ldaptive.provider.opendj.OpenDJConnection.AbstractOpenDJSearch |
|---|
request, util |
| Constructor Summary | |
|---|---|
OpenDJConnection.OpenDJSearchIterator(org.ldaptive.SearchRequest sr)
Creates a new opendj search iterator. |
|
| Method Summary | |
|---|---|
void |
close()
|
org.ldaptive.Response<Void> |
getResponse()
|
boolean |
hasNext()
|
void |
initialize()
Initializes this opendj search iterator. |
org.ldaptive.provider.SearchItem |
next()
|
protected OpenDJConnection.OpenDJSearchIterator.SearchResultIterator |
search(org.forgerock.opendj.ldap.Connection conn,
org.ldaptive.SearchRequest sr)
Executes an ldap search. |
| Methods inherited from class org.ldaptive.provider.opendj.OpenDJConnection.AbstractOpenDJSearch |
|---|
getDereferencePolicy, getSearchRequest, getSearchScope, ignoreSearchException, processIntermediateResponse, processSearchResultEntry, processSearchResultReference |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OpenDJConnection.OpenDJSearchIterator(org.ldaptive.SearchRequest sr)
sr - search request| Method Detail |
|---|
public void initialize()
throws org.ldaptive.LdapException
org.ldaptive.LdapException - if an error occurs
protected OpenDJConnection.OpenDJSearchIterator.SearchResultIterator search(org.forgerock.opendj.ldap.Connection conn,
org.ldaptive.SearchRequest sr)
throws org.ldaptive.LdapException
conn - to search withsr - to read properties from
org.ldaptive.LdapException - if an error occurs
public boolean hasNext()
throws org.ldaptive.LdapException
hasNext in interface org.ldaptive.provider.SearchIteratororg.ldaptive.LdapException
public org.ldaptive.provider.SearchItem next()
throws org.ldaptive.LdapException
next in interface org.ldaptive.provider.SearchIteratororg.ldaptive.LdapExceptionpublic org.ldaptive.Response<Void> getResponse()
getResponse in interface org.ldaptive.provider.SearchIterator
public void close()
throws org.ldaptive.LdapException
close in interface org.ldaptive.provider.SearchIteratororg.ldaptive.LdapException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||