Class CreatorQuery
java.lang.Object
com.atlassian.confluence.search.v2.query.AbstractUserQuery
com.atlassian.confluence.search.v2.query.CreatorQuery
- All Implemented Interfaces:
Expandable<SearchQuery>,SearchQuery
Query for the original creator of content.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.confluence.search.v2.query.AbstractUserQuery
AbstractUserQuery.Parameter -
Field Summary
Fields inherited from interface com.atlassian.confluence.search.v2.SearchQuery
DEFAULT_BOOST -
Constructor Summary
ConstructorsConstructorDescriptionCreatorQuery(@NonNull com.atlassian.sal.api.user.UserKey userKey) CreatorQuery(String creator) CreatorQuery(List<AbstractUserQuery.Parameter> params) Create a query that matches content that has been created by any of the users described by the provided list of parameters. -
Method Summary
Methods inherited from class com.atlassian.confluence.search.v2.query.AbstractUserQuery
equals, getParameters, hashCode, userkey, usernameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.search.v2.SearchQuery
getBoost, getParameters, getSubClauses
-
Constructor Details
-
CreatorQuery
-
CreatorQuery
public CreatorQuery(@NonNull com.atlassian.sal.api.user.UserKey userKey) -
CreatorQuery
Create a query that matches content that has been created by any of the users described by the provided list of parameters.- Parameters:
params- list of parameters to match users with- Since:
- 8.8
-
-
Method Details
-
getKey
- Specified by:
getKeyin interfaceSearchQuery- Returns:
- the plugin key
-
expand
Description copied from interface:SearchQueryExpands this query into a composite query (that composes other queries). By overriding this method, one can specify a new query that is composition of the behaviour of the composed queries.- Specified by:
expandin interfaceExpandable<SearchQuery>- Specified by:
expandin interfaceSearchQuery- Returns:
- a query
-