Interface IssueTableCreatorFactory

All Known Implementing Classes:
DefaultIssueTableCreatorFactory

public interface IssueTableCreatorFactory
Creates AbstractIssueTableCreator instances.
Since:
v6.0
  • Method Details

    • getNormalIssueTableCreator

      com.atlassian.jira.plugin.issuenav.service.issuetable.IssueTableCreator getNormalIssueTableCreator(IssueTableServiceConfiguration configuration, Query query, boolean returnIssueIds, SearchRequest searchRequest, ApplicationUser user)
      Create an AbstractIssueTableCreator for a normal (non-stable) search.
      Parameters:
      configuration - The IssueTableService configuration to use.
      query - The query whose results will form the table's content.
      returnIssueIds - Whether issue IDs should be returned.
      searchRequest - The search request being executed (may differ from query).
      user - The user requesting this information.
      Returns:
      an AbstractIssueTableCreator.
      Throws:
      IllegalArgumentException - If no AbstractIssueTableCreator corresponds to layoutKey.
      RuntimeException - If creating the instance fails.
    • getStableIssueTableCreator

      com.atlassian.jira.plugin.issuenav.service.issuetable.IssueTableCreator getStableIssueTableCreator(IssueTableServiceConfiguration configuration, Query query, List<Long> issueIds, SearchRequest searchRequest, ApplicationUser user)
      Create an AbstractIssueTableCreator for a stable search.
      Parameters:
      configuration - The IssueTableService configuration to use.
      query - The query object containing the JQL of the client state at the time of making this service call. Used to generate valid sort JQL.
      issueIds - The IDs of the issues to render in the table.
      searchRequest - The search request containing the id of the filter used in the initial search for the list of issueIds
      user - The user requesting this information.
      Returns:
      an AbstractIssueTableCreator.
      Throws:
      IllegalArgumentException - If no AbstractIssueTableCreator corresponds to layoutKey.
      RuntimeException - If creating the instance fails.