LDAP Classes
Implements Java LDAP

org.ietf.ldap
Class LDAPSearchResults

java.lang.Object
  |
  +--org.ietf.ldap.LDAPSearchResults

public class LDAPSearchResults
extends java.lang.Object

An LDAPSearchResults provides access to all results received during the operation (entries and exceptions).

See Also:
com.novell.ldap.LDAPSearchResults

Method Summary
 int getCount()
          Returns a count of the entries in the search result.
 LDAPControl[] getResponseControls()
          Returns the latest server controls returned by the server in the context of this search request, or null if no server controls were returned.
 boolean hasMore()
          Reports if there are more search results.
 LDAPEntry next()
          Returns the next result as an LDAPEntry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCount

public int getCount()
Returns a count of the entries in the search result.

See Also:
com.novell.ldap.LDAPSearchResults.getCount()

getResponseControls

public LDAPControl[] getResponseControls()
Returns the latest server controls returned by the server in the context of this search request, or null if no server controls were returned.

See Also:
com.novell.ldap.LDAPSearchResults.getResponseControls()

hasMore

public boolean hasMore()
Reports if there are more search results.

See Also:
com.novell.ldap.LDAPSearchResults.hasMoreElements()

next

public LDAPEntry next()
               throws LDAPException
Returns the next result as an LDAPEntry.

LDAPException
See Also:
com.novell.ldap.LDAPSearchResults.next()

LDAP Classes
Implements Java LDAP

Copyright © 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000