|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.user.DefaultSearchEntitiesManager
public class DefaultSearchEntitiesManager
Field Summary |
---|
Fields inherited from interface com.atlassian.confluence.user.SearchEntitiesManager |
---|
MATCH_ALL, MATCH_ANY |
Constructor Summary | |
---|---|
DefaultSearchEntitiesManager()
|
Method Summary | |
---|---|
com.atlassian.user.search.query.Query |
createUserQuery(java.util.List searchTerms,
java.lang.String operator)
|
com.atlassian.user.search.SearchResult |
findGroups(com.atlassian.user.search.query.TermQuery tQuery)
Deprecated. since 2.8, use findGroupsAsList(com.atlassian.user.search.query.TermQuery) instead |
com.atlassian.user.search.SearchResult |
findGroups(com.atlassian.user.search.query.TermQuery tQuery,
boolean filterGroups)
Deprecated. since 2.8, use findGroupsAsList(com.atlassian.user.search.query.TermQuery, boolean) instead |
java.util.List |
findGroupsAsList(com.atlassian.user.search.query.TermQuery tQuery)
Equivalent to findGroups, however the results are immediately placed into a List. |
java.util.List |
findGroupsAsList(com.atlassian.user.search.query.TermQuery tQuery,
boolean filterGroups)
Equivalent to SearchEntitiesManager.findGroups(com.atlassian.user.search.query.TermQuery, boolean) , but the results are immediately placed into a list. |
com.atlassian.user.search.SearchResult |
findUsers(com.atlassian.user.search.query.Query query)
Deprecated. since 2.8, use findUsersAsList(com.atlassian.user.search.query.Query) instead. |
java.util.List |
findUsersAsList(com.atlassian.user.search.query.Query finalQuery)
Equivalent to SearchEntitiesManager.findUsers(com.atlassian.user.search.query.Query) , but the results are immediately placed into a list. |
com.atlassian.user.search.query.TermQuery |
getGroupNameTermQuery(java.lang.String groupnameTerm)
|
com.atlassian.user.search.query.TermQuery |
getTermQuery(java.lang.String term,
java.lang.Class termQueryClass)
Returns an instance of TermQuery based on the passed Class. |
void |
setEntityQueryParser(com.atlassian.user.search.query.EntityQueryParser entityQueryParser)
|
void |
setUserAccessor(UserAccessor userAccessor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSearchEntitiesManager()
Method Detail |
---|
public com.atlassian.user.search.SearchResult findGroups(com.atlassian.user.search.query.TermQuery tQuery) throws com.atlassian.user.EntityException
findGroupsAsList(com.atlassian.user.search.query.TermQuery)
instead
findGroups
in interface SearchEntitiesManager
tQuery
-
com.atlassian.user.EntityException
public com.atlassian.user.search.SearchResult findGroups(com.atlassian.user.search.query.TermQuery tQuery, boolean filterGroups) throws com.atlassian.user.EntityException
findGroupsAsList(com.atlassian.user.search.query.TermQuery, boolean)
instead
findGroups
in interface SearchEntitiesManager
tQuery
- filterGroups
-
com.atlassian.user.EntityException
public com.atlassian.user.search.SearchResult findUsers(com.atlassian.user.search.query.Query query) throws com.atlassian.user.EntityException
findUsersAsList(com.atlassian.user.search.query.Query)
instead.
findUsers
in interface SearchEntitiesManager
query
-
com.atlassian.user.EntityException
public java.util.List findGroupsAsList(com.atlassian.user.search.query.TermQuery tQuery) throws com.atlassian.user.EntityException
SearchEntitiesManager
findGroupsAsList
in interface SearchEntitiesManager
com.atlassian.user.EntityException
public java.util.List findGroupsAsList(com.atlassian.user.search.query.TermQuery tQuery, boolean filterGroups) throws com.atlassian.user.EntityException
SearchEntitiesManager
SearchEntitiesManager.findGroups(com.atlassian.user.search.query.TermQuery, boolean)
, but the results are immediately placed into a list.
findGroupsAsList
in interface SearchEntitiesManager
com.atlassian.user.EntityException
public java.util.List findUsersAsList(com.atlassian.user.search.query.Query finalQuery) throws com.atlassian.user.EntityException
SearchEntitiesManager
SearchEntitiesManager.findUsers(com.atlassian.user.search.query.Query)
, but the results are immediately placed into a list.
findUsersAsList
in interface SearchEntitiesManager
com.atlassian.user.EntityException
public com.atlassian.user.search.query.TermQuery getTermQuery(java.lang.String term, java.lang.Class termQueryClass) throws com.atlassian.user.search.query.EntityQueryException
getTermQuery
in interface SearchEntitiesManager
term
- The search termtermQueryClass
- The class of the object that should be returned
com.atlassian.user.search.query.EntityQueryException
public com.atlassian.user.search.query.TermQuery getGroupNameTermQuery(java.lang.String groupnameTerm) throws com.atlassian.user.search.query.EntityQueryException
getGroupNameTermQuery
in interface SearchEntitiesManager
com.atlassian.user.search.query.EntityQueryException
public com.atlassian.user.search.query.Query createUserQuery(java.util.List searchTerms, java.lang.String operator) throws com.atlassian.user.search.query.EntityQueryException
createUserQuery
in interface SearchEntitiesManager
com.atlassian.user.search.query.EntityQueryException
public void setEntityQueryParser(com.atlassian.user.search.query.EntityQueryParser entityQueryParser)
public void setUserAccessor(UserAccessor userAccessor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |