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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAfterLast, isBeforeFirst, isFirst, isLast, toString
forEach, spliterator
public 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 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.LdapException
org.apache.directory.api.ldap.model.cursor.CursorException
public 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.LdapException
org.apache.directory.api.ldap.model.cursor.CursorException
public 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.LdapException
org.apache.directory.api.ldap.model.cursor.CursorException
public 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.LdapException
org.apache.directory.api.ldap.model.cursor.CursorException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class org.apache.directory.api.ldap.model.cursor.AbstractCursor<org.apache.directory.api.ldap.model.message.Response>
IOException
public void close(Exception e) throws IOException
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>
IOException
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.LdapException
org.apache.directory.api.ldap.model.cursor.CursorException
public 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.CursorException
public org.apache.directory.api.ldap.model.message.SearchResultDone getSearchResultDone()
getSearchResultDone
in interface org.apache.directory.api.ldap.model.cursor.SearchCursor
public 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.LdapException
org.apache.directory.api.ldap.model.cursor.CursorException
public 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.LdapException
org.apache.directory.api.ldap.model.cursor.CursorException
public 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.LdapException
org.apache.directory.api.ldap.model.cursor.CursorException
public 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.SearchCursor
public boolean isReferral()
isReferral
in interface org.apache.directory.api.ldap.model.cursor.SearchCursor
public 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.SearchCursor
org.apache.directory.api.ldap.model.exception.LdapException
public boolean isEntry()
isEntry
in interface org.apache.directory.api.ldap.model.cursor.SearchCursor
public 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.SearchCursor
org.apache.directory.api.ldap.model.exception.LdapException
public boolean isIntermediate()
isIntermediate
in interface org.apache.directory.api.ldap.model.cursor.SearchCursor
public 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.SearchCursor
org.apache.directory.api.ldap.model.exception.LdapException
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.