|
LDAP Classes Implements Java LDAP |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.ldap.LDAPSearchResults
com.novell.ldap.SPMLSearchResults
| Constructor Summary | |
SPMLSearchResults()
|
|
SPMLSearchResults(java.util.List results)
|
|
| Method Summary | |
int |
getCount()
Returns a count of the items 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 com.novell.ldap.LDAPSearchResults |
getDeSerializedControls, getDeSerializedEntries, readDSML, readExternal, writeExternal |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SPMLSearchResults(java.util.List results)
public SPMLSearchResults()
| Method Detail |
public int getCount()
LDAPSearchResultsReturns a count of the entries and exceptions remaining in the object. If the search was submitted with a batch size greater than zero, getCount reports the number of results received so far but not enumerated with next(). The behavior is same for search submitted with batch size equals to 0.
For blocking calls with batch size equals to 0, get count returns the count of all the expected results from search for first time once after enumerated with hasMore(). The subsequent iterations decrement count value for both blocking and non-blocking calls.
getCount in class LDAPSearchResultspublic LDAPControl[] getResponseControls()
LDAPSearchResults
getResponseControls in class LDAPSearchResultspublic boolean hasMore()
LDAPSearchResults
hasMore in class LDAPSearchResultspublic LDAPEntry next()
throws LDAPException
LDAPSearchResultsIf automatic referral following is disabled or if a referral was not followed, next() will throw an LDAPReferralException when the referral is received.
next in class LDAPSearchResultsLDAPException - A general exception which includes an error
message and an LDAP error code.
|
LDAP Classes Implements Java LDAP |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||