com.atlassian.greenhopper.service
Interface IssueIndexService

All Known Implementing Classes:
IssueIndexServiceImpl

public interface IssueIndexService

Provides issue indexing support


Field Summary
static java.lang.String SERVICE
          Service identifier to be used for dependency injection.
 
Method Summary
 void reIndex(com.atlassian.jira.issue.Issue issue)
          Reindex a specific issue.
 void reIndexAll()
           
 void reindexIssueAndSubtasks(com.atlassian.jira.issue.Issue issue)
          Update lucene index for a given issue and any subtasks it may have.
 void reindexIssueAndSubtasks(java.lang.Long issueId)
          Update lucene index for a given issue and any subtasks it may have.
 void reIndexIssues(java.util.Collection<com.atlassian.jira.issue.Issue> issues)
          Reindex a collection of issues.
 void reindexIssuesAndSubtasks(java.util.Collection<java.lang.Long> issueIds)
          Update lucene index for a given set of issues and any subtasks they may have.
 void reIndexIssuesWithIds(java.util.Collection<java.lang.Long> issueIds)
          Reindex a collection of issues based on their ids.
 void reIndexWithIds(java.lang.Long... ids)
          Reindex a specific issues by ids
 

Field Detail

SERVICE

static final java.lang.String SERVICE
Service identifier to be used for dependency injection.

See Also:
Constant Field Values
Method Detail

reIndexAll

void reIndexAll()

reIndex

void reIndex(com.atlassian.jira.issue.Issue issue)
Reindex a specific issue.

Parameters:
issue - the issue to reindex

reIndexWithIds

void reIndexWithIds(java.lang.Long... ids)
Reindex a specific issues by ids

Parameters:
ids - the ids of issues to reindex

reIndexIssues

void reIndexIssues(java.util.Collection<com.atlassian.jira.issue.Issue> issues)
Reindex a collection of issues.

Parameters:
issues - the issues to reindex

reIndexIssuesWithIds

void reIndexIssuesWithIds(java.util.Collection<java.lang.Long> issueIds)
Reindex a collection of issues based on their ids.

Parameters:
issueIds - the ids of the issues to reindex

reindexIssuesAndSubtasks

void reindexIssuesAndSubtasks(java.util.Collection<java.lang.Long> issueIds)
Update lucene index for a given set of issues and any subtasks they may have.

Parameters:
issueIds - to be reindexed

reindexIssueAndSubtasks

void reindexIssueAndSubtasks(java.lang.Long issueId)
Update lucene index for a given issue and any subtasks it may have.

Parameters:
issueId - to be reindexed

reindexIssueAndSubtasks

void reindexIssueAndSubtasks(@Nonnull
                             com.atlassian.jira.issue.Issue issue)
Update lucene index for a given issue and any subtasks it may have.

Parameters:
issue - to be reindexed


Copyright © 2007-2014 Atlassian. All Rights Reserved.