public class ServerEntryCursorAdaptor<ID> extends Object implements org.apache.directory.shared.ldap.cursor.Cursor<org.apache.directory.shared.ldap.entry.ServerEntry>
Constructor and Description |
---|
ServerEntryCursorAdaptor(BTreePartition<ID> db,
IndexCursor<ID,org.apache.directory.shared.ldap.entry.ServerEntry,ID> indexCursor) |
Modifier and Type | Method and Description |
---|---|
void |
after(org.apache.directory.shared.ldap.entry.ServerEntry element) |
void |
afterLast() |
boolean |
available() |
void |
before(org.apache.directory.shared.ldap.entry.ServerEntry element) |
void |
beforeFirst() |
void |
close() |
void |
close(Exception e) |
boolean |
first() |
org.apache.directory.shared.ldap.entry.ServerEntry |
get() |
boolean |
isClosed() |
boolean |
isElementReused() |
Iterator<org.apache.directory.shared.ldap.entry.ServerEntry> |
iterator() |
boolean |
last() |
boolean |
next() |
boolean |
previous() |
void |
setClosureMonitor(org.apache.directory.shared.ldap.cursor.ClosureMonitor monitor) |
public ServerEntryCursorAdaptor(BTreePartition<ID> db, IndexCursor<ID,org.apache.directory.shared.ldap.entry.ServerEntry,ID> indexCursor)
public void after(org.apache.directory.shared.ldap.entry.ServerEntry element) throws Exception
after
in interface org.apache.directory.shared.ldap.cursor.Cursor<org.apache.directory.shared.ldap.entry.ServerEntry>
Exception
public void afterLast() throws Exception
afterLast
in interface org.apache.directory.shared.ldap.cursor.Cursor<org.apache.directory.shared.ldap.entry.ServerEntry>
Exception
public boolean available()
available
in interface org.apache.directory.shared.ldap.cursor.Cursor<org.apache.directory.shared.ldap.entry.ServerEntry>
public void before(org.apache.directory.shared.ldap.entry.ServerEntry element) throws Exception
before
in interface org.apache.directory.shared.ldap.cursor.Cursor<org.apache.directory.shared.ldap.entry.ServerEntry>
Exception
public void beforeFirst() throws Exception
beforeFirst
in interface org.apache.directory.shared.ldap.cursor.Cursor<org.apache.directory.shared.ldap.entry.ServerEntry>
Exception
public final void setClosureMonitor(org.apache.directory.shared.ldap.cursor.ClosureMonitor monitor)
setClosureMonitor
in interface org.apache.directory.shared.ldap.cursor.Cursor<org.apache.directory.shared.ldap.entry.ServerEntry>
public void close() throws Exception
close
in interface org.apache.directory.shared.ldap.cursor.Cursor<org.apache.directory.shared.ldap.entry.ServerEntry>
Exception
public void close(Exception e) throws Exception
close
in interface org.apache.directory.shared.ldap.cursor.Cursor<org.apache.directory.shared.ldap.entry.ServerEntry>
Exception
public boolean first() throws Exception
first
in interface org.apache.directory.shared.ldap.cursor.Cursor<org.apache.directory.shared.ldap.entry.ServerEntry>
Exception
public org.apache.directory.shared.ldap.entry.ServerEntry get() throws Exception
get
in interface org.apache.directory.shared.ldap.cursor.Cursor<org.apache.directory.shared.ldap.entry.ServerEntry>
Exception
public boolean isClosed() throws Exception
isClosed
in interface org.apache.directory.shared.ldap.cursor.Cursor<org.apache.directory.shared.ldap.entry.ServerEntry>
Exception
public boolean isElementReused()
isElementReused
in interface org.apache.directory.shared.ldap.cursor.Cursor<org.apache.directory.shared.ldap.entry.ServerEntry>
public boolean last() throws Exception
last
in interface org.apache.directory.shared.ldap.cursor.Cursor<org.apache.directory.shared.ldap.entry.ServerEntry>
Exception
public boolean next() throws Exception
next
in interface org.apache.directory.shared.ldap.cursor.Cursor<org.apache.directory.shared.ldap.entry.ServerEntry>
Exception
public boolean previous() throws Exception
previous
in interface org.apache.directory.shared.ldap.cursor.Cursor<org.apache.directory.shared.ldap.entry.ServerEntry>
Exception
Copyright © 2003–2013 The Apache Software Foundation. All rights reserved.