Class DirectoryQueryWithFilter<T>

java.lang.Object
com.atlassian.crowd.manager.application.search.DirectoryQueryWithFilter<T>

public class DirectoryQueryWithFilter<T> extends Object
Defines query and results filter that should be run for a given directory.
  • Constructor Details

  • Method Details

    • getDirectory

      public Directory getDirectory()
    • getQuery

      @Nonnull public Query<T> getQuery()
      Returns query that should be run against given directory. If null is returned then no query should be run and empty results should be returned.
    • getMembershipQuery

      @Nonnull public MembershipQuery<T> getMembershipQuery()
    • filterResults

      public List<T> filterResults(List<T> list)
      Performs filtering of results of the query (getQuery()). Does not perform any filtering related to start index and maximum number of results.