Interface LdapQuery

All Known Subinterfaces:
ContainerCriteria
All Known Implementing Classes:
LdapQueryBuilder

public interface LdapQuery
Holds all information regarding a Ldap query to be performed. Contains information regarding search base, search scope, time and count limits, and search filter.
Since:
2.0
See Also:
  • Method Details

    • base

      Name base()
      Get the search base. Default is LdapUtils.emptyLdapName().
      Returns:
      the search base.
    • searchScope

      SearchScope searchScope()
      Get the search scope. Default is null, indicating that the LdapTemplate default should be used.
      Returns:
      the search scope.
    • timeLimit

      Integer timeLimit()
      Get the time limit. Default is null, indicating that the LdapTemplate default should be used.
      Returns:
      the time limit.
    • countLimit

      Integer countLimit()
      Get the count limit. Default is null, indicating that the LdapTemplate default should be used.
      Returns:
      the count limit.
    • attributes

      String[] attributes()
      Get the attributes to return. Default is null, indicating that all attributes should be returned.
      Returns:
      the attributes to return.
    • filter

      Filter filter()
      Get the filter.
      Returns:
      the filter.