|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.user.search.query.AbstractEntityQueryParser com.atlassian.crowd.integration.atlassianuser.CrowdEntityQueryParser
public class CrowdEntityQueryParser
Performs searching verses the Crowd security server.
Constructor Summary | |
---|---|
CrowdEntityQueryParser(com.atlassian.user.UserManager users,
com.atlassian.user.GroupManager groups,
com.atlassian.user.repository.RepositoryIdentifier id)
|
|
CrowdEntityQueryParser(com.atlassian.user.UserManager users,
com.atlassian.user.GroupManager groups,
com.atlassian.user.repository.RepositoryIdentifier id,
com.atlassian.crowd.service.client.CrowdClient client)
|
Method Summary | |
---|---|
protected com.atlassian.crowd.search.query.entity.restriction.MatchMode |
changeTermQueryMatchMode(com.atlassian.user.search.query.TermQuery query)
|
protected void |
ensureAllTermQueries(java.util.List<com.atlassian.user.search.query.Query> queries)
|
protected java.util.List<com.atlassian.crowd.model.user.User> |
filterSingleQueryResults(java.util.List<com.atlassian.crowd.model.user.User> results,
com.atlassian.user.search.query.Query query)
|
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 java.util.List<com.atlassian.crowd.model.user.User> |
postFilterEndsWithQueryResults(java.util.List<com.atlassian.crowd.model.user.User> results,
com.atlassian.user.search.query.Query query)
|
protected com.atlassian.crowd.search.query.entity.restriction.BooleanRestriction |
queryAsBooleanRestriction(java.util.List<com.atlassian.user.search.query.TermQuery> queries,
com.atlassian.crowd.search.query.entity.restriction.BooleanRestriction.BooleanLogic logic)
|
protected com.atlassian.crowd.embedded.api.SearchRestriction |
queryAsSearchRestriction(com.atlassian.user.search.query.TermQuery query)
|
protected java.util.List<com.atlassian.crowd.model.group.Group> |
searchGroups(com.atlassian.user.search.query.GroupNameTermQuery query)
|
protected java.util.List<com.atlassian.crowd.model.user.User> |
searchUsers(com.atlassian.user.search.query.Query query)
|
Methods inherited from class com.atlassian.user.search.query.AbstractEntityQueryParser |
---|
identifyDefiningQuery, matchQueryToQueryType, validateBooleanToQueryType, validateQuery |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CrowdEntityQueryParser(com.atlassian.user.UserManager users, com.atlassian.user.GroupManager groups, com.atlassian.user.repository.RepositoryIdentifier id, com.atlassian.crowd.service.client.CrowdClient client)
public CrowdEntityQueryParser(com.atlassian.user.UserManager users, com.atlassian.user.GroupManager groups, com.atlassian.user.repository.RepositoryIdentifier id)
Method Detail |
---|
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 java.util.List<com.atlassian.crowd.model.group.Group> searchGroups(com.atlassian.user.search.query.GroupNameTermQuery query) throws com.atlassian.user.EntityException, com.atlassian.crowd.exception.InvalidAuthenticationException, com.atlassian.crowd.exception.ApplicationPermissionException, com.atlassian.crowd.exception.OperationFailedException
com.atlassian.user.EntityException
com.atlassian.crowd.exception.InvalidAuthenticationException
com.atlassian.crowd.exception.ApplicationPermissionException
com.atlassian.crowd.exception.OperationFailedException
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 com.atlassian.crowd.embedded.api.SearchRestriction queryAsSearchRestriction(com.atlassian.user.search.query.TermQuery query) throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
protected com.atlassian.crowd.search.query.entity.restriction.BooleanRestriction queryAsBooleanRestriction(java.util.List<com.atlassian.user.search.query.TermQuery> queries, com.atlassian.crowd.search.query.entity.restriction.BooleanRestriction.BooleanLogic logic) throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
protected com.atlassian.crowd.search.query.entity.restriction.MatchMode changeTermQueryMatchMode(com.atlassian.user.search.query.TermQuery query) throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
protected void ensureAllTermQueries(java.util.List<com.atlassian.user.search.query.Query> queries) throws com.atlassian.user.search.query.EntityQueryException
com.atlassian.user.search.query.EntityQueryException
protected java.util.List<com.atlassian.crowd.model.user.User> searchUsers(com.atlassian.user.search.query.Query query) throws com.atlassian.user.EntityException, com.atlassian.crowd.exception.InvalidAuthenticationException, com.atlassian.crowd.exception.ApplicationPermissionException, com.atlassian.crowd.exception.OperationFailedException
com.atlassian.user.EntityException
com.atlassian.crowd.exception.InvalidAuthenticationException
com.atlassian.crowd.exception.ApplicationPermissionException
com.atlassian.crowd.exception.OperationFailedException
protected java.util.List<com.atlassian.crowd.model.user.User> postFilterEndsWithQueryResults(java.util.List<com.atlassian.crowd.model.user.User> results, com.atlassian.user.search.query.Query query) throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
protected java.util.List<com.atlassian.crowd.model.user.User> filterSingleQueryResults(java.util.List<com.atlassian.crowd.model.user.User> results, com.atlassian.user.search.query.Query query) throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |