| Package | Description |
|---|---|
| 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.requests |
Classes and interfaces for core LDAP requests.
|
| Modifier and Type | Method and Description |
|---|---|
static Filter |
LDAP.readFilter(ASN1Reader reader)
Reads the next ASN.1 element from the provided
ASN1Reader as a
Filter. |
| Modifier and Type | Method and Description |
|---|---|
static void |
LDAP.writeFilter(ASN1Writer writer,
Filter filter)
Writes a
Filter to the provided ASN1Writer. |
| Modifier and Type | Method and Description |
|---|---|
static Filter |
Filter.alwaysFalse()
Returns the
absolute false filter as defined in RFC 4526 which is
comprised of an or filter containing zero components. |
static Filter |
Filter.alwaysTrue()
Returns the
absolute true filter as defined in RFC 4526 which is
comprised of an and filter containing zero components. |
static Filter |
Filter.and(Collection<Filter> subFilters)
Creates a new
and filter using the provided list of sub-filters. |
static Filter |
Filter.and(Filter... subFilters)
Creates a new
and filter using the provided list of sub-filters. |
static Filter |
Filter.approx(String attributeDescription,
Object assertionValue)
Creates a new
approximate match filter using the provided
attribute description and assertion value. |
static Filter |
Filter.equality(String attributeDescription,
Object assertionValue)
Creates a new
equality match filter using the provided attribute
description and assertion value. |
static Filter |
Filter.extensible(String matchingRule,
String attributeDescription,
Object assertionValue,
boolean dnAttributes)
Creates a new
extensible 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.
|
static Filter |
Filter.greaterOrEqual(String attributeDescription,
Object assertionValue)
Creates a new
greater or equal filter using the provided
attribute description and assertion value. |
static Filter |
Filter.greaterThan(String attributeDescription,
Object assertionValue)
Creates a new
greater than filter using the provided attribute
description and assertion value. |
static Filter |
Filter.lessOrEqual(String attributeDescription,
Object assertionValue)
Creates a new
less or equal filter using the provided attribute
description and assertion value. |
static Filter |
Filter.lessThan(String attributeDescription,
Object assertionValue)
Creates a new
less than filter using the provided attribute
description and assertion value. |
static Filter |
Filter.not(Filter subFilter)
Creates a new
not filter using the provided sub-filter. |
static Filter |
Filter.objectClassPresent()
Returns the
objectClass presence filter (objectClass=*). |
static Filter |
Filter.or(Collection<Filter> subFilters)
Creates a new
or filter using the provided list of sub-filters. |
static Filter |
Filter.or(Filter... subFilters)
Creates a new
or filter using the provided list of sub-filters. |
static Filter |
Filter.present(String attributeDescription)
Creates a new
present filter using the provided attribute
description. |
static Filter |
Filter.substrings(String attributeDescription,
Object initialSubstring,
Collection<?> anySubstrings,
Object finalSubstring)
Creates a new
substrings filter using the provided attribute
description, initial, final, and any sub-strings. |
static Filter |
Filter.unrecognized(byte filterTag,
ByteString filterBytes)
Creates a new
unrecognized 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 a
Filter. |
| Modifier and Type | Method and Description |
|---|---|
static Filter |
Filter.and(Filter... subFilters)
Creates a new
and filter using the provided list of sub-filters. |
static Filter |
Filter.not(Filter subFilter)
Creates a new
not filter using the provided sub-filter. |
static Filter |
Filter.or(Filter... subFilters)
Creates a new
or filter using the provided list of sub-filters. |
R |
AbstractFilterVisitor.visitNotFilter(P p,
Filter subFilter)
Visits a
not filter. |
R |
FilterVisitor.visitNotFilter(P p,
Filter subFilter)
Visits a
not filter. |
| Modifier and Type | Method and Description |
|---|---|
static Filter |
Filter.and(Collection<Filter> subFilters)
Creates a new
and filter using the provided list of sub-filters. |
static Filter |
Filter.or(Collection<Filter> subFilters)
Creates a new
or filter using the provided list of sub-filters. |
R |
AbstractFilterVisitor.visitAndFilter(P p,
List<Filter> subFilters)
Visits an
and filter. |
R |
FilterVisitor.visitAndFilter(P p,
List<Filter> subFilters)
Visits an
and filter. |
R |
AbstractFilterVisitor.visitOrFilter(P p,
List<Filter> subFilters)
Visits an
or filter. |
R |
FilterVisitor.visitOrFilter(P p,
List<Filter> subFilters)
Visits an
or filter. |
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
Filter |
AssertionRequestControl.getFilter()
Returns the assertion filter.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Filter> |
MatchedValuesRequestControl.getFilters()
Returns an unmodifiable collection containing the list of filters
associated with this matched values control.
|
| Modifier and Type | Method and Description |
|---|---|
static AssertionRequestControl |
AssertionRequestControl.newControl(boolean isCritical,
Filter filter)
Creates a new assertion using the provided criticality and assertion
filter.
|
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and Description |
|---|---|
Filter |
SearchRequest.getFilter()
Returns the filter that defines the conditions that must be fulfilled in
order for an entry to be returned.
|
| Modifier and Type | Method and 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.
|
Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.