public final class SearchRequest extends Object
SearchRequestImpl
Modifier and Type | Method and Description |
---|---|
SearchRequest |
addAttribute(Collection<String> attributeDescriptions)
To be added to
SearchRequestImpl ? |
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 descriptionsSearchRequestImpl.addAttribute(String...)
public SearchRequest addAttribute(Collection<String> attributeDescriptions)
SearchRequestImpl
?attributeDescriptions
- the attribute descriptionspublic Set<String> getAttributes()
SearchRequestImpl.getAttributes()
public org.forgerock.opendj.ldap.DereferenceAliasesPolicy getDereferenceAliasesPolicy()
SearchRequestImpl.getDereferenceAliasesPolicy()
public SearchFilter getFilter()
SearchRequestImpl.getFilter()
public org.forgerock.opendj.ldap.SearchScope getScope()
SearchRequestImpl.getScope()
public int getSizeLimit()
SearchRequestImpl.getSizeLimit()
public boolean isSingleEntrySearch()
SearchRequestImpl.isSingleEntrySearch()
public int getTimeLimit()
SearchRequestImpl.getTimeLimit()
public boolean isTypesOnly()
SearchRequestImpl.isTypesOnly()
public SearchRequest setDereferenceAliasesPolicy(org.forgerock.opendj.ldap.DereferenceAliasesPolicy policy)
policy
- the dereference aliases policySearchRequestImpl.setDereferenceAliasesPolicy(DereferenceAliasesPolicy)
public SearchRequest setFilter(SearchFilter filter)
filter
- the search filterSearchRequestImpl.setFilter(org.forgerock.opendj.ldap.Filter)
public SearchRequest setFilter(String filter) throws DirectoryException
filter
- the search filterDirectoryException
- if problem occursSearchRequestImpl.setFilter(String)
public SearchRequest setName(DN dn)
dn
- the dnSearchRequestImpl.setName(org.forgerock.opendj.ldap.DN)
public SearchRequest setName(String dn) throws DirectoryException
dn
- the dnDirectoryException
- if problem occursSearchRequestImpl.setName(String)
public SearchRequest setScope(org.forgerock.opendj.ldap.SearchScope scope)
scope
- the search scopeSearchRequestImpl.setScope(SearchScope)
public SearchRequest setSizeLimit(int limit)
limit
- the size limitSearchRequestImpl.setSizeLimit(int)
public SearchRequest setTimeLimit(int limit)
limit
- the time limitSearchRequestImpl.setTimeLimit(int)
public SearchRequest setTypesOnly(boolean typesOnly)
typesOnly
- the types onlySearchRequestImpl.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-2015 ForgeRock AS. All Rights Reserved.