Class AbstractUserQuery
- java.lang.Object
-
- com.atlassian.confluence.search.v2.query.AbstractUserQuery
-
- All Implemented Interfaces:
Expandable<SearchQuery>
,SearchQuery
- Direct Known Subclasses:
ContributorQuery
,CreatorQuery
public abstract class AbstractUserQuery extends Object implements SearchQuery
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractUserQuery.Parameter
Query parameter that describes the user to be matched with
-
Field Summary
-
Fields inherited from interface com.atlassian.confluence.search.v2.SearchQuery
DEFAULT_BOOST
-
-
Constructor Summary
Constructors Constructor Description AbstractUserQuery(@NonNull com.atlassian.sal.api.user.UserKey userKey)
AbstractUserQuery(String username)
AbstractUserQuery(List<AbstractUserQuery.Parameter> parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
List<AbstractUserQuery.Parameter>
getParameters()
List of parameters asString
s orSearchQuery
s.int
hashCode()
Optional<com.atlassian.sal.api.user.UserKey>
userkey()
Optional<String>
username()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.search.v2.SearchQuery
expand, getBoost, getKey, getSubClauses
-
-
-
-
Constructor Detail
-
AbstractUserQuery
public AbstractUserQuery(String username)
-
AbstractUserQuery
public AbstractUserQuery(@NonNull com.atlassian.sal.api.user.UserKey userKey)
-
AbstractUserQuery
public AbstractUserQuery(List<AbstractUserQuery.Parameter> parameters)
- Parameters:
parameters
- list of query parameters to match users with- Since:
- 8.8
-
-
Method Detail
-
userkey
public Optional<com.atlassian.sal.api.user.UserKey> userkey()
-
getParameters
public List<AbstractUserQuery.Parameter> getParameters()
Description copied from interface:SearchQuery
List of parameters asString
s orSearchQuery
s.- Specified by:
getParameters
in interfaceSearchQuery
- Returns:
String
s orSearchQuery
s.
-
-