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 FilterLDAPUtils. 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 FilterLDAPUtils. 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 FilterLdap. readFilter(Asn1Reader reader)Reads the next ASN.1 element from the providedASN1Readeras aFilterusing a maximum filter depth of 100.static FilterLdap. readFilter(Asn1Reader reader, int maxFilterDepth)Reads the next ASN.1 element from the providedASN1Readeras aFilterusing the provided maximum filter depth.Methods in org.forgerock.opendj.io with parameters of type Filter Modifier and Type Method Description static voidLdap. writeFilter(Asn1Writer writer, Filter filter)Writes aFilterto 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 FilterFilter. alwaysFalse()Returns theabsolute falsefilter as defined in RFC 4526 which is comprised of anorfilter containing zero components.static FilterFilter. alwaysTrue()Returns theabsolute truefilter as defined in RFC 4526 which is comprised of anandfilter containing zero components.static FilterFilter. and(Collection<Filter> subFilters)Creates an optimized newandfilter using the provided list of sub-filters.static FilterFilter. and(Collection<Filter> subFilters, boolean optimize)Creates a newandfilter using the provided list of sub-filters.static FilterFilter. and(Filter... subFilters)Creates a newandfilter using the provided list of sub-filters.static FilterFilter. approximate(String attributeDescription, Object assertionValue)Creates a newapproximate matchfilter using the provided attribute description and assertion value.static FilterFilter. equality(String attributeDescription, Object assertionValue)Creates a newequality matchfilter using the provided attribute description and assertion value.static FilterFilter. extensible(String matchingRule, String attributeDescription, Object assertionValue, boolean dnAttributes)Creates a newextensible matchfilter.static FilterFilter. format(String template, Object... assertionValues)Creates a new filter using the provided filter template and unescaped assertion values.FilterLdapUrl. getFilter()Returns the search filter associated with this LDAP URL.FilterMatcher. getFilter()Returns the rawFilterassociated with this comparison or undefined filterMatcher.FilterFilter. getNotSubFilter()Returns the sub-filter for this NOT filter.static FilterFilter. greaterOrEqual(String attributeDescription, Object assertionValue)Creates a newgreater or equalfilter using the provided attribute description and assertion value.static FilterFilter. greaterThan(String attributeDescription, Object assertionValue)Creates a newgreater thanfilter using the provided attribute description and assertion value.static FilterFilter. lessOrEqual(String attributeDescription, Object assertionValue)Creates a newless or equalfilter using the provided attribute description and assertion value.static FilterFilter. lessThan(String attributeDescription, Object assertionValue)Creates a newless thanfilter using the provided attribute description and assertion value.static FilterFilter. not(Filter subFilter)Creates an optimized newnotfilter using the provided sub-filter.static FilterFilter. not(Filter subFilter, boolean optimize)Creates a newnotfilter using the provided sub-filter.static FilterFilter. objectClassPresent()Returns theobjectClasspresence filter(objectClass=*).static FilterFilter. or(Collection<Filter> subFilters)Creates an optimized neworfilter using the provided list of sub-filters.static FilterFilter. or(Collection<Filter> subFilters, boolean optimize)Creates a neworfilter using the provided list of sub-filters.static FilterFilter. or(Filter... subFilters)Creates a neworfilter using the provided list of sub-filters.static FilterFilter. present(String attributeDescription)Creates a newpresentfilter using the provided attribute description.static FilterFilter. substrings(String attributeDescription, Object initialSubstring, Collection<?> anySubstrings, Object finalSubstring)Creates a newsubstringsfilter using the provided attribute description,initial,final, andanysub-strings.static FilterFilter. unrecognized(byte filterTag, ByteString filterBytes)Creates a newunrecognizedfilter using the provided ASN1 filter tag and content.static FilterFilter. valueOf(boolean bool)static FilterFilter. 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 FilterFilter. and(Filter... subFilters)Creates a newandfilter using the provided list of sub-filters.static FilterFilter. not(Filter subFilter)Creates an optimized newnotfilter using the provided sub-filter.static FilterFilter. not(Filter subFilter, boolean optimize)Creates a newnotfilter using the provided sub-filter.static FilterFilter. or(Filter... subFilters)Creates a neworfilter 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 FilterFilter. and(Collection<Filter> subFilters)Creates an optimized newandfilter using the provided list of sub-filters.static FilterFilter. and(Collection<Filter> subFilters, boolean optimize)Creates a newandfilter using the provided list of sub-filters.static FilterFilter. or(Collection<Filter> subFilters)Creates an optimized neworfilter using the provided list of sub-filters.static FilterFilter. or(Collection<Filter> subFilters, boolean optimize)Creates a neworfilter 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 FilterAssertionRequestControl. 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 AssertionRequestControlAssertionRequestControl. 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 MatchedValuesRequestControlMatchedValuesRequestControl. 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 FilterSearchRequest. 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 SearchRequestRequests. newSearchRequest(Dn name, SearchScope scope, Filter filter, String... attributeDescriptions)Creates a new search request using the provided distinguished name, scope, and filter.static SearchRequestRequests. 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.SearchRequestSearchRequest. 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 LdifEntryReaderLdifEntryReader. setIncludeExcludeFilters(Collection<Filter> includeFilters, Collection<Filter> excludeFilters)Sets the filters to include / exclude entries.LdifEntryWriterLdifEntryWriter. setIncludeExcludeFilters(Collection<Filter> includeFilters, Collection<Filter> excludeFilters)Sets the filters to include / exclude entries.
-