com.atlassian.greenhopper.service.charts
Interface IssueStatusHistoryService

All Known Implementing Classes:
IssueStatusHistoryServiceImpl

public interface IssueStatusHistoryService

Provides status history information in the form of status change timelines.

Author:
ahennecke

Method Summary
 ErrorCollection collectStatusHistory(com.atlassian.crowd.embedded.api.User user, com.atlassian.query.Query query, IssueStatusHistoryCallback callback)
          For all issues defined by the given query and for each status provided, the change timeline will be provided to the callback.
 java.util.List<IssueStatusHistory> getIssueStatusHistories(com.atlassian.crowd.embedded.api.User user, java.util.Collection<com.atlassian.jira.issue.Issue> issues, java.util.Collection<com.atlassian.jira.issue.status.Status> statuses)
          Deprecated. 
 IssueStatusHistory getIssueStatusHistory(com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.issue.Issue issue, java.util.Collection<com.atlassian.jira.issue.status.Status> statuses)
          Get the IssueStatus history for a single issue.
 

Method Detail

getIssueStatusHistories

@Deprecated
java.util.List<IssueStatusHistory> getIssueStatusHistories(com.atlassian.crowd.embedded.api.User user,
                                                                      java.util.Collection<com.atlassian.jira.issue.Issue> issues,
                                                                      java.util.Collection<com.atlassian.jira.issue.status.Status> statuses)
Deprecated. 

Legacy implementation. Use collectStatusHistory as this is having bad performance.


getIssueStatusHistory

IssueStatusHistory getIssueStatusHistory(com.atlassian.crowd.embedded.api.User user,
                                         com.atlassian.jira.issue.Issue issue,
                                         java.util.Collection<com.atlassian.jira.issue.status.Status> statuses)
Get the IssueStatus history for a single issue.


collectStatusHistory

ErrorCollection collectStatusHistory(com.atlassian.crowd.embedded.api.User user,
                                     com.atlassian.query.Query query,
                                     IssueStatusHistoryCallback callback)
For all issues defined by the given query and for each status provided, the change timeline will be provided to the callback.

Parameters:
user - : the user executing the query
query - : which issues do we want to look at
callback - : This will be informed of every status change found in the history.


Copyright © 2007-2012 Atlassian. All Rights Reserved.