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)
          Deprecated. Use ChangeHistory(org.ofbiz.core.entity.GenericValue, com.atlassian.jira.issue.IssueManager, com.atlassian.jira.user.util.UserManager) ()} instead. Since v6.0.
ChangeHistory(org.ofbiz.core.entity.GenericValue changeHistoryGV, IssueManager issueManager, UserManager userManager)
           
 
Method Summary
 String getAuthor()
          Deprecated. Use getAuthorKey() instead. Since v6.0.
 String getAuthorDisplayName()
          Returns the display name of the author of this Change
 String getAuthorKey()
          Returns the userkey of the author of this Change
 ApplicationUser getAuthorObject()
          Returns the author of this Change
 com.atlassian.crowd.embedded.api.User getAuthorUser()
          Deprecated. Use getAuthorObject() instead. Since v6.0. Returns the author of this Change
 List<ChangeItemBean> getChangeItemBeans()
           
 List<org.ofbiz.core.entity.GenericValue> 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 getAuthorObject() 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)
Deprecated. Use ChangeHistory(org.ofbiz.core.entity.GenericValue, com.atlassian.jira.issue.IssueManager, com.atlassian.jira.user.util.UserManager) ()} instead. Since v6.0.


ChangeHistory

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

getId

public Long getId()

getUsername

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

Returns the author of this Change

Returns:
the author of this Change

getAuthor

public String getAuthor()
Deprecated. Use getAuthorKey() instead. Since v6.0.

Returns the userkey of the author of this Change

Returns:
the userkey of the author of this Change

getAuthorKey

public String getAuthorKey()
Returns the userkey of the author of this Change

Returns:
the userkey of the author of this Change

getAuthorObject

public ApplicationUser getAuthorObject()
Returns the author of this Change

Returns:
the author of this Change

getAuthorUser

public com.atlassian.crowd.embedded.api.User getAuthorUser()
Deprecated. Use getAuthorObject() instead. Since v6.0. 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<org.ofbiz.core.entity.GenericValue> getChangeItems()

getIssue

public Issue getIssue()

getIssueId

public Long getIssueId()


Copyright © 2002-2013 Atlassian. All Rights Reserved.