com.atlassian.jira.issue.tabpanels
Class IssueCreatedAction

java.lang.Object
  extended by com.atlassian.jira.plugin.issuetabpanel.AbstractIssueAction
      extended by com.atlassian.jira.issue.tabpanels.IssueCreatedAction
All Implemented Interfaces:
IssueAction

public class IssueCreatedAction
extends AbstractIssueAction

This class is used when displaying change history in the View Issue page, on the 'Change History' tab panel.


Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.issuetabpanel.AbstractIssueAction
descriptor
 
Constructor Summary
IssueCreatedAction(IssueTabPanelModuleDescriptor descriptor, DateTimeFormatter formatter, UserFormatManager userFormatManager, I18nHelper i18nHelper, AvatarService avatarService, JiraAuthenticationContext authenticationContext, Issue issue)
           
 
Method Summary
 Timestamp getCreatedDate()
           
 String getCreatedDateHtml()
           
 String getCreatedDateIso8601Html()
           
 String getCreatorId()
           
 String getHtml()
          Get the HTML to present for this issueAction on the tab panel.
 Long getId()
           
 Date getTimePerformed()
          This is used to sort between IssueAction objects on the 'All' tab.
 String getUserProfileHtml()
           
protected  void populateVelocityParams(Map params)
           
 
Methods inherited from class com.atlassian.jira.plugin.issuetabpanel.AbstractIssueAction
isDisplayActionAllTab
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueCreatedAction

public IssueCreatedAction(IssueTabPanelModuleDescriptor descriptor,
                          DateTimeFormatter formatter,
                          UserFormatManager userFormatManager,
                          I18nHelper i18nHelper,
                          AvatarService avatarService,
                          JiraAuthenticationContext authenticationContext,
                          Issue issue)
Method Detail

getTimePerformed

public Date getTimePerformed()
Description copied from interface: IssueAction
This is used to sort between IssueAction objects on the 'All' tab.

Specified by:
getTimePerformed in interface IssueAction
Specified by:
getTimePerformed in class AbstractIssueAction
Returns:
timestamp of when the issue action was created, or throw UnsupportedOperationException if there is no timestamp (say for generic messages)
See Also:
IssueActionComparator

populateVelocityParams

protected void populateVelocityParams(Map params)
Specified by:
populateVelocityParams in class AbstractIssueAction

getHtml

public String getHtml()
Description copied from interface: IssueAction
Get the HTML to present for this issueAction on the tab panel. IssueAction represents one entry of the tab panel

Specified by:
getHtml in interface IssueAction
Overrides:
getHtml in class AbstractIssueAction

getId

public Long getId()

getCreatorId

public String getCreatorId()

getCreatedDate

public Timestamp getCreatedDate()

getCreatedDateHtml

public String getCreatedDateHtml()

getCreatedDateIso8601Html

public String getCreatedDateIso8601Html()

getUserProfileHtml

public String getUserProfileHtml()


Copyright © 2002-2014 Atlassian. All Rights Reserved.