public class

CreateCustomField

extends JiraWizardActionSupport
java.lang.Object
   ↳ webwork.action.ActionSupport
     ↳ com.atlassian.jira.action.JiraActionSupport
       ↳ com.atlassian.jira.web.action.JiraWebActionSupport
         ↳ com.atlassian.jira.web.action.JiraWizardActionSupport
           ↳ com.atlassian.jira.web.action.admin.customfields.CreateCustomField

Summary

Constants
String FIELD_TYPE_PREFIX
[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.JiraWizardActionSupport
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
Public Constructors
CreateCustomField(CustomFieldValidator customFieldValidator, ConstantsManager constantsManager, CustomFieldManager customFieldManager, ProjectManager projectManager, SubTaskManager subTaskManager, CustomFieldDescription customFieldDescription, FeatureManager featureManager, CustomFieldService customFieldService)
Public Methods
String doAddDetails()
String doCustomFieldType()
String doDefault()
Collection getAllIssueTypes()
Collection<Project> getAllProjects()
CustomFieldType getCustomFieldType()
String getDescription()
RenderableProperty getDescriptionProperty()
String getFieldName()
String getFieldType()
Collection<CustomFieldType<?, ?>> getFieldTypes()
Map<StringString> getGlobalContextOption()
String[] getIssuetypes()
Long[] getProjectCategories()
Long[] getProjects()
String getSearcher()
List getSearchers()
int getTotalSteps()
boolean isBasicMode()
boolean isFieldTypeValid()
Returns true if the current field type is not null and valid.
boolean isGlobal()
boolean isOnDemand()
void setBasicMode(boolean basicMode)
void setDescription(String description)
void setFieldName(String fieldName)
void setFieldType(String fieldType)
void setGlobal(boolean global)
void setIssuetypes(String[] issuetypes)
void setProjectCategories(Long[] projectCategories)
void setProjects(Long[] projects)
void setSearcher(String searcher)
Protected Methods
String doExecute()
[Expand]
Inherited Methods
From class com.atlassian.jira.web.action.JiraWizardActionSupport
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

Constants

public static final String FIELD_TYPE_PREFIX

Constant Value: "com.atlassian.jira.plugin.system.customfieldtypes:"

Public Constructors

public CreateCustomField (CustomFieldValidator customFieldValidator, ConstantsManager constantsManager, CustomFieldManager customFieldManager, ProjectManager projectManager, SubTaskManager subTaskManager, CustomFieldDescription customFieldDescription, FeatureManager featureManager, CustomFieldService customFieldService)

Public Methods

public String doAddDetails ()

Throws
Exception

public String doCustomFieldType ()

Throws
Exception

public String doDefault ()

Throws
Exception

public Collection getAllIssueTypes ()

Throws
Exception

public Collection<Project> getAllProjects ()

Throws
Exception

public CustomFieldType getCustomFieldType ()

public String getDescription ()

public RenderableProperty getDescriptionProperty ()

public String getFieldName ()

public String getFieldType ()

public Collection<CustomFieldType<?, ?>> getFieldTypes ()

public Map<StringString> getGlobalContextOption ()

public String[] getIssuetypes ()

public Long[] getProjectCategories ()

public Long[] getProjects ()

public String getSearcher ()

public List getSearchers ()

public int getTotalSteps ()

public boolean isBasicMode ()

public boolean isFieldTypeValid ()

Returns true if the current field type is not null and valid. This is used as a safety precaution against XSS. See JRA-21173.

Returns
  • true if the current field type is not null and valid.

public boolean isGlobal ()

public boolean isOnDemand ()

public void setBasicMode (boolean basicMode)

public void setDescription (String description)

public void setFieldName (String fieldName)

public void setFieldType (String fieldType)

public void setGlobal (boolean global)

public void setIssuetypes (String[] issuetypes)

public void setProjectCategories (Long[] projectCategories)

public void setProjects (Long[] projects)

public void setSearcher (String searcher)

Protected Methods

protected String doExecute ()

Throws
Exception