Interface ContainerCriteria

  • All Superinterfaces:
    LdapQuery

    public interface ContainerCriteria
    extends LdapQuery
    And/or filter builder support for LdapQuery.
    Since:
    2.0
    • 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 - if or(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 - if and(String) has previously been called on this instance.
      • and

        ContainerCriteria and​(ContainerCriteria nested)
        Append an And condition for a nested criterion. Use LdapQueryBuilder.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. Use LdapQueryBuilder.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.