public class PagedLDAPResultSet extends Object implements LDAPResultSet
Constructor and Description |
---|
PagedLDAPResultSet(String baseDn,
String filter,
Object[] filterArgs,
LdapContext conn,
LDAPSearchControls controls,
NamingEnumeration<SearchResult> entries,
LDAPSchemaAware schemaCache) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
List<LDAPEntry> |
getAllEntries() |
int |
getResultSize()
Retrieves (an estimate of) the number of entries in the search result.
|
boolean |
hasNext() |
LDAPEntry |
next() |
public PagedLDAPResultSet(String baseDn, String filter, Object[] filterArgs, LdapContext conn, LDAPSearchControls controls, NamingEnumeration<SearchResult> entries, LDAPSchemaAware schemaCache)
public void close() throws LDAPException
close
in interface LDAPResultSet
LDAPException
LDAPResultSet.close()
public LDAPEntry next() throws LDAPException
next
in interface LDAPResultSet
LDAPException
LDAPResultSet.next()
public boolean hasNext() throws LDAPException
hasNext
in interface LDAPResultSet
LDAPException
LDAPResultSet.hasNext()
public List<LDAPEntry> getAllEntries() throws LDAPException
getAllEntries
in interface LDAPResultSet
LDAPException
LDAPResultSet.getAllEntries()
public int getResultSize() throws LDAPException
LDAPResultSet
getResultSize
in interface LDAPResultSet
LDAPException
Copyright © 2010–2020. All rights reserved.