Interface SearchService


public interface SearchService
Search service
  • Method Summary

    Modifier and Type
    Method
    Description
    List<com.atlassian.jira.project.Project>
    get(String pql)
    Deprecated.
    List<com.atlassian.jira.project.Project>
    get(String pql, com.atlassian.jira.user.ApplicationUser user)
    Deprecated.
    search(String pql, com.atlassian.jira.user.ApplicationUser user)
    Get the SearchResult from a pql for a user
    boolean
    Validate the pql
  • Method Details

    • get

      @Deprecated List<com.atlassian.jira.project.Project> get(String pql)
      Deprecated.
      This method is deprecated. You have to use the search method. Get the projects from a pql
      Parameters:
      pql - the pql
      Returns:
      a list of projects that match the pql
    • get

      @Deprecated List<com.atlassian.jira.project.Project> get(String pql, com.atlassian.jira.user.ApplicationUser user)
      Deprecated.
      This method is deprecated. You have to use the search method. Get the projects from a pql for a user
      Parameters:
      pql - the pql
      user - the user
      Returns:
      a list of projects that match the pql for a user
    • search

      SearchResult search(String pql, com.atlassian.jira.user.ApplicationUser user)
      Get the SearchResult from a pql for a user
      Parameters:
      pql - the pql
      user - the user
      Returns:
      SearchResult that match the pql for a user
    • validate

      boolean validate(String pql)
      Validate the pql
      Parameters:
      pql - the pql
      Returns:
      true if the pql is valid