public class

EditAttachmentSettings

extends ViewAttachmentSettings
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.admin.ViewAttachmentSettings
             ↳ com.atlassian.jira.web.action.admin.EditAttachmentSettings

Summary

[Expand]
Inherited Constants
From class com.atlassian.jira.web.action.JiraWebActionSupport
From interface webwork.action.Action
[Expand]
Inherited Fields
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
EditAttachmentSettings(AttachmentPathManager attachmentPathManager)
EditAttachmentSettings(ProjectManager projectManager, PermissionManager permissionManager, AttachmentPathManager attachmentPathManager)
Public Methods
String doDefault()
String getAttachmentPath()
String getAttachmentPathOption()
String getAttachmentSize()
String getCustomAttachmentPath()
String getDefaultAttachmentPath()
Returns the absolute path for the Default Attachment directory that lives under the home directory.
boolean isThumbnailsEnabled()
boolean isZipSupport()
void setAttachmentPathOption(String attachmentPathOption)
void setAttachmentSize(String attachmentSize)
void setThumbnailsEnabled(boolean thumbnailsEnabled)
void setZipSupport(boolean zipSupport)
Protected Methods
String doExecute()
void doValidation()
[Expand]
Inherited Methods
From class com.atlassian.jira.web.action.admin.ViewAttachmentSettings
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.util.ErrorCollection
From interface com.atlassian.jira.util.I18nHelper
From interface com.atlassian.jira.web.HttpServletVariables
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 EditAttachmentSettings (AttachmentPathManager attachmentPathManager)

public EditAttachmentSettings (ProjectManager projectManager, PermissionManager permissionManager, AttachmentPathManager attachmentPathManager)

Public Methods

public String doDefault ()

Throws
Exception

public String getAttachmentPath ()

public String getAttachmentPathOption ()

public String getAttachmentSize ()

public String getCustomAttachmentPath ()

public String getDefaultAttachmentPath ()

Returns the absolute path for the Default Attachment directory that lives under the home directory. This is used for read-only info added to the "Use Default Directory" option.

Returns
  • the absolute path for the Default Attachment directory that lives under the home directory.

public boolean isThumbnailsEnabled ()

public boolean isZipSupport ()

public void setAttachmentPathOption (String attachmentPathOption)

public void setAttachmentSize (String attachmentSize)

public void setThumbnailsEnabled (boolean thumbnailsEnabled)

public void setZipSupport (boolean zipSupport)

Protected Methods

protected String doExecute ()

Throws
Exception

protected void doValidation ()