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

public class CreatorQuery extends AbstractUserQuery implements SearchQuery
Query for the original creator of content.
  • Constructor Details

    • CreatorQuery

      public CreatorQuery(String creator)
    • CreatorQuery

      public CreatorQuery(@NonNull com.atlassian.sal.api.user.UserKey userKey)
    • CreatorQuery

      public 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.
      Parameters:
      params - list of parameters to match users with
      Since:
      8.8
  • Method Details

    • getKey

      public String getKey()
      Specified by:
      getKey in interface SearchQuery
      Returns:
      the plugin key
    • expand

      public SearchQuery expand()
      Description copied from interface: SearchQuery
      Expands 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:
      expand in interface Expandable<SearchQuery>
      Specified by:
      expand in interface SearchQuery
      Returns:
      a query