|
Sun Adapter for LDAP API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.stc.connector.ldapadapter.appconn.SearchResultsImpl
public class SearchResultsImpl
This class is used to fetch the results from a search operation and also to initiate a manual referral follow when referrals are returned by the search operation.
| Constructor Summary | |
|---|---|
protected |
SearchResultsImpl(LDAPClientApplicationImpl app)
Creates a new instance of SearchResults |
protected |
SearchResultsImpl(LDAPClientApplicationImpl app,
javax.naming.NamingEnumeration searchResults)
Creates a new instance of SearchResults |
| Method Summary | |
|---|---|
void |
clear()
Close the underlying result object. |
Result |
getResult()
Get the current result. |
boolean |
hasMoreResults()
Check to see if any results were returned by the search. |
boolean |
hasResults()
Check to see if any results were returned by the search. |
boolean |
nextResult()
Get the next result returned by the search. |
void |
performManualReferralFollow(javax.naming.ldap.LdapReferralException refex)
Method to perform manual follow of referral. |
void |
reset()
Method to reset the values |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SearchResultsImpl(LDAPClientApplicationImpl app)
app - The LDAP client application associated with this SearchResults
instance.
protected SearchResultsImpl(LDAPClientApplicationImpl app,
javax.naming.NamingEnumeration searchResults)
app - The LDAP client application associated with this SearchResults
instance.searchResults - the enumeration containing the search results.| Method Detail |
|---|
public void reset()
SearchResults
reset in interface SearchResults
public Result getResult()
throws LDAPApplicationException
getResult in interface SearchResultsLDAPApplicationException - if there is no connection is available to the LDAP server.hasResults(),
hasMoreResults(),
#getNextResult
public void clear()
throws LDAPApplicationException
clear in interface SearchResultsLDAPApplicationException - if there is no connection is available to the LDAP server.
public boolean hasResults()
throws LDAPApplicationException
hasResults in interface SearchResultsLDAPApplicationException - if there is no connection is available to the LDAP server.SearchOptions,
Search.performSearch(),
#getNextResult
public boolean hasMoreResults()
throws LDAPApplicationException
hasMoreResults in interface SearchResultsLDAPApplicationException - if there is no connection is available to the LDAP server.SearchOptions,
Search.performSearch(),
hasResults(),
#getNextResult
public boolean nextResult()
throws LDAPApplicationException
nextResult in interface SearchResultsLDAPApplicationException - if there is no connection is available to the LDAP server.SearchOptions,
Search.performSearch(),
hasResults()
public void performManualReferralFollow(javax.naming.ldap.LdapReferralException refex)
throws LDAPApplicationException
refex - the LdapReferralException object used to follow the referral
LDAPApplicationException - if there is no connection is available to the LDAP server.
|
Sun Adapter for LDAP API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||