Uses of Interface
org.apache.directory.api.ldap.model.message.SearchRequest
-
-
Uses of SearchRequest in org.apache.directory.api.dsmlv2.request
Classes in org.apache.directory.api.dsmlv2.request that implement SearchRequest Modifier and Type Class Description class
SearchRequestDsml
DSML Decorator for SearchRequestMethods in org.apache.directory.api.dsmlv2.request that return SearchRequest Modifier and Type Method Description SearchRequest
SearchRequestDsml. addAllControls(Control[] controls)
Adds an array of controls to this Message.SearchRequest
SearchRequestDsml. addAttributes(String... attributes)
Adds some attributes to the set of entry attributes to return.SearchRequest
SearchRequestDsml. addControl(Control control)
Adds a control to this Message.SearchRequest
SearchRequestDsml. followReferrals()
Tells the client to follow referrals instead of throwing exceptionsSearchRequest
SearchRequestDsml. ignoreReferrals()
Tells the client to ignore referrals instead of throwing exceptions.SearchRequest
SearchRequestDsml. removeAttribute(String attribute)
Removes an attribute to the set of entry attributes to return.SearchRequest
SearchRequestDsml. removeControl(Control control)
Deletes a control removing it from this Message.SearchRequest
SearchRequestDsml. setBase(Dn baseDn)
Sets the search base as a distinguished name.SearchRequest
SearchRequestDsml. setDerefAliases(AliasDerefMode aliasDerefAliases)
Sets the alias handling parameter.SearchRequest
SearchRequestDsml. setFilter(String filter)
Sets the search filter associated with this search request.SearchRequest
SearchRequestDsml. setFilter(ExprNode filter)
Sets the search filter associated with this search request.SearchRequest
SearchRequestDsml. setMessageId(int messageId)
Sets the Message ID for this requestSearchRequest
SearchRequestDsml. setScope(SearchScope scope)
Sets the search scope parameter enumeration.SearchRequest
SearchRequestDsml. setSizeLimit(long entriesMax)
Sets sizelimit that restricts the maximum number of entries to be returned as a result of the search.SearchRequest
SearchRequestDsml. setTimeLimit(int secondsMax)
Sets the timelimit that restricts the maximum time (in seconds) allowed for a search.SearchRequest
SearchRequestDsml. setTypesOnly(boolean typesOnly)
An indicator as to whether search results will contain both attribute types and values, or just attribute types.Constructors in org.apache.directory.api.dsmlv2.request with parameters of type SearchRequest Constructor Description SearchRequestDsml(LdapApiService codec, SearchRequest ldapMessage)
Creates a new getDecoratedMessage() of SearchRequestDsml. -
Uses of SearchRequest in org.apache.directory.api.ldap.codec.actions.request.search
Method parameters in org.apache.directory.api.ldap.codec.actions.request.search with type arguments of type SearchRequest Modifier and Type Method Description void
InitSearchRequest. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
InitSearchRequestAttributeDescList. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
StoreSearchRequestAttributeDesc. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
StoreSearchRequestBaseObject. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
StoreSearchRequestDerefAlias. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
StoreSearchRequestScope. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
StoreSearchRequestSizeLimit. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
StoreSearchRequestTimeLimit. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
StoreSearchRequestTypesOnly. action(LdapMessageContainer<SearchRequest> container)
The action to be executed. -
Uses of SearchRequest in org.apache.directory.api.ldap.codec.actions.request.search.filter
Method parameters in org.apache.directory.api.ldap.codec.actions.request.search.filter with type arguments of type SearchRequest Modifier and Type Method Description void
InitAndFilter. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
InitApproxMatchFilter. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
InitAssertionValueFilter. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
InitAttributeDescFilter. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
InitEqualityMatchFilter. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
InitExtensibleMatchFilter. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
InitGreaterOrEqualFilter. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
InitLessOrEqualFilter. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
InitNotFilter. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
InitOrFilter. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
InitPresentFilter. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
InitSubstringsFilter. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
StoreAny. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
StoreFinal. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
StoreInitial. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
StoreMatchingRuleDnAttributes. action(LdapMessageContainer<SearchRequest> container)
void
StoreMatchingRuleId. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
StoreMatchingRuleType. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
StoreMatchValue. action(LdapMessageContainer<SearchRequest> container)
The action to be executed.void
StoreSubstringFilterType. action(LdapMessageContainer<SearchRequest> container)
The action to be executed. -
Uses of SearchRequest in org.apache.directory.api.ldap.model.message
Classes in org.apache.directory.api.ldap.model.message that implement SearchRequest Modifier and Type Class Description class
SearchRequestImpl
SearchRequest implementation.Methods in org.apache.directory.api.ldap.model.message that return SearchRequest Modifier and Type Method Description SearchRequest
SearchRequest. addAllControls(Control[] controls)
Adds an array of controls to this Message.SearchRequest
SearchRequestImpl. addAllControls(Control[] controls)
Adds an array of controls to this Message.SearchRequest
SearchRequest. addAttributes(String... attributes)
Adds some attributes to the set of entry attributes to return.SearchRequest
SearchRequestImpl. addAttributes(String... attributesToAdd)
Adds some attributes to the set of entry attributes to return.SearchRequest
SearchRequest. addControl(Control control)
Adds a control to this Message.SearchRequest
SearchRequestImpl. addControl(Control control)
Adds a control to this Message.SearchRequest
SearchRequest. followReferrals()
Tells the client to follow referrals instead of throwing exceptionsSearchRequest
SearchRequestImpl. followReferrals()
Tells the client to follow referrals instead of throwing exceptionsSearchRequest
SearchRequest. ignoreReferrals()
Tells the client to ignore referrals instead of throwing exceptions.SearchRequest
SearchRequestImpl. ignoreReferrals()
Tells the client to ignore referrals instead of throwing exceptions.SearchRequest
SearchRequest. removeAttribute(String attribute)
Removes an attribute to the set of entry attributes to return.SearchRequest
SearchRequestImpl. removeAttribute(String attribute)
Removes an attribute to the set of entry attributes to return.SearchRequest
SearchRequest. removeControl(Control control)
Deletes a control removing it from this Message.SearchRequest
SearchRequestImpl. removeControl(Control control)
Deletes a control removing it from this Message.SearchRequest
SearchRequest. setBase(Dn baseDn)
Sets the search base as a distinguished name.SearchRequest
SearchRequestImpl. setBase(Dn base)
Sets the search base as a distinguished name.SearchRequest
SearchRequest. setDerefAliases(AliasDerefMode aliasDerefAliases)
Sets the alias handling parameter.SearchRequest
SearchRequestImpl. setDerefAliases(AliasDerefMode aliasDerefAliases)
Sets the alias handling parameter.SearchRequest
SearchRequest. setFilter(String filter)
Sets the search filter associated with this search request.SearchRequest
SearchRequest. setFilter(ExprNode filter)
Sets the search filter associated with this search request.SearchRequest
SearchRequestImpl. setFilter(String filter)
Sets the search filter associated with this search request.SearchRequest
SearchRequestImpl. setFilter(ExprNode filter)
Sets the search filter associated with this search request.SearchRequest
SearchRequest. setMessageId(int messageId)
Sets the Message ID for this requestSearchRequest
SearchRequestImpl. setMessageId(int messageId)
Sets the Message ID for this requestSearchRequest
SearchRequest. setScope(SearchScope scope)
Sets the search scope parameter enumeration.SearchRequest
SearchRequestImpl. setScope(SearchScope scope)
Sets the search scope parameter enumeration.SearchRequest
SearchRequest. setSizeLimit(long entriesMax)
Sets sizelimit that restricts the maximum number of entries to be returned as a result of the search.SearchRequest
SearchRequestImpl. setSizeLimit(long entriesMax)
Sets sizelimit that restricts the maximum number of entries to be returned as a result of the search.SearchRequest
SearchRequest. setTimeLimit(int secondsMax)
Sets the timelimit that restricts the maximum time (in seconds) allowed for a search.SearchRequest
SearchRequestImpl. setTimeLimit(int secondsMax)
Sets the timelimit that restricts the maximum time (in seconds) allowed for a search.SearchRequest
SearchRequest. setTypesOnly(boolean typesOnly)
An indicator as to whether search results will contain both attribute types and values, or just attribute types.SearchRequest
SearchRequestImpl. setTypesOnly(boolean typesOnly)
An indicator as to whether search results will contain both attribute types and values, or just attribute types. -
Uses of SearchRequest in org.apache.directory.ldap.client.api
Methods in org.apache.directory.ldap.client.api with parameters of type SearchRequest Modifier and Type Method Description SearchCursor
LdapConnection. search(SearchRequest searchRequest)
Performs search using a search request object.SearchCursor
LdapConnectionWrapper. search(SearchRequest searchRequest)
Performs search using a search request object.SearchCursor
LdapNetworkConnection. search(SearchRequest searchRequest)
Performs search using a search request object.SearchCursor
LdapNetworkConnection. search(SearchRequest searchRequest, long localSearchTimeout)
Search operation with explicit specification of operation timeout.SearchFuture
LdapAsyncConnection. searchAsync(SearchRequest searchRequest)
Do a search, on the base object, using the given filter.SearchFuture
LdapNetworkConnection. searchAsync(SearchRequest searchRequest)
Do a search, on the base object, using the given filter. -
Uses of SearchRequest in org.apache.directory.ldap.client.template
Methods in org.apache.directory.ldap.client.template that return SearchRequest Modifier and Type Method Description SearchRequest
LdapConnectionTemplate. newSearchRequest(String baseDn, String filter, SearchScope scope)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returning all normal attributes for each matching entry.SearchRequest
LdapConnectionTemplate. newSearchRequest(String baseDn, String filter, SearchScope scope, String... attributes)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returningattributes
for each matching entry.SearchRequest
LdapConnectionTemplate. newSearchRequest(String baseDn, FilterBuilder filter, SearchScope scope)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returning all normal attributes for each matching entry.SearchRequest
LdapConnectionTemplate. newSearchRequest(String baseDn, FilterBuilder filter, SearchScope scope, String... attributes)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returningattributes
for each matching entry.SearchRequest
LdapConnectionTemplate. newSearchRequest(Dn baseDn, String filter, SearchScope scope)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returning all normal attributes for each matching entry.SearchRequest
LdapConnectionTemplate. newSearchRequest(Dn baseDn, String filter, SearchScope scope, String... attributes)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returningattributes
for each matching entry.SearchRequest
LdapConnectionTemplate. newSearchRequest(Dn baseDn, FilterBuilder filter, SearchScope scope)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returning all normal attributes for each matching entry.SearchRequest
LdapConnectionTemplate. newSearchRequest(Dn baseDn, FilterBuilder filter, SearchScope scope, String... attributes)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returningattributes
for each matching entry.SearchRequest
ModelFactory. newSearchRequest(String baseDn, String filter, SearchScope scope)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returning all normal attributes for each matching entry.SearchRequest
ModelFactory. newSearchRequest(String baseDn, String filter, SearchScope scope, String... attributes)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returningattributes
for each matching entry.SearchRequest
ModelFactory. newSearchRequest(String baseDn, FilterBuilder filter, SearchScope scope)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returning all normal attributes for each matching entry.SearchRequest
ModelFactory. newSearchRequest(String baseDn, FilterBuilder filter, SearchScope scope, String... attributes)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returningattributes
for each matching entry.SearchRequest
ModelFactory. newSearchRequest(Dn baseDn, String filter, SearchScope scope)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returning all normal attributes for each matching entry.SearchRequest
ModelFactory. newSearchRequest(Dn baseDn, String filter, SearchScope scope, String... attributes)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returningattributes
for each matching entry.SearchRequest
ModelFactory. newSearchRequest(Dn baseDn, FilterBuilder filter, SearchScope scope)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returning all normal attributes for each matching entry.SearchRequest
ModelFactory. newSearchRequest(Dn baseDn, FilterBuilder filter, SearchScope scope, String... attributes)
Returns a newSearchRequest
overbaseDn
inscope
matchingfilter
returningattributes
for each matching entry.Methods in org.apache.directory.ldap.client.template with parameters of type SearchRequest Modifier and Type Method Description PasswordWarning
LdapConnectionOperations. authenticate(SearchRequest searchRequest, char[] password)
Attempts to authenticate the supplied credentials against the first entry found matching the search criteria.PasswordWarning
LdapConnectionTemplate. authenticate(SearchRequest searchRequest, char[] password)
Attempts to authenticate the supplied credentials against the first entry found matching the search criteria.<T> List<T>
LdapConnectionOperations. search(SearchRequest searchRequest, EntryMapper<T> entryMapper)
Searches for the entries matching the suppliedsearchRequest
, feeding the result into theentryMapper
.<T> List<T>
LdapConnectionTemplate. search(SearchRequest searchRequest, EntryMapper<T> entryMapper)
Searches for the entries matching the suppliedsearchRequest
, feeding the result into theentryMapper
.<T> T
LdapConnectionOperations. searchFirst(SearchRequest searchRequest, EntryMapper<T> entryMapper)
Searches for the first entry matching the suppliedsearchRequest
, feeding the result into theentryMapper
.<T> T
LdapConnectionTemplate. searchFirst(SearchRequest searchRequest, EntryMapper<T> entryMapper)
Searches for the first entry matching the suppliedsearchRequest
, feeding the result into theentryMapper
.
-