Package org.springframework.ldap.query
Interface ConditionCriteria
-
public interface ConditionCriteria
Constructs a conditional LDAP filter based on the attribute specified in the previous builder step.- Since:
- 2.0
- See Also:
LdapQueryBuilder.where(String)
,ContainerCriteria.and(String)
,ContainerCriteria.or(String)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContainerCriteria
gte(java.lang.String value)
Appends anGreaterThanOrEqualsFilter
.ContainerCriteria
is(java.lang.String value)
Appends anEqualsFilter
.ContainerCriteria
isPresent()
Appends aPresentFilter
.ContainerCriteria
like(java.lang.String value)
Appends aLikeFilter
.ContainerCriteria
lte(java.lang.String value)
Appends aLessThanOrEqualsFilter
.ConditionCriteria
not()
Negates the currently constructed operation.ContainerCriteria
whitespaceWildcardsLike(java.lang.String value)
Appends aWhitespaceWildcardsFilter
.
-
-
-
Method Detail
-
is
ContainerCriteria is(java.lang.String value)
Appends anEqualsFilter
.- Parameters:
value
- the value to compare with.- Returns:
- an ContainerCriteria instance that can be used to continue append more criteria
or as the LdapQuery instance to be used as instance to e.g.
LdapOperations.search(LdapQuery, org.springframework.ldap.core.ContextMapper)
. - See Also:
EqualsFilter
-
gte
ContainerCriteria gte(java.lang.String value)
Appends anGreaterThanOrEqualsFilter
.- Parameters:
value
- the value to compare with.- Returns:
- an ContainerCriteria instance that can be used to continue append more criteria
or as the LdapQuery instance to be used as instance to e.g.
LdapOperations.search(LdapQuery, org.springframework.ldap.core.ContextMapper)
. - See Also:
GreaterThanOrEqualsFilter
-
lte
ContainerCriteria lte(java.lang.String value)
Appends aLessThanOrEqualsFilter
.- Parameters:
value
- the value to compare with.- Returns:
- an ContainerCriteria instance that can be used to continue append more criteria
or as the LdapQuery instance to be used as instance to e.g.
LdapOperations.search(LdapQuery, org.springframework.ldap.core.ContextMapper)
. - See Also:
LessThanOrEqualsFilter
-
like
ContainerCriteria like(java.lang.String value)
Appends aLikeFilter
.- Parameters:
value
- the value to compare with.- Returns:
- an ContainerCriteria instance that can be used to continue append more criteria
or as the LdapQuery instance to be used as instance to e.g.
LdapOperations.search(LdapQuery, org.springframework.ldap.core.ContextMapper)
. - See Also:
LikeFilter
-
whitespaceWildcardsLike
ContainerCriteria whitespaceWildcardsLike(java.lang.String value)
Appends aWhitespaceWildcardsFilter
.- Parameters:
value
- the value to compare with.- Returns:
- an ContainerCriteria instance that can be used to continue append more criteria
or as the LdapQuery instance to be used as instance to e.g.
LdapOperations.search(LdapQuery, org.springframework.ldap.core.ContextMapper)
. - See Also:
WhitespaceWildcardsFilter
-
isPresent
ContainerCriteria isPresent()
Appends aPresentFilter
.- Returns:
- an ContainerCriteria instance that can be used to continue append more criteria
or as the LdapQuery instance to be used as instance to e.g.
LdapOperations.search(LdapQuery, org.springframework.ldap.core.ContextMapper)
. - See Also:
PresentFilter
-
not
ConditionCriteria not()
Negates the currently constructed operation. In effect this means that the resulting filter will be wrapped in aNotFilter
.- Returns:
- an ContainerCriteria instance that can be used to continue append more criteria
or as the LdapQuery instance to be used as instance to e.g.
LdapOperations.search(LdapQuery, org.springframework.ldap.core.ContextMapper)
. - See Also:
NotFilter
-
-