com.atlassian.jira.issue.action
Class ChangeHistory

java.lang.Object
  extended bycom.atlassian.jira.issue.action.AbstractIssueAction
      extended bycom.atlassian.jira.issue.action.AbstractGVIssueAction
          extended bycom.atlassian.jira.issue.action.ChangeHistory
All Implemented Interfaces:
Comparable, IssueAction

public class ChangeHistory
extends AbstractGVIssueAction

Represents a record in an issue's change log.

See Also:
ActionManager.getChangeHistory(org.ofbiz.core.entity.GenericValue, com.opensymphony.user.User)

Field Summary
(package private)  String DEFAULT_RESOURCE_BUNDLE
           
 
Fields inherited from class com.atlassian.jira.issue.action.AbstractIssueAction
JIRA_TEMPLATES
 
Fields inherited from interface com.atlassian.jira.issue.action.IssueAction
FS
 
Constructor Summary
ChangeHistory(org.ofbiz.core.entity.GenericValue genericValue, User remoteUser, boolean showHeader, AttachmentManager attachmentManager)
           
 
Method Summary
 List getChangeItems()
           
 String getPrettyDuration(String duration, Locale locale)
           
protected  String getTemplateName()
           
 Timestamp getTimePerformed()
           
 String getType()
           
 String getUsername()
           
 boolean isAttachmentValid(String fileId)
           
 boolean isShowHeader()
           
protected  void populateVelocityParams(JiraWebActionSupport webAction, Map params)
           
 
Methods inherited from class com.atlassian.jira.issue.action.AbstractGVIssueAction
getGenericValue, getId, getIssue, getLevel, getUser
 
Methods inherited from class com.atlassian.jira.issue.action.AbstractIssueAction
compareTo, getHtml, getPrettyDate, getPrettyTimePerformed, getRemoteUser, getTemplateDirectory, isDisplayActionAllTab
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_RESOURCE_BUNDLE

String DEFAULT_RESOURCE_BUNDLE
Constructor Detail

ChangeHistory

public ChangeHistory(org.ofbiz.core.entity.GenericValue genericValue,
                     User remoteUser,
                     boolean showHeader,
                     AttachmentManager attachmentManager)
Method Detail

getTemplateName

protected String getTemplateName()
Specified by:
getTemplateName in class AbstractIssueAction

getType

public String getType()

getUsername

public String getUsername()

getTimePerformed

public Timestamp getTimePerformed()

getChangeItems

public List getChangeItems()

isShowHeader

public boolean isShowHeader()

getPrettyDuration

public String getPrettyDuration(String duration,
                                Locale locale)

populateVelocityParams

protected void populateVelocityParams(JiraWebActionSupport webAction,
                                      Map params)
Overrides:
populateVelocityParams in class AbstractIssueAction

isAttachmentValid

public boolean isAttachmentValid(String fileId)


Copyright © 2002-2006 Atlassian. All Rights Reserved.