com.atlassian.user.search.query
Interface EntityQueryParser

All Known Implementing Classes:
AbstractEntityQueryParser, DefaultEntityQueryParser, DelegatingEntityQueryParser, HibernateEntityQueryParser, LDAPEntityQueryParser

public interface EntityQueryParser

Implementations can currently only support one boolean condition


Method Summary
 SearchResult findGroups(Query query)
          Generates a SearchResult object holding results for each RepositoryIdentifier the the entityQueryParser can access..
 SearchResult findGroups(Query query, QueryContext context)
          Generates a SearchResult object holding results for each RepositoryIdentifier the entityQueryParser has been instructed, via a QueryContext to search.
 SearchResult findUsers(Query query)
          Generates a SearchResult object holding results for each RepositoryIdentifier the the entityQueryParser can access..
 SearchResult findUsers(Query query, QueryContext context)
          Generates a SearchResult object holding results for each RepositoryIdentifier the entityQueryParser has been instructed, via a QueryContext to search.
 

Method Detail

findUsers

public SearchResult findUsers(Query query)
                       throws EntityException
Generates a SearchResult object holding results for each RepositoryIdentifier the the entityQueryParser can access..

Throws:
EntityException

findGroups

public SearchResult findGroups(Query query)
                        throws EntityException
Generates a SearchResult object holding results for each RepositoryIdentifier the the entityQueryParser can access..

Throws:
EntityException

findUsers

public SearchResult findUsers(Query query,
                              QueryContext context)
                       throws EntityException
Generates a SearchResult object holding results for each RepositoryIdentifier the entityQueryParser has been instructed, via a QueryContext to search.

Throws:
EntityException

findGroups

public SearchResult findGroups(Query query,
                               QueryContext context)
                        throws EntityException
Generates a SearchResult object holding results for each RepositoryIdentifier the entityQueryParser has been instructed, via a QueryContext to search.

Throws:
EntityException


Copyright © 2005-2007 Atlassian Software Systems Pty Ltd. All Rights Reserved.