protected abstract class JLdapConnection.AbstractJLdapSearch extends Object
Modifier and Type | Field and Description |
---|---|
protected SearchRequest |
request
Search request.
|
protected JLdapUtils |
util
Utility class.
|
Constructor and Description |
---|
AbstractJLdapSearch(SearchRequest sr)
Creates a new abstract jldap search.
|
Modifier and Type | Method and Description |
---|---|
protected com.novell.ldap.LDAPSearchConstraints |
getLDAPSearchConstraints(SearchRequest sr)
Returns an ldap search constraints object configured with the supplied search request.
|
protected int |
getSearchScope(SearchScope ss)
Returns the jldap integer constant for the supplied search scope.
|
protected ResultCode |
ignoreSearchException(ResultCode[] ignoreResultCodes,
com.novell.ldap.LDAPException e)
Determines whether the supplied ldap exception should be ignored.
|
protected SearchItem |
processLDAPIntermediateResponse(com.novell.ldap.LDAPIntermediateResponse res)
Processes the response controls on the supplied response and returns a corresponding search item.
|
protected SearchItem |
processLDAPSearchResult(com.novell.ldap.LDAPSearchResult res)
Processes the response controls on the supplied result and returns a corresponding search item.
|
protected SearchItem |
processLDAPSearchResultReference(com.novell.ldap.LDAPSearchResultReference ref)
Processes the response controls on the supplied reference and returns a corresponding search item.
|
protected com.novell.ldap.LDAPSearchQueue |
search(com.novell.ldap.LDAPConnection conn,
SearchRequest sr)
Executes an ldap search.
|
protected final SearchRequest request
protected final JLdapUtils util
public AbstractJLdapSearch(SearchRequest sr)
sr
- search requestprotected com.novell.ldap.LDAPSearchQueue search(com.novell.ldap.LDAPConnection conn, SearchRequest sr) throws com.novell.ldap.LDAPException
conn
- to search withsr
- to read properties fromcom.novell.ldap.LDAPException
- if an error occursprotected int getSearchScope(SearchScope ss)
ss
- search scopeprotected com.novell.ldap.LDAPSearchConstraints getLDAPSearchConstraints(SearchRequest sr)
sr
- search request containing configuration to create search constraintsprotected ResultCode ignoreSearchException(ResultCode[] ignoreResultCodes, com.novell.ldap.LDAPException e)
ignoreResultCodes
- to match against the exceptione
- ldap exception to matchprotected SearchItem processLDAPSearchResult(com.novell.ldap.LDAPSearchResult res)
res
- to processprotected SearchItem processLDAPSearchResultReference(com.novell.ldap.LDAPSearchResultReference ref)
ref
- to processprotected SearchItem processLDAPIntermediateResponse(com.novell.ldap.LDAPIntermediateResponse res)
res
- to processCopyright © 2003-2019 Virginia Tech. All Rights Reserved.