public class LdapSearchCursor
extends java.lang.Object
implements java.lang.AutoCloseable, org.apache.directory.api.ldap.model.cursor.SearchCursor
| Constructor and Description |
|---|
LdapSearchCursor(org.apache.directory.api.ldap.model.cursor.SearchCursor cursor) |
| Modifier and Type | Method and Description |
|---|---|
void |
after(org.apache.directory.api.ldap.model.message.Response arg0) |
void |
afterLast() |
boolean |
available() |
void |
before(org.apache.directory.api.ldap.model.message.Response arg0) |
void |
beforeFirst() |
void |
close() |
void |
close(java.lang.Exception arg0) |
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() |
boolean |
isAfterLast() |
boolean |
isBeforeFirst() |
boolean |
isClosed() |
boolean |
isDone() |
boolean |
isEntry() |
boolean |
isFirst() |
boolean |
isIntermediate() |
boolean |
isLast() |
boolean |
isReferral() |
java.util.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 arg0) |
java.lang.String |
toString(java.lang.String arg0) |
public LdapSearchCursor(org.apache.directory.api.ldap.model.cursor.SearchCursor cursor)
public void close()
close in interface java.lang.AutoCloseableclose in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>public void after(org.apache.directory.api.ldap.model.message.Response arg0)
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 arg0)
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(java.lang.Exception arg0)
close in interface org.apache.directory.api.ldap.model.cursor.Cursor<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 boolean isAfterLast()
isAfterLast in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>public boolean isBeforeFirst()
isBeforeFirst in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>public boolean isClosed()
isClosed in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>public boolean isFirst()
isFirst in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>public boolean isLast()
isLast in interface org.apache.directory.api.ldap.model.cursor.Cursor<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 arg0)
setClosureMonitor in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>public java.lang.String toString(java.lang.String arg0)
toString in interface org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.message.Response>public java.util.Iterator<org.apache.directory.api.ldap.model.message.Response> iterator()
iterator in interface java.lang.Iterable<org.apache.directory.api.ldap.model.message.Response>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.SearchCursororg.apache.directory.api.ldap.model.exception.LdapExceptionpublic 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.LdapExceptionpublic 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 org.apache.directory.api.ldap.model.message.SearchResultDone getSearchResultDone()
getSearchResultDone in interface org.apache.directory.api.ldap.model.cursor.SearchCursorpublic boolean isDone()
isDone in interface org.apache.directory.api.ldap.model.cursor.SearchCursorpublic boolean isEntry()
isEntry in interface org.apache.directory.api.ldap.model.cursor.SearchCursorpublic boolean isIntermediate()
isIntermediate in interface org.apache.directory.api.ldap.model.cursor.SearchCursorpublic boolean isReferral()
isReferral in interface org.apache.directory.api.ldap.model.cursor.SearchCursorCopyright © 2021. All Rights Reserved.