public class EntryToResponseCursor
extends org.apache.directory.api.ldap.model.cursor.AbstractCursor<org.apache.directory.api.ldap.model.message.Response>
implements org.apache.directory.api.ldap.model.cursor.SearchCursor
| Constructor and Description |
|---|
EntryToResponseCursor(org.apache.directory.api.ldap.model.message.SearchRequest searchRequest,
int messageId,
org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.entry.Entry> wrapped) |
| Modifier and Type | Method and Description |
|---|---|
void |
after(org.apache.directory.api.ldap.model.message.Response resp) |
void |
afterLast() |
boolean |
available() |
void |
before(org.apache.directory.api.ldap.model.message.Response resp) |
void |
beforeFirst() |
void |
close() |
void |
close(Exception e) |
boolean |
first() |
org.apache.directory.api.ldap.model.message.Response |
get() |
org.apache.directory.api.ldap.model.entry.Entry |
getEntry() |
org.apache.directory.api.ldap.model.message.IntermediateResponse |
getIntermediate() |
org.apache.directory.api.ldap.model.message.Referral |
getReferral() |
org.apache.directory.api.ldap.model.message.SearchResultDone |
getSearchResultDone()
gives the SearchResultDone message received at the end of search results
|
boolean |
isClosed() |
boolean |
isDone() |
boolean |
isEntry() |
boolean |
isIntermediate() |
boolean |
isReferral() |
Iterator<org.apache.directory.api.ldap.model.message.Response> |
iterator() |
boolean |
last() |
boolean |
next() |
boolean |
previous() |
void |
setClosureMonitor(org.apache.directory.api.ldap.model.cursor.ClosureMonitor monitor) |
checkNotClosed, isAfterLast, isBeforeFirst, isFirst, isLast, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisAfterLast, isBeforeFirst, isFirst, isLast, toStringforEach, spliteratorpublic EntryToResponseCursor(org.apache.directory.api.ldap.model.message.SearchRequest searchRequest,
int messageId,
org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.entry.Entry> wrapped)
public Iterator<org.apache.directory.api.ldap.model.message.Response> iterator()
public void after(org.apache.directory.api.ldap.model.message.Response resp)
throws org.apache.directory.api.ldap.model.exception.LdapException,
org.apache.directory.api.ldap.model.cursor.CursorException
after in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorExceptionpublic void afterLast()
throws org.apache.directory.api.ldap.model.exception.LdapException,
org.apache.directory.api.ldap.model.cursor.CursorException
afterLast in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorExceptionpublic boolean available()
available in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>public void before(org.apache.directory.api.ldap.model.message.Response resp)
throws org.apache.directory.api.ldap.model.exception.LdapException,
org.apache.directory.api.ldap.model.cursor.CursorException
before in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorExceptionpublic void beforeFirst()
throws org.apache.directory.api.ldap.model.exception.LdapException,
org.apache.directory.api.ldap.model.cursor.CursorException
beforeFirst in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorExceptionpublic void close()
close in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>close in class org.apache.directory.api.ldap.model.cursor.AbstractCursor<org.apache.directory.api.ldap.model.message.Response>public void close(Exception e)
close in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>close in class org.apache.directory.api.ldap.model.cursor.AbstractCursor<org.apache.directory.api.ldap.model.message.Response>public boolean first()
throws org.apache.directory.api.ldap.model.exception.LdapException,
org.apache.directory.api.ldap.model.cursor.CursorException
first in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorExceptionpublic org.apache.directory.api.ldap.model.message.Response get()
throws org.apache.directory.api.ldap.model.cursor.CursorException
get in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>org.apache.directory.api.ldap.model.cursor.CursorExceptionpublic org.apache.directory.api.ldap.model.message.SearchResultDone getSearchResultDone()
getSearchResultDone in interface org.apache.directory.api.ldap.model.cursor.SearchCursorpublic boolean isClosed()
isClosed in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>isClosed in class org.apache.directory.api.ldap.model.cursor.AbstractCursor<org.apache.directory.api.ldap.model.message.Response>public boolean last()
throws org.apache.directory.api.ldap.model.exception.LdapException,
org.apache.directory.api.ldap.model.cursor.CursorException
last in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorExceptionpublic boolean next()
throws org.apache.directory.api.ldap.model.exception.LdapException,
org.apache.directory.api.ldap.model.cursor.CursorException
next in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorExceptionpublic boolean previous()
throws org.apache.directory.api.ldap.model.exception.LdapException,
org.apache.directory.api.ldap.model.cursor.CursorException
previous in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorExceptionpublic void setClosureMonitor(org.apache.directory.api.ldap.model.cursor.ClosureMonitor monitor)
setClosureMonitor in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>setClosureMonitor in class org.apache.directory.api.ldap.model.cursor.AbstractCursor<org.apache.directory.api.ldap.model.message.Response>public boolean isDone()
isDone in interface org.apache.directory.api.ldap.model.cursor.SearchCursorpublic boolean isReferral()
isReferral in interface org.apache.directory.api.ldap.model.cursor.SearchCursorpublic org.apache.directory.api.ldap.model.message.Referral getReferral()
throws org.apache.directory.api.ldap.model.exception.LdapException
getReferral in interface org.apache.directory.api.ldap.model.cursor.SearchCursororg.apache.directory.api.ldap.model.exception.LdapExceptionpublic boolean isEntry()
isEntry in interface org.apache.directory.api.ldap.model.cursor.SearchCursorpublic org.apache.directory.api.ldap.model.entry.Entry getEntry()
throws org.apache.directory.api.ldap.model.exception.LdapException
getEntry in interface org.apache.directory.api.ldap.model.cursor.SearchCursororg.apache.directory.api.ldap.model.exception.LdapExceptionpublic boolean isIntermediate()
isIntermediate in interface org.apache.directory.api.ldap.model.cursor.SearchCursorpublic org.apache.directory.api.ldap.model.message.IntermediateResponse getIntermediate()
throws org.apache.directory.api.ldap.model.exception.LdapException
getIntermediate in interface org.apache.directory.api.ldap.model.cursor.SearchCursororg.apache.directory.api.ldap.model.exception.LdapExceptionCopyright © 2021. All rights reserved.