com.atlassian.jira.web.action.admin.customfields
Class CreateCustomField

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.action.JiraActionSupport
          extended by com.atlassian.jira.web.action.JiraWebActionSupport
              extended by com.atlassian.jira.web.action.JiraWizardActionSupport
                  extended by com.atlassian.jira.web.action.admin.customfields.CreateCustomField
All Implemented Interfaces:
ErrorCollection, I18nHelper, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class CreateCustomField
extends JiraWizardActionSupport

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
static String FIELD_TYPE_PREFIX
           
 
Fields inherited from class com.atlassian.jira.web.action.JiraWizardActionSupport
currentStep, finishButton, submitBtn
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
CreateCustomField(JiraContextTreeManager treeManager, CustomFieldValidator customFieldValidator, ConstantsManager constantsManager, CustomFieldManager customFieldManager, ProjectManager projectManager, SubTaskManager subTaskManager, ReindexMessageManager reindexMessageManager, CustomFieldContextConfigHelper customFieldContextConfigHelper)
           
 
Method Summary
 String doAddDetails()
           
 String doCustomFieldType()
           
 String doDefault()
           
protected  String doExecute()
           
 Collection getAllIssueTypes()
           
 Collection getAllProjectCategories()
           
 Collection getAllProjects()
           
 CustomFieldType getCustomFieldType()
           
 String getDescription()
           
 String getFieldName()
           
 String getFieldType()
           
 Collection getFieldTypes()
           
 Map getGlobalContextOption()
           
 String[] getIssuetypes()
           
 Long[] getProjectCategories()
           
 Long[] getProjects()
           
 String getSearcher()
           
 List getSearchers()
           
 int getTotalSteps()
           
 boolean isBasicMode()
           
 boolean isGlobal()
           
 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)
           
 
Methods inherited from class com.atlassian.jira.web.action.JiraWizardActionSupport
getCurrentStep, getFinishButton, getSubmitBtn, isButtonClickedByName, isButtonClickedByValue, isFinishClicked, isNextClicked, isPreviousClicked, setCurrentStep, setFinishButton, setSubmitBtn
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUserFullName, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isSystemAdministrator, isUserExists, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText0, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doValidation, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Field Detail

FIELD_TYPE_PREFIX

public static final String FIELD_TYPE_PREFIX
See Also:
Constant Field Values
Constructor Detail

CreateCustomField

public CreateCustomField(JiraContextTreeManager treeManager,
                         CustomFieldValidator customFieldValidator,
                         ConstantsManager constantsManager,
                         CustomFieldManager customFieldManager,
                         ProjectManager projectManager,
                         SubTaskManager subTaskManager,
                         ReindexMessageManager reindexMessageManager,
                         CustomFieldContextConfigHelper customFieldContextConfigHelper)
Method Detail

doDefault

public String doDefault()
                 throws Exception
Overrides:
doDefault in class webwork.action.ActionSupport
Throws:
Exception

doExecute

protected String doExecute()
                    throws Exception
Overrides:
doExecute in class JiraWizardActionSupport
Throws:
Exception

doCustomFieldType

public String doCustomFieldType()
                         throws Exception
Throws:
Exception

doAddDetails

public String doAddDetails()
                    throws Exception
Throws:
Exception

getFieldTypes

public Collection getFieldTypes()

getSearchers

public List getSearchers()

getCustomFieldType

public CustomFieldType getCustomFieldType()

getAllProjects

public Collection getAllProjects()
                          throws Exception
Throws:
Exception

getAllProjectCategories

public Collection getAllProjectCategories()
                                   throws Exception
Throws:
Exception

getAllIssueTypes

public Collection getAllIssueTypes()
                            throws Exception
Throws:
Exception

getFieldName

public String getFieldName()

setFieldName

public void setFieldName(String fieldName)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getFieldType

public String getFieldType()

setFieldType

public void setFieldType(String fieldType)

getSearcher

public String getSearcher()

setSearcher

public void setSearcher(String searcher)

getProjects

public Long[] getProjects()

setProjects

public void setProjects(Long[] projects)

getIssuetypes

public String[] getIssuetypes()

setIssuetypes

public void setIssuetypes(String[] issuetypes)

getGlobalContextOption

public Map getGlobalContextOption()

isGlobal

public boolean isGlobal()

setGlobal

public void setGlobal(boolean global)

isBasicMode

public boolean isBasicMode()

setBasicMode

public void setBasicMode(boolean basicMode)

getProjectCategories

public Long[] getProjectCategories()

setProjectCategories

public void setProjectCategories(Long[] projectCategories)

getTotalSteps

public int getTotalSteps()
Specified by:
getTotalSteps in class JiraWizardActionSupport


Copyright © 2002-2009 Atlassian. All Rights Reserved.