protected abstract class UnboundIDConnection.AbstractUnboundIDSearch extends Object
| Modifier and Type | Field and Description |
|---|---|
protected SearchRequest |
request
Search request.
|
protected UnboundIDUtils |
util
Utility class.
|
| Constructor and Description |
|---|
AbstractUnboundIDSearch(SearchRequest sr)
Creates a new abstract unbound id search.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.unboundid.ldap.sdk.DereferencePolicy |
getDereferencePolicy(DerefAliases deref)
Returns the unbound id deference policy for the supplied deref aliases.
|
protected com.unboundid.ldap.sdk.SearchRequest |
getSearchRequest(SearchRequest sr,
com.unboundid.ldap.sdk.SearchResultListener srListener,
com.unboundid.ldap.sdk.IntermediateResponseListener irListener)
Returns an unbound id search request object configured with the supplied search request.
|
protected com.unboundid.ldap.sdk.SearchScope |
getSearchScope(SearchScope ss)
Returns the unbound id search scope for the supplied search scope.
|
protected ResultCode |
ignoreSearchException(ResultCode[] ignoreResultCodes,
com.unboundid.ldap.sdk.LDAPException e)
Determines whether the supplied ldap exception should be ignored.
|
protected SearchItem |
processIntermediateResponse(com.unboundid.ldap.sdk.IntermediateResponse res)
Processes the response controls on the supplied response and returns a corresponding search item.
|
protected SearchItem |
processSearchResultEntry(com.unboundid.ldap.sdk.SearchResultEntry entry)
Processes the response controls on the supplied entry and returns a corresponding search item.
|
protected SearchItem |
processSearchResultReference(com.unboundid.ldap.sdk.SearchResultReference ref)
Processes the response controls on the supplied reference and returns a corresponding search item.
|
protected final SearchRequest request
protected final UnboundIDUtils util
public AbstractUnboundIDSearch(SearchRequest sr)
sr - search requestprotected com.unboundid.ldap.sdk.SearchRequest getSearchRequest(SearchRequest sr, com.unboundid.ldap.sdk.SearchResultListener srListener, com.unboundid.ldap.sdk.IntermediateResponseListener irListener) throws com.unboundid.ldap.sdk.LDAPSearchException
sr - search request containing configuration to create unbound id search requestsrListener - search result listenerirListener - intermediate response listenercom.unboundid.ldap.sdk.LDAPSearchException - if the search request cannot be initializedprotected com.unboundid.ldap.sdk.SearchScope getSearchScope(SearchScope ss)
ss - search scopeprotected com.unboundid.ldap.sdk.DereferencePolicy getDereferencePolicy(DerefAliases deref)
deref - deref aliasesprotected ResultCode ignoreSearchException(ResultCode[] ignoreResultCodes, com.unboundid.ldap.sdk.LDAPException e)
ignoreResultCodes - to match against the exceptione - ldap exception to matchprotected SearchItem processSearchResultEntry(com.unboundid.ldap.sdk.SearchResultEntry entry)
entry - to processprotected SearchItem processSearchResultReference(com.unboundid.ldap.sdk.SearchResultReference ref)
ref - to processprotected SearchItem processIntermediateResponse(com.unboundid.ldap.sdk.IntermediateResponse res)
res - to processCopyright © 2003-2019 Virginia Tech. All Rights Reserved.