com.atlassian.jira.web.action.issue
Class AbstractCommentableIssue

java.lang.Object
  |
  +--webwork.action.ActionSupport
        |
        +--com.atlassian.jira.action.JiraActionSupport
              |
              +--com.atlassian.jira.web.action.JiraWebActionSupport
                    |
                    +--com.atlassian.jira.web.action.ProjectActionSupport
                          |
                          +--com.atlassian.jira.web.action.IssueActionSupport
                                |
                                +--com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
                                      |
                                      +--com.atlassian.jira.web.action.issue.AbstractViewIssue
                                            |
                                            +--com.atlassian.jira.web.action.issue.AbstractCommentableIssue
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware, java.io.Serializable
Direct Known Subclasses:
AddComment, AssignIssue, AttachFile, CloseIssue, EditIssue, LinkExistingIssue, MoveIssue, ReopenIssue, ResolveIssue

public class AbstractCommentableIssue
extends AbstractViewIssue

This class should be extended by any action that modifies issues and can have an associated comment. Subclasses should call super.doValidation() to check commenting permission.

See Also:
Serialized Form

Field Summary
protected  java.lang.String comment
           
protected  java.lang.String commentLevel
           
 
Fields inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
id, issue
 
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
savedFilters
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
PERMISSION_VIOLATION_RESULT, request
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
AbstractCommentableIssue()
           
 
Method Summary
protected  void doValidation()
           
 java.lang.String getComment()
           
 java.lang.String getCommentLevel()
           
 java.util.Collection getCommentLevels()
           
 void setComment(java.lang.String comment)
           
 void setCommentLevel(java.lang.String commentLevel)
           
 
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractViewIssue
getAttachments, getDaysPerWeek, getHoursPerDay, getLinkCollection, getPossibleComponents, getPossibleVersions
 
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
getDefaultSecurityLevel, getId, getIssue, getProject, getSecurityLevel, getSecurityLevel, getSecurityLevelName, getSecurityLevels, getSecurityLevels, setId, setKey
 
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport
getActionManager, getAssignableUsers, getAttachmentManager, getCustomFieldManager, getIssueManager, getPossibleVersions, getSearchRequest, getSelectedProject, getUrlEncoded, getWorkflow, setCurrentIssue, setSelectedProject, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getProjectManager, getSavedFilters
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
getCachedGroups, getConstantsManager, getGlobalColumns, getPropertySet, getRedirect, getRemoteUser, getUserPreferences, isHasPermission, isHasPermission
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, execute, getActionName, getApplicationProperties, getDelegator, getResult, isIndexing
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, doDefault, doExecute, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getLocale, getText, getTexts, getTexts, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Field Detail

comment

protected java.lang.String comment

commentLevel

protected java.lang.String commentLevel
Constructor Detail

AbstractCommentableIssue

public AbstractCommentableIssue()
Method Detail

doValidation

protected void doValidation()
Overrides:
doValidation in class webwork.action.ActionSupport

getComment

public java.lang.String getComment()

setComment

public void setComment(java.lang.String comment)

getCommentLevel

public java.lang.String getCommentLevel()

setCommentLevel

public void setCommentLevel(java.lang.String commentLevel)

getCommentLevels

public java.util.Collection getCommentLevels()


Copyright © 2002-2003 Atlassian. All Rights Reserved.