public class CrowdEntityQueryParser extends Object implements com.atlassian.user.search.query.EntityQueryParser
Constructor and Description |
---|
CrowdEntityQueryParser(com.atlassian.user.UserManager userManager,
com.atlassian.user.GroupManager groupManager,
com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier) |
CrowdEntityQueryParser(com.atlassian.user.UserManager userManager,
com.atlassian.user.GroupManager groupManager,
com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier,
UserManager crowdUserManager,
GroupManager crowdGroupManager) |
Modifier and Type | Method and Description |
---|---|
protected List<com.atlassian.user.search.query.TermQuery> |
ensureAllTermQueries(List<com.atlassian.user.search.query.Query> queries) |
com.atlassian.user.search.SearchResult |
findGroups(com.atlassian.user.search.query.Query query)
Searches the Crowd directory server for a set of groups.
|
com.atlassian.user.search.SearchResult |
findGroups(com.atlassian.user.search.query.Query query,
com.atlassian.user.search.query.QueryContext context)
Searches the Crowd directory server for a set of groups.
|
com.atlassian.user.search.SearchResult |
findUsers(com.atlassian.user.search.query.Query query)
Searches the Crowd directory server for a set of principals.
|
com.atlassian.user.search.SearchResult |
findUsers(com.atlassian.user.search.query.Query query,
com.atlassian.user.search.query.QueryContext context)
Searches the Crowd directory server for a set of principals.
|
protected List<SOAPPrincipal> |
performAndUserSearch(List<com.atlassian.user.search.query.TermQuery> queries) |
protected List<SOAPPrincipal> |
performOrUserSearch(List<com.atlassian.user.search.query.TermQuery> queries) |
protected List<SOAPPrincipal> |
performUserSearch(com.atlassian.user.search.query.TermQuery query) |
protected SearchRestriction |
queryAsSearchRestriction(com.atlassian.user.search.query.TermQuery query) |
protected List<com.atlassian.user.Group> |
searchGroups(com.atlassian.user.search.query.GroupNameTermQuery query) |
protected List<com.atlassian.user.User> |
searchUsers(com.atlassian.user.search.query.Query query) |
public CrowdEntityQueryParser(com.atlassian.user.UserManager userManager, com.atlassian.user.GroupManager groupManager, com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier)
public CrowdEntityQueryParser(com.atlassian.user.UserManager userManager, com.atlassian.user.GroupManager groupManager, com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier, UserManager crowdUserManager, GroupManager crowdGroupManager)
public com.atlassian.user.search.SearchResult findGroups(com.atlassian.user.search.query.Query query) throws com.atlassian.user.EntityException
findGroups
in interface com.atlassian.user.search.query.EntityQueryParser
query
- Query restrictions.com.atlassian.user.EntityException
protected List<com.atlassian.user.Group> searchGroups(com.atlassian.user.search.query.GroupNameTermQuery query) throws InvalidAuthorizationTokenException, RemoteException, InvalidAuthenticationException
public com.atlassian.user.search.SearchResult findUsers(com.atlassian.user.search.query.Query query, com.atlassian.user.search.query.QueryContext context) throws com.atlassian.user.EntityException
findUsers
in interface com.atlassian.user.search.query.EntityQueryParser
query
- Query restrictions.context
- This attribute is ignored.com.atlassian.user.EntityException
public com.atlassian.user.search.SearchResult findGroups(com.atlassian.user.search.query.Query query, com.atlassian.user.search.query.QueryContext context) throws com.atlassian.user.EntityException
findGroups
in interface com.atlassian.user.search.query.EntityQueryParser
query
- Query restrictions.context
- This attribute is ignored.com.atlassian.user.EntityException
protected SearchRestriction queryAsSearchRestriction(com.atlassian.user.search.query.TermQuery query) throws com.atlassian.user.search.query.EntityQueryException
com.atlassian.user.search.query.EntityQueryException
protected List<SOAPPrincipal> performUserSearch(com.atlassian.user.search.query.TermQuery query) throws com.atlassian.user.search.query.EntityQueryException, InvalidAuthorizationTokenException, RemoteException, InvalidAuthenticationException
com.atlassian.user.search.query.EntityQueryException
InvalidAuthorizationTokenException
RemoteException
InvalidAuthenticationException
protected List<SOAPPrincipal> performAndUserSearch(List<com.atlassian.user.search.query.TermQuery> queries) throws com.atlassian.user.search.query.EntityQueryException, InvalidAuthorizationTokenException, RemoteException, InvalidAuthenticationException
com.atlassian.user.search.query.EntityQueryException
InvalidAuthorizationTokenException
RemoteException
InvalidAuthenticationException
protected List<SOAPPrincipal> performOrUserSearch(List<com.atlassian.user.search.query.TermQuery> queries) throws com.atlassian.user.search.query.EntityQueryException, InvalidAuthorizationTokenException, RemoteException, InvalidAuthenticationException
com.atlassian.user.search.query.EntityQueryException
InvalidAuthorizationTokenException
RemoteException
InvalidAuthenticationException
protected List<com.atlassian.user.search.query.TermQuery> ensureAllTermQueries(List<com.atlassian.user.search.query.Query> queries) throws com.atlassian.user.search.query.EntityQueryException
com.atlassian.user.search.query.EntityQueryException
protected List<com.atlassian.user.User> searchUsers(com.atlassian.user.search.query.Query query) throws com.atlassian.user.search.query.EntityQueryException, InvalidAuthorizationTokenException, RemoteException, InvalidAuthenticationException
com.atlassian.user.search.query.EntityQueryException
InvalidAuthorizationTokenException
RemoteException
InvalidAuthenticationException
public com.atlassian.user.search.SearchResult findUsers(com.atlassian.user.search.query.Query query) throws com.atlassian.user.EntityException
findUsers
in interface com.atlassian.user.search.query.EntityQueryParser
query
- Query restrictions.com.atlassian.user.EntityException
Copyright © 2013 Atlassian. All Rights Reserved.