Package org.springframework.ldap.query
Interface ContainerCriteria
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConditionCriteria
and(java.lang.String attribute)
Append a logical And condition to the currently built filter.ContainerCriteria
and(ContainerCriteria nested)
Append an And condition for a nested criterion.ConditionCriteria
or(java.lang.String attribute)
Append a logical Or condition to the currently built filter.ContainerCriteria
or(ContainerCriteria nested)
Append an Or condition for a nested criterion.-
Methods inherited from interface org.springframework.ldap.query.LdapQuery
attributes, base, countLimit, filter, searchScope, timeLimit
-
-
-
-
Method Detail
-
and
ConditionCriteria and(java.lang.String attribute)
Append a logical And condition to the currently built filter.- Parameters:
attribute
- Name of the attribute to specify a condition for.- Returns:
- A ConditionCriteria instance for specifying the compare operation.
- Throws:
java.lang.IllegalStateException
- ifor(String)
has previously been called on this instance.
-
or
ConditionCriteria or(java.lang.String attribute)
Append a logical Or condition to the currently built filter.- Parameters:
attribute
- Name of the attribute to specify a condition for.- Returns:
- A ConditionCriteria instance for specifying the compare operation.
- Throws:
java.lang.IllegalStateException
- ifand(String)
has previously been called on this instance.
-
and
ContainerCriteria and(ContainerCriteria nested)
Append an And condition for a nested criterion. UseLdapQueryBuilder.query()
to start the nested condition. Any base query information on the nested builder instance will not be considered.- Parameters:
nested
- the nested criterion.- Returns:
- A ConditionCriteria instance for specifying the compare operation.
-
or
ContainerCriteria or(ContainerCriteria nested)
Append an Or condition for a nested criterion. UseLdapQueryBuilder.query()
to start the nested condition. Any base query information on the nested builder instance will not be considered.- Parameters:
nested
- the nested criterion.- Returns:
- A ConditionCriteria instance for specifying the compare operation.
-
-