com.atlassian.jira.issue.changehistory
Class DefaultChangeHistoryManager

java.lang.Object
  extended by com.atlassian.jira.issue.changehistory.DefaultChangeHistoryManager
All Implemented Interfaces:
ChangeHistoryManager

public class DefaultChangeHistoryManager
extends Object
implements ChangeHistoryManager


Constructor Summary
DefaultChangeHistoryManager(IssueManager issueManager, OfBizDelegator ofBizDelegator)
           
 
Method Summary
 Issue findMovedIssue(String originalKey)
          Returns an issue that has been moved by searching the change history of the original issue key for an updated issue key.
 List getChangeHistoriesForUser(Issue issue, User remoteUser)
          Returns a List of GenericValue ChangeGroup entities for the given issue.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultChangeHistoryManager

public DefaultChangeHistoryManager(IssueManager issueManager,
                                   OfBizDelegator ofBizDelegator)
Method Detail

getChangeHistoriesForUser

public List getChangeHistoriesForUser(Issue issue,
                                      User remoteUser)
Description copied from interface: ChangeHistoryManager
Returns a List of GenericValue ChangeGroup entities for the given issue.

Specified by:
getChangeHistoriesForUser in interface ChangeHistoryManager
Parameters:
issue - the issue.
remoteUser - the user who is asking.
Returns:
a List of GenericValue ChangeGroup entities.

findMovedIssue

public Issue findMovedIssue(String originalKey)
                     throws org.ofbiz.core.entity.GenericEntityException
Description copied from interface: ChangeHistoryManager
Returns an issue that has been moved by searching the change history of the original issue key for an updated issue key.

Specified by:
findMovedIssue in interface ChangeHistoryManager
Parameters:
originalKey - the original key of an issue that has since been moved (moving between projects assigns a new key to an issue)
Returns:
the moved Issue object
Throws:
org.ofbiz.core.entity.GenericEntityException - if an unexpected error occurs


Copyright © 2002-2007 Atlassian. All Rights Reserved.