com.atlassian.jira.issue.action
Class AbstractIssueAction

java.lang.Object
  extended bycom.atlassian.jira.issue.action.AbstractIssueAction
All Implemented Interfaces:
Comparable, IssueAction
Direct Known Subclasses:
AbstractGVIssueAction, Commit, GenericMessageAction, OutOfMemoryCommitIssueAction

public abstract class AbstractIssueAction
extends Object
implements IssueAction


Field Summary
protected static String JIRA_TEMPLATES
           
 
Fields inherited from interface com.atlassian.jira.issue.action.IssueAction
FS
 
Constructor Summary
protected AbstractIssueAction(User remoteUser)
           
 
Method Summary
 int compareTo(Object o)
           
 String getHtml(JiraWebActionSupport webAction)
           
protected  String getPrettyDate(Date timePerformed)
           
 String getPrettyTimePerformed()
           
 User getRemoteUser()
           
protected  String getTemplateDirectory()
           
protected abstract  String getTemplateName()
           
 boolean isDisplayActionAllTab()
           
protected  void populateVelocityParams(JiraWebActionSupport webAction, Map params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.issue.action.IssueAction
getId, getLevel, getTimePerformed, getType, getUsername
 

Field Detail

JIRA_TEMPLATES

protected static final String JIRA_TEMPLATES
Constructor Detail

AbstractIssueAction

protected AbstractIssueAction(User remoteUser)
Method Detail

getHtml

public String getHtml(JiraWebActionSupport webAction)
Specified by:
getHtml in interface IssueAction

populateVelocityParams

protected void populateVelocityParams(JiraWebActionSupport webAction,
                                      Map params)

getTemplateDirectory

protected String getTemplateDirectory()

getPrettyTimePerformed

public String getPrettyTimePerformed()
Specified by:
getPrettyTimePerformed in interface IssueAction

getPrettyDate

protected String getPrettyDate(Date timePerformed)

getRemoteUser

public User getRemoteUser()

getTemplateName

protected abstract String getTemplateName()

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

isDisplayActionAllTab

public boolean isDisplayActionAllTab()
Specified by:
isDisplayActionAllTab in interface IssueAction


Copyright © 2002-2006 Atlassian. All Rights Reserved.