public class

EditService

extends JiraWebActionSupport
implements ParameterAware
java.lang.Object
   ↳ webwork.action.ActionSupport
     ↳ com.atlassian.jira.action.JiraActionSupport
       ↳ com.atlassian.jira.web.action.JiraWebActionSupport
         ↳ com.atlassian.jira.web.action.admin.EditService

Class Overview

The action to allow you to edit service definitions

NOTE TO FUTURE DEVELOPERS : The FileService and ExportService used to allow the directory to be edited online. Since the "breached as" incident we have taken this away - JRA-21400. However we need to preserve the directory for existing customers so you will see some code malarky to preserve any current values but not allowed them to be input from the web.

The methods are namely #primeParamsWithSavedValues(java.util.Map) and #sanitizeParams(java.util.Map)

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.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
Public Constructors
EditService(ServiceManager serviceManager, JiraAuthenticationContext authenticationContext, SchedulerService schedulerService)
Public Methods
String doDefault()
CronEditorBean getCronEditorBean()
long getDelay()
String getDescription()
String getFileServiceBasePath()
String getHelpLink()
Long getId()
ObjectConfiguration getObjectConfiguration()
String[] getObjectConfigurationKeys()
String getParamValue(String s)
List getParamValues(String key)
Map getParameters()
String getRemovedPath()
JiraServiceContainer getService()
boolean isUnsafeService(long serviceId)
boolean isValidMailParameters()
void setDelay(long delay)
void setId(Long id)
void setParameters(Map map)
Protected Methods
String doExecute()
void doValidation()
[Expand]
Inherited Methods
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
From interface webwork.action.ParameterAware

Public Constructors

public EditService (ServiceManager serviceManager, JiraAuthenticationContext authenticationContext, SchedulerService schedulerService)

Public Methods

public String doDefault ()

Throws
Exception

public CronEditorBean getCronEditorBean ()

Throws
Exception

public long getDelay ()

public String getDescription ()

Throws
Exception

public String getFileServiceBasePath ()

public String getHelpLink ()

public Long getId ()

public ObjectConfiguration getObjectConfiguration ()

Throws
Exception

public String[] getObjectConfigurationKeys ()

Throws
Exception

public String getParamValue (String s)

Throws
Exception

public List getParamValues (String key)

public Map getParameters ()

public String getRemovedPath ()

public JiraServiceContainer getService ()

Throws
Exception

public boolean isUnsafeService (long serviceId)

public boolean isValidMailParameters ()

public void setDelay (long delay)

public void setId (Long id)

public void setParameters (Map map)

Protected Methods

protected String doExecute ()

Throws
Exception

protected void doValidation ()