Class DefaultContentNameSearchService

java.lang.Object
com.atlassian.confluence.impl.search.contentnames.DefaultContentNameSearchService
All Implemented Interfaces:
ContentNameSearchService

public class DefaultContentNameSearchService extends Object implements ContentNameSearchService
  • Field Details

  • Constructor Details

  • Method Details

    • search

      public ContentNameSearchResult search(String query, ContentNameSearchContext context)
      Description copied from interface: ContentNameSearchService
      This performs a content name search in Confluence and returns the results.
      Specified by:
      search in interface ContentNameSearchService
      Parameters:
      query - The text that the user wishes to search for.
      context - The search context to be used in order to carry the search request
      Returns:
      The search results. Errors are also encapsulated in the returned object, null should NOT be returned.