Uses of Class
org.forgerock.opendj.ldap.SearchScope
Package
Description
This package contains utility methods to ease/unify development when using the OpenDJ LDAP SDK.
Classes and interfaces for core types including connections, entries, and
attributes.
Classes and interfaces for core LDAP requests/responses.
-
Uses of SearchScope in org.forgerock.openam.ldap
Modifier and TypeMethodDescriptionstatic SearchScope
LDAPUtils.getSearchScope
(String scope, SearchScope defaultScope) Converts string representation of scope (as defined in the configuration) to the correspondingSearchScope
object.Modifier and TypeMethodDescriptionstatic SearchScope
LDAPUtils.getSearchScope
(String scope, SearchScope defaultScope) Converts string representation of scope (as defined in the configuration) to the correspondingSearchScope
object. -
Uses of SearchScope in org.forgerock.opendj.ldap
Modifier and TypeFieldDescriptionstatic final SearchScope
SearchScope.BASE_OBJECT
The scope is constrained to the search base entry.static final SearchScope
SearchScope.SINGLE_LEVEL
The scope is constrained to the immediate subordinates of the search base entry.static final SearchScope
SearchScope.SUBORDINATES
The scope is constrained to all the subordinates of the search base entry, but does not include the search base entry itself (as wholeSubtree does).static final SearchScope
SearchScope.WHOLE_SUBTREE
The scope is constrained to the search base entry and to all its subordinates.Modifier and TypeMethodDescriptionLdapUrl.getScope()
Returns the search scope associated with this LDAP URL.static SearchScope
SearchScope.valueOf
(int intValue) Returns the search scope having the specified integer value as defined in RFC 4511 section 4.5.1.2.static SearchScope
Returns the search scope having the specified name as defined in RFC 4511 section 4.5.1.2.Modifier and TypeMethodDescriptionstatic List<SearchScope>
SearchScope.values()
Returns an unmodifiable list containing the set of available search scopes indexed on their integer value as defined in RFC 4511 section 4.5.1.2.Modifier and TypeMethodDescriptionboolean
Dn.isInScopeOf
(String dn, SearchScope scope) Returnstrue
if this DN matches the provided base DN and search scope.boolean
Dn.isInScopeOf
(Dn dn, SearchScope scope) Returnstrue
if this DN matches the provided base DN and search scope.AbstractConnection.search
(String baseObject, SearchScope scope, String filter, String... attributeDescriptions) AbstractConnectionWrapper.search
(String baseObject, SearchScope scope, String filter, String... attributeDescriptions) Searches the Directory Server using the provided search parameters.Connection.search
(String baseObject, SearchScope scope, String filter, String... attributeDescriptions) Searches the Directory Server using the provided search parameters.AbstractConnection.searchSingleEntry
(String baseObject, SearchScope scope, String filter, String... attributeDescriptions) AbstractConnectionWrapper.searchSingleEntry
(String baseObject, SearchScope scope, String filter, String... attributeDescriptions) Searches the Directory Server for a single entry using the provided search parameters.Connection.searchSingleEntry
(String baseObject, SearchScope scope, String filter, String... attributeDescriptions) Searches the Directory Server for a single entry using the provided search parameters. -
Uses of SearchScope in org.forgerock.opendj.ldap.messages
Modifier and TypeMethodDescriptionstatic SearchRequest
Requests.newSearchRequest
(String name, SearchScope scope) Creates a new search request using the provided distinguished name and scope.static SearchRequest
Requests.newSearchRequest
(String name, SearchScope scope, String filter, String... attributeDescriptions) Creates a new search request using the provided distinguished name, scope, and filter, decoded using the default schema.static SearchRequest
Requests.newSearchRequest
(Dn name, SearchScope scope) Creates a new search request using the provided distinguished name and scope.static SearchRequest
Requests.newSearchRequest
(Dn name, SearchScope scope, Filter filter, String... attributeDescriptions) Creates a new search request using the provided distinguished name, scope, and filter.static SearchRequest
Requests.newSingleEntrySearchRequest
(String name, SearchScope scope, String filter, String... attributeDescriptions) Creates a new search request for a single entry, using the provided distinguished name, scope, and filter, decoded using the default schema.static SearchRequest
Requests.newSingleEntrySearchRequest
(Dn name, SearchScope scope, Filter filter, String... attributeDescriptions) Creates a new search request for a single entry, using the provided distinguished name, scope, and filter.SearchRequest.setScope
(SearchScope scope) Sets the scope of the search.