public final class SearchRequest extends Object
SearchRequest
Modifier and Type | Method and Description |
---|---|
SearchRequest |
addAttribute(Collection<String> attributeDescriptions)
To be added to
SearchRequest ? |
SearchRequest |
addAttribute(String... attributeDescriptions)
To be removed.
|
SearchRequest |
addControl(Collection<Control> controls)
To be removed
|
SearchRequest |
addControl(Control control)
To be removed
|
boolean |
containsControl(String oid)
To be removed
|
Set<String> |
getAttributes()
To be removed.
|
List<Control> |
getControls()
To be removed
|
org.forgerock.opendj.ldap.DereferenceAliasesPolicy |
getDereferenceAliasesPolicy()
To be removed.
|
SearchFilter |
getFilter()
To be removed.
|
DN |
getName()
To be removed.
|
org.forgerock.opendj.ldap.SearchScope |
getScope()
To be removed.
|
int |
getSizeLimit()
To be removed.
|
int |
getTimeLimit()
To be removed.
|
boolean |
isSingleEntrySearch()
To be removed.
|
boolean |
isTypesOnly()
To be removed.
|
SearchRequest |
setDereferenceAliasesPolicy(org.forgerock.opendj.ldap.DereferenceAliasesPolicy policy)
To be removed.
|
SearchRequest |
setFilter(SearchFilter filter)
To be removed.
|
SearchRequest |
setFilter(String filter)
To be removed.
|
SearchRequest |
setName(DN dn)
To be removed.
|
SearchRequest |
setName(String dn)
To be removed.
|
SearchRequest |
setScope(org.forgerock.opendj.ldap.SearchScope scope)
To be removed.
|
SearchRequest |
setSizeLimit(int limit)
To be removed.
|
SearchRequest |
setTimeLimit(int limit)
To be removed.
|
SearchRequest |
setTypesOnly(boolean typesOnly)
To be removed.
|
String |
toString() |
public SearchRequest addAttribute(String... attributeDescriptions)
attributeDescriptions
- the attribute descriptionsSearchRequest.addAttribute(String...)
public SearchRequest addAttribute(Collection<String> attributeDescriptions)
SearchRequest
?attributeDescriptions
- the attribute descriptionspublic Set<String> getAttributes()
SearchRequest.getAttributes()
public org.forgerock.opendj.ldap.DereferenceAliasesPolicy getDereferenceAliasesPolicy()
SearchRequest.getDereferenceAliasesPolicy()
public SearchFilter getFilter()
SearchRequest.getFilter()
public org.forgerock.opendj.ldap.SearchScope getScope()
SearchRequest.getScope()
public int getSizeLimit()
SearchRequest.getSizeLimit()
public boolean isSingleEntrySearch()
SearchRequest.isSingleEntrySearch()
public int getTimeLimit()
SearchRequest.getTimeLimit()
public boolean isTypesOnly()
SearchRequest.isTypesOnly()
public SearchRequest setDereferenceAliasesPolicy(org.forgerock.opendj.ldap.DereferenceAliasesPolicy policy)
policy
- the dereference aliases policySearchRequest.setDereferenceAliasesPolicy(DereferenceAliasesPolicy)
public SearchRequest setFilter(SearchFilter filter)
filter
- the search filterSearchRequest.setFilter(org.forgerock.opendj.ldap.Filter)
public SearchRequest setFilter(String filter) throws DirectoryException
filter
- the search filterDirectoryException
- if problem occursSearchRequest.setFilter(String)
public SearchRequest setName(DN dn)
dn
- the dnSearchRequest.setName(org.forgerock.opendj.ldap.DN)
public SearchRequest setName(String dn) throws DirectoryException
dn
- the dnDirectoryException
- if problem occursSearchRequest.setName(String)
public SearchRequest setScope(org.forgerock.opendj.ldap.SearchScope scope)
scope
- the search scopeSearchRequest.setScope(SearchScope)
public SearchRequest setSizeLimit(int limit)
limit
- the size limitSearchRequest.setSizeLimit(int)
public SearchRequest setTimeLimit(int limit)
limit
- the time limitSearchRequest.setTimeLimit(int)
public SearchRequest setTypesOnly(boolean typesOnly)
typesOnly
- the types onlySearchRequest.setTypesOnly(boolean)
public SearchRequest addControl(Control control)
control
- the controlAbstractRequestImpl.addControl(
org.forgerock.opendj.ldap.controls.Control)
public SearchRequest addControl(Collection<Control> controls)
controls
- the controlsAbstractRequestImpl.addControl(
org.forgerock.opendj.ldap.controls.Control)
public boolean containsControl(String oid)
oid
- the oidAbstractRequestImpl.containsControl(String)
public final List<Control> getControls()
AbstractRequestImpl.getControls()
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.