|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.model.cursor.AbstractCursor<Entry>
org.apache.directory.ldap.client.api.EntryCursorImpl
public class EntryCursorImpl
An implementation of Cursor based on the underlying SearchFuture instance. Note: This is a forward only cursor hence the only valid operations are next(), get() and close()
| Constructor Summary | |
|---|---|
EntryCursorImpl(SearchCursor searchCursor)
Instantiates a new search cursor, embedding a SearchCursor. |
|
| Method Summary | |
|---|---|
void |
after(Entry element)
This operation is not supported in SearchCursor. |
void |
afterLast()
This operation is not supported in SearchCursor. |
boolean |
available()
|
void |
before(Entry element)
This operation is not supported in SearchCursor. |
void |
beforeFirst()
This operation is not supported in SearchCursor. |
void |
close()
|
void |
close(Exception cause)
|
boolean |
first()
This operation is not supported in SearchCursor. |
Entry |
get()
|
int |
getMessageId()
|
SearchResultDone |
getSearchResultDone()
|
boolean |
last()
This operation is not supported in SearchCursor. |
boolean |
next()
|
boolean |
previous()
This operation is not supported in SearchCursor. |
| Methods inherited from class org.apache.directory.shared.ldap.model.cursor.AbstractCursor |
|---|
checkNotClosed, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, iterator, setClosureMonitor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.directory.shared.ldap.model.cursor.Cursor |
|---|
isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, setClosureMonitor |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Constructor Detail |
|---|
public EntryCursorImpl(SearchCursor searchCursor)
searchCursor - the embedded SearchResponse cursor| Method Detail |
|---|
public boolean next()
throws Exception
next in interface Cursor<Entry>Exception
public Entry get()
throws Exception
get in interface Cursor<Entry>Exceptionpublic SearchResultDone getSearchResultDone()
getSearchResultDone in interface EntryCursorpublic boolean available()
available in interface Cursor<Entry>
public void close()
throws Exception
close in interface Cursor<Entry>close in class AbstractCursor<Entry>Exception
public void close(Exception cause)
throws Exception
close in interface Cursor<Entry>close in class AbstractCursor<Entry>Exception
public void after(Entry element)
throws Exception
after in interface Cursor<Entry>Exception
public void afterLast()
throws Exception
afterLast in interface Cursor<Entry>Exception
public void before(Entry element)
throws Exception
before in interface Cursor<Entry>Exception
public void beforeFirst()
throws Exception
beforeFirst in interface Cursor<Entry>Exception
public boolean first()
throws Exception
first in interface Cursor<Entry>Exception
public boolean last()
throws Exception
last in interface Cursor<Entry>Exception
public boolean previous()
throws Exception
previous in interface Cursor<Entry>Exceptionpublic int getMessageId()
getMessageId in interface EntryCursor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||