public class

ManageAttachments

extends 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
                   ↳ com.atlassian.jira.web.action.issue.ManageAttachments

Summary

[Expand]
Inherited Constants
From class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
From class com.atlassian.jira.web.action.JiraWebActionSupport
From interface webwork.action.Action
[Expand]
Inherited Fields
From class com.atlassian.jira.web.action.issue.AbstractCommentableIssue
From class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
From class com.atlassian.jira.web.action.IssueActionSupport
From class com.atlassian.jira.web.action.ProjectActionSupport
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
Public Constructors
ManageAttachments(SubTaskManager subTaskManager, AttachmentService attachmentService, PluginAccessor pluginAccessor, FieldScreenRendererFactory fieldScreenRendererFactory, FieldManager fieldManager, ProjectRoleManager projectRoleManager, CommentService commentService, UserUtil userUtil)
Public Methods
Collection<GenericValue> getAffectedVersions()
Collection<GenericValue> getComponents()
Collection<GenericValue> getFixVersions()
DateTimeFormatter getIso8601Formatter()
Issue getParentIssueObject()
Returns the parent of the current Issue
boolean getZipSupport()
boolean isAttachable()
boolean isHasDeleteAttachmentPermission(Long attachmentId)
Protected Methods
String doExecute()
void doValidation()
[Expand]
Inherited Methods
From class com.atlassian.jira.web.action.issue.AbstractCommentableIssue
From class com.atlassian.jira.web.action.issue.AbstractViewIssue
From class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
From class com.atlassian.jira.web.action.IssueActionSupport
From class com.atlassian.jira.web.action.ProjectActionSupport
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
From class java.lang.Object
From interface com.atlassian.jira.issue.customfields.OperationContext
From interface com.atlassian.jira.util.ErrorCollection
From interface com.atlassian.jira.util.I18nHelper
From interface com.atlassian.jira.web.HttpServletVariables
From interface com.atlassian.jira.web.action.issue.IssueSummaryAware
From interface com.atlassian.jira.web.util.AuthorizationSupport
From interface webwork.action.Action
From interface webwork.action.CommandDriven
From interface webwork.action.IllegalArgumentAware

Public Constructors

public ManageAttachments (SubTaskManager subTaskManager, AttachmentService attachmentService, PluginAccessor pluginAccessor, FieldScreenRendererFactory fieldScreenRendererFactory, FieldManager fieldManager, ProjectRoleManager projectRoleManager, CommentService commentService, UserUtil userUtil)

Public Methods

public Collection<GenericValue> getAffectedVersions ()

Throws
Exception

public Collection<GenericValue> getComponents ()

Throws
Exception

public Collection<GenericValue> getFixVersions ()

Throws
Exception

public DateTimeFormatter getIso8601Formatter ()

public Issue getParentIssueObject ()

Returns the parent of the current Issue

Returns
  • the parent issue object

public boolean getZipSupport ()

public boolean isAttachable ()

public boolean isHasDeleteAttachmentPermission (Long attachmentId)

Protected Methods

protected String doExecute ()

Throws
Exception

protected void doValidation ()