@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface SearchRequest extends Request
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getAttributes()
Retrieves the list of requested attributes.
|
java.lang.String |
getBaseDN()
Retrieves the base DN for the search.
|
DereferencePolicy |
getDerefPolicy()
Retrieves the dereference policy for the search.
|
Filter |
getFilter()
Retrieves the filter for the search.
|
SearchScope |
getScope()
Retrieves the scope for the search.
|
int |
getSizeLimit()
Retrieves the size limit for the search.
|
int |
getTimeLimitSeconds()
Retrieves the time limit for the search in seconds.
|
boolean |
getTypesOnly()
Indicates whether search result entries should contain only attribute types
or both types and values.
|
ReadOnlySearchRequest |
toLDAPSDKRequest(SearchResultListener listener)
Retrieves an LDAP SDK representation of this search request.
|
getOperationType, getRequestControls
java.lang.String getBaseDN()
SearchScope getScope()
DereferencePolicy getDerefPolicy()
int getSizeLimit()
int getTimeLimitSeconds()
boolean getTypesOnly()
true
if search result entries should contain only
attribute types but no values, or false
if entries should
contain both attribute types and values.Filter getFilter()
java.util.List<java.lang.String> getAttributes()
ReadOnlySearchRequest toLDAPSDKRequest(SearchResultListener listener)
listener
- The search result listener that should be used for the
request. It may be null
if no listener should be
used.