com.atlassian.jira.issue.changehistory
Class ChangeHistory

java.lang.Object
  extended by com.atlassian.jira.issue.changehistory.ChangeHistory

@PublicApi
public class ChangeHistory
extends Object

Represents an issue change history.
ChangeHistory is essentially a GenericValue wrapper with getters

See Also:
ChangeHistoryManager.getChangeHistoriesForUser(com.atlassian.jira.issue.Issue, User)

Constructor Summary
ChangeHistory(org.ofbiz.core.entity.GenericValue changeHistoryGV, IssueManager issueManager)
           
 
Method Summary
 String getAuthor()
          Returns the author of this Change
 String getAuthorDisplayName()
          Returns the display name of the author of this Change
 com.atlassian.crowd.embedded.api.User getAuthorUser()
          Returns the author of this Change
 List<ChangeItemBean> getChangeItemBeans()
           
 List getChangeItems()
           
 String getComment()
           
 String getFullName()
          Deprecated. Use getAuthorDisplayName() instead. Since v5.0.
 Long getId()
           
 Issue getIssue()
           
 Long getIssueId()
           
 String getLevel()
           
 Timestamp getTimePerformed()
           
 String getUsername()
          Deprecated. Use getAuthor() instead. Since v5.0.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeHistory

public ChangeHistory(org.ofbiz.core.entity.GenericValue changeHistoryGV,
                     IssueManager issueManager)
Method Detail

getId

public Long getId()

getUsername

public String getUsername()
Deprecated. Use getAuthor() instead. Since v5.0.

Returns the author of this Change

Returns:
the author of this Change

getAuthor

public String getAuthor()
Returns the author of this Change

Returns:
the author of this Change

getAuthorUser

public com.atlassian.crowd.embedded.api.User getAuthorUser()
Returns the author of this Change

Returns:
the author of this Change

getAuthorDisplayName

public String getAuthorDisplayName()
Returns the display name of the author of this Change

Returns:
the display name of the author of this Change

getFullName

public String getFullName()
Deprecated. Use getAuthorDisplayName() instead. Since v5.0.

Returns the display name of the author of this Change

Returns:
the display name of the author of this Change

getTimePerformed

public Timestamp getTimePerformed()

getLevel

public String getLevel()

getComment

public String getComment()

getChangeItemBeans

public List<ChangeItemBean> getChangeItemBeans()

getChangeItems

public List getChangeItems()

getIssue

public Issue getIssue()

getIssueId

public Long getIssueId()


Copyright © 2002-2012 Atlassian. All Rights Reserved.