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:
-
Method Summary
Modifier and TypeMethodDescriptionAppends anGreaterThanOrEqualsFilter.Appends anEqualsFilter.Appends aPresentFilter.Appends aLikeFilter.Appends aLessThanOrEqualsFilter.not()Negates the currently constructed operation.whitespaceWildcardsLike(String value) Appends aWhitespaceWildcardsFilter.
-
Method Details
-
is
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:
-
gte
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:
-
lte
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:
-
like
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:
-
whitespaceWildcardsLike
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:
-
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:
-
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:
-