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:
AbstractCommentableAssignableIssue, AddComment, AttachFile, LinkExistingIssue

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
 
Fields inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
id
 
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
savedFilters
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, permissionManager, 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, getPossibleVersionsReleasedFirst, isScreenshotAttachable
 
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
getDefaultSecurityLevel, getId, getIssue, getIssuePath, getKey, getProject, getSecurityLevel, getSecurityLevel, getSecurityLevelName, getSecurityLevels, getSecurityLevels, isIssueExists, resetIssue, setId, setIssue, setKey
 
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport
getActionManager, getAttachmentManager, getCustomFieldManager, getDaysPerWeek, getHoursPerDay, getIssueManager, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getSearchRequest, getSelectedProject, getUrlEncoded, getWorkflow, isCustomFieldHidden, isFieldHidden, isFieldHidden, setCurrentIssue, setSelectedProject, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSavedFilters
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDefaultAssignee, getField, getLocale, getOutlookDate, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getText, getText, getText, getText, getUserFullName, getUserPreferences, isDefaultAssignee, isDefaultAssignee, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, processDefaultAssignee, processDefaultAssignee
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrors, execute, getActionName, getApplicationProperties, getDelegator, getLocaleUtils, getResult, isIndexing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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