All LDAP Classes
Internal LDAP Classes

org.ietf.ldap
Class LDAPSearchResults

java.lang.Object
  extended byorg.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

Field Summary
private  LDAPSearchResults results
           
 
Constructor Summary
(package private) LDAPSearchResults(LDAPSearchResults results)
          Constructs searchResults from a com.novell.ldap.LDAPSearchResults object
 
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.
(package private)  LDAPSearchResults getWrappedObject()
          get the com.novell.ldap.LDAPSearchResults object
 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
 

Field Detail

results

private LDAPSearchResults results
Constructor Detail

LDAPSearchResults

LDAPSearchResults(LDAPSearchResults results)
Constructs searchResults from a com.novell.ldap.LDAPSearchResults object

Method Detail

getWrappedObject

LDAPSearchResults getWrappedObject()
get the com.novell.ldap.LDAPSearchResults object


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.

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

All LDAP Classes
Internal LDAP Classes

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