Uses of Class
org.forgerock.opendj.ldap.Filter
-
Packages that use Filter Package Description org.forgerock.openam.ldap This package contains utility methods to ease/unify development when using the OpenDJ LDAP SDK.org.forgerock.opendj.io Classes and interfaces providing I/O functionality.org.forgerock.opendj.ldap Classes and interfaces for core types including connections, entries, and attributes.org.forgerock.opendj.ldap.controls Classes and interfaces for common LDAP controls.org.forgerock.opendj.ldap.messages Classes and interfaces for core LDAP requests/responses.org.forgerock.opendj.ldif Classes and interfaces for reading and writing LDIF. -
-
Uses of Filter in org.forgerock.openam.ldap
Methods in org.forgerock.openam.ldap that return Filter Modifier and Type Method Description static Filter
LDAPUtils. parseFilter(String filter, Filter defaultFilter)
Parses the incoming filter, and in case of failure falls back to the default filter.Methods in org.forgerock.openam.ldap with parameters of type Filter Modifier and Type Method Description static Filter
LDAPUtils. parseFilter(String filter, Filter defaultFilter)
Parses the incoming filter, and in case of failure falls back to the default filter. -
Uses of Filter in org.forgerock.opendj.io
Methods in org.forgerock.opendj.io that return Filter Modifier and Type Method Description static Filter
Ldap. readFilter(Asn1Reader reader)
Reads the next ASN.1 element from the providedASN1Reader
as aFilter
using a maximum filter depth of 100.static Filter
Ldap. readFilter(Asn1Reader reader, int maxFilterDepth)
Reads the next ASN.1 element from the providedASN1Reader
as aFilter
using the provided maximum filter depth.Methods in org.forgerock.opendj.io with parameters of type Filter Modifier and Type Method Description static void
Ldap. writeFilter(Asn1Writer writer, Filter filter)
Writes aFilter
to the providedAsn1Writer
. -
Uses of Filter in org.forgerock.opendj.ldap
Methods in org.forgerock.opendj.ldap that return Filter Modifier and Type Method Description static Filter
Filter. alwaysFalse()
Returns theabsolute false
filter as defined in RFC 4526 which is comprised of anor
filter containing zero components.static Filter
Filter. alwaysTrue()
Returns theabsolute true
filter as defined in RFC 4526 which is comprised of anand
filter containing zero components.static Filter
Filter. and(Collection<Filter> subFilters)
Creates a newand
filter using the provided list of sub-filters.static Filter
Filter. and(Filter... subFilters)
Creates a newand
filter using the provided list of sub-filters.static Filter
Filter. approximate(String attributeDescription, Object assertionValue)
Creates a newapproximate match
filter using the provided attribute description and assertion value.static Filter
Filter. equality(String attributeDescription, Object assertionValue)
Creates a newequality match
filter using the provided attribute description and assertion value.static Filter
Filter. extensible(String matchingRule, String attributeDescription, Object assertionValue, boolean dnAttributes)
Creates a newextensible match
filter.static Filter
Filter. format(String template, Object... assertionValues)
Creates a new filter using the provided filter template and unescaped assertion values.Filter
LdapUrl. getFilter()
Returns the search filter associated with this LDAP URL.Filter
Matcher. getFilter()
Returns the rawFilter
associated with this comparison or undefined filterMatcher
.Filter
Filter. getNotSubFilter()
Returns the sub-filter for this NOT filter.static Filter
Filter. greaterOrEqual(String attributeDescription, Object assertionValue)
Creates a newgreater or equal
filter using the provided attribute description and assertion value.static Filter
Filter. greaterThan(String attributeDescription, Object assertionValue)
Creates a newgreater than
filter using the provided attribute description and assertion value.static Filter
Filter. lessOrEqual(String attributeDescription, Object assertionValue)
Creates a newless or equal
filter using the provided attribute description and assertion value.static Filter
Filter. lessThan(String attributeDescription, Object assertionValue)
Creates a newless than
filter using the provided attribute description and assertion value.static Filter
Filter. not(Filter subFilter)
Creates a newnot
filter using the provided sub-filter.static Filter
Filter. objectClassPresent()
Returns theobjectClass
presence filter(objectClass=*)
.static Filter
Filter. or(Collection<Filter> subFilters)
Creates a newor
filter using the provided list of sub-filters.static Filter
Filter. or(Filter... subFilters)
Creates a newor
filter using the provided list of sub-filters.static Filter
Filter. present(String attributeDescription)
Creates a newpresent
filter using the provided attribute description.static Filter
Filter. substrings(String attributeDescription, Object initialSubstring, Collection<?> anySubstrings, Object finalSubstring)
Creates a newsubstrings
filter using the provided attribute description,initial
,final
, andany
sub-strings.static Filter
Filter. unrecognized(byte filterTag, ByteString filterBytes)
Creates a newunrecognized
filter using the provided ASN1 filter tag and content.static Filter
Filter. valueOf(String string)
Parses the provided LDAP string representation of a filter as aFilter
.Methods in org.forgerock.opendj.ldap that return types with arguments of type Filter Modifier and Type Method Description List<Filter>
Filter. getSubFilters()
Returns an unmodifiable list containing the sub-filters for this AND or OR filter.Methods in org.forgerock.opendj.ldap with parameters of type Filter Modifier and Type Method Description static Filter
Filter. and(Filter... subFilters)
Creates a newand
filter using the provided list of sub-filters.static Filter
Filter. not(Filter subFilter)
Creates a newnot
filter using the provided sub-filter.static Filter
Filter. or(Filter... subFilters)
Creates a newor
filter using the provided list of sub-filters.Method parameters in org.forgerock.opendj.ldap with type arguments of type Filter Modifier and Type Method Description static Filter
Filter. and(Collection<Filter> subFilters)
Creates a newand
filter using the provided list of sub-filters.static Filter
Filter. or(Collection<Filter> subFilters)
Creates a newor
filter using the provided list of sub-filters.Constructors in org.forgerock.opendj.ldap with parameters of type Filter Constructor Description LdapUrl(boolean isSecured, String host, Integer port, Dn name, SearchScope scope, Filter filter, String... attributes)
Creates a new LDAP URL including the full set of parameters for a search request. -
Uses of Filter in org.forgerock.opendj.ldap.controls
Methods in org.forgerock.opendj.ldap.controls that return Filter Modifier and Type Method Description Filter
AssertionRequestControl. getFilter()
Returns the assertion filter.Methods in org.forgerock.opendj.ldap.controls that return types with arguments of type Filter Modifier and Type Method Description Collection<Filter>
MatchedValuesRequestControl. getFilters()
Returns an unmodifiable collection containing the list of filters associated with this matched values control.Methods in org.forgerock.opendj.ldap.controls with parameters of type Filter Modifier and Type Method Description static AssertionRequestControl
AssertionRequestControl. newControl(boolean isCritical, Filter filter)
Creates a new assertion using the provided criticality and assertion filter.Method parameters in org.forgerock.opendj.ldap.controls with type arguments of type Filter Modifier and Type Method Description static MatchedValuesRequestControl
MatchedValuesRequestControl. newControl(boolean isCritical, Collection<Filter> filters)
Creates a new matched values request control with the provided criticality and list of filters. -
Uses of Filter in org.forgerock.opendj.ldap.messages
Methods in org.forgerock.opendj.ldap.messages that return Filter Modifier and Type Method Description Filter
SearchRequest. getFilter()
Returns the filter that defines the conditions that must be fulfilled in order for an entry to be returned.Methods in org.forgerock.opendj.ldap.messages with parameters of type Filter Modifier and Type Method Description 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(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
SearchRequest. setFilter(Filter filter)
Sets the filter that defines the conditions that must be fulfilled in order for an entry to be returned. -
Uses of Filter in org.forgerock.opendj.ldif
Method parameters in org.forgerock.opendj.ldif with type arguments of type Filter Modifier and Type Method Description LdifEntryReader
LdifEntryReader. setIncludeExcludeFilters(Collection<Filter> includeFilters, Collection<Filter> excludeFilters)
Sets the filters to include / exclude entries.LdifEntryWriter
LdifEntryWriter. setIncludeExcludeFilters(Collection<Filter> includeFilters, Collection<Filter> excludeFilters)
Sets the filters to include / exclude entries.
-