com.atlassian.jira.jelly.tag
Class IssueAwareActionTagSupport

java.lang.Object
  extended byDynaBeanTagSupport
      extended bycom.atlassian.jira.jelly.JiraDynaBeanTagSupport
          extended bycom.atlassian.jira.jelly.ActionTagSupport
              extended bycom.atlassian.jira.jelly.tag.UserAwareActionTagSupport
                  extended bycom.atlassian.jira.jelly.tag.ProjectAwareActionTagSupport
                      extended bycom.atlassian.jira.jelly.tag.IssueAwareActionTagSupport
All Implemented Interfaces:
IssueAware, ProjectAware, ProjectContextAccessor, UserAware
Direct Known Subclasses:
AddComment, ResolveIssue

public abstract class IssueAwareActionTagSupport
extends ProjectAwareActionTagSupport
implements IssueAware, ProjectContextAccessor

Created by IntelliJ IDEA. User: Owen Date: 7/08/2003 Time: 17:11:10 To change this template use Options | File Templates.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.jira.jelly.ActionTagSupport
FAILURE, ignoreErrors, SUCCESS
 
Constructor Summary
IssueAwareActionTagSupport()
           
 
Method Summary
protected  void endTagExecution(XMLOutput output)
           
 GenericValue getIssue()
           
 java.lang.Long getIssueId()
           
 java.lang.String[] getRequiredContextVariables()
           
 boolean hasIssue()
           
 void loadPreviousProject()
           
protected  void preContextValidation()
           
 void setProject(java.lang.Long projectId)
           
 void setProject(java.lang.String projectKey)
           
 
Methods inherited from class com.atlassian.jira.jelly.tag.ProjectAwareActionTagSupport
getProject, getProjectId, hasProject
 
Methods inherited from class com.atlassian.jira.jelly.tag.UserAwareActionTagSupport
getUser, getUsername
 
Methods inherited from class com.atlassian.jira.jelly.ActionTagSupport
arrayToString, contextContainsAfter, contextContainsBefore, contextValidation, copyRedirectUrlParametersToTag, doTag, getActionName, getProperty, getRequest, getRequiredContextVariablesAfter, getRequiredProperties, getResponse, getTagName, getTagName, getWebWorkAdaptor, mapContainsAll, mapProperty, postTagExecution, postTagValidation, prePropertyValidation, propertiesContains, propertyValidation, reportRequired, reportRequiredContextVariablesAfter, reportRequiredContextVariablesBefore, reportRequiredProperties, setActionName, setProperty, setProperty, toString
 
Methods inherited from class com.atlassian.jira.jelly.JiraDynaBeanTagSupport
getProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.jelly.IssueAware
getContext
 
Methods inherited from interface com.atlassian.jira.jelly.ProjectAware
getContext
 

Constructor Detail

IssueAwareActionTagSupport

public IssueAwareActionTagSupport()
Method Detail

preContextValidation

protected void preContextValidation()
Overrides:
preContextValidation in class ActionTagSupport

endTagExecution

protected void endTagExecution(XMLOutput output)
Overrides:
endTagExecution in class ActionTagSupport

getRequiredContextVariables

public java.lang.String[] getRequiredContextVariables()
Specified by:
getRequiredContextVariables in interface UserAware
Overrides:
getRequiredContextVariables in class ProjectAwareActionTagSupport

hasIssue

public boolean hasIssue()
Specified by:
hasIssue in interface IssueAware

getIssueId

public java.lang.Long getIssueId()
Specified by:
getIssueId in interface IssueAware

getIssue

public GenericValue getIssue()
Specified by:
getIssue in interface IssueAware

setProject

public void setProject(java.lang.Long projectId)
Specified by:
setProject in interface ProjectContextAccessor

setProject

public void setProject(java.lang.String projectKey)
Specified by:
setProject in interface ProjectContextAccessor

loadPreviousProject

public void loadPreviousProject()
Specified by:
loadPreviousProject in interface ProjectContextAccessor