Class SearchRequest
- java.lang.Object
-
- org.opends.server.protocols.internal.SearchRequest
-
public final class SearchRequest extends Object
Search request implementation.- See Also:
SearchRequest
-
-
Method Summary
-
-
-
Method Detail
-
addAttribute
public SearchRequest addAttribute(String... attributeDescriptions)
To be removed.- Parameters:
attributeDescriptions- the attribute descriptions- Returns:
- the current object
- See Also:
SearchRequest.addAttribute(String...)
-
addAttribute
public SearchRequest addAttribute(Collection<String> attributeDescriptions)
To be added toSearchRequest?- Parameters:
attributeDescriptions- the attribute descriptions- Returns:
- the current object
-
getAttributes
public Set<String> getAttributes()
To be removed.- Returns:
- the attributes
- See Also:
SearchRequest.getAttributes()
-
getDereferenceAliasesPolicy
public DereferenceAliasesPolicy getDereferenceAliasesPolicy()
To be removed.- Returns:
- the dereference aliases policy
- See Also:
SearchRequest.getDereferenceAliasesPolicy()
-
getFilter
public SearchFilter getFilter()
To be removed.- Returns:
- the search filter
- See Also:
SearchRequest.getFilter()
-
getName
public DN getName()
To be removed.- Returns:
- the DN
- See Also:
SearchRequest.getName()
-
getScope
public SearchScope getScope()
To be removed.- Returns:
- the search scope
- See Also:
SearchRequest.getScope()
-
getSizeLimit
public int getSizeLimit()
To be removed.- Returns:
- the size limit
- See Also:
SearchRequest.getSizeLimit()
-
isSingleEntrySearch
public boolean isSingleEntrySearch()
To be removed.- Returns:
- is single entry search
- See Also:
SearchRequest.isSingleEntrySearch()
-
getTimeLimit
public int getTimeLimit()
To be removed.- Returns:
- the time limit
- See Also:
SearchRequest.getTimeLimit()
-
isTypesOnly
public boolean isTypesOnly()
To be removed.- Returns:
- the types only
- See Also:
SearchRequest.isTypesOnly()
-
setDereferenceAliasesPolicy
public SearchRequest setDereferenceAliasesPolicy(DereferenceAliasesPolicy policy)
To be removed.- Parameters:
policy- the dereference aliases policy- Returns:
- the current request
- See Also:
SearchRequest.setDereferenceAliasesPolicy(DereferenceAliasesPolicy)
-
setFilter
public SearchRequest setFilter(SearchFilter filter)
To be removed.- Parameters:
filter- the search filter- Returns:
- the current request
- See Also:
SearchRequest.setFilter(org.forgerock.opendj.ldap.Filter)
-
setFilter
public SearchRequest setFilter(String filter) throws DirectoryException
To be removed.- Parameters:
filter- the search filter- Returns:
- the current request
- Throws:
DirectoryException- if problem occurs- See Also:
SearchRequest.setFilter(String)
-
setName
public SearchRequest setName(DN dn)
To be removed.- Parameters:
dn- the dn- Returns:
- the current request
- See Also:
SearchRequest.setName(DN)
-
setName
public SearchRequest setName(String dn) throws DirectoryException
To be removed.- Parameters:
dn- the dn- Returns:
- the current request
- Throws:
DirectoryException- if problem occurs- See Also:
SearchRequest.setName(String)
-
setScope
public SearchRequest setScope(SearchScope scope)
To be removed.- Parameters:
scope- the search scope- Returns:
- the current request
- See Also:
SearchRequest.setScope(SearchScope)
-
setSizeLimit
public SearchRequest setSizeLimit(int limit)
To be removed.- Parameters:
limit- the size limit- Returns:
- the current request
- See Also:
SearchRequest.setSizeLimit(int)
-
setTimeLimit
public SearchRequest setTimeLimit(int limit)
To be removed.- Parameters:
limit- the time limit- Returns:
- the current request
- See Also:
SearchRequest.setTimeLimit(int)
-
setTypesOnly
public SearchRequest setTypesOnly(boolean typesOnly)
To be removed.- Parameters:
typesOnly- the types only- Returns:
- the current request
- See Also:
SearchRequest.setTypesOnly(boolean)
-
addControl
public SearchRequest addControl(Control control)
To be removed- Parameters:
control- the control- Returns:
- the current object
- See Also:
Request.addControl( org.forgerock.opendj.ldap.controls.Control)
-
addControl
public SearchRequest addControl(Collection<Control> controls)
To be removed- Parameters:
controls- the controls- Returns:
- the current object
- See Also:
Request.addControl( org.forgerock.opendj.ldap.controls.Control)
-
toString
public String toString()
-
containsControl
public boolean containsControl(String oid)
To be removed- Parameters:
oid- the oid- Returns:
- the current object
- See Also:
Request.containsControl(String)
-
getControls
public final List<Control> getControls()
To be removed- Returns:
- the controls
- See Also:
Request.getControls()
-
-