@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface UpdatableSearchRequest extends SearchRequest, UpdatableRequest
Modifier and Type | Method and Description |
---|---|
void |
setAttributes(java.util.List<java.lang.String> attributes)
Specifies the list of requested attributes.
|
void |
setBaseDN(DN baseDN)
Specifies the base DN for the search.
|
void |
setBaseDN(java.lang.String baseDN)
Specifies the base DN for the search.
|
void |
setDerefPolicy(DereferencePolicy derefPolicy)
Specifies the dereference policy for the search.
|
void |
setFilter(Filter filter)
Specifies the filter for the search.
|
void |
setFilter(java.lang.String filter)
Specifies the filter for the search.
|
void |
setScope(SearchScope scope)
Specifies the scope for the search.
|
void |
setSizeLimit(int sizeLimit)
Specifies the size limit for the search.
|
void |
setTimeLimitSeconds(int timeLimit)
Specifies the time limit for the search in seconds.
|
void |
setTypesOnly(boolean typesOnly)
Specifies whether search result entries should contain attribute values.
|
getAttributes, getBaseDN, getDerefPolicy, getFilter, getScope, getSizeLimit, getTimeLimitSeconds, getTypesOnly, toLDAPSDKRequest
addRequestControl, setRequestControls
getOperationType, getRequestControls
void setBaseDN(java.lang.String baseDN)
baseDN
- The base DN for the search. It must not be null
.void setBaseDN(DN baseDN)
baseDN
- The base DN for the search. It must not be null
.void setScope(SearchScope scope)
scope
- The scope for the search. It must not be null
.void setDerefPolicy(DereferencePolicy derefPolicy)
derefPolicy
- The dereference policy for the search. It must not be
null
.void setSizeLimit(int sizeLimit)
sizeLimit
- The size limit for the search.void setTimeLimitSeconds(int timeLimit)
timeLimit
- The time limit for the search in seconds.void setTypesOnly(boolean typesOnly)
typesOnly
- Indicates whether search result entries should contain
only attribute types or both types and values.void setFilter(Filter filter)
filter
- The filter for the search. It must not be null
.void setFilter(java.lang.String filter) throws LDAPException
filter
- The string representation of the filter for the search. It
must not be null
.LDAPException
- If the provided string cannot be parsed as a valid
filter.void setAttributes(java.util.List<java.lang.String> attributes)
attributes
- The list of requested attributes.