Class IssueIndexServiceImpl

java.lang.Object
com.atlassian.greenhopper.service.IssueIndexServiceImpl
All Implemented Interfaces:
IssueIndexService

@Service("gh-issueIndexingService") public class IssueIndexServiceImpl extends Object implements IssueIndexService
Implementation of the IssueIndexingService interface Wraps IssueIndexService.
  • Constructor Details

    • IssueIndexServiceImpl

      public IssueIndexServiceImpl()
  • Method Details

    • reIndexAll

      public void reIndexAll()
      Specified by:
      reIndexAll in interface IssueIndexService
    • reIndex

      public void reIndex(com.atlassian.jira.issue.Issue issue)
      Reindex a single issue.
      Specified by:
      reIndex in interface IssueIndexService
      Parameters:
      issue - the issue to reindex
    • reIndex

      public void reIndex(com.atlassian.jira.issue.Issue issue, com.atlassian.jira.issue.index.IssueIndexingParams issueIndexingParams)
      Reindex a single issue.
      Specified by:
      reIndex in interface IssueIndexService
      Parameters:
      issue - the issue to reindex
    • reIndexWithIds

      public void reIndexWithIds(Long... ids)
      Description copied from interface: IssueIndexService
      Reindex a specific issues by ids
      Specified by:
      reIndexWithIds in interface IssueIndexService
      Parameters:
      ids - the ids of issues to reindex
    • reIndexIssues

      public ServiceResult reIndexIssues(Collection<com.atlassian.jira.issue.Issue> issues)
      Description copied from interface: IssueIndexService
      Reindex a collection of issues.
      Specified by:
      reIndexIssues in interface IssueIndexService
      Parameters:
      issues - the issues to reindex
    • reIndexIssues

      public ServiceResult reIndexIssues(Collection<com.atlassian.jira.issue.Issue> issues, com.atlassian.jira.issue.index.IssueIndexingParams issueIndexingParams)
      Description copied from interface: IssueIndexService
      Reindex a collection of issues.
      Specified by:
      reIndexIssues in interface IssueIndexService
      Parameters:
      issues - the issues to reindex
    • reIndexIssuesWithIds

      public void reIndexIssuesWithIds(Collection<Long> issueIds)
      Description copied from interface: IssueIndexService
      Reindex a collection of issues based on their ids.
      Specified by:
      reIndexIssuesWithIds in interface IssueIndexService
      Parameters:
      issueIds - the ids of the issues to reindex
    • reindexIssuesAndSubtasks

      public void reindexIssuesAndSubtasks(Collection<Long> issueIds)
      Description copied from interface: IssueIndexService
      Update lucene index for a given set of issues and any subtasks they may have.
      Specified by:
      reindexIssuesAndSubtasks in interface IssueIndexService
      Parameters:
      issueIds - to be reindexed
    • reindexIssueAndSubtasks

      public void reindexIssueAndSubtasks(Long issueId)
      Description copied from interface: IssueIndexService
      Update lucene index for a given issue and any subtasks it may have.
      Specified by:
      reindexIssueAndSubtasks in interface IssueIndexService
      Parameters:
      issueId - to be reindexed
    • reindexIssueAndSubtasks

      public void reindexIssueAndSubtasks(com.atlassian.jira.issue.Issue issue)
      Description copied from interface: IssueIndexService
      Update lucene index for a given issue and any subtasks it may have.
      Specified by:
      reindexIssueAndSubtasks in interface IssueIndexService
      Parameters:
      issue - to be reindexed
    • reindexIssueAndSubtasks

      public void reindexIssueAndSubtasks(@Nonnull com.atlassian.jira.issue.Issue issue, com.atlassian.jira.issue.index.IssueIndexingParams issueIndexingParams)
      Description copied from interface: IssueIndexService
      Update lucene index for a given issue and any subtasks it may have.
      Specified by:
      reindexIssueAndSubtasks in interface IssueIndexService
      Parameters:
      issue - to be reindexed
    • reindexIssueAndSubtasks

      public ServiceResult reindexIssueAndSubtasks(@Nonnull Collection<com.atlassian.jira.issue.Issue> issues, com.atlassian.jira.issue.index.IssueIndexingParams issueIndexingParams)
      Description copied from interface: IssueIndexService
      Update lucene index for a set of issues and any subtasks they may have.
      Specified by:
      reindexIssueAndSubtasks in interface IssueIndexService
      Parameters:
      issues - to be reindexed