|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChangeHistoryManager
Manages the change history of issues. TODO: expand this interface to include the functionality from ChangeLogUtils
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. |
List |
getChangeItemsForField(Issue issue,
String changeItemFieldName)
Returns a List of ChangeItemBean's for the given issue which also are for the provided changeItemFieldName (i.e. |
Collection |
getPreviousIssueKeys(Long issueId)
Returns the same as getPreviousIssueKeys(String) but is slightly more efficient since no
lookup of the issue id needs to be performed. |
Collection |
getPreviousIssueKeys(String issueKey)
Given an issue key, this method returns a list of previous issue keys this issue was moved from. |
Method Detail |
---|
List getChangeHistoriesForUser(Issue issue, User remoteUser)
issue
- the issue.remoteUser
- the user who is asking.
List getChangeItemsForField(Issue issue, String changeItemFieldName)
issue
- the issue the change items are associated with, not null.changeItemFieldName
- the field name the change item is stored under, not null or empty.
Issue findMovedIssue(String originalKey) throws org.ofbiz.core.entity.GenericEntityException
originalKey
- the original key of an issue that has since been moved (moving between projects assigns a new
key to an issue)
Issue
object
org.ofbiz.core.entity.GenericEntityException
- if an unexpected error occursCollection getPreviousIssueKeys(String issueKey)
issueKey
- The current issue key.
Collection getPreviousIssueKeys(Long issueId)
getPreviousIssueKeys(String)
but is slightly more efficient since no
lookup of the issue id needs to be performed. If you have an issue object available with the issue's id
use this method.
issueId
- The id of the issue being looked up.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |