protected abstract class OpenDJConnection.AbstractOpenDJSearch extends Object
| Modifier and Type | Field and Description |
|---|---|
protected SearchRequest |
request
Search request.
|
protected OpenDJUtils |
util
Utility class.
|
| Constructor and Description |
|---|
AbstractOpenDJSearch(SearchRequest sr)
Creates a new abstract opendj search.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.forgerock.opendj.ldap.DereferenceAliasesPolicy |
getDereferencePolicy(DerefAliases deref)
Returns the opendj deference policy for the supplied deref aliases.
|
protected org.forgerock.opendj.ldap.requests.SearchRequest |
getSearchRequest(SearchRequest sr)
Returns an opendj search request object configured with the supplied search request.
|
protected org.forgerock.opendj.ldap.SearchScope |
getSearchScope(SearchScope ss)
Returns the opendj search scope for the supplied search scope.
|
protected ResultCode |
ignoreSearchException(ResultCode[] ignoreResultCodes,
org.forgerock.opendj.ldap.ErrorResultException e)
Determines whether the supplied ldap exception should be ignored.
|
protected SearchItem |
processIntermediateResponse(org.forgerock.opendj.ldap.responses.IntermediateResponse res)
Processes the response controls on the supplied response and returns a corresponding search item.
|
protected SearchItem |
processSearchResultEntry(org.forgerock.opendj.ldap.responses.SearchResultEntry entry)
Processes the response controls on the supplied entry and returns a corresponding search item.
|
protected SearchItem |
processSearchResultReference(org.forgerock.opendj.ldap.responses.SearchResultReference ref)
Processes the response controls on the supplied reference and returns a corresponding search item.
|
protected final SearchRequest request
protected final OpenDJUtils util
public AbstractOpenDJSearch(SearchRequest sr)
sr - search requestprotected org.forgerock.opendj.ldap.requests.SearchRequest getSearchRequest(SearchRequest sr)
sr - search request containing configuration to create opendj search requestprotected org.forgerock.opendj.ldap.SearchScope getSearchScope(SearchScope ss)
ss - search scopeprotected org.forgerock.opendj.ldap.DereferenceAliasesPolicy getDereferencePolicy(DerefAliases deref)
deref - deref aliasesprotected ResultCode ignoreSearchException(ResultCode[] ignoreResultCodes, org.forgerock.opendj.ldap.ErrorResultException e)
ignoreResultCodes - to match against the exceptione - ldap exception to matchprotected SearchItem processSearchResultEntry(org.forgerock.opendj.ldap.responses.SearchResultEntry entry)
entry - to processprotected SearchItem processSearchResultReference(org.forgerock.opendj.ldap.responses.SearchResultReference ref)
ref - to processprotected SearchItem processIntermediateResponse(org.forgerock.opendj.ldap.responses.IntermediateResponse res)
res - to processCopyright © 2003-2019 Virginia Tech. All Rights Reserved.