|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface UpdatableSearchRequest
This interface defines a set of methods which may be used to update a search request.
Method Summary | |
---|---|
void |
setAttributes(java.util.List<java.lang.String> attributes)
Specifies the list of requested attributes. |
void |
setBaseDN(com.unboundid.ldap.sdk.DN baseDN)
Specifies the base DN for the search. |
void |
setBaseDN(java.lang.String baseDN)
Specifies the base DN for the search. |
void |
setDerefPolicy(com.unboundid.ldap.sdk.DereferencePolicy derefPolicy)
Specifies the dereference policy for the search. |
void |
setFilter(com.unboundid.ldap.sdk.Filter filter)
Specifies the filter for the search. |
void |
setFilter(java.lang.String filter)
Specifies the filter for the search. |
void |
setScope(com.unboundid.ldap.sdk.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. |
Methods inherited from interface com.unboundid.directory.sdk.common.operation.SearchRequest |
---|
getAttributes, getBaseDN, getDerefPolicy, getFilter, getScope, getSizeLimit, getTimeLimitSeconds, getTypesOnly, toLDAPSDKRequest |
Methods inherited from interface com.unboundid.directory.sdk.common.operation.UpdatableRequest |
---|
addRequestControl, setRequestControls |
Methods inherited from interface com.unboundid.directory.sdk.common.operation.Request |
---|
getOperationType, getRequestControls |
Method Detail |
---|
void setBaseDN(java.lang.String baseDN)
baseDN
- The base DN for the search. It must not be null
.void setBaseDN(com.unboundid.ldap.sdk.DN baseDN)
baseDN
- The base DN for the search. It must not be null
.void setScope(com.unboundid.ldap.sdk.SearchScope scope)
scope
- The scope for the search. It must not be null
.void setDerefPolicy(com.unboundid.ldap.sdk.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(com.unboundid.ldap.sdk.Filter filter)
filter
- The filter for the search. It must not be null
.void setFilter(java.lang.String filter) throws com.unboundid.ldap.sdk.LDAPException
filter
- The string representation of the filter for the search. It
must not be null
.
com.unboundid.ldap.sdk.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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |