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

java.lang.Object
  extended byActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
          extended bycom.atlassian.jira.web.action.JiraWebActionSupport
              extended bycom.atlassian.jira.web.action.ProjectActionSupport
                  extended bycom.atlassian.jira.web.action.IssueActionSupport
                      extended bycom.atlassian.jira.web.action.issue.AbstractIssueSelectAction
                          extended bycom.atlassian.jira.web.action.issue.AbstractViewIssue
                              extended bycom.atlassian.jira.web.action.issue.AbstractCommentableIssue
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, key
 
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
 
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, 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, getDaysPerWeek, getHoursPerDay, getIssueManager, getPossibleVersions, getPrettyDuration, getSearchRequest, getSelectedProject, getUrlEncoded, getVisibleCustomFields, getVisibleFields, getWorkflow, isFieldHidden, 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, isHasIssuePermission, isHasPermission, isHasPermission, isHasProjectPermission
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrors, execute, getActionName, getApplicationProperties, getDelegator, getResult, isIndexing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()

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()