com.atlassian.jira.issue.tabpanels
Class CommentAction

java.lang.Object
  extended bycom.atlassian.jira.plugin.issuetabpanel.AbstractIssueAction
      extended bycom.atlassian.jira.issue.tabpanels.CommentAction
All Implemented Interfaces:
IssueAction

public class CommentAction
extends AbstractIssueAction

This class is the wrapper around the comment object and is used when displaying comments in the View Issue page, on the 'Comment' issue tab panel.


Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.issuetabpanel.AbstractIssueAction
descriptor
 
Constructor Summary
CommentAction(IssueTabPanelModuleDescriptor descriptor, Comment comment, boolean canDeleteComment, RendererManager rendererManager, FieldLayoutManager fieldLayoutManager)
           
 
Method Summary
 Comment getComment()
           
 Issue getIssue()
           
 Date getTimePerformed()
          This is used to sort between IssueAction objects on the 'All' tab.
 boolean isCanDeleteComment()
           
protected  void populateVelocityParams(Map params)
           
 
Methods inherited from class com.atlassian.jira.plugin.issuetabpanel.AbstractIssueAction
getHtml, isDisplayActionAllTab
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentAction

public CommentAction(IssueTabPanelModuleDescriptor descriptor,
                     Comment comment,
                     boolean canDeleteComment,
                     RendererManager rendererManager,
                     FieldLayoutManager fieldLayoutManager)
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

populateVelocityParams

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

getComment

public Comment getComment()

getIssue

public Issue getIssue()

isCanDeleteComment

public boolean isCanDeleteComment()


Copyright © 2002-2007 Atlassian. All Rights Reserved.